Guest User

Untitled

a guest
Feb 19th, 2018
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.05 KB | None | 0 0
  1. ======================================================================
  2. FAIL: Doctest: importExport.rst
  3. ----------------------------------------------------------------------
  4. Traceback (most recent call last):
  5. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 2215, in runTest
  6. raise self.failureException(self.format_failure(new.getvalue()))
  7. DocTestFailureException: Failed doctest test for importExport.rst
  8. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 0
  9.  
  10. ----------------------------------------------------------------------
  11. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 44, in importExport.rst
  12. Failed example:
  13. form.submit()
  14. Exception raised:
  15. Traceback (most recent call last):
  16. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  17. compileflags, 1) in test.globs
  18. File "<doctest importExport.rst[22]>", line 1, in ?
  19. form.submit()
  20. File "/opt/zope/293/lib/python/zope/testbrowser/browser.py", line 681, in submit
  21. self.browser.mech_browser.open(request)
  22. File "/opt/zope/293/lib/python/mechanize/_mechanize.py", line 254, in open
  23. return self._mech_open(url, data)
  24. File "/opt/zope/293/lib/python/mechanize/_mechanize.py", line 277, in _mech_open
  25. self._response = UserAgent.open(self, self.request, data)
  26. File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/urllib2.py", line 364, in open
  27. response = meth(req, response)
  28. File "/opt/zope/293/lib/python/ClientCookie/_urllib2_support.py", line 531, in http_response
  29. response = self.parent.error(
  30. File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/urllib2.py", line 402, in error
  31. return self._call_chain(*args)
  32. File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/urllib2.py", line 337, in _call_chain
  33. result = func(*args)
  34. File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/urllib2.py", line 480, in http_error_default
  35. raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  36. HTTPError: HTTP Error 500: Internal Server Error
  37. ----------------------------------------------------------------------
  38. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 45, in importExport.rst
  39. Failed example:
  40. browser.contents
  41. Exception raised:
  42. Traceback (most recent call last):
  43. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  44. compileflags, 1) in test.globs
  45. File "<doctest importExport.rst[23]>", line 1, in ?
  46. browser.contents
  47. File "/opt/zope/293/lib/python/zope/testbrowser/browser.py", line 185, in contents
  48. old_location = response.tell()
  49. AttributeError: 'NoneType' object has no attribute 'tell'
  50. ----------------------------------------------------------------------
  51. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 52, in importExport.rst
  52. Failed example:
  53. extracted_filename = extractor.search(browser.contents).groups()[0]
  54. Exception raised:
  55. Traceback (most recent call last):
  56. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  57. compileflags, 1) in test.globs
  58. File "<doctest importExport.rst[26]>", line 1, in ?
  59. extracted_filename = extractor.search(browser.contents).groups()[0]
  60. File "/opt/zope/293/lib/python/zope/testbrowser/browser.py", line 185, in contents
  61. old_location = response.tell()
  62. AttributeError: 'NoneType' object has no attribute 'tell'
  63. ----------------------------------------------------------------------
  64. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 56, in importExport.rst
  65. Failed example:
  66. extracted_filename == exportpath
  67. Exception raised:
  68. Traceback (most recent call last):
  69. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  70. compileflags, 1) in test.globs
  71. File "<doctest importExport.rst[27]>", line 1, in ?
  72. extracted_filename == exportpath
  73. NameError: name 'extracted_filename' is not defined
  74. ----------------------------------------------------------------------
  75. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 61, in importExport.rst
  76. Failed example:
  77. os.path.exists(exportpath)
  78. Differences (ndiff with -expected +actual):
  79. - True
  80. + False
  81. ----------------------------------------------------------------------
  82. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 78, in importExport.rst
  83. Failed example:
  84. os.rename(exportpath, importpath)
  85. Exception raised:
  86. Traceback (most recent call last):
  87. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  88. compileflags, 1) in test.globs
  89. File "<doctest importExport.rst[36]>", line 1, in ?
  90. os.rename(exportpath, importpath)
  91. OSError: [Errno 2] No such file or directory
  92. ----------------------------------------------------------------------
  93. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 79, in importExport.rst
  94. Failed example:
  95. os.path.exists(importpath)
  96. Differences (ndiff with -expected +actual):
  97. - True
  98. + False
  99. ----------------------------------------------------------------------
  100. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 85, in importExport.rst
  101. Failed example:
  102. importfile in browser.contents
  103. Differences (ndiff with -expected +actual):
  104. - True
  105. + False
  106. ----------------------------------------------------------------------
  107. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 90, in importExport.rst
  108. Failed example:
  109. self.portal.manage_importObject(importfile)
  110. Exception raised:
  111. Traceback (most recent call last):
  112. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  113. compileflags, 1) in test.globs
  114. File "<doctest importExport.rst[40]>", line 1, in ?
  115. self.portal.manage_importObject(importfile)
  116. File "/opt/zope/293/lib/python/OFS/ObjectManager.py", line 582, in manage_importObject
  117. raise BadRequest, 'File does not exist: %s' % escape(file)
  118. BadRequest: File does not exist: labels.zexp
  119. ----------------------------------------------------------------------
  120. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 91, in importExport.rst
  121. Failed example:
  122. EXPORT_ID in self.portal.objectIds()
  123. Differences (ndiff with -expected +actual):
  124. - True
  125. + False
  126. ----------------------------------------------------------------------
  127. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 96, in importExport.rst
  128. Failed example:
  129. imported_label = self.portal.labels.knorke
  130. Exception raised:
  131. Traceback (most recent call last):
  132. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  133. compileflags, 1) in test.globs
  134. File "<doctest importExport.rst[42]>", line 1, in ?
  135. imported_label = self.portal.labels.knorke
  136. AttributeError: labels
  137. ----------------------------------------------------------------------
  138. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 97, in importExport.rst
  139. Failed example:
  140. imported_label.Title()
  141. Exception raised:
  142. Traceback (most recent call last):
  143. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  144. compileflags, 1) in test.globs
  145. File "<doctest importExport.rst[43]>", line 1, in ?
  146. imported_label.Title()
  147. NameError: name 'imported_label' is not defined
  148. ----------------------------------------------------------------------
  149. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 107, in importExport.rst
  150. Failed example:
  151. imported_label._at_uid = original_labelUID
  152. Exception raised:
  153. Traceback (most recent call last):
  154. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  155. compileflags, 1) in test.globs
  156. File "<doctest importExport.rst[45]>", line 1, in ?
  157. imported_label._at_uid = original_labelUID
  158. NameError: name 'imported_label' is not defined
  159. ----------------------------------------------------------------------
  160. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 108, in importExport.rst
  161. Failed example:
  162. imported_label._uid = original_labelUID
  163. Exception raised:
  164. Traceback (most recent call last):
  165. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  166. compileflags, 1) in test.globs
  167. File "<doctest importExport.rst[46]>", line 1, in ?
  168. imported_label._uid = original_labelUID
  169. NameError: name 'imported_label' is not defined
  170. ----------------------------------------------------------------------
  171. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 110, in importExport.rst
  172. Failed example:
  173. setattr(imported_label, config.UUID_ATTR, original_labelUID)
  174. Exception raised:
  175. Traceback (most recent call last):
  176. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  177. compileflags, 1) in test.globs
  178. File "<doctest importExport.rst[48]>", line 1, in ?
  179. setattr(imported_label, config.UUID_ATTR, original_labelUID)
  180. NameError: name 'imported_label' is not defined
  181. ----------------------------------------------------------------------
  182. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 119, in importExport.rst
  183. Failed example:
  184. imported_label.UID() == imported_label._at_uid
  185. Exception raised:
  186. Traceback (most recent call last):
  187. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  188. compileflags, 1) in test.globs
  189. File "<doctest importExport.rst[53]>", line 1, in ?
  190. imported_label.UID() == imported_label._at_uid
  191. NameError: name 'imported_label' is not defined
  192. ----------------------------------------------------------------------
  193. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 121, in importExport.rst
  194. Failed example:
  195. imported_label.UID() == original_labelUID
  196. Exception raised:
  197. Traceback (most recent call last):
  198. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  199. compileflags, 1) in test.globs
  200. File "<doctest importExport.rst[54]>", line 1, in ?
  201. imported_label.UID() == original_labelUID
  202. NameError: name 'imported_label' is not defined
  203. ----------------------------------------------------------------------
  204. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 126, in importExport.rst
  205. Failed example:
  206. shop.carriesLabel(imported_label)
  207. Exception raised:
  208. Traceback (most recent call last):
  209. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  210. compileflags, 1) in test.globs
  211. File "<doctest importExport.rst[55]>", line 1, in ?
  212. shop.carriesLabel(imported_label)
  213. NameError: name 'imported_label' is not defined
  214. ----------------------------------------------------------------------
  215. File "/opt/zope/labelfinder/Products/LabelFinderAGX/docs/testsBrowser/importExport.rst", line 136, in importExport.rst
  216. Failed example:
  217. shop.carriesLabel(imported_label)
  218. Exception raised:
  219. Traceback (most recent call last):
  220. File "/opt/zope/293/lib/python/zope/testing/doctest.py", line 1256, in __run
  221. compileflags, 1) in test.globs
  222. File "<doctest importExport.rst[60]>", line 1, in ?
  223. shop.carriesLabel(imported_label)
  224. NameError: name 'imported_label' is not defined
Add Comment
Please, Sign In to add comment