On Sun, Nov 1, 2009 at 11:06 AM, Matt Feifarek <[email protected]>wrote:

> On Thu, Oct 29, 2009 at 3:19 PM, reco <[email protected]> wrote:
>
>> just tried the wiki page
>> i got the following probs:
>>
>>  File "lib/setuptools-0.6c11-py2.5.egg/pkg_resources.py", line 24, in
>> <module>
>>    from os import utime, rename, unlink, mkdir
>> ImportError: cannot import name mkdir
>> INFO     2009-10-29 19:56:30,793 dev_appser
>>
>
> Yeah, I'm now getting this too. I think that the 1.2.7 release of GAE broke
> this. I'm going to look into it.
>
>
Actually, it turns out I have a *different* error; I'm getting a problem
with os.makedirs. I patched it thusly in my runpylons.py:

# fix the setuptools bug introduced in GAE 1.2.7
def dummyfunc(*args, **kwargs):
    pass
os.makedirs = dummyfunc

That allows the app to be run under the dev_appserver. Reco, what version of
the SDK are you running when you have this problem?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to