RE: [viewvc-users] python issue with viewvc

seth simmons <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
That was the problem.  I didn't install it specifically, but discovered it's part of the development tools package group.  I then started having other python errors 'no such module svn' and created a search path in site-packages folder and now viewvc can browse.


-----Original Message-----
From: C. Michael Pilato [mailto:[email protected]] 
Sent: Wednesday, April 28, 2010 1:58 PM
To: Seth Simmons
Cc: [email protected]
Subject: Re: [viewvc-users] python issue with viewvc

The "expected format 2" error is only generated by Subversion 1.4's libraries, so I don't mean to be argumentative, but somewhere on your system you have old Subversion libs installed.  It might be via a stock CentOS package in /usr/lib; it might be elsewhere.  But Subversion 1.6.11 is not the only Subversion on that machine.


Seth Simmons wrote:
> I did find postings related to this, but it doesn't apply because i don't have multiple versions of Subversion on this box.  As I said, this is a new box with new subversion installation of 1.6.11.  Others were saying they installed both versions which caused their problem - I don't have multiple versions on this new box.
> 
> These are the options I used in configuring subversion:
> 
> ./configure --with-apxs=/usr/local/apache/bin/apxs --with-swig 
> --with-apr=/usr/bin --with-apr-util=/usr/bin
> 
> 
> -----Original Message-----
> From: C. Michael Pilato [mailto:[email protected]]
> Sent: Tuesday, April 27, 2010 4:33 PM
> To: Seth Simmons
> Cc: [email protected]
> Subject: Re: [viewvc-users] python issue with viewvc
> 
> This is a classic case of Subversion's Python bindings finding, loading, and using the wrong versions of Subversion's core libraries (out of several different versions of Subversion installed at once on your server).  You'll want to visit [email protected] for help about this general problem.  Once you get Subversion and its Python bindings behaving as expected, ViewVC should start working as well.
> 
> seth simmons wrote:
>> We currently have a RH 5 box running Subversion 1.5 and ViewVC 1.07. 
>> I’m in the process of migrating to newer versions to a new box 
>> running CentOS 5 with Subversion 1.6.11 and ViewVC 1.0.11.
>>
>> So far it’s running well.  I had one of my developers test checking 
>> items out and committing without any issues.  The problem is with ViewVC.
>>
>>  
>>
>> I can get it to initially work, but when selecting any repositories, 
>> I get an error.  I’ve been looking around for a couple days with no 
>> solution.  Many have said they are having the same issue.
>>
>>  
>>
>>  
>>
>> Traceback (most recent call last):
>>
>>   File "/usr/local/viewvc-1.0.11/lib/viewvc.py", line 3761, in main
>>
>>     request.run_viewvc()
>>
>>   File "/usr/local/viewvc-1.0.11/lib/viewvc.py", line 261, in 
>> run_viewvc
>>
>>     cfg.general.svn_path)
>>
>>   File "/usr/local/viewvc-1.0.11/lib/vclib/svn/__init__.py", line 
>> 609, in __init__
>>
>>     self.repos = repos.svn_repos_open(rootpath, self.pool)
>>
>>   File "/usr/lib/python2.4/site-packages/libsvn/repos.py", line 53, 
>> in svn_repos_open
>>
>>     return apply(_repos.svn_repos_open, args)
>>
>> SubversionException: ("Expected FS format '2'; found format '4'",
>> 160043)
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>> Seth Simmons
>>
>> Systems Administrator
>>
>> *Cymfony*
>>
>> Office: 617.673.6024
>>
>> Fax: 617.924.6167
>>
>> www.cymfony.com
>>
>>  
>>
> 
> 
> --
> C. Michael Pilato <[email protected]>
> CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
> 


--
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2598242

To unsubscribe from this discussion, e-mail: [[email protected]].
smime.p7s (application/pkcs7-signature, 4.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.