Edgewall Software

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8847 closed defect (fixed)

0.11.6rc1 egg is broken

Reported by: anonymous Owned by: Christian Boos
Priority: highest Milestone: 0.11.6
Component: general Version: 0.6.1
Severity: critical Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


easy_install Trac

Downloads and installs Trac-0.11.6rc1-py2.4.egg.

But this egg is missing (at least) trac/templates, trac/wiki/default-pages, and trac/wiki/templates. Spent most of the morning trying to debug why my install wasn't working, and it was traced to a broken egg. Manually grabbing the svn and running setup.py made everything happy again.

Setting as critical as all install docs reference easy_install first.

Attachments (0)

Change History (7)

comment:1 by anonymous, 11 years ago

Version: none0.6.1

morbus@… was the original reporter of this ticket; forgot to login.

comment:2 by Christian Boos, 11 years ago

Ah, the .eggs …

Trying myself:

# easy_install Trac
Searching for Trac
Reading http://pypi.python.org/simple/Trac/
Reading http://trac.edgewall.com/
Reading http://trac.edgewall.org/wiki/TracDownload
Reading http://projects.edgewall.com/trac
Reading http://projects.edgewall.com/trac/wiki/TracDownload
Best match: Trac 0.11.6rc1
Downloading ftp://ftp.edgewall.com/pub/trac/Trac-0.11.6rc1.zip
Processing Trac-0.11.6rc1.zip
Running Trac-0.11.6rc1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-N6z4pJ/Trac-0.11.6rc1/egg-dist-tmp-zYLT7A
Adding Trac 0.11.6rc1 to easy-install.pth file
Installing trac-admin script to /opt/python-2.4.4/bin
Installing tracd script to /opt/python-2.4.4/bin

Installed /opt/python-2.4.4/lib/python2.4/site-packages/Trac-0.11.6rc1-py2.4.egg
Processing dependencies for Trac
Finished processing dependencies for Trac

Hm, right:

Traceback (most recent call last):
  File "/opt/python-2.4.4/lib/python2.4/site-packages/Trac-0.11.6rc1-py2.4.egg/trac/web/api.py", line 377, in send_error
  File "/opt/python-2.4.4/lib/python2.4/site-packages/Trac-0.11.6rc1-py2.4.egg/trac/web/chrome.py", line 732, in render_template
    template = self.load_template(filename, method=method)
  File "/opt/python-2.4.4/lib/python2.4/site-packages/Trac-0.11.6rc1-py2.4.egg/trac/web/chrome.py", line 706, in load_template
    return self.templates.load(filename, cls=cls)
  File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 237, in load
TemplateNotFound: Template "error.html" not found

comment:3 by Christian Boos, 11 years ago

Looks like the zip is broken… no idea why, I'm sure I did a simple setup.py sdist yesterday. Doing it again seem to work now. Strange.

comment:4 by Christian Boos, 11 years ago

Please try again, it should work now…

Sorry for the inconvenience.

comment:5 by morbus@…, 11 years ago

Resolution: fixed
Status: newclosed

Yep, deleted my source install, redid easy_install Trac, and everything's fine: created a new project with no errors, ran tracd with no errors. Marking as fixed.

comment:6 by Christian Boos, 11 years ago

Owner: set to Christian Boos

comment:7 by Christian Boos, 11 years ago

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.