Re: [Trac] Re: ImportError: No module named trac
On Jun 28, 2010, at 6:58 PM, Graham Dumpleton wrote: On Jun 29, 1:50 am, Noah Kantrowitz wrote: 1) mod_python is a deprecated deployment option. The project has been mothballed by its creators in favor ofmod_wsgi. You should really switch to a new deployment option (probablymod_wsgi). It isn't really true to say that mod_python was mothballed in favour of mod_wsgi. The mod_wsgi package is certainly an alternative, but mod_python was mothballed because no one was interested in working on mod_python. :-) I go with the simplified version so people don't ask the next question of "What do I use instead?" ;-) Beats trying to explain the advantages of mod_wsgi vs. FCGI in its various flavors. --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-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] Re: ImportError: No module named trac
On Jun 29, 1:50 am, Noah Kantrowitz wrote: > 1) mod_python is a deprecated deployment option. The project has been > mothballed by its creators in favor ofmod_wsgi. You should really > switch to a new deployment option (probablymod_wsgi). It isn't really true to say that mod_python was mothballed in favour of mod_wsgi. The mod_wsgi package is certainly an alternative, but mod_python was mothballed because no one was interested in working on mod_python. :-) Graham > 2) You probably need a PythonPath in there which indicates where the > Trac code is installed. > > PythonPath "['/path/to/site-packages'] + sys.path" > > --Noah > > On Jun 27, 2010, at 1:01 PM, Fernando N Filho wrote: > > > > > Hello there, > > > I recently tried to upgrade my Trac Version from 0.11 to 0.12. But I > > now receive the following error onhttp://trac.potterish.com/: > > Mod_python error: "PythonHandler trac.web.modpython_frontend" > > > Traceback (most recent call last): > > > File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", > > line 287, in HandlerDispatch > > log=debug) > > > File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", > > line 461, in import_module > > f, p, d = imp.find_module(parts[i], path) > > > ImportError: No module named trac > > My .htaccess is configured the following way: > > > SetHandler mod_python > > PythonInterpreter main_interpreter > > PythonHandler trac.web.modpython_frontend > > PythonOption PYTHON_EGG_CACHE /var/www/vhosts/potterish.com/ > > subdomains/trac/httpdocs/editores/db > > PythonOption TracEnvParentDir /var/www/vhosts/potterish.com/ > > subdomains/trac/httpdocs > > PythonOption TracUriRoot / > > > PythonDebug on > > > I looked on the Trac website and saw this had something to do with > > the Apache Path, but don't know how to fix it, does anybody have an > > idea of whats going on? > > > 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-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > trac-users+unsubscr...@googlegroups.com > > . > > For more options, visit this group > > athttp://groups.google.com/group/trac-users?hl=en > > . -- 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 with remote repository ?
Thanks. That's helpful. -- CS. On Mon, Jun 28, 2010 at 1:16 PM, Christian Unger wrote: > > > > > > > > > On 28.06.2010, at 17:57, Noah Kantrowitz wrote: > >> The common setup is to just use cron to sync them every few minutes. > > > I have set up a buildbot instance that syncs upon each commit. > > > > __ > cu > christian unger > > > > -- > 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. > > -- 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 with remote repository ?
On 28.06.2010, at 17:57, Noah Kantrowitz wrote: > The common setup is to just use cron to sync them every few minutes. I have set up a buildbot instance that syncs upon each commit. __ cu christian unger -- 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 with remote repository ?
For Subversion there is a plugin for remote repos, but it exists primarily as a PoC to prove why such a system doesn't work well enough for serious use. Git doesn't even have a concept of a non-local repo without a local copy backing it AFAIK. To answer your question more directly, no, you will have to create local copies of both. The common setup is to just use cron to sync them every few minutes. --Noah On Jun 28, 2010, at 8:37 AM, Carlos S wrote: Hi, I have a Trac 0.12 instance and I would like to configure it to access remote Git and SVN repositories (located on different machine). Does repository option work only for local repos / directories? Can remote repositories be accessed through Trac 0.12? -- Thanks, CS. -- 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 . -- 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] How to define defaults for all instances
Use --inherit with initenv to set the central path at startup. --Noah On Jun 28, 2010, at 12:48 AM, Sam wrote: Hello, we are going to set quite a few trac environments up and I am wondering if it is possible to define some standards in advance, like a common header or similar this. Is there some trac.ini template that is used for all new instances that can be modified? Thanks Sam -- 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 . -- 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] ImportError: No module named trac
1) mod_python is a deprecated deployment option. The project has been mothballed by its creators in favor of mod_wsgi. You should really switch to a new deployment option (probably mod_wsgi). 2) You probably need a PythonPath in there which indicates where the Trac code is installed. PythonPath "['/path/to/site-packages'] + sys.path" --Noah On Jun 27, 2010, at 1:01 PM, Fernando N Filho wrote: Hello there, I recently tried to upgrade my Trac Version from 0.11 to 0.12. But I now receive the following error on http://trac.potterish.com/: Mod_python error: "PythonHandler trac.web.modpython_frontend" Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch log=debug) File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 461, in import_module f, p, d = imp.find_module(parts[i], path) ImportError: No module named trac My .htaccess is configured the following way: SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_frontend PythonOption PYTHON_EGG_CACHE /var/www/vhosts/potterish.com/ subdomains/trac/httpdocs/editores/db PythonOption TracEnvParentDir /var/www/vhosts/potterish.com/ subdomains/trac/httpdocs PythonOption TracUriRoot / PythonDebug on I looked on the Trac website and saw this had something to do with the Apache Path, but don't know how to fix it, does anybody have an idea of whats going on? 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-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 . -- 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 with remote repository ?
Hi, I have a Trac 0.12 instance and I would like to configure it to access remote Git and SVN repositories (located on different machine). Does repository option work only for local repos / directories? Can remote repositories be accessed through Trac 0.12? -- Thanks, CS. -- 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] Report containing 'created' seems to break
Hi, I'm using Trac 0.12 and I'm trying to write a query defined by the following SQL: SELECT created, id AS ticket, status, summary FROM ticket I understood that 'created' would give me a nicely formatted date. Instead I get a page saying: Oops… Trac detected an internal error: KeyError: 'numrows' This is probably a local installation issue. Any thoughts? Cheers Ben -- 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] Can I use ssmtp with trac?
On 06/28/2010 07:30 AM, gra...@googlemail.com wrote: Hi, I would like to setup notification for my trac project. For the server I already setup ssmtp as an simple sendmail replacement. Now I want trac to use ssmtp but I always receive an (111, 'Connection refused') error. I think that's because ssmtp is not a sendmail replacement in the way that you're thinking. I don't believe it actually listens on port 25 - it just adds a sendmail binary (and others) so that simple mailers which only know how to submit mail for sending to a local MTA still work. Trac actually understands how to talk to an SMTP server, so it's not really necessary. > Is there a way to configure trac to use ssmtp? All ssmtp does is forward mail to another smtp server, so why not just have Trac use that smtp server? Why bother with ssmtp in the middle? -- 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.
[Trac] Renaming Trac Projects
Hi We have a Trac server (0.11.7) with multiple Trac projects (environments) for different products/platforms that we develop. The server is running Ubuntu 10.04. We have decided to restructure the projects for more consistency and as a result would like to rename some projects. A 3rd party company is configuring and maintaining TRAC but aren't sure how to do this. Assume project name is 'product1' and currently has associated roadmap/ tickets, a few wiki pages and Svn repository. In Available Projects list it would show as 'product1' and link would be http:///product1 I tried Admin panel -> Basic Settings and changed name to 'platform2'. Now Available projects shows 'platform2' but link still shows http:///product1. Is there any relatively straight forward way of renaming all links without creating a new project? If not then we can of course export tickets from old project (product1), create a new project 'platform2' and import tickets . Questions: * Does roadmap get exported/imported? * Is there a way to migrate wiki pages/structure between projects or just manually copy/paste * How to migrate svn repository between projects? Is it a matter of changing names? If you need further info please let me know. Thanks Nigel -- 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] Genshi UnicodeEncodeError
Hi Rodrick Maybe this issue can help you: http://trac.edgewall.org/ticket/9417 Regards, 2010/6/23 Rodrik : > Hi, > > I wrote a macro which checks if a text is well-formed, i.e. > if it was inserted as required for our project. > For this purpose I used some regular expressions. > > My problem is that sometimes, when the expression can't be > matched, I become the following error: > > Trac Error > Genshi UnicodeEncodeError error while rendering template > (unknown template location) > > I also should mention that it only occurs with the 0.11.7 version > but not with the 0.11.7.1dev-r0, for instance. > > What should I do to solve the problem? > > Regards, > > Rodrik. > > -- > 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. > > -- Manuel Jesús Recena Soto Founder, CEO & CTO of klicap - ingeniería del puzle mobile phone +34 664 000 629 work phone + 34 954 894 322 www.klicap.es | blog.klicap.es -- 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] Can I use ssmtp with trac?
Hi, I would like to setup notification for my trac project. For the server I already setup ssmtp as an simple sendmail replacement. Now I want trac to use ssmtp but I always receive an (111, 'Connection refused') error. Is there a way to configure trac to use ssmtp? Thanks for any hint. grassu -- 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] The T.E.O site layout & design
Thanks Christian and Jonas ;-) I think a lot of people (like me too) like the possibility to set up a trac "like what I am used to see at t.e.o". Anton Christian Boos wrote: > On 6/26/2010 12:16 PM, Itamar O wrote: >> Hi all, >> >> I would like to use ideas from the t.e.o site layout & design in our >> organizational intranet >> (something similar to the top navbar, with a "tab" for every division >> that links to the Trac of that division), >> and I am wondering about several things: >> - is the design copyrighted? is it licensed BSD, as the software itself? >> - how exactly is it implemented? all using site.html and custom css? >> is this site.html available as reference somewhere? >> - for each edgewall project, the tab of the project has a different >> "active" style. >> is it done dynamically? or every project has its own site.html with >> static "active" tab? >> > > I'd have to ask Jonas, but I personally don't see a problem in making > that public. If he agrees (as I believe the whole thing was his work), > I'll make a CookBook page out of that. > > -- Christian > -- 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] How to define defaults for all instances
Hello, we are going to set quite a few trac environments up and I am wondering if it is possible to define some standards in advance, like a common header or similar this. Is there some trac.ini template that is used for all new instances that can be modified? Thanks Sam -- 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] ImportError: No module named trac
Hello there, I recently tried to upgrade my Trac Version from 0.11 to 0.12. But I now receive the following error on http://trac.potterish.com/: *Mod_python error: "PythonHandler trac.web.modpython_frontend" Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch log=debug) File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 461, in import_module f, p, d = imp.find_module(parts[i], path) ImportError: No module named trac* My .htaccess is configured the following way: *SetHandler mod_python* *PythonInterpreter main_interpreter* *PythonHandler trac.web.modpython_frontend* *PythonOption PYTHON_EGG_CACHE /var/www/vhosts/ potterish.com/subdomains/trac/httpdocs/editores/db* *PythonOption TracEnvParentDir /var/www/vhosts/ potterish.com/subdomains/trac/httpdocs* *PythonOption TracUriRoot /* * * *PythonDebug on* I looked on the Trac website and saw this had something to do with the Apache Path, but don't know how to fix it, does anybody have an idea of whats going on? 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-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.