Re: [Trac] Trac 0.11.1 (TurnKey appliance) and plugins installation

2010-06-21 Thread Mírian Bruckschen
Hello Matthew,

2010/6/16 Matthew Caron:
 Is there any additional step in order to make them show in my Manage
 Plugins page?

 The webserver user needs to be able to read them. What are the permissions
 on them?

I guess this was already OK: chowned the dir to www-data, and set 755 on it.
However...

(...)
 Also I don't think that the zip file you downloaded
 (accountmanagerplugin_0.11-r8116.zip) is not an egg. I think if you unzip
 it, you'll find that it source code out of which you need to make an egg,
 eg:

 python setup.py bdist_egg

...this is what made the whole thing work. After building the egg, I
just had to place it under my plugins directory, and everything
worked. Don't know why the Install plugins didn't work, but my issue
was solved anyway.

Thank you very much for your help,

-- 
Mírian Bruckschen

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



[Trac] Trac 0.11.1 (TurnKey appliance) and plugins installation

2010-06-16 Thread Mírian Bruckschen
Hello,

I'm using the TurnKey Trac appliance (Ubuntu, which comes with Trac
version 0.11.1. On the top of this, I installed the
AccountManagerPlugin version 0.11, but it does not show in my Manage
Plugins page. It also happens with the IniAdminPlugin. However, they
do appear in the python2.5/site-packages as egg files:

r...@trac:/etc/apache2# ls -d /usr/lib/python2.5/site-packages/*.egg
/usr/lib/python2.5/site-packages/accountmanagerplugin_0.11-r8116.egg
/usr/lib/python2.5/site-packages/iniadminplugin_0.11-r8116.egg

Is there any additional step in order to make them show in my Manage
Plugins page?

So far, I did the following:
- attributed full access to my trac plugins directory for my www-data
user;
- downloaded accountmanagerplugin_0.11-r8116.zip from
AccountManagerPlugin wikipage and renamed it to egg;
- uploaded the egg file using the Install Plugin option;
- installed it using easy_install.

The same for IniAdminPlugin.

Also, I added the following lines to my trac.ini file, under
[components]:
webadmin.* = enabled
acct_mgr.* = enabled

My system's information is (don't know what is relevant here):

r...@trac:/etc/trac# uname -a
Linux trac 2.6.24-27-generic #1 SMP Fri Mar 12 01:10:31 UTC 2010 i686
GNU/Linux

r...@trac:/etc/trac# cat /etc/issue
Ubuntu 8.04.3 LTS \n \l

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



Re: [Trac] Trac 0.11.1 (TurnKey appliance) and plugins installation

2010-06-16 Thread Matthew Caron

On 06/15/2010 01:53 PM, Mírian Bruckschen wrote:


Is there any additional step in order to make them show in my Manage
Plugins page?


The webserver user needs to be able to read them. What are the 
permissions on them?




So far, I did the following:
- attributed full access to my trac plugins directory for my www-data
user;
- downloaded accountmanagerplugin_0.11-r8116.zip from
AccountManagerPlugin wikipage and renamed it to egg;
- uploaded the egg file using the Install Plugin option;
- installed it using easy_install.

The same for IniAdminPlugin.


I'm confused - that does not jibe with what you stated before. Your trac 
plugins directory should not be /usr/lib/python2.5/site-packages. But, 
the above should have worked, since the Install Plugin option should 
have taken care of the details.


Also I don't think that the zip file you downloaded 
(accountmanagerplugin_0.11-r8116.zip) is not an egg. I think if you 
unzip it, you'll find that it source code out of which you need to make 
an egg, eg:


python setup.py bdist_egg

(make sure to use the correct python as what trac is running under. So, 
if you server is on python2.5, you'll want to make sure you're using 
that to build it).



Also, I added the following lines to my trac.ini file, under
[components]:
webadmin.* = enabled
acct_mgr.* = enabled


Did you bounce the webserver? I find that I sometimes have to do that in 
order for it to see new plugins, depending on the method of trac access 
(mod_wsgi vs. fastcgi vs. regular cgi, etc.)


Also, what does the log file say? Anything useful? It might be reading 
the plugins fine, but not

--
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

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