You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Joey Mukherjee <jo...@swri.edu> on 2005/03/16 15:48:51 UTC

SVN/Python/Shared Library/sccs2svn help please!

I am trying out Robert Zeh's sccs2svn.py script and am having a few 
problems I'm hoping someone could help me with.

The error message I am getting is:

Traceback (most recent call last):
   File "sccs2svn.py", line 42, in ?
     from svn import fs, repos, core, client, delta
   File "/opt/local/subversion-1.1.3/lib/svn-python/svn/fs.py", line 28, 
in ?
     import libsvn.fs
   File "/opt/local/subversion-1.1.3/lib/svn-python/libsvn/fs.py", line 
5, in ?
     import _fs
ImportError: ld.so.1: python: fatal: relocation error: file 
/opt/local/subversion-1.1.3/lib/libsvn_swig_py-1.so.0: symbol 
SWIG_TypeQuery: referenced symbol not found

Doing an nm on the _fs.so library shows SWIG_TypeQuery to be in there, 
but for some reason python can not find it.

Does anyone have any ideas on how I can get this to work?

I am using Python 2.3.4, swig 1.3.24, and subversion 1.1.3.

Thanks,
Joey


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN/Python/Shared Library/sccs2svn help please!

Posted by John Szakmeister <jo...@szakmeister.net>.
Joey Mukherjee wrote:
> 
> On Mar 17, 2005, at 8:32 PM, Ben Collins-Sussman wrote:
> 
>> Probably your best option would be to grab the patch adding support
>> for Swig 1.3.24, which is planned for inclusion in Subversion 1.1.4:
>>
>>>>
>>>> $ svn diff http://svn.collab.net/repos/svn/branches/1.1.x-new-swig
>>>> -r13071:HEAD
>>>
>>>
>>> I tried this command and I get the following:
>>>
>>> svn: REPORT request failed on
>>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig'svn: REPORT of
>>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig': 400 Bad Request
>>> (http://svn.collab.net)
>>
>>
>> You're behind a web proxy.  Classic error message of a proxy that
>> blocks webdav requests like REPORT.
> 
> 
> Ok, so my company is blocking something useful.  That's normal. 
> However, is there something else I can do to get a tarball of the
> changes?  Even a list of filenames would be helpful.  There is no
> timetable for when 1.1.4 is going to be released, is there?

You could try https:// access, if your firewall allows it.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN/Python/Shared Library/sccs2svn help please!

Posted by John Szakmeister <jo...@szakmeister.net>.
Joey Mukherjee wrote:
> 
> On Mar 18, 2005, at 10:28 AM, Ben Collins-Sussman wrote:
> 
>> On Mar 18, 2005, at 10:17 AM, Joey Mukherjee wrote:
>>
>>>
>>> On Mar 17, 2005, at 8:32 PM, Ben Collins-Sussman wrote:
>>>
>>>> Probably your best option would be to grab the patch adding support
>>>> for Swig 1.3.24, which is planned for inclusion in Subversion 1.1.4:
>>>>
>>>>>>
>>>>>> $ svn diff http://svn.collab.net/repos/svn/branches/1.1.x-new-swig
>>>>>> -r13071:HEAD
>>>>>
>>>>>
>>>>> I tried this command and I get the following:
>>>>>
>>>>> svn: REPORT request failed on
>>>>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig'svn: REPORT of
>>>>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig': 400 Bad Request
>>>>> (http://svn.collab.net)
>>>>>
>>
>> Try using https://.  Most proxies can't block requests over SSL.
> 
> 
> {joey}[elmer:~/subversion-1.1.3]31: svn diff
> https://svn.collab.net/repos/svn/branches/1.1.x-new-swig -r13071:HEAD
> svn: Unrecognized URL scheme
> 'https://svn.collab.net/repos/svn/branches/1.1.x-new-swig'
> 
> Should svn be able to use https as a transport mechanism?

Did you build your own version?  It looks like you've probably built
neon without openssl support.

-John



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN/Python/Shared Library/sccs2svn help please!

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
Joey Mukherjee wrote:
> 
> On Mar 18, 2005, at 10:28 AM, Ben Collins-Sussman wrote:
> 
>> On Mar 18, 2005, at 10:17 AM, Joey Mukherjee wrote:
>>
>>>
>>> On Mar 17, 2005, at 8:32 PM, Ben Collins-Sussman wrote:
>>>
>>>> Probably your best option would be to grab the patch adding support 
>>>> for Swig 1.3.24, which is planned for inclusion in Subversion 1.1.4:
>>>>
>>>>>>
>>>>>> $ svn diff http://svn.collab.net/repos/svn/branches/1.1.x-new-swig 
>>>>>> -r13071:HEAD
>>>>>
>>>>>
>>>>> I tried this command and I get the following:
>>>>>
>>>>> svn: REPORT request failed on 
>>>>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig'svn: REPORT of 
>>>>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig': 400 Bad Request 
>>>>> (http://svn.collab.net)
>>>>>
>>
>> Try using https://.  Most proxies can't block requests over SSL.
> 
> 
> {joey}[elmer:~/subversion-1.1.3]31: svn diff 
> https://svn.collab.net/repos/svn/branches/1.1.x-new-swig -r13071:HEAD
> svn: Unrecognized URL scheme 
> 'https://svn.collab.net/repos/svn/branches/1.1.x-new-swig'
> 
> Should svn be able to use https as a transport mechanism?

Only if your neon install was able to find openssl.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN/Python/Shared Library/sccs2svn help please!

Posted by Joey Mukherjee <jo...@swri.edu>.
On Mar 18, 2005, at 10:28 AM, Ben Collins-Sussman wrote:

> On Mar 18, 2005, at 10:17 AM, Joey Mukherjee wrote:
>>
>> On Mar 17, 2005, at 8:32 PM, Ben Collins-Sussman wrote:
>>
>>> Probably your best option would be to grab the patch adding support 
>>> for Swig 1.3.24, which is planned for inclusion in Subversion 1.1.4:
>>>>>
>>>>> $ svn diff http://svn.collab.net/repos/svn/branches/1.1.x-new-swig 
>>>>> -r13071:HEAD
>>>>
>>>> I tried this command and I get the following:
>>>>
>>>> svn: REPORT request failed on 
>>>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig'svn: REPORT of 
>>>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig': 400 Bad Request 
>>>> (http://svn.collab.net)
>>>>
>
> Try using https://.  Most proxies can't block requests over SSL.

{joey}[elmer:~/subversion-1.1.3]31: svn diff 
https://svn.collab.net/repos/svn/branches/1.1.x-new-swig -r13071:HEAD
svn: Unrecognized URL scheme 
'https://svn.collab.net/repos/svn/branches/1.1.x-new-swig'

Should svn be able to use https as a transport mechanism?

Joey


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN/Python/Shared Library/sccs2svn help please!

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mar 18, 2005, at 10:17 AM, Joey Mukherjee wrote:

>
> On Mar 17, 2005, at 8:32 PM, Ben Collins-Sussman wrote:
>
>> Probably your best option would be to grab the patch adding support 
>> for Swig 1.3.24, which is planned for inclusion in Subversion 1.1.4:
>>>>
>>>> $ svn diff http://svn.collab.net/repos/svn/branches/1.1.x-new-swig 
>>>> -r13071:HEAD
>>>
>>> I tried this command and I get the following:
>>>
>>> svn: REPORT request failed on 
>>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig'svn: REPORT of 
>>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig': 400 Bad Request 
>>> (http://svn.collab.net)
>>>

Try using https://.  Most proxies can't block requests over SSL.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN/Python/Shared Library/sccs2svn help please!

Posted by Joey Mukherjee <jo...@swri.edu>.
On Mar 17, 2005, at 8:32 PM, Ben Collins-Sussman wrote:

> Probably your best option would be to grab the patch adding support 
> for Swig 1.3.24, which is planned for inclusion in Subversion 1.1.4:
>>>
>>> $ svn diff http://svn.collab.net/repos/svn/branches/1.1.x-new-swig 
>>> -r13071:HEAD
>>
>> I tried this command and I get the following:
>>
>> svn: REPORT request failed on 
>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig'svn: REPORT of 
>> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig': 400 Bad Request 
>> (http://svn.collab.net)
>
> You're behind a web proxy.  Classic error message of a proxy that 
> blocks webdav requests like REPORT.

Ok, so my company is blocking something useful.  That's normal.  
However, is there something else I can do to get a tarball of the 
changes?  Even a list of filenames would be helpful.  There is no 
timetable for when 1.1.4 is going to be released, is there?

>> I tried getting on the website (http://svn.collab.net) to maybe see 
>> what files had changed, and this seems to be impossible.  It would be 
>> nice if there was something I could click on and see a list of all 
>> the files that between that revision and another.  Is that possible?
>
> Sure, viewcvs is running on svn.collab.net.  Enjoy.

This doesn't help actually.  Unless you go to every file, there seems 
to be no way to click on something that "show me all the changes that 
are on this branch from the trunk".  I would love to be proven wrong 
however.

Joey


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN/Python/Shared Library/sccs2svn help please!

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mar 17, 2005, at 10:35 AM, Joey Mukherjee wrote:

>
> On Mar 17, 2005, at 4:34 AM, Max Bowsher wrote:
>
>> Probably your best option would be to grab the patch adding support 
>> for Swig 1.3.24, which is planned for inclusion in Subversion 1.1.4:
>>
>> $ svn diff http://svn.collab.net/repos/svn/branches/1.1.x-new-swig 
>> -r13071:HEAD
>
> I tried this command and I get the following:
>
> svn: REPORT request failed on 
> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig'svn: REPORT of 
> '/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig': 400 Bad Request 
> (http://svn.collab.net)

You're behind a web proxy.  Classic error message of a proxy that 
blocks webdav requests like REPORT.


>
> I tried getting on the website (http://svn.collab.net) to maybe see 
> what files had changed, and this seems to be impossible.  It would be 
> nice if there was something I could click on and see a list of all the 
> files that between that revision and another.  Is that possible?

Sure, viewcvs is running on svn.collab.net.  Enjoy.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN/Python/Shared Library/sccs2svn help please!

Posted by Joey Mukherjee <jo...@swri.edu>.
On Mar 17, 2005, at 4:34 AM, Max Bowsher wrote:

> Probably your best option would be to grab the patch adding support 
> for Swig 1.3.24, which is planned for inclusion in Subversion 1.1.4:
>
> $ svn diff http://svn.collab.net/repos/svn/branches/1.1.x-new-swig 
> -r13071:HEAD

I tried this command and I get the following:

svn: REPORT request failed on 
'/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig'svn: REPORT of 
'/repos/svn/!svn/bc/13457/branches/1.1.x-new-swig': 400 Bad Request 
(http://svn.collab.net)

I tried getting on the website (http://svn.collab.net) to maybe see 
what files had changed, and this seems to be impossible.  It would be 
nice if there was something I could click on and see a list of all the 
files that between that revision and another.  Is that possible?

Joey


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN/Python/Shared Library/sccs2svn help please!

Posted by Max Bowsher <ma...@ukf.net>.
Joey Mukherjee wrote:
> On Mar 16, 2005, at 11:45 AM, Max Bowsher wrote:
>
>> Joey Mukherjee wrote:
>>> I am trying out Robert Zeh's sccs2svn.py script and am having a few
>>> problems I'm hoping someone could help me with.
>>>
>>> The error message I am getting is:
>>>
>>> Traceback (most recent call last):
>>>   File "sccs2svn.py", line 42, in ?
>>>     from svn import fs, repos, core, client, delta
>>>   File "/opt/local/subversion-1.1.3/lib/svn-python/svn/fs.py", line
>>> 28,
>>> in ?
>>>     import libsvn.fs
>>>   File "/opt/local/subversion-1.1.3/lib/svn-python/libsvn/fs.py", line
>>> 5, in ?
>>>     import _fs
>>> ImportError: ld.so.1: python: fatal: relocation error: file
>>> /opt/local/subversion-1.1.3/lib/libsvn_swig_py-1.so.0: symbol
>>> SWIG_TypeQuery: referenced symbol not found
>>>
>>> Doing an nm on the _fs.so library shows SWIG_TypeQuery to be in there,
>>> but for some reason python can not find it.
>>>
>>> Does anyone have any ideas on how I can get this to work?
>>>
>>> I am using Python 2.3.4, swig 1.3.24, and subversion 1.1.3.
>>
>> Looks like a SWIG version mismatch, to me. I think your version of
>> libsvn_swig_py was compiled against an earlier version of swig.
>
> I never had more than one version of SWIG on here.  Even so, I did a
> make distclean and remade everything.  I eventually got everything
> remade and now it all seems okay, but I get the exact same error.
>
> Possibly Subversion does not work with this version of SWIG?  It gave
> me a warning about the version of SWIG.

Ah, well, there's your answer, then.

Probably your best option would be to grab the patch adding support for Swig 
1.3.24, which is planned for inclusion in Subversion 1.1.4:

$ svn diff 
http://svn.collab.net/repos/svn/branches/1.1.x-new-swig -r13071:HEAD

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN/Python/Shared Library/sccs2svn help please!

Posted by Joey Mukherjee <jo...@swri.edu>.
On Mar 16, 2005, at 11:45 AM, Max Bowsher wrote:

> Joey Mukherjee wrote:
>> I am trying out Robert Zeh's sccs2svn.py script and am having a few
>> problems I'm hoping someone could help me with.
>>
>> The error message I am getting is:
>>
>> Traceback (most recent call last):
>>   File "sccs2svn.py", line 42, in ?
>>     from svn import fs, repos, core, client, delta
>>   File "/opt/local/subversion-1.1.3/lib/svn-python/svn/fs.py", line 
>> 28,
>> in ?
>>     import libsvn.fs
>>   File "/opt/local/subversion-1.1.3/lib/svn-python/libsvn/fs.py", line
>> 5, in ?
>>     import _fs
>> ImportError: ld.so.1: python: fatal: relocation error: file
>> /opt/local/subversion-1.1.3/lib/libsvn_swig_py-1.so.0: symbol
>> SWIG_TypeQuery: referenced symbol not found
>>
>> Doing an nm on the _fs.so library shows SWIG_TypeQuery to be in there,
>> but for some reason python can not find it.
>>
>> Does anyone have any ideas on how I can get this to work?
>>
>> I am using Python 2.3.4, swig 1.3.24, and subversion 1.1.3.
>
> Looks like a SWIG version mismatch, to me. I think your version of 
> libsvn_swig_py was compiled against an earlier version of swig.

I never had more than one version of SWIG on here.  Even so, I did a 
make distclean and remade everything.  I eventually got everything 
remade and now it all seems okay, but I get the exact same error.

Possibly Subversion does not work with this version of SWIG?  It gave 
me a warning about the version of SWIG.

Joey


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN/Python/Shared Library/sccs2svn help please!

Posted by Max Bowsher <ma...@ukf.net>.
Joey Mukherjee wrote:
> I am trying out Robert Zeh's sccs2svn.py script and am having a few
> problems I'm hoping someone could help me with.
>
> The error message I am getting is:
>
> Traceback (most recent call last):
>   File "sccs2svn.py", line 42, in ?
>     from svn import fs, repos, core, client, delta
>   File "/opt/local/subversion-1.1.3/lib/svn-python/svn/fs.py", line 28,
> in ?
>     import libsvn.fs
>   File "/opt/local/subversion-1.1.3/lib/svn-python/libsvn/fs.py", line
> 5, in ?
>     import _fs
> ImportError: ld.so.1: python: fatal: relocation error: file
> /opt/local/subversion-1.1.3/lib/libsvn_swig_py-1.so.0: symbol
> SWIG_TypeQuery: referenced symbol not found
>
> Doing an nm on the _fs.so library shows SWIG_TypeQuery to be in there,
> but for some reason python can not find it.
>
> Does anyone have any ideas on how I can get this to work?
>
> I am using Python 2.3.4, swig 1.3.24, and subversion 1.1.3.

Looks like a SWIG version mismatch, to me. I think your version of 
libsvn_swig_py was compiled against an earlier version of swig.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org