I keep having a strange issue, and I'm really unclear as to the cause. When
Dev Environment 1.7.6 came out, I made the switch from Pyton 2.5 to Python
2.7. In the course of using 1.7.6 I kept encountering this issue:
C:\Program Files (x86)\Google\google_appengine\slconductor_27>manage.py
appcfg update
Running on Kay-3.0.0
Traceback (most recent call last):
File "C:\Program Files
(x86)\Google\google_appengine\slconductor_27\manage.py"
, line 19, in <module>
from kay.management import *
File "C:\Program Files
(x86)\Google\google_appengine\slconductor_27\kay\management\__init__.py",
line 30, in <module>
from kay.management.test import do_runtest
File "C:\Program Files
(x86)\Google\google_appengine\slconductor_27\kay\management\test.py", line
38, in <module>
from google.appengine.api import urlfetch_stub
File "C:\Program Files
(x86)\Google\google_appengine\google\appengine\api\urlfetch_stub.py", line
33, in <module>
_fancy_urllib_InvalidCertException =
fancy_urllib.InvalidCertificateException
AttributeError: 'module' object has no attribute
'InvalidCertificateException'
I finally figured out the issue was caused by an empty __init__.py file in
C:\Program Files (x86)\Google\google_appengine\lib\fancy_urllib
The actual library is in C:\Program Files
(x86)\Google\google_appengine\lib\fancy_urllib\fancy_urllib for some
reason. Deleting the empty file gets the library to load.
I figured it was just an install error, but upon installing 1.7.7 Dev
environment, the empty file was put back in place, causing the error to
return. So I'm unclear why the installer keeps putting this empty file so
that the library can't be loaded.
I should probably add I'm running the environment on Windows 7.
Any ideas?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.