On Aug 23, 2007, at 12:04 PM, Mike Orr wrote:

>
> On 8/23/07, Mike Orr <[EMAIL PROTECTED]> wrote:
>> to install the application again.  So I ran "python setup.py develop"
>> and it says:
>>
>>   File "/usr/local/lib/python2.5/site-packages/setuptools-0.6c6- 
>> py2.5.egg/setuptools/command/egg_info.py",
>> line 179, in tags
>>     ):  version += '-r%s' % self.get_svn_revision()
>>   File "/usr/local/lib/python2.5/site-packages/setuptools-0.6c6- 
>> py2.5.egg/setuptools/command/egg_info.py",
>> line 224, in get_svn_revision
>>     localrev = max([int(d[9]) for d in data if len(d)>9 and d[9]])
>> ValueError: max() arg is an empty sequence
>
> 'data' was the contents of myapp/public/.svn/entries, converted into a
> list of lists.  The entries seemed related to SVN 'add' operations.
> So there may be a bug in Setuptools egg_info.py but I couldn't quite
> figure it out.
>

Yep, this is a setuptools bug with files added to subversion that  
haven't been committed yet. It's been reported a couple times, I  
think I had a patch to setuptools to fix it somewhere on the pastebin.

--
Philip Jenvey



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