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/", line 267, in __init__
  File "/opt/csw/lib/python/site-packages/trac/versioncontrol/", 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
    VENDOR: [^] packaged for CSW by THURNER rupert
    PSTAMP: rupert@unstable9x-20111009115833
  INSTDATE: Oct 18 2011 18:30
   HOTLINE: [^]
    STATUS: completely installed

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

Tags No tags attached.
Attached Files

- Relationships

-  Notes
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

maciej (reporter)
2011-10-19 00:37

Looking at the packages, the pythonsvn package is empty: [^]

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?
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.
rupert (developer)
2012-01-15 11:28

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

pls reopen if it does not work yet
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 ?

Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker