Opened 8 years ago

Closed 6 years ago

#7028 closed defect (fixed)

System-wide installation doesn't work

Reported by: John Beranek Owned by: Ryan J Ollos
Priority: high Component: TracWikiToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)


  1. Checked out the latest code from Subversion
  2. Made an egg
  3. Copied it into the system's site-packages directory
  4. Added "wikitopdf.* = enabled" in the [components] section of a projects trac.ini

However, the plugin has not become enabled, and doesn't show in the Admin->Plugins page.

If I copy the egg into the project's 'plugins' directory, it works.

In the failure case there is nothing relevant in the trac.log file.

If I copy the egg file into the project's plugins directory, the trac.log file shows the plugin being loaded from the _system_ directory:

2010-04-26 14:59:33,832 Trac[loader] DEBUG: Loading wikitopdf.web_ui from /usr/lib/python2.4/site-packages/TracWikiToPdfPlugin-2.3.1-py2.4.egg

What's going on!?

Attachments (0)

Change History (9)

comment:1 Changed 7 years ago by nathan r. hruby

This appears to be caused by the lack of an file in the wikitopdf module. You can maually add an empty one in the source directory and then reissue the build and install steps and it should work.

comment:2 Changed 7 years ago by Ryan J Ollos

Owner: changed from Diorgenes Felipe Grzesiuk to Ryan J Ollos
Priority: normalhigh
Status: newassigned

comment:3 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

(In [9779]) Added file to fix install failure. Removed requirement for htmldoc from since an install failed even when the package was installed system-wide. Fixes #7028.

comment:4 Changed 7 years ago by Ryan J Ollos

Description: modified (diff)

comment:5 Changed 7 years ago by Ryan J Ollos

(In [9780]) Applied fix from [9779] to 0.10 branch. Renamed context conversion link from WikiToPdf -> PDF. Refs #7028.

comment:6 Changed 7 years ago by John Beranek

Resolution: fixed
Status: closedreopened

Hmm, doesn't seem to fix it for me. I generated an within wikitopdf, remade the egg, and I still get the same behaviour...

comment:7 Changed 7 years ago by Ryan J Ollos

Try deleting the file /usr/lib/python2.4/site-packages/TracWikiToPdfPlugin-2.3.1-py2.4.egg and see if it then loads the egg from the TRACENV directory.

comment:8 Changed 7 years ago by Ryan J Ollos

Okay, sorry, I misundestood your issue, so my last comment won't make any sense. Let me test out the system-wide installation. I always do an installation to the TRACENV directory.

comment:9 Changed 6 years ago by Ryan J Ollos

Resolution: fixed
Status: reopenedclosed

Try: python install, and I think it will work for you. Please reopen if you continue to have issues. You may also want to read t:TracPlugins, for the different installation options. I think this is purely an install issue at this point.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.