#7028 closed defect (fixed)
System-wide installation doesn't work — at Version 4
| 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 )
I:
- Checked out the latest code from Subversion
- Made an egg
- Copied it into the system's site-packages directory
- 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!?
Change History (4)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
| Owner: | changed from Diorgenes Felipe Grzesiuk to Ryan J Ollos |
|---|---|
| Priority: | normal → high |
| Status: | new → assigned |
comment:3 Changed 13 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:4 Changed 13 years ago by
| Description: | modified (diff) |
|---|
Note: See
TracTickets for help on using
tickets.



This appears to be caused by the lack of an
__init__.pyfile 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.