[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-07-14 Thread Philip



On Jul 8, 3:19 pm, Thomas Moschny [EMAIL PROTECTED] wrote:
 2008/7/8 Philip [EMAIL PROTECTED]:

  Can anybody respond to my latest post?  I can't even seem to get the
  plugin to load.  I have 2 plugins, and they are in 3 locations:

 - And, does the TracHelloworld plugin work?
 - Did you set up a plugin cache, as described 
 here:http://trac.edgewall.org/wiki/TracPlugins#SettingupthePluginCache?

 Best,
 Thomas

Finally found the problem!  Even though the plugin egg file had the
right permissions, the trac.ini was not readable by the web server
id.  After making this file readable, the TracNav magically
appeared.  :-)  Thanks for all who replied.  I removed the egg file
from these 2 locations:

/usr/local/lib64/python2.4/site-packages
/trac/myproject/plugins

and left it in:

/usr/local/share/trac/plugins

so it would be common to all of my projects.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-07-08 Thread Philip

On Jun 25, 1:04 pm, Philip [EMAIL PROTECTED] wrote:
 On Jun 24, 5:07 pm, Thomas Moschny [EMAIL PROTECTED] wrote:





  2008/6/24 Philip [EMAIL PROTECTED]:

   I tried that, and I still get the same thing.  Plus, I still don't see
   the Loading... message in the log, even after I attempt to access a
   wiki page containing [[TracNav]].  If I google No macro or processor
   named 'TracNav' found, I get several other pages that seem to have
   similar problem.  So, maybe it's a fairly common problem.  Still
   looking for a solution.

  Not sure this is specific to the TracNav plugin though (but if it was,
  I'd be glad to fix it!), merely an installation issue. Do you have any
  other plugins working? Did you check permissions of the egg? The web
  server (running e.g. as wwwrun) must be allowed to access it.

  Regards,
  Thomas

 I followed the instructions from this 
 linkhttp://trac-hacks.org/wiki/EggCookingTutorial/BasicEggCookingto
 create and install a helloworld plugin into the same project.  After
 copying the TracHelloworld-0.1-py2.4.egg to the project plugins
 directory, setting permissions to 777, and restarting web server, I
 see no difference in wiki pages and no loading messages in log
 file.  I'm guessing I need to concentrate on getting the loading
 message again, but not sure what I need to do.  Seemed random at best
 when I was seeing it before.

 Thanks,
 Philip- Hide quoted text -

 - Show quoted text -

Can anybody respond to my latest post?  I can't even seem to get the
plugin to load.  I have 2 plugins, and they are in 3 locations:

/usr/local/share/trac/plugins # ls -l
total 16
-rwxrwxrwx 1 root root  2943 Jun 25 17:05 TracHelloworld-0.1-py2.4.egg
-rwxrwxrwx 1 root root 11623 Jun 25 17:05 TracNav-3.92-py2.4.egg

/usr/local/lib64/python2.4/site-packages # ls -l
total 32
-rwxrwxrwx  1 root root  2943 Jun 25 17:11 TracHelloworld-0.1-
py2.4.egg
-rwxrwxrwx  1 root root 11623 Jun 25 17:11 TracNav-3.92-py2.4.egg
-rw-r--r--  1 root root   239 Jun 23 19:26 easy-install.pth
drwxrwxrwx  4 root root  4096 Jul  8 18:05 setuptools-0.6c8-py2.4.egg
-rw-r--r--  1 root root29 Jun 23 17:07 setuptools.pth
drwxr-xr-x 11 root root  4096 Apr 17 15:01 trac

/trac/myproject/plugins # ls -l
total 16
-rwxrwxrwx 1 websrvr webgrp  2943 Jun 24 21:23 TracHelloworld-0.1-
py2.4.egg
-rwxrwxrwx 1 websrvr webgrp 11623 Jun 24 20:36 TracNav-3.92-py2.4.egg

I have logging set to debug, and after restarting apache2, I don't see
anything in the log.  When I bring up a page that has something like
[[TracNav(FAQ/TOC)]], I get an error:

Error: Failed to load processor TracNav
No macro or processor named 'TracNav' found

Please help!

Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-07-08 Thread Thomas Moschny

2008/7/8 Philip [EMAIL PROTECTED]:
 Can anybody respond to my latest post?  I can't even seem to get the
 plugin to load.  I have 2 plugins, and they are in 3 locations:

- And, does the TracHelloworld plugin work?
- Did you set up a plugin cache, as described here:
http://trac.edgewall.org/wiki/TracPlugins#SettingupthePluginCache ?

Best,
Thomas

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-06-25 Thread Philip



On Jun 24, 5:07 pm, Thomas Moschny [EMAIL PROTECTED] wrote:
 2008/6/24 Philip [EMAIL PROTECTED]:

  I tried that, and I still get the same thing.  Plus, I still don't see
  the Loading... message in the log, even after I attempt to access a
  wiki page containing [[TracNav]].  If I google No macro or processor
  named 'TracNav' found, I get several other pages that seem to have
  similar problem.  So, maybe it's a fairly common problem.  Still
  looking for a solution.

 Not sure this is specific to the TracNav plugin though (but if it was,
 I'd be glad to fix it!), merely an installation issue. Do you have any
 other plugins working? Did you check permissions of the egg? The web
 server (running e.g. as wwwrun) must be allowed to access it.

 Regards,
 Thomas

I followed the instructions from this link
http://trac-hacks.org/wiki/EggCookingTutorial/BasicEggCooking to
create and install a helloworld plugin into the same project.  After
copying the TracHelloworld-0.1-py2.4.egg to the project plugins
directory, setting permissions to 777, and restarting web server, I
see no difference in wiki pages and no loading messages in log
file.  I'm guessing I need to concentrate on getting the loading
message again, but not sure what I need to do.  Seemed random at best
when I was seeing it before.

Thanks,
Philip
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-06-24 Thread Thomas Moschny

2008/6/24 Philip [EMAIL PROTECTED]:
 I deleted the trac.ini from /usr/local/share/trac/conf and added these
 2 lines to the project-specific trac.ini file.  After recycling web
 server, I still see no difference.  Any other ideas?

Maybe the plugin is already loaded? What happens if you put
[[TracNav]] on a wiki page?

Why do you manually copy the egg after running ./setup.py install,
which already copies the egg into a system-wide dir?

Do any other plugins work for you?

Normally you should see a number of messages like this in your log:
2008-05-31 11:15:24,220 Trac[loader] DEBUG: Loading egg plugin XXX
from /srv/trac/myproject/plugins/XXX-N.N-py2.5.egg

- Thomas

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-06-24 Thread Philip



On Jun 24, 12:00 pm, Thomas Moschny [EMAIL PROTECTED]
wrote:
 2008/6/24 Philip [EMAIL PROTECTED]:

  I deleted the trac.ini from /usr/local/share/trac/conf and added these
  2 lines to the project-specific trac.ini file.  After recycling web
  server, I still see no difference.  Any other ideas?

 Maybe the plugin is already loaded? What happens if you put
 [[TracNav]] on a wiki page?

 Why do you manually copy the egg after running ./setup.py install,
 which already copies the egg into a system-wide dir?

 Do any other plugins work for you?

 Normally you should see a number of messages like this in your log:
 2008-05-31 11:15:24,220 Trac[loader] DEBUG: Loading egg plugin XXX
 from /srv/trac/myproject/plugins/XXX-N.N-py2.5.egg

 - Thomas

You are right -- I guess the install put the egg into /usr/local/lib64/
python2.4/site-packages.  I deleted the egg file from /usr/local/share/
trac/plugins and restarted web server.  I don't automatically see a
mesage like you described when I recycle apache2, BUT if I look at the
log, I do see one from earlier in the day yesterday.  So, sounds like
it was loading at some point anyway.  However, when I go to a wiki
page that has [[TracNav]] on it, I see this message:

 Error: Failed to load processor TracNav
No macro or processor named 'TracNav' found

Philip
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-06-24 Thread Thomas Moschny

2008/6/24 Philip [EMAIL PROTECTED]:
 You are right -- I guess the install put the egg into /usr/local/lib64/
 python2.4/site-packages.  I deleted the egg file from /usr/local/share/
 trac/plugins and restarted web server.  I don't automatically see a
 mesage like you described when I recycle apache2, BUT if I look at the
 log, I do see one from earlier in the day yesterday.  So, sounds like
 it was loading at some point anyway.

For the beginning, it might be easier to run ./setup bdist_egg and
copy the egg from 'dist' to the 'plugins' subdirectory of your trac
project, see http://trac.edgewall.org/wiki/TracPlugins#ForaSingleProject.

Note that plugin loading might be delayed until someone accesses your
trac instance, so you might not see something in the logs immediately
after restarting apache.

Regards,
Thomas

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-06-24 Thread Thomas Moschny

2008/6/24 Noah Kantrowitz [EMAIL PROTECTED]:
 This is untrue. The global config (or in 0.11, any inherited configs
 along the chain) are merged in memory to act like a single file as far
 as Trac cares. Any option can go in any file. They are merged at a per-
 key level, with the value lowest on the chain taking priority.

Yeah, my bad.
Doesn't necessarily make things simpler for beginners, though.

- Thomas

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-06-24 Thread Philip

On Jun 24, 3:03 pm, Thomas Moschny [EMAIL PROTECTED] wrote:
 2008/6/24 Philip [EMAIL PROTECTED]:

  You are right -- I guess the install put the egg into /usr/local/lib64/
  python2.4/site-packages.  I deleted the egg file from /usr/local/share/
  trac/plugins and restarted web server.  I don't automatically see a
  mesage like you described when I recycle apache2, BUT if I look at the
  log, I do see one from earlier in the day yesterday.  So, sounds like
  it was loading at some point anyway.

 For the beginning, it might be easier to run ./setup bdist_egg and
 copy the egg from 'dist' to the 'plugins' subdirectory of your trac
 project, seehttp://trac.edgewall.org/wiki/TracPlugins#ForaSingleProject.

 Note that plugin loading might be delayed until someone accesses your
 trac instance, so you might not see something in the logs immediately
 after restarting apache.

 Regards,
 Thomas

I tried that, and I still get the same thing.  Plus, I still don't see
the Loading... message in the log, even after I attempt to access a
wiki page containing [[TracNav]].  If I google No macro or processor
named 'TracNav' found, I get several other pages that seem to have
similar problem.  So, maybe it's a fairly common problem.  Still
looking for a solution.

Thanks,
Philip
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-06-24 Thread Thomas Moschny

2008/6/24 Philip [EMAIL PROTECTED]:
 I tried that, and I still get the same thing.  Plus, I still don't see
 the Loading... message in the log, even after I attempt to access a
 wiki page containing [[TracNav]].  If I google No macro or processor
 named 'TracNav' found, I get several other pages that seem to have
 similar problem.  So, maybe it's a fairly common problem.  Still
 looking for a solution.

Not sure this is specific to the TracNav plugin though (but if it was,
I'd be glad to fix it!), merely an installation issue. Do you have any
other plugins working? Did you check permissions of the egg? The web
server (running e.g. as wwwrun) must be allowed to access it.

Regards,
Thomas

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-06-23 Thread Thomas Moschny

2008/6/23 Philip [EMAIL PROTECTED]:
 Trying to get the TracNav plugin to work on linux (zLinux, actually),
 but it's not showing the navigation or giving any messages in the
 log.
 [...]
 - there was no /usr/local/share/trac/conf/trac.ini file, so I created
 one, and added the following:
 [components]
 tracnav.* = enabled

A globally installed plugin must be enabled separately for each trac
project. So you have to add these lines to the appropriate project's
trac.ini. Alternatively, you could use the WebAdmin plugin's gui to
enable other plugins.

- Thomas

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-06-23 Thread Philip



On Jun 23, 5:20 pm, Thomas Moschny [EMAIL PROTECTED] wrote:
 2008/6/23 Philip [EMAIL PROTECTED]:

  Trying to get the TracNav plugin to work on linux (zLinux, actually),
  but it's not showing the navigation or giving any messages in the
  log.
  [...]
  - there was no /usr/local/share/trac/conf/trac.ini file, so I created
  one, and added the following:
  [components]
  tracnav.* = enabled

 A globally installed plugin must be enabled separately for each trac
 project. So you have to add these lines to the appropriate project's
 trac.ini. Alternatively, you could use the WebAdmin plugin's gui to
 enable other plugins.

 - Thomas

I deleted the trac.ini from /usr/local/share/trac/conf and added these
2 lines to the project-specific trac.ini file.  After recycling web
server, I still see no difference.  Any other ideas?

Thanks,
Philip
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav plugin on 0.10.4 on linux not working

2008-06-23 Thread Noah Kantrowitz


On Jun 23, 2008, at 5:20 PM, Thomas Moschny wrote:


 2008/6/23 Philip [EMAIL PROTECTED]:
 Trying to get the TracNav plugin to work on linux (zLinux, actually),
 but it's not showing the navigation or giving any messages in the
 log.
 [...]
 - there was no /usr/local/share/trac/conf/trac.ini file, so I created
 one, and added the following:
 [components]
 tracnav.* = enabled

 A globally installed plugin must be enabled separately for each trac
 project. So you have to add these lines to the appropriate project's
 trac.ini. Alternatively, you could use the WebAdmin plugin's gui to
 enable other plugins.

This is untrue. The global config (or in 0.11, any inherited configs  
along the chain) are merged in memory to act like a single file as far  
as Trac cares. Any option can go in any file. They are merged at a per- 
key level, with the value lowest on the chain taking priority.

--Noah

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---