[Trac] listing enabled plugins
Hi, I have several trac environments running on the trac server some plugins are installing system wide, and some are installed per trac env. I need to list all enabled plugins without having to go to every trac and look at the admin screen can someone point me to a way/doc to do that with python? Thanks -- Ramez Hanna informatiq.org --~--~-~--~~~---~--~~ 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 trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Trac Clearsilver install issues
Traceback (most recent call last): File /var/lib/python-support/python2.5/trac/web/main.py, line 406, in dispatch_request dispatcher.dispatch(req) File /var/lib/python-support/python2.5/trac/web/main.py, line 206, in dispatch req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs()) File /var/lib/python-support/python2.5/trac/web/clearsilver.py, line 135, in __init__ raise TracError, ClearSilver not installed (%s) % e TracError: ClearSilver not installed (No module named neo_cgi) After Installing Trac on Ubuntu 8.04 with Python 2.5 . I have already tried the following steps to resolve this issue: Traceback (most recent call last): File /var/lib/python-support/python2.5/trac/web/main.py, line 406, in dispatch_request dispatcher.dispatch(req) File /var/lib/python-support/python2.5/trac/web/main.py, line 206, in dispatch req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs()) File /var/lib/python-support/python2.5/trac/web/clearsilver.py, line 135, in __init__ raise TracError, ClearSilver not installed (%s) % e TracError: ClearSilver not installed (/usr/lib/python2.5/site-packages/ neo_cgi.so: undefined symbol: Py_InitModule4) FIX Firstly make sure Ubuntu has all the dependencies needed for this: sudo apt-get install zlib1g-dev python-dev autoconf build-essential build-dep python-clearsilver Next we want to download the Clearsilver source so we can manually compile it, once compiled all we want is one library from it: wget http://www.clearsilver.net/downloads/clearsilver-0.10.4.tar.gz tar zxvf clearsilver-0.10.4.tar.gz Locate configure Pico /clearsilver-0.10.4/configure configure add 2.5 to the list of python version allowed as bellow python_versions=2.5 2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15 Pico /clearsilver-0.10.4/configure Ctrl+w python_version configure.in add 2.5 to the list of python version allowed as bellow python_versions=2.5 2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15 Pico /clearsilver-0.10.4/configure.in Ctrl+w python_version cd clearsilver-0.10.4 sudo apt-get install gcc ./configure /*ERROR checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. apt-get install libc6-dev http://pomocnik.com/users/dan/2005/10/checking-for-c-compiler-default-output-file-name-configure-error-c-compiler-cannot-create-executables/*/ make /* The program 'make' is currently not installed. You can install it by typing: apt-get install make -bash: make: command not found Apt-get install make*/ sudo make install Now we just need to copy one library from the compiled source to replace one file in the python2.5 libraries: sudo cp -bi /usr/lib/python2.4/site-packages/neo_cgi.so /usr/lib/ python2.5/site-packages/neo_cgi.so //apt-get install zlib1g-dev autoconf apt-get install build-essential python-clearsilver 1. $ cd /usr/lib/python2.5/site-packages 2. $ sudo ln -s /usr/local/lib/python2.5/site-packages/neo_cgi.so http://fluffypixies.blogspot.com/2008/04/ubuntu-64bit-clearsilver-python-fix.html http://trac.edgewall.org/wiki/TracForPython2.5 To no result. Can someone please help me. Addison --~--~-~--~~~---~--~~ 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 trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Search engine does not support UTF-8 characters
Hi, i am trying to search notices written in UTF-8 charset as it is for Greek language and the search engine does not show any results at all Does anyone knows anything about it? thank you --~--~-~--~~~---~--~~ 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 trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: listing enabled plugins
On Aug 24, 2:54 am, rhanna ramez.ha...@gmail.com wrote: Hi, I have several trac environments running on the trac server some plugins are installing system wide, and some are installed per trac env. I need to list all enabled plugins without having to go to every trac and look at the admin screen can someone point me to a way/doc to do that with python? Thanks -- Ramez Hanna informatiq.org I think the easiest would to be to loop all your project directories, open /config/trac.ini as a ConfigParser object, loop the [components] dictionary for all values of enabled Assuming a multi-project parent directory setup here. there is probably a more trac-specific way, but that seems easy to me. --~--~-~--~~~---~--~~ 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 trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Flash + Trac 10.4 + trac_form_token?
Is there any documentation on trying to perform this kind of action? I have seen the .11 version which embeds flash, but I don't think that they handle this form_token issue. On Aug 20, 12:10 pm, jbiesinger jake.biesin...@gmail.com wrote: I have a question on using Flash to post to trac 10.4-- I have a simple flash page embedded into one of my template pages which I'd like to be able to post back to trac. The post uses a single variable buttonVar. But when trying to post, I get a 400 error and the logs say WARNING: 400 Bad Request (Missing or invalid form token. Do you have cookies enabled?) The header for the post (as viewed by FireBug) includes trac_form_token so I'm not sure why trac isn't seeing it but then again I'm not doing anything special in Flash to include the trac_form_token. I know in the newer versions of trac you can have a hidden form called trac_form_token and trac will embed the form token directly, allowing you to read it from flash or javascript or whatever, but is that possible using 10.4? Is there another way to allow the post but maintain the security of the trac_form_token? Trac version 10.4 Python 2.4.4 Thanks! Jake Biesinger --~--~-~--~~~---~--~~ 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 trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Upgrading old Trac (fall 2006) to Track 11.5
I've been given the job of resurrecting and converting an old Trac system. It was setup in Sept 2006 - I think its an early version of Trac 10.x, but not sure. They also used MySQL instead of SQLLite. The linux system it was running on is hosed, but I've mounted the hard drive and can get to the subversion, apache config, MySql DB, etc. What's my best chance for: a) Getting this up and running b) Converting it to the latest Trac. Don't care if we stay with MySQL or go back to SQLLite. Thanks - Richard -- View this message in context: http://www.nabble.com/Upgrading-old-Trac-%28fall-2006%29-to-Track-11.5-tp25121770p25121770.html Sent from the Trac Users mailing list archive at Nabble.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-users@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] Re: Search engine does not support UTF-8 characters
Quoting corfuland.gr corfulan...@yahoo.gr: i am trying to search notices written in UTF-8 charset as it is for Greek language and the search engine does not show any results at all Does anyone knows anything about it? I just tested on Debian (5.0) with trac 0.11.1. I copied some Greek text from http://el.wikipedia.org/wiki/Ελλάδα into my Trac wiki and could search and find single words. I don't know any Greek, however. --~--~-~--~~~---~--~~ 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 trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Installing mail2trac plugin
Thanks Chris and Baz. This thread is refering to another mail2trac project and it is written as plugin. The software that Chris is using is an external script an that can handle ticket updates as Chris mentioned. Just to be clear I'm giving email2trac a go. I've got it installed. I've just got 2 things I need to fix up before going live with it. 1. We are authenticating to Trac with Active Directory, so my login name is david When I send an email through Exchange, the From address is David Kirk da...@mydomain.com. I need to strip the full name and the domain name to leave just david so it matches my login name. 2. Outlook is sending emails in both plain text and html format. Trac is showing the plain text version and attaching the html version. I would prefer to strip out one of them, so there is only 1 version. Plain text is fine unless there are inline images. Then I guess html would be preferable. If I can get those problems sorted then I'll be happy. -- Thanks David Kirk --~--~-~--~~~---~--~~ 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 trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Set Up Trac Notification
Hi all I am trying to set up notification in trac so as when ever a ticket is created the concerned person should receive the mail. I have gone through the information on trac site as well as with the Tack-Hack plugins but I am not so clear on how to get on with the same. Can i have brief explanation on this can some one please help me out with this.. thanks and regards vishal.k --~--~-~--~~~---~--~~ 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 trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---