Dear Openpkg people,

Trying to get viewvc to work with subversion on a Solaris 10.

Have successfully built subversion with python binding (and perl too).

With viewvc configured to use a SVN repository get the following
traceback:

An Exception Has Occurred
Python Traceback

Traceback (most recent call last):
  File
"/secomon/openpkg-3/RPM/TMP/viewvc-1.0.4-root/secomon/openpkg-3/share/vi
ewvc/lib/viewvc.py", line 3665, in main
    request.run_viewvc()
  File
"/secomon/openpkg-3/RPM/TMP/viewvc-1.0.4-root/secomon/openpkg-3/share/vi
ewvc/lib/viewvc.py", line 253, in run_viewvc
    import vclib.svn
  File "/secomon/openpkg-3/share/viewvc/lib/vclib/svn/__init__.py", line
25, in <module>
    from svn import fs, repos, core, delta
  File "/secomon/openpkg-3/lib/svn-python/svn/fs.py", line 19, in
<module>
  File "/secomon/openpkg-3/lib/svn-python/libsvn/fs.py", line 5, in
<module>
ImportError: No module named _fs

Some of the paths have temporary build names, not too worried about
this.

Unable to find where the module _fs is supposed to come from. A find
through our whole openpkg tree does not find it (so not just a 'unable
to find in correct path problem').

Looking at the top of /secomon/openpkg-3/lib/python/libsvn/fs.py we see:
# This file was created automatically by SWIG.
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.

import _fs


Now, swig and python are totally outside my sphere of experience so not
really sure where to start.

On a slightly related note the pre-installed cgi script
(/secomon/openpkg-3/cgi/viewvc.cgi) incorrectly tries to load its
configuration from /secomon/openpkg-3/share/viewvc/viewvc.conf, should
be /secomon/openpkg-3/etc/viewvc/viewvc.conf

Presume that the path needs updating in the rpm 'subst' section
somewhere.

Jason

--
Jason Wilson
Security Consultant, ICT Security Services
Telephone: +61 7 389 63129 Facsimile: +61 7 389 63740
Email: mailto:[EMAIL PROTECTED]
http://www.nrw.qld.gov.au
Department of Natural Resources and Water
Corner Main and Vulture Streets, Woolloongabba QLD 4102
Locked Bag 40, Coorparoo Delivery Centre QLD 4151
 

************************************************************************
The information in this email together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.
Any form of review, disclosure, modification, distribution
and/or publication of this email message is prohibited, unless
as a necessary part of Departmental business.
If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.
************************************************************************

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to