#2560: browser requests fail with an exception related to svn
---------------------------------------+------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  cboos   
     Type:  defect                     |       Status:  assigned
 Priority:  normal                     |    Milestone:          
Component:  tracd                      |      Version:  0.9.2   
 Severity:  normal                     |   Resolution:          
 Keywords:                             |  
---------------------------------------+------------------------------------
Comment (by [EMAIL PROTECTED]):

 Trac is working fine on my site when I configure mod_python. In my
 httpd.conf file I set:


 {{{
 PythonPath "sys.path + ['/export/home/trac/lib/python2.3/site-packages']"
 }}}

 However, when running standalone, I get the exception. In that case, I
 execute from the shell:


 {{{
 PYTHONPATH=$PYTHONPATH:/export/home/trac/lib/python2.3/site-packages
 export PYTHONPATH
 }}}

 then run tracd.

 It might be a path issue:


 {{{
 >>> import sys
 >>> print sys.path
 ['', '/export/home/trac', '/export/home/trac/lib/python2.3/site-packages',
 '/opt/csw/lib/python23.zip', '/opt/csw/lib/python2.3',
 '/opt/csw/lib/python2.3/plat-sunos5', '/opt/csw/lib/python2.3/lib-tk',
 '/opt/csw/lib/python2.3/lib-dynload', '/opt/csw/lib/python2.3/site-
 packages', '/opt/csw/lib/python2.3/site-packages/setuptools-0.6a9-
 py2.3.egg']
 }}}

 /opt/csw/lib/python2.3/svn is not directly in the path, so add it (sorry
 if this is obvious, I'm a python newbie).

 Still get the exception when running tracd. mod_python is still working,
 which is odd.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2560>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to