|
|
Choosing A Webhost: |
ViewCVS and Subversion: msg#00044version-control.cvs.viewcvs.user
I've seen several posts about ViewCVS and Subversion, but I haven't been able to get ViewCVS here at work to talk to our Subversion repository. When I try to access ViewCVS, I get the following error: An Exception Has Occurred Python Traceback Traceback (most recent call last): File "/data/www/admin/viewcvs/lib/viewcvs.py", line 2468, in main request.run_viewcvs() File "/data/www/admin/viewcvs/lib/viewcvs.py", line 256, in run_viewcvs import vclib.svn File "/data/www/admin/viewcvs/lib/vclib/svn/__init__.py", line 27, in ? from svn import fs, repos, core, delta ImportError: No module named svn I Googled this error and found the following post (to this mailing list): http://mailman.lyra.org/pipermail/viewcvs/2003q1/001734.html The poster recommends installing Swig 1.3.16 or greater (I checked, we have 1.3.19 installed), and compiling Subversion SWIG Python bindings, which I told configure to do. When I built Subversion, I used the following configure string: ./configure --with-apxs="/opt/apache2/bin/apxs" --with-ssl --prefix="/opt/subversion" \ --enable-swig-bindings=python Doing "find /opt/subversion | grep py" yields: /opt/subversion/lib/libsvn_swig_py-1.so.0.0.0 /opt/subversion/lib/libsvn_swig_py-1.so.0 /opt/subversion/lib/libsvn_swig_py-1.so /opt/subversion/lib/libsvn_swig_py-1.la /opt/subversion/lib/libsvn_swig_py-1.a ...so it's obvious that some Swig/Python-related libraries are being built. But curiously enough I don't see any actual ".py" files, which I assume are necessary for the python bindings to be seen by python applicaton. They can't just read .so files directly, right? I may be incorrect in this assumption (I'm not well-versed in Python). I also thought that maybe installing Subversion to the nonstandard prefix "/opt/subversion" might mean that I need to alter the PYTHONPATH environment variable; but adding "/opt/subversion/lib" to this variable didn't seem to help the situation. Can someone shed some insight into why python is unable to see these bindings? Thanks in advance! Jeremy
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | ViewCVS (with Subversion 1.0.1) exception: ImportError: No module named svn, Kay Abendroth |
|---|---|
| Next by Date: | Re: ViewCVS and Subversion, C. Michael Pilato |
| Previous by Thread: | ViewCVS (with Subversion 1.0.1) exception: ImportError: No module named svn, Kay Abendroth |
| Next by Thread: | Re: ViewCVS and Subversion, C. Michael Pilato |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |