Created
May 19, 2012 03:09
-
-
Save douglatornell/2728814 to your computer and use it in GitHub Desktop.
Typical Traceback of Blogofile plugins Branch Test Error (unittest discover)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With Python 3.2 unittest discover as test runner: | |
====================================================================== | |
ERROR: testUpperCaseAutoPermalink (blogofile.tests.test_content.TestContent) | |
Auto generated permalinks should have title and filenames lower case | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "blogofile/tests/test_content.py", line 79, in testUpperCaseAutoPermalink | |
main.main("init blog_unit_test") | |
File "blogofile/main.py", line 186, in main | |
args.func(args) | |
File "blogofile/main.py", line 255, in do_init | |
site_init.do_init(args) | |
File "blogofile/site_init/__init__.py", line 138, in do_init | |
import_site_init(template) | |
File "blogofile/site_init/__init__.py", line 105, in import_site_init | |
zip_file = zipfile.ZipFile(io.BytesIO(zip_data)) | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/zipfile.py", line 719, in __init__ | |
self._GetContents() | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/zipfile.py", line 753, in _GetContents | |
self._RealGetContents() | |
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/zipfile.py", line 768, in _RealGetContents | |
raise BadZipFile("File is not a zip file") | |
zipfile.BadZipFile: File is not a zip file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment