Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#8407 closed defect (duplicate)

trac failed to start after upgrading fedora 10 to 11

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.4
Severity: normal Keywords: fedora 11
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

While in fedora 10 trac just worked fine. After upgrading to fedora 11 here is the result (Trac 0.11.4):

[lambda@clix1astlabo ~]$ tracd -p 8000 
Traceback (most recent call last):
  File "/usr/bin/tracd", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2562, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 626, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: Trac==0.11.4
[lambda@clix1astlabo ~]$

Attachments (0)

Change History (8)

in reply to:  description comment:1 by anonymous, 15 years ago

Replying to anonymous:

While in fedora 10 trac just worked fine. After upgrading to fedora 11 here is the result (Trac 0.11.4):

[lambda@clix1astlabo ~]$ tracd -p 8000 Traceback (most recent call last):

File "/usr/bin/tracd", line 5, in <module>

from pkg_resources import load_entry_point

File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2562, in <module>

working_set.require(requires)

File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 626, in require

needed = self.resolve(parse_requirements(requirements))

File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 524, in resolve

raise DistributionNotFound(req) # XXX put more info here

pkg_resources.DistributionNotFound: Trac==0.11.4 [lambda@clix1astlabo ~]$

to be complete: python-setuptools and genshi are installed.

comment:2 by ebray, 15 years ago

Priority: highnormal
Severity: majornormal

Is this by any chance a new Python version? You'll have to reinstall any eggs that were built for Python versions below 2.6.

comment:3 by anonymous, 15 years ago

thank you for the reply. Yes I have a new Python version (2.6, before it was 2.5). So after uninstall and install again the 3 eggs files and restart the web server the same output still occurs :-(

just for information: NavAdd-0.1-py2.6.egg TracThemeEngine-2.0-py2.6.egg TracWikiPrintPlugin-1.5-py2.6.egg

any other help? Thanks

comment:4 by anonymous, 15 years ago

Version: none0.11.4

comment:5 by Christian Boos, 15 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

See #7625.

comment:6 by Christian Boos, 15 years ago

Also added a link to TracUpgrade from the INSTALL file and from TracDownload.

I also reworked a bit that page to distinguish between the optional environment upgrade (trac-admin <env> upgrade) and general upgrade tasks always needed.

comment:7 by Christian Boos, 15 years ago

Milestone: 0.11.6

in reply to:  4 comment:8 by anonymous, 15 years ago

Replying to anonymous:

Did anyone find a fix for this?

When I run trac-admin, I see the following trace: [rsingh@limbo ~]$ trac-admin Traceback (most recent call last):

File "/apps/trac/bin/trac-admin", line 5, in ?

from pkg_resources import load_entry_point

File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resource s.py", line 2562, in ?

working_set.require(requires)

File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resource s.py", line 626, in require

needed = self.resolve(parse_requirements(requirements))

File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resource s.py", line 524, in resolve

raise DistributionNotFound(req) # XXX put more info here

pkg_resources.DistributionNotFound: Trac==0.11.4

This is a new trac installation on Centos 5.3.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.