Subversion Client Libraries Upgrade
Hi all--
I'm on OS X 10.5. I'm using ProjectLocker, which apparently just upgraded their version of svn. Now I can't do a push--whenever, I do, it fails with this message:
Run command: bzr push
bzr: ERROR: Please upgrade your Subversion client libraries to 1.5 or higher to be able to commit with Subversion mapping v4 (current version is (1, 4, 4, ''))
I've tried upgrading my svn several ways, including:
http://
When I do svn help, I get:
Subversion command-line client, version 1.6.5.
However, I'm still getting the error message above, which indicates that I'm on 1.4.4. How do I upgrade? Unfortunately, I don't have any developer tools installed, so I can't build subvertpy or whatever I need to upgrade.
Thanks!
George
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hm. The plot grows thicker. I finally managed to upgrade the SVN libraries (I had forgotten to set the path), and now I get this error:
bzr: ERROR: Please upgrade your Subversion client libraries to 1.5 or higher to be able to commit with Subversion mapping v4 (current version is (1, 6, 13, ''))
It was all working fine until another person in my organization started checking things in with her Windows version of Bazaar. She can still check in, but I can't.
What should I do?
George
Revision history for this message
|
#2 |
Can you paste the traceback from .bzr.log please?
Revision history for this message
|
#3 |
You need to recompile your subvertpy against the newer version of subversion, just having the newer version installed is not sufficient.
Revision history for this message
|
#4 |
I'll improve the error message in bzr-svn, which could be a bit clearer. It currently prints the version of svn that subvertpy is running against, not the one which it was linked against.
Revision history for this message
|
#5 |
Hi Martin and Jelmer--
Thanks!
Jelmer, I think I am running subvertpy 1.6.13, hence the "(current version is (1, 6, 13, ''))"--right?
Martin, here's the traceback...
Ben
================
Wed 2010-11-24 10:26:46 -0500
0.063 bazaar version: 2.2.0
0.063 bzr arguments: [u'qsubprocess', u'--georgecode', u'l4:pushe']
0.080 looking for plugins in /Users/
0.080 looking for plugins in /Library/
0.237 encoding stdout as osutils.
0.364 bazaar version: 2.2.0
0.364 bzr arguments: [u'push']
0.367 encoding stdout as osutils.
0.395 opening working tree '/Users/
0.464 failed to import pycurl: No module named pycurl
0.464 failed to instantiate transport <bzrlib.
0.717 bzr-svn: using Subversion 1.6.13 ()
2.903 potential branching layouts: [('root', 40)]
2.903 Guessed repository layout: RootLayout(), guess layout to use: RootLayout()
3.183 LALA https:/
3.490 LALA https:/
4.062 LALA https:/
4.351 pushing '<email address hidden>' (['<email address hidden>'])
4.374 Traceback (most recent call last):
File "/Library/
return the_callable(*args, **kwargs)
File "/Library/
ret = run(*run_argv)
File "/Library/
return self.run(
File "/Library/
return self._operation
File "/Library/
self.cleanups, self.func, *args, **kwargs)
File "/Library/
result = func(*args, **kwargs)
File "/Library/
return run_subprocess_
File "/Library/
return commands.
File "/Library/
ret = run(*run_argv)
File "/Library/
return self.run(
File "/Library/
return self._operation
File "/Library/
self.cleanups, self.func, *args, **kwargs)
File "/Library/
result = func(*args, **kwargs)
File "/Library/
use_
File "/Library/
remember, create_prefix)
File "/Library/
overwrite=
File "/Library/
*args, **kwargs)
File "/Library/
override_
File "/Library/
push_merged, overwrite=
File "/Library/
overwrite=
File "/Library/
override_
File "/Library/
override_
File "/Library/
raise BzrError("Please upgrade your Subversion client libraries to 1.5 or higher to be able to commit with Subversion mapping %s (current version is %r)" % (self.mapping.name, ra.version()))
BzrError: Please upgrade your Subversion client libraries to 1.5 or higher to be able to commit with Subversion mapping v4 (current version is (1, 6, 13, ''))
Revision history for this message
|
#6 |
I've completely rebuilt my Bazaar, and it still doesn't work. At least I get a different error, though. It's:
Run command: bzr push --create-prefix --use-existing-dir
Using saved push location: https://<email address hidden>:<email address hidden>
bzr: ERROR: Transport operation not possible: http does not support mkdir()
Of course, the error is confusing, as I'm in fact trying to connect with https. (The create-prefix and the use-existing-dir are on, just in the off chance it would work with them on. It didn't. I also tried it with them off.
Stack trace below.
Thanks!
Thu 2010-11-25 04:02:04 -0500
0.067 bazaar version: 2.2.1
0.067 bzr arguments: [u'qsubprocess', u'--georgecode', u'l4:push15:
0.087 looking for plugins in /Users/
0.087 looking for plugins in /opt/local/
0.151 encoding stdout as osutils.
0.243 bazaar version: 2.2.1
0.243 bzr arguments: [u'push', u'--create-prefix', u'--use-
0.246 encoding stdout as osutils.
0.323 opening working tree '/Users/
0.400 failed to import pycurl: dlopen(
Referenced from: /opt/local/
Reason: Incompatible library version: pycurl.so requires version 7.0.0 or later, but libcurl.4.dylib provides version 5.0.0
0.400 failed to instantiate transport <bzrlib.
Referenced from: /opt/local/
Reason: Incompatible library version: pycurl.so requires version 7.0.0 or later, but libcurl.4.dylib provides version 5.0.0)
1.856 opening working tree '/Users/
1.876 Traceback (most recent call last):
File "/opt/local/
return the_callable(*args, **kwargs)
File "/opt/local/
ret = run(*run_argv)
File "/opt/local/
return self.run(
File "/opt/local/
return self._operation
File "/opt/local/
self.cleanups, self.func, *args, **kwargs)
File "/opt/local/
result = func(*args, **kwargs)
File "/opt/local/
return run_subprocess_
File "/opt/local/
return commands.
File "/opt/local/
ret = run(*run_argv)
File "/opt/local/
return self.run(
File "/opt/local/
return self._operation
File "/opt/local/
self.cleanups, self.func, *args, **kwargs)
File "/opt/local/
result = func(*args, **kwargs)
File "/opt/local/
use_
File "/opt/local/
create_
File "/opt/local/
create_
File "/opt/local/
make_
File "/opt/local/
make_
File "/opt/local/
vfs_only=True)
File "/opt/local/
redirected)
File "/opt/local/
return action(transport)
File "/opt/local/
transport.
File "/opt/local/
raise errors.
TransportNotPos
1.876 Transferred: 4kB (3.6kB/s r:3kB w:1kB)
1.876 return code 3
Revision history for this message
|
#7 |
There is an installer for OSX 10.5 at https:/
Could retry with that so we can both speak about the same versions of the same plugins ?
Feel free to chose between the stable 2.2.1 one and the beta 2.2b3, as long as you mention which one you're using.
'http does not support mkdir()' indicates that bzr didn't find an appropriate server there which means that only read-only operations can be performed (since the http server is therefore used a so-called 'dumb' server).
If there *is* an svn server configured there, then running the same command with an additional '-Dhttp' parameter will output the http requests/answers in '.bzr.log' ('bzr version' will tell you where it's located). From that we may better understand what is happening.
Also, when tracebacks are involved, it's often easier to track the issue in a bug instead of an answer (as you did with bug #681285 which drove me here ;)
Can you help with this problem?
Provide an answer of your own, or ask George for more information if necessary.