[MacPorts] #29025: Problem with Trac and Python
MacPorts
noreply at macports.org
Mon Apr 4 08:51:39 PDT 2011
#29025: Problem with Trac and Python
----------------------------+-----------------------------------------------
Reporter: jc@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port:
----------------------------+-----------------------------------------------
Changes (by ryandesign@…):
* cc: dluke@… (added)
Old description:
> I know that there already were a similar problem but i tested all
> solutions adviced on your site.
>
> My problem is to access svn with trac.
> When i read the trac's log, i've the following lines :
>
> Trac[svn_fs] INFO: Failed to load Subversion bindings
> Traceback (most recent call last):
> File "build/bdist.macosx-10.5-i386/egg/trac/versioncontrol/svn_fs.py",
> line 265, in __init__
> _import_svn()
> File "build/bdist.macosx-10.5-i386/egg/trac/versioncontrol/svn_fs.py",
> line 68, in _import_svn
> from svn import fs, repos, core, delta
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/svn/fs.py",
> line 19, in <module>
> from libsvn.fs import *
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/libsvn/fs.py",
> line 7, in <module>
> import _fs
> ImportError:
> 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
>
> My system : Mac OSX 10.5.8 with Python 2.5.1 and Subversion 1.6.16
>
> I tried the followings :
> sudo port install python_select
> sudo python_select python25
> sudo port install subversion-python25bindings
>
> and nothing works. With this, i've an Internal Server Error.
>
> Best regards,
New description:
I know that there already were a similar problem but i tested all
solutions adviced on your site.
My problem is to access svn with trac.
When i read the trac's log, i've the following lines :
{{{
Trac[svn_fs] INFO: Failed to load Subversion bindings
Traceback (most recent call last):
File "build/bdist.macosx-10.5-i386/egg/trac/versioncontrol/svn_fs.py",
line 265, in __init__
_import_svn()
File "build/bdist.macosx-10.5-i386/egg/trac/versioncontrol/svn_fs.py",
line 68, in _import_svn
from svn import fs, repos, core, delta
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/svn/fs.py",
line 19, in <module>
from libsvn.fs import *
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/libsvn/fs.py",
line 7, in <module>
import _fs
ImportError:
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
}}}
My system : Mac OSX 10.5.8 with Python 2.5.1 and Subversion 1.6.16
I tried the followings :
{{{
sudo port install python_select
sudo python_select python25
sudo port install subversion-python25bindings
}}}
and nothing works. With this, i've an Internal Server Error.
Best regards,
--
--
Ticket URL: <https://trac.macports.org/ticket/29025#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list