[MacPorts] #29025: Problem with Trac and Python

MacPorts noreply at macports.org
Tue Apr 5 00:18:29 PDT 2011


#29025: Problem with Trac and Python
----------------------------+-----------------------------------------------
 Reporter:  jc@…            |       Owner:  dluke@…           
     Type:  defect          |      Status:  new               
 Priority:  Normal          |   Milestone:                    
Component:  ports           |     Version:  1.9.2             
 Keywords:                  |        Port:  trac              
----------------------------+-----------------------------------------------

Comment(by jc@…):

 Ok.
 I tried :
 sudo port uninstall trac
 sudo port clean --all trac
 sudo port -dv install trac

 I always have the following error :
 Unsupported version control system "svn":
 dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/libsvn/_fs.so,
 2): Library not loaded: /opt/local/lib/libsvn_swig_py25-1.0.dylib
 Referenced from:
 /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/libsvn/_fs.so
 Reason: image not found

 Then I tried :
 python_select python26

 I tried on my terminal :
 sh-3.2# python
 Python 2.6.6 (r266:84292, Apr  1 2011, 10:08:34)
 [GCC 4.0.1 (Apple Inc. build 5490)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> from svn import fs
 >>> from svn import core
 >>>

 No problem. But when i relaunched my trac site in browser section :
 Unsupported version control system "svn":
 dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/libsvn/_fs.so,
 2): Library not loaded: /opt/local/lib/libsvn_swig_py25-1.0.dylib
 Referenced from:
 /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/libsvn/_fs.so
 Reason: image not found

 Why does trac try to use python 2.5 so that trac is configured for python
 2.6 ?

 Best regards,

-- 
Ticket URL: <https://trac.macports.org/ticket/29025#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list