#5199 closed defect (worksforme)
Trac fails after installing plugin
Reported by: | anonymous | Owned by: | jeangui |
---|---|---|---|
Priority: | normal | Component: | DefaultCcPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
This is what I did to install the defaultccplugin:
$ unzip defaultccplugin-r5681.zip $ cd defaultccplugin/trunk $ sudo python setup.py bdist_egg
This appeared to create an .egg file successfully in the "dist" sub-directory. Next:
- I navigated to my trac site, logged on, went to ADMIN and clicked on "Plugins"
- browsed to Default_CC-0.1-py2.5.egg and selected it
- Clicked on "Install"
- Trac failed
- I fixed Trac by going to trac.ini and disabling the defaultccplugin components.
Trac log file attached.
Attachments (1)
Change History (6)
Changed 16 years ago by
comment:1 follow-up: 2 Changed 16 years ago by
Did you run "trac-admin upgrade" after activating the plugin ?
comment:2 Changed 16 years ago by
Replying to jeangui:
Did you run "trac-admin upgrade" after activating the plugin ?
No. Should I have? What will it do?
comment:3 Changed 16 years ago by
It creates the tables needed by DefaultCC. The error message you get after activating the plugin should tell you to run this command.
comment:4 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Egg is loading correctly:
2009-05-07 15:42:05,383 Trac[loader] DEBUG: Loading defaultcc.main from /trac/ElectronicsRefresh/plugins/Default_CC-0.1-py2.5.egg 2009-05-07 15:42:05,383 Trac[loader] DEBUG: Loading defaultcc.admin from /trac/ElectronicsRefresh/plugins/Default_CC-0.1-py2.5.egg ... 2009-05-07 15:43:35,820 Trac[loader] DEBUG: Adding plugin Default-CC 0.1 from /trac/ElectronicsRefresh/plugins/Default_CC-0.1-py2.5.egg 2009-05-07 15:43:35,820 Trac[loader] DEBUG: Adding plugin Default-CC 0.1 from /trac/ElectronicsRefresh/plugins/Default_CC-0.1-py2.5.egg
Upgrade is needed:
2009-05-07 15:42:05,388 Trac[env] WARNING: Component <defaultcc.admin.DefaultCCAdmin object at 0x7f8635db7190> requires environment upgrade
I think the trac failure the reporter is referring to is just a normal request for a plugin upgrade. Please reopen if you continue to have trouble.
comment:5 Changed 12 years ago by
Here is an example of the upgrade message:
Trac Error TracError: The Trac Environment needs to be upgraded. Run "trac-admin /home/user/Workspace/th10156/tracdev upgrade"
trac log file