Hi,

well in the directory you mentioned i found

Genshi-0.6dev_r0-py2.6.egg    ==> wrong release-id

and

Trac-0.12dev_r0-py2.6.egg
Trac-0.12dev_r9476-py2.6.egg

both seemingly created by failed attempts to install trac

so I removed these 3 egg-files and first updated my setuptools by
downloading the latest setuptools-version.
with that up to date i first installed genshi (-U "Genshi==dev" and then
the installation of Trac 0.12dev worked fine.

Thanks a lot for your hint!

best regards

Ingo

Am 14.04.2010 12:28, schrieb Rowan:
> Looks like a local install problem, first make sure you're using sudo
> (or root) try removing /usr/local/lib/
> python2.6/dist-packages/Trac-0.12dev_r9476-py2.6.egg if that doesn't
> work try checking out of svn directly.
> ~Rowan
>
> On Apr 14, 9:43 pm, Ingo Gambin <[email protected]> wrote:
>   
>> BTW: i am using ubuntu 9.10 karmic on a laptop
>>
>> Am 14.04.2010 09:09, schrieb igambin:
>>
>>
>>
>>     
>>> Hi,
>>>       
>>     
>>> i am new to python but just found trac to be the right tool for what i
>>> wish to do. So trying to get the lastest dev-version installed i first
>>> installed all the dependencies and optional packages as i'd also like
>>> to use the localization of the latest trac version. but when i finally
>>> went to
>>>       
>>     
>>> easy_installhttp://svn.edgewall.org/repos/trac/trunk
>>>       
>>     
>>> then I get the following console output which indicates some problem
>>>       
>>     
>>> =========================================================================
>>> r...@int01:/opt/trac# easy_installhttp://svn.edgewall.org/repos/trac/trunk
>>> Downloadinghttp://svn.edgewall.org/repos/trac/trunk
>>> Doing subversion checkout fromhttp://svn.edgewall.org/repos/trac/trunk
>>> to /tmp/easy_install-DHZ5a2/trunk
>>> Processing trunk
>>> Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-DHZ5a2/
>>> trunk/egg-dist-tmp-HpKTmC
>>> Trac 0.12dev-r9476 is already the active version in easy-install.pth
>>> Installing trac-admin script to /usr/local/bin
>>> Installing tracd script to /usr/local/bin
>>>       
>>     
>>> Installed /usr/local/lib/python2.6/dist-packages/Trac-0.12dev_r9476-
>>> py2.6.egg
>>> Processing dependencies for Trac==0.12dev-r9476
>>> Traceback (most recent call last):
>>>   File "/usr/bin/easy_install", line 8, in <module>
>>>     load_entry_point('setuptools==0.6c11', 'console_scripts',
>>> 'easy_install-2.6')()
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/setuptools/command/easy_install.py", line 1712, in main
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/setuptools/command/easy_install.py", line 1700, in
>>> with_ei_usage
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/setuptools/command/easy_install.py", line 1716, in <lambda>
>>>   File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
>>>     dist.run_commands()
>>>   File "/usr/lib/python2.6/distutils/dist.py", line 975, in
>>> run_commands
>>>     self.run_command(cmd)
>>>   File "/usr/lib/python2.6/distutils/dist.py", line 995, in
>>> run_command
>>>     cmd_obj.run()
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/setuptools/command/easy_install.py", line 211, in run
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/setuptools/command/easy_install.py", line 422, in
>>> easy_install
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/setuptools/command/easy_install.py", line 478, in
>>> install_item
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/setuptools/command/easy_install.py", line 519, in
>>> process_distribution
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/pkg_resources.py", line 570, in resolve
>>>     plugin_projects.sort()  # scan project names in alphabetic order
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/pkg_resources.py", line 2149, in requires
>>>     return str(self)
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/pkg_resources.py", line 2141, in _dep_map
>>>     if self.platform:
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/pkg_resources.py", line 2560, in split_sections
>>>     # Yes: ensure the requirements are met, by prefixing sys.path if
>>> necessary
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/pkg_resources.py", line 1854, in yield_lines
>>>       
>>     
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/pkg_resources.py", line 2163, in _get_metadata
>>>     #...@classmethod
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/pkg_resources.py", line 1181, in get_metadata_lines
>>>     raise NotImplementedError(
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/pkg_resources.py", line 1178, in get_metadata
>>>     )
>>>   File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-
>>> py2.6.egg/pkg_resources.py", line 1238, in _get
>>>     return os.path.isdir(path)
>>> zipimport.ZipImportError: bad local file header in /usr/local/lib/
>>> python2.6/dist-packages/Trac-0.12dev_r9476-py2.6.egg
>>> =========================================================================
>>>       
>>     
>>> I would be glad for any advice on solving this problem.
>>>       
>>     
>>> Thanks a lot in advance.
>>>       
>>     
>>> best regards,
>>>       
>>     
>>> Ingo Gambin
>>>       
>>
>>
>>  signature.asc
>> < 1KViewDownload
>>     
>   

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to