Opened 18 years ago

Closed 16 years ago

Last modified 16 years ago

#11994 closed defect (worksforme)

BUG: pysvn-1.5.1 not correctly installed

Reported by: cunger@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.4.42
Keywords: Cc: yunzheng.hu@…
Port: py-svn

Description (last modified by jmpalacios (Juan Manuel Palacios))

Traceback (most recent call last):
  File "/Users/christian/Desktop/test_py_svn.py", line 5, in __main__
    import pysvn
  File "/opt/local/lib/python2.4/site-packages/pysvn/__init__.py", line 101, in ?
    import _pysvn_2_4
ImportError: Failure linking new module: /opt/local/lib/python2.4/site-packages/pysvn/_pysvn_2_4.so: Library not loaded: @executable_path/../Frameworks/Python.framework/Versions/2.4/Python
  Referenced from: /opt/local/lib/python2.4/site-packages/pysvn/_pysvn_2_4.so
  Reason: image not found

MacBookPro@2.16GHz CoreDuo, 2GB RAM

Change History (6)

comment:1 Changed 17 years ago by markd@…

Summary: pysvn not correctly installedBUG: pysvn-1.5.1 not correctly installed

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: yunzheng.hu@… added

Cc the port's maintainer.

comment:3 Changed 17 years ago by yunzheng.hu@…

Did a clean install of Leopard with XCode tools, installed MacPorts 1.6 then installed 'py-svn' via ports.

The only thing ports was failing on was SQLite3, but this was fixed by installing 'gmake' first and then do a clean+install of SQLite.

[yun@magneto tmp]$ port installed
The following ports are currently installed:
  apr @1.2.12_0+darwin_9 (active)
  apr-util @1.2.12_0 (active)
  db44 @4.4.20_1 (active)
  expat @2.0.1_0 (active)
  gawk @3.1.6_0 (active)
  gettext @0.17_3 (active)
  gmake @3.81_0 (active)
  libiconv @1.12_0 (active)
  ncurses @5.6_0 (active)
  ncursesw @5.6_1 (active)
  neon @0.26.4_0 (active)
  openssl @0.9.8g_0 (active)
  py-svn @1.5.1_0 (active)
  python24 @2.4.4_2+darwin_9 (active)
  readline @5.2.007_0+darwin_9 (active)
  sqlite3 @3.5.5_0 (active)
  subversion @1.4.6_0 (active)
  zlib @1.2.3_1 (active)
[yun@magneto tmp]$ cat test.py
import pysvn
client = pysvn.Client()
client.checkout('http://macfuse.googlecode.com/svn/trunk/','/tmp/mac-fuse')
[yun@magneto tmp]$ /opt/local/bin/python2.4 test.py 
[yun@magneto tmp]$ ls /tmp/mac-fuse/
CHANGELOG.txt    README.txt       filesystems      tools
COPYING.txt      core             filesystems-objc
HOWTO.txt        doc              meta

I can't seem to reproduce your problem, it is working fine here in Leopard and I know it also worked in Tiger. Must be something wrong in ports when you currently installed it. Maybe try reinstalling/upgrading the dependencies.

comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)
Priority: HighNormal

comment:5 Changed 16 years ago by blb@…

Port: py-svn added
Resolution: worksforme
Status: newclosed

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.