Opened 7 years ago

Closed 4 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


 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
               3 File(s)          2,691 bytes
               3 Dir(s)  xx,xxx,xxx,896 bytes free

D:\tmp\plugins\tracreportinplaceeditplugin\0.11>python compile_catalog
usage: [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: --help [cmd1 cmd2 ...]
   or: --help-commands
   or: cmd --help

error: invalid command 'compile_catalog'

After that I called: python 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 Changed 7 years ago by Richard Liao

Status: newassigned

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.

comment:2 in reply to:  1 Changed 7 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?

comment:3 Changed 4 years ago by falkb

Resolution: worksforme
Status: assignedclosed

uhm... sorry, it was my mistake. I didn't notice I must install simplejson to get the plugin started

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Richard Liao.
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.