OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004846 [py_subversion] packaging major always 2011-10-18 23:40 2012-03-01 09:03
Reporter schwindt View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed  
Summary 0004846: trac is broken by the version 1.7.0_rc4,REV=2011.10.09
Description after the upgrade trac stops displaying the repositories.
The python module svn is not found anymore

The error displayed
Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

The trac log looks like this

2011-10-18 23:38:50,818 Trac[svn_fs] INFO: Failed to load Subversion bindings
Traceback (most recent call last):
  File "/opt/csw/lib/python/site-packages/trac/versioncontrol/svn_fs.py", line 267, in __init__
    _import_svn()
  File "/opt/csw/lib/python/site-packages/trac/versioncontrol/svn_fs.py", line 68, in _import_svn
    from svn import fs, repos, core, delta
ImportError: No module named svn
Additional Information pkginfo -l CSWpythonsvn
   PKGINST: CSWpythonsvn
      NAME: pythonsvn - Subversion Python Language Binding
  CATEGORY: application
      ARCH: i386
   VERSION: 1.7.0_rc4,REV=2011.10.09
   BASEDIR: /
    VENDOR: http://subversion.apache.org/ [^] packaged for CSW by THURNER rupert
    PSTAMP: rupert@unstable9x-20111009115833
  INSTDATE: Oct 18 2011 18:30
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: rupert@opencsw.org
    STATUS: completely installed


pkgchk -l CSWpythonsvn
WARNING: Package <CSWpythonsvn> is installed but empty


Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009345)
schwindt (reporter)
2011-10-19 00:17

While trying to recompile svn 1.7.0 I found neon needs to be upgraded too.
My quick fix was rsyncing from a machine still running svn 1.6.15 the following

/opt/csw/lib/python/site-packages/svn
/opt/csw/lib/python/site-packages/libsvn
/opt/csw/lib/svn/libsvn_swig_py-1.so.0*
(0009346)
maciej (reporter)
2011-10-19 00:37

Looking at the packages, the pythonsvn package is empty:

http://buildfarm.opencsw.org/pkgdb/srv4/2fcf7d798ea55ba581d37b8148d0915d/ [^]

I thought that maybe the module files ended up in another package, e.g. the main package. But I didn't find these files in any of them, so maybe the module was removed from 1.7, or moved to a separate source tarball?
(0009348)
rupert (developer)
2011-10-19 08:02

compilation is switched off in the build recipe until somebody can have a look why it does not link.
(0009536)
rupert (developer)
2012-01-15 11:28

pythonsvn is switched on again, the 1.7.2 version contains pythonsvn again.
(0009537)
rupert (developer)
2012-01-15 11:30

pls reopen if it does not work yet
(0009697)
schwindt (reporter)
2012-03-01 09:03

It indeed does , but the package layout changed a bit.
after doing a

rsync -av /opt/csw/lib/svn/python/site-packages/ /opt/csw/lib/python/site-packages/

python was able to use it again.
It this behaviour intendet ?

- Issue History
Date Modified Username Field Change
2011-10-18 23:40 schwindt New Issue
2011-10-19 00:17 schwindt Note Added: 0009345
2011-10-19 00:37 maciej Note Added: 0009346
2011-10-19 08:02 rupert Note Added: 0009348
2012-01-15 11:28 rupert Note Added: 0009536
2012-01-15 11:30 rupert Note Added: 0009537
2012-01-15 11:30 rupert Status new => closed
2012-01-15 11:30 rupert Resolution open => fixed
2012-03-01 09:03 schwindt Note Added: 0009697


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker