Opened 14 years ago
Closed 11 years ago
#8538 closed defect (worksforme)
invalid command 'compile_catalog' and plugin doesn't load at all
Reported by: | falkb | Owned by: | Richard Liao |
---|---|---|---|
Priority: | normal | Component: | TracReportInplaceEditPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
D:\tmp\plugins\tracreportinplaceeditplugin\0.11>dir Volume in drive D is xxxx Volume Serial Number is xxxxxx Directory of D:\tmp\plugins\tracreportinplaceeditplugin\0.11 02/24/2011 04:48 PM <DIR> . 02/24/2011 04:48 PM <DIR> .. 11/12/2010 12:55 AM 1,010 i18n_for_developer.txt 02/24/2011 04:48 PM <DIR> ripe 11/12/2010 12:55 AM 422 setup.cfg 11/12/2010 12:55 AM 1,259 setup.py 3 File(s) 2,691 bytes 3 Dir(s) xx,xxx,xxx,896 bytes free D:\tmp\plugins\tracreportinplaceeditplugin\0.11>python setup.py compile_catalog -f usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'compile_catalog'
After that I called: python setup.py bdist_egg and this works without visible problems. Then I copied the .egg file to the plugin dir of my trac project, and I added ripe.* = enabled to the components section of trac.ini of my project. I restarted Apache+Trac-0.12.1, but the plugin doesn't appear in the .egg-cache dir and neither in the plugin list of the webinterface Admin page. So it doesn't work at all. Installing other plugins this way work well.
Attachments (0)
Change History (3)
comment:1 follow-up: 2 Changed 14 years ago by
Status: | new → assigned |
---|
comment:2 Changed 14 years ago by
Replying to richard:
To enable this plugin, you can check if simplejson is installed properly.
oops... I missed that prerequisite chapter. Could not installing it lead to such misbehaviour?
comment:3 Changed 11 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
uhm... sorry, it was my mistake. I didn't notice I must install simplejson to get the plugin started
The command compile_catalog' in Trac-0.12.1 is for i18n support, which means Babel should be installed properly. TracReportInplaceEditPlugin support i18n, but there are few messages to be translated, so you can ignore it safely.
To enable this plugin, you can check if simplejson is installed properly.