Edgewall Software

Changes between Initial Version and Version 2 of Ticket #8370


Ignore:
Timestamp:
Jun 10, 2009, 5:19:47 PM (15 years ago)
Author:
Christian Boos
Comment:

Looks like the plugin you had was wrongly packaged… that setup.py file got extracted directly in the $TRAC_ENV/plugins folder and later got interpreted as a self-contained plugin in a .py file…

Btw, was that an .egg file or directly the source .zip you downloaded from TracHacks?

Uploading such a .zip file won't work, I'm afraid. See TracPlugins for information about how to build plugins (usually simply a matter of doing python setup.py bdist_egg).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8370 – Description

    initial v2  
    99
    1010The traceback that is generated is as follows:
    11 
     11{{{
    1212[[Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] mod_python (pid=5856, interpreter='main_interpreter', phase='PythonHandler', handler='trac.web.modpython_frontend'): Application error
    1313[Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] ServerName: 'localhost'
     
    3434[Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242]   File "C:\\Python25\\lib\\distutils\\core.py", line 139, in setup\n    raise SystemExit, gen_usage(dist.script_name) + "\\nerror: %s" % msg
    3535[Tue Jun 09 23:56:56 2009] [error] [client 24.150.9.242] SystemExit: usage: mod_python [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]\n   or: mod_python --help [cmd1 cmd2 ...]\n   or: mod_python --help-commands\n   or: mod_python cmd --help\n\nerror: no commands supplied
    36 
     36}}}
    3737I really don't have any idea how to resolve this, and I now have a completely non-functional Trac system. I have seen some closed tickets that have something similar, but I don't think that they resulted in a non-functional system, and in any case, none of the user suggested fixes have any effect. I need to get this resolved ASAP, as our project is on hold until I can get this resolved.