On Mon, Dec 14, 2015 at 11:52 AM, Ahmed M. <[email protected]> wrote:

> Still no luck.
> The ticketsidebarprovider plugin comes with a 'hello world' test and that
> works; I can see the Hello World sidebar. As for the ticketmover plugin,
> still nothing.
> Is there anything I can do to debug this? may be if you can give me a few
> things to test\check I can do that and send them over to you.
>

If there's a problem with the plugin we'll almost certainly see an error in
the logs. Otherwise, it's probably an installation issue.


> By the way, the trac projects I have are located in
> C:\trac\swtrac, C:\trac\hwtrac and C:\trac\chtrac. How do one of those know
> about the other? I guess my question is about how the plugin really works
> to move one ticket to another database.
>

The plugin knows about all of the Trac projects because they have the same
parent directory:
https://trac-hacks.org/browser/ticketmoverplugin/trunk/ticketmoverplugin/web_ui.py?rev=15110&marks=64#L57
http://trac.edgewall.org/browser/tags/trac-1.0.9/trac/web/main.py?marks=757-758#L751

You can see from the code that trac.env_paths or trac.env_parent_dir needs
to be set in the environment. This depends on Apache and the cgi or fcgi
script being correctly configured. If you are using the cgi or fcgi script
created by TracAdmin deploy you shouldn't need to worry about it.

Are you using mod_python or mod_wsgi? If using mod_wsgi, have you set
TRAC_ENV_PARENT_DIR?
http://trac.edgewall.org/wiki/TracModWSGI#Thetrac.wsgiscript

If using mod_python, have you set TracEnvParentDir?
http://trac.edgewall.org/wiki/TracModPython#Settingupmultipleprojects

Also, please make sure to post below the text you are replying to so that
it's completely unambiguous which comments are replying to. Thanks!

- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to