[MacPorts] #32312: subversion-python27bindings: initialization fails for user macports
MacPorts
noreply at macports.org
Tue Nov 29 12:38:18 PST 2011
#32312: subversion-python27bindings: initialization fails for user macports
--------------------------------+-------------------------------------------
Reporter: titus@… | Owner: blair@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: subversion-python27bindings
--------------------------------+-------------------------------------------
Comment(by dluke@…):
Here is a simple reproduction of the issue you are seeing:
{{{
% python2.7
Python 2.7.2 (default, Nov 22 2011, 09:49:02)
[GCC 4.2.1 Compatible Apple Clang 3.0 (tags/Apple/clang-211.12)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from svn import core
>>> core.svn_config_get_config(None)
{'config': <libsvn.core.svn_config_t; proxy of <Swig Object of type
'svn_config_t *' at 0x10ecdded0> >, 'servers': <libsvn.core.svn_config_t;
proxy of <Swig Object of type 'svn_config_t *' at 0x10ecddfc0> >}
>>> ^D
[xeon:~] dluke% chmod 000 .subversion/
[xeon:~] dluke% python2.7
Python 2.7.2 (default, Nov 22 2011, 09:49:02)
[GCC 4.2.1 Compatible Apple Clang 3.0 (tags/Apple/clang-211.12)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from svn import core
>>> core.svn_config_get_config(None)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/lib/svn-python2.7/libsvn/core.py", line 3864, in
svn_config_get_config
return _core.svn_config_get_config(*args)
svn.core.SubversionException: 13 - Can't open file
'/Volumes/Extra/dluke/.subversion/servers': Permission denied
}}}
--
Ticket URL: <https://trac.macports.org/ticket/32312#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list