On Wed, Sep 17, 2008 at 10:13 AM, Ian Bicking <[EMAIL PROTECTED]> wrote:
>
> mario ruggier wrote:
>>> python setup.py egg_info
>> running egg_info
>> unrecognized .svn/entries format; skipping .
>> writing requirements to myapp.egg-info/requires.txt
>> writing myapp.egg-info/PKG-INFO
>> writing top-level names to myapp.egg-info/top_level.txt
>> writing dependency_links to myapp.egg-info/dependency_links.txt
>> writing entry points to myapp.egg-info/entry_points.txt
>> writing paster_plugins to myapp.egg-info/paster_plugins.txt
>> Traceback (most recent call last):
>>   File "setup.py", line 39, in <module>
>>     """,
>>   File "/usr/local/lib/python2.5/distutils/core.py", line 151, in setup
>>     dist.run_commands()
>>   File "/usr/local/lib/python2.5/distutils/dist.py", line 974, in
>> run_commands
>>     self.run_command(cmd)
>>   File "/usr/local/lib/python2.5/distutils/dist.py", line 994, in
>> run_command
>>     cmd_obj.run()
>>   File "build/bdist.linux-i686/egg/setuptools/command/egg_info.py", line
>> 171, in run
>>   File "build/bdist.linux-i686/egg/setuptools/command/egg_info.py", line
>> 252, in find_sources
>>   File "build/bdist.linux-i686/egg/setuptools/command/egg_info.py", line
>> 306, in run
>>   File "build/bdist.linux-i686/egg/setuptools/command/egg_info.py", line
>> 333, in add_defaults
>>   File "build/bdist.linux-i686/egg/setuptools/command/sdist.py", line 45,
>> in walk_revctrl
>>   File "build/bdist.linux-i686/egg/setuptools/command/sdist.py", line 52,
>> in _default_revctrl
>>   File "build/bdist.linux-i686/egg/setuptools/command/sdist.py", line 98,
>> in entries_finder
>> NameError: global name 'log' is not defined
>>
>>
>> (But if I then try to run the app again, it does run, and all seems ok...)
>> Any ideas where this last error might be coming from?
>> And, must the egg_info folder be present for the pylons app to run?
>
> I think this is a bug in Setuptools, fixed on Setuptools trunk
> (easy_install setuptools==dev) and related to svn 1.5 or something.

I'm not sure about that.  How is Paster going to find the
application's entry point without the egg-info directory?

A lot of obscure problems are generally solved by remembering to
install the application before running it: "python setup.py develop"
or "easy_install .".  (The former makes a link to the app which will
see subsequent changes; the latter makes a snapshot of the current
version.)  Otherwise if you just cd to the application's directory and
run "paster serve", it may work or it may not.

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
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