Opened 2 years ago
Last modified 2 years ago
#8538 assigned defect
invalid command 'compile_catalog' and plugin doesn't load at all
| Reported by: | falkb | Owned by: | richard |
|---|---|---|---|
| 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 (2)
comment:1 follow-up: ↓ 2 Changed 2 years ago by richard
- Status changed from new to assigned
comment:2 in reply to: ↑ 1 Changed 2 years ago by anonymous
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?


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.