Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ======================================================================
- FAIL: Doctest: importExport.rst
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 2215, in runTest
- raise self.failureException(self.format_failure(new.getvalue()))
- DocTestFailureException: Failed doctest test for importExport.rst
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 0
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 44, in importExport.rst
- Failed example:
- form.submit()
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[22]>", line 1, in ?
- form.submit()
- File "/opt/zope/293/lib/python/zope/testbrowser/browser.py", line 681, in submit
- self.browser.mech_browser.open(request)
- File "/opt/zope/293/lib/python/mechanize/_mechanize.py", line 254, in open
- return self._mech_open(url, data)
- File "/opt/zope/293/lib/python/mechanize/_mechanize.py", line 277, in _mech_open
- self._response = UserAgent.open(self, self.request, data)
- File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/urllib2.py", line 364, in open
- response = meth(req, response)
- File "/opt/zope/293/lib/python/ClientCookie/_urllib2_support.py", line 531, in http_response
- response = self.parent.error(
- File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/urllib2.py", line 402, in error
- return self._call_chain(*args)
- File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/urllib2.py", line 337, in _call_chain
- result = func(*args)
- File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/urllib2.py", line 480, in http_error_default
- raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
- HTTPError: HTTP Error 500: Internal Server Error
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 45, in importExport.rst
- Failed example:
- browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[23]>", line 1, in ?
- browser.contents
- File "/opt/zope/293/lib/python/zope/testbrowser/browser.py", line 185, in contents
- old_location = response.tell()
- AttributeError: 'NoneType' object has no attribute 'tell'
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 52, in importExport.rst
- Failed example:
- extracted_filename = extractor.search(browser.contents).groups()[0]
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[26]>", line 1, in ?
- extracted_filename = extractor.search(browser.contents).groups()[0]
- File "/opt/zope/293/lib/python/zope/testbrowser/browser.py", line 185, in contents
- old_location = response.tell()
- AttributeError: 'NoneType' object has no attribute 'tell'
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 56, in importExport.rst
- Failed example:
- extracted_filename == exportpath
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[27]>", line 1, in ?
- extracted_filename == exportpath
- NameError: name 'extracted_filename' is not defined
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 61, in importExport.rst
- Failed example:
- os.path.exists(exportpath)
- Differences (ndiff with -expected +actual):
- - True
- + False
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 78, in importExport.rst
- Failed example:
- os.rename(exportpath, importpath)
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[36]>", line 1, in ?
- os.rename(exportpath, importpath)
- OSError: [Errno 2] No such file or directory
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 79, in importExport.rst
- Failed example:
- os.path.exists(importpath)
- Differences (ndiff with -expected +actual):
- - True
- + False
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 85, in importExport.rst
- Failed example:
- importfile in browser.contents
- Differences (ndiff with -expected +actual):
- - True
- + False
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 90, in importExport.rst
- Failed example:
- self.portal.manage_importObject(importfile)
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[40]>", line 1, in ?
- self.portal.manage_importObject(importfile)
- File "/opt/zope/293/lib/python/OFS/ObjectManager.py", line 582, in manage_importObject
- raise BadRequest, 'File does not exist: %s' % escape(file)
- BadRequest: File does not exist: labels.zexp
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 91, in importExport.rst
- Failed example:
- EXPORT_ID in self.portal.objectIds()
- Differences (ndiff with -expected +actual):
- - True
- + False
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 96, in importExport.rst
- Failed example:
- imported_label = self.portal.labels.knorke
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[42]>", line 1, in ?
- imported_label = self.portal.labels.knorke
- AttributeError: labels
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 97, in importExport.rst
- Failed example:
- imported_label.Title()
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[43]>", line 1, in ?
- imported_label.Title()
- NameError: name 'imported_label' is not defined
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 107, in importExport.rst
- Failed example:
- imported_label._at_uid = original_labelUID
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[45]>", line 1, in ?
- imported_label._at_uid = original_labelUID
- NameError: name 'imported_label' is not defined
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 108, in importExport.rst
- Failed example:
- imported_label._uid = original_labelUID
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[46]>", line 1, in ?
- imported_label._uid = original_labelUID
- NameError: name 'imported_label' is not defined
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 110, in importExport.rst
- Failed example:
- setattr(imported_label, config.UUID_ATTR, original_labelUID)
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[48]>", line 1, in ?
- setattr(imported_label, config.UUID_ATTR, original_labelUID)
- NameError: name 'imported_label' is not defined
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 119, in importExport.rst
- Failed example:
- imported_label.UID() == imported_label._at_uid
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[53]>", line 1, in ?
- imported_label.UID() == imported_label._at_uid
- NameError: name 'imported_label' is not defined
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 121, in importExport.rst
- Failed example:
- imported_label.UID() == original_labelUID
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[54]>", line 1, in ?
- imported_label.UID() == original_labelUID
- NameError: name 'imported_label' is not defined
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 126, in importExport.rst
- Failed example:
- shop.carriesLabel(imported_label)
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[55]>", line 1, in ?
- shop.carriesLabel(imported_label)
- NameError: name 'imported_label' is not defined
- ----------------------------------------------------------------------
- File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 136, in importExport.rst
- Failed example:
- shop.carriesLabel(imported_label)
- Exception raised:
- Traceback (most recent call last):
- File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
- compileflags, 1) in test.globs
- File "<doctest importExport.rst[60]>", line 1, in ?
- shop.carriesLabel(imported_label)
- NameError: name 'imported_label' is not defined
Add Comment
Please, Sign In to add comment