Can't push my changes in Bazaar

Bug #681285 reported by George
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Incomplete
Undecided
Unassigned

Bug Description

About a week ago, Bazaar was working perfectly. Then we added a new programmer, who is using Bazaar for Windows. Ever since then, I have not been able to Push my changes or change the repository in any way. First, I got a series of errors ( see https://answers.launchpad.net/bzr-svn/+question/135053 ).

So I went through the process of building Bazaar and Bazaar Explorer on my machine, but it's still not working.

Now, it's giving me a new error when I try to Merge or Push my repository. See below for the stack trace.

Run command: bzr merge https://<email address hidden>:<email address hidden>/nano/www/svn
https://pl3.projectlocker.com/nano/www/svn is permanently redirected to None
bzr: ERROR: exceptions.TypeError: expected string or buffer

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 912, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 1112, in run_bzr
    ret = run(*run_argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 690, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 705, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/qbzr/lib/commands.py", line 767, in run
    return run_subprocess_command(cmd, georgecoded)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/qbzr/lib/subprocess.py", line 870, in run_subprocess_command
    return commands.run_bzr(argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 1112, in run_bzr
    ret = run(*run_argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 690, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 705, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/builtins.py", line 3831, in run
    possible_transports=possible_transports)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/bundle/__init__.py", line 52, in read_mergeable_from_url
    _do_directive)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/bundle/__init__.py", line 70, in read_mergeable_from_transport
    redirected_transport)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/transport/__init__.py", line 1661, in do_catching_redirections
    transport = redirected(transport, e, redirection_notice)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/bundle/__init__.py", line 63, in redirected_transport
    exclude_trailing_slash=False)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/urlutils.py", line 406, in split
    scheme_loc, first_path_slash = _find_scheme_and_separator(url)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/urlutils.py", line 92, in _find_scheme_and_separator
    m = _url_scheme_re.match(url)
TypeError: expected string or buffer

bzr 2.2.1 on python 2.6.6 (Darwin-9.8.0-i386-32bit)
arguments: ['/opt/local/bin/bzr', 'qsubprocess', '--georgecode', 'l5:merge71:https://<email address hidden>:<email address hidden>/nano/www/svne']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
  bash_completion /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/bash_completion [2.2.1]
  explorer /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/explorer [1.1.1]
  launchpad /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/launchpad [2.2.1]
  netrc_credential_store /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/netrc_credential_store [2.2.1]
  news_merge /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/news_merge [2.2.1]
  qbzr /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/qbzr [0.19.1]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------

Run command: bzr push
Using saved push location: https://<email address hidden>:<email address hidden>/nano/www/svn
bzr: ERROR: pycurl.error: (65, "necessary data rewind wasn't possible")

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 912, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 1112, in run_bzr
    ret = run(*run_argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 690, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 705, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/qbzr/lib/commands.py", line 767, in run
    return run_subprocess_command(cmd, georgecoded)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/qbzr/lib/subprocess.py", line 870, in run_subprocess_command
    return commands.run_bzr(argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 1112, in run_bzr
    ret = run(*run_argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 690, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 705, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/builtins.py", line 1161, in run
    use_existing_dir=use_existing_dir)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/push.py", line 81, in _show_push_branch
    dir_to = bzrdir.BzrDir.open_from_transport(to_transport)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/bzrdir.py", line 941, in open_from_transport
    redirected)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/transport/__init__.py", line 1657, in do_catching_redirections
    return action(transport)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/bzrdir.py", line 928, in find_format
    transport, _server_formats=_server_formats)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/bzrdir.py", line 1949, in find_format
    return format.probe_transport(transport)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/bzrdir.py", line 3292, in probe_transport
    server_version = medium.protocol_version()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/smart/medium.py", line 632, in protocol_version
    client_protocol.query_version()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/smart/protocol.py", line 791, in query_version
    self.call('hello')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/smart/protocol.py", line 631, in call
    self._request.finished_writing()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/smart/medium.py", line 439, in finished_writing
    self._finished_writing()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/transport/http/__init__.py", line 646, in _finished_writing
    data = self._medium.send_http_smart_request(self._buffer)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/transport/http/__init__.py", line 615, in send_http_smart_request
    code, body_filelike = t._post(bytes)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/transport/http/_pycurl.py", line 265, in _post
    self._curl_perform(curl, header, ['Expect: '])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/transport/http/_pycurl.py", line 353, in _curl_perform
    curl.perform()
error: (65, "necessary data rewind wasn't possible")

bzr 2.2.1 on python 2.6.6 (Darwin-9.8.0-i386-32bit)
arguments: ['/opt/local/bin/bzr', 'qsubprocess', '--georgecode', 'l4:pushe']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
  bash_completion /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/bash_completion [2.2.1]
  explorer /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/explorer [1.1.1]
  launchpad /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/launchpad [2.2.1]
  netrc_credential_store /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/netrc_credential_store [2.2.1]
  news_merge /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/news_merge [2.2.1]
  qbzr /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/qbzr [0.19.1]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Revision history for this message
Vincent Ladeuil (vila) wrote : Re: [Bug 681285] [NEW] Can't push my changes in Bazaar

>>>>> George <email address hidden> writes:

    > Run command: bzr merge https://<email address hidden>:<email address hidden>/nano/www/svn
    > https://pl3.projectlocker.com/nano/www/svn is permanently redirected to None
    > bzr: ERROR: exceptions.TypeError: expected string or buffer

redirected to None is fatal and sounds like an old bug in bzr-svn.

<snip/>

    > Run command: bzr push
    > Using saved push location: https://<email address hidden>:<email address hidden>/nano/www/svn
    > bzr: ERROR: pycurl.error: (65, "necessary data rewind wasn't possible")

Probably the same cause with a less verbose output.

Revision history for this message
Vincent Ladeuil (vila) wrote :

> So I went through the process of building Bazaar and Bazaar Explorer on my machine, but it's still not working.

There are many things that could go wrong when building them on OSX, which is why we provide installers (https://edge.launchpad.net/bzr/+download), can you try one of them ?

Changed in bzr:
status: New → Incomplete
Revision history for this message
George (georgebannerman) wrote :
Download full text (7.2 KiB)

Hi Vincent--

I was actually having trouble with the installers, and that was leading to the problems in:
https://answers.launchpad.net/bzr-svn/+question/135053

I can't remember, but somewhere it sounded like rebuilding bzr would be a good idea. I guess not. :)

So now I've installed:
http://edge.launchpad.net/bzr/2.3/2.3b3/+download/Bazaar-2.3b3-OSX-10.5-1.dmg

Goodness knows whether I've completely uninstalled previous versions. Probably not.

Anyhow, here's the new traceback:

Run command: bzr push
Using saved push location: https://<email address hidden>:<email address hidden>/nano/www/svn
bzr: ERROR: pycurl.error: (65, "necessary data rewind wasn't possible")

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 912, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 1112, in run_bzr
    ret = run(*run_argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 690, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 705, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/qbzr/lib/commands.py", line 767, in run
    return run_subprocess_command(cmd, bencoded)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/qbzr/lib/subprocess.py", line 870, in run_subprocess_command
    return commands.run_bzr(argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 1112, in run_bzr
    ret = run(*run_argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 690, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 705, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/...

Read more...

Revision history for this message
George (georgebannerman) wrote :
Download full text (12.4 KiB)

Oh, and here's the traceback from running bzr push -Dhttp:

Thu 2010-11-25 13:39:48 -0500
0.071 bazaar version: 2.2.1
0.071 bzr arguments: [u'push', u'-Dhttp']
0.092 looking for plugins in /Users/george/.bazaar/plugins
0.092 looking for plugins in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins
0.156 encoding stdout as sys.stdout encoding 'US-ASCII'
0.233 opening working tree '/Users/george/nano_projects/website/httpdocs'
0.316 * About to connect() to pl3.projectlocker.com port 443 (#0)

0.316 * Trying 174.121.227.40...
0.399 * connected

0.400 * Connected to pl3.projectlocker.com (174.121.227.40) port 443 (#0)

0.437 * successfully set certificate verify locations:

0.437 * CAfile: /opt/local/share/curl/curl-ca-bundle.crt
  CApath: none

0.437 * SSLv3, TLS handshake, Client hello (1):

0.532 * SSLv3, TLS handshake, Server hello (2):

0.626 * SSLv3, TLS handshake, CERT (11):

0.631 * SSLv3, TLS handshake, Server key exchange (12):

0.633 * SSLv3, TLS handshake, Server finished (14):

0.674 * SSLv3, TLS handshake, Client key exchange (16):

0.674 * SSLv3, TLS change cipher, Client hello (1):

0.674 * SSLv3, TLS handshake, Finished (20):

0.761 * SSLv3, TLS change cipher, Client hello (1):

0.762 * SSLv3, TLS handshake, Finished (20):

0.763 * SSL connection using DHE-RSA-AES256-SHA

0.763 * Server certificate:

0.763 * subject: O=*.projectlocker.com; OU=Domain Control Validated; CN=*.projectlocker.com

0.763 * start date: 2009-12-01 16:49:21 GMT

0.763 * expire date: 2010-12-02 14:53:53 GMT

0.763 * subjectAltName: pl3.projectlocker.com matched

0.763 * issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certificates.godaddy.com/repository; CN=Go Daddy Secure Certification Authority; serialNumber=07969287

0.763 * SSL certificate verify ok.

0.763 > POST /nano/www/svn/.bzr/smart HTTP/1.1
User-Agent: bzr/2.2.1 (pycurl: libcurl/7.21.2 OpenSSL/1.0.0b zlib/1.2.5 libidn/1.19)
Host: pl3.projectlocker.com
Accept: */*
Cache-control: max-age=0
Pragma: no-cache
Connection: Keep-Alive
Content-Length: 6
Content-Type: application/x-www-form-urlencoded

0.973 < HTTP/1.1 401 Authorization Required

0.973 < Date: Thu, 25 Nov 2010 18:39:47 GMT

0.973 < Server: Apache/2.2.15 (Unix) DAV/2 SVN/1.6.11 PHP/4.4.9 mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_wsgi/3.1 Python/2.5.5

0.973 < WWW-Authenticate: Basic realm="Subversion Repository"

0.973 < Content-Length: 401

0.973 < Keep-Alive: timeout=5, max=100

0.973 < Connection: Keep-Alive

0.973 < Content-Type: text/html; charset=iso-8859-1

0.973 * necessary data rewind wasn't possible

0.974 * Closing connection #0

0.974 * SSLv3, TLS alert, Client hello (1):

0.979 got pycurl error: 65, necessary data rewind wasn't possible, (65, "necessary data rewind wasn't possible"), url: https://pl3.projectlocker.com/nano/www/svn/.bzr/smart
0.995 Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 912, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/opt/loc...

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 681285] Re: Can't push my changes in Bazaar

On 11/25/2010 07:38 PM, George wrote:
> Hi Vincent--
>
> I was actually having trouble with the installers, and that was leading to the problems in:
> https://answers.launchpad.net/bzr-svn/+question/135053
>
> I can't remember, but somewhere it sounded like rebuilding bzr would be
> a good idea. I guess not. :)
>
> So now I've installed:
> http://edge.launchpad.net/bzr/2.3/2.3b3/+download/Bazaar-2.3b3-OSX-10.5-1.dmg
>
> Goodness knows whether I've completely uninstalled previous versions.
> Probably not.
>
> Anyhow, here's the new traceback:
>
> Run command: bzr push
> Using saved push location: https://<email address hidden>:<email address hidden>/nano/www/svn
> bzr: ERROR: pycurl.error: (65, "necessary data rewind wasn't possible")
You should be able to work around this by prefixing the URL with "svn+".

Cheers,

Jelmer

Revision history for this message
George (georgebannerman) wrote :

Hi Jelmer--

Thanks!

However, that doesn't work either. I get:
bzr: ERROR: Unsupported protocol for url "svn+https://george@<email address hidden>/nano/www/svn"

George

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

On Thu, 2010-11-25 at 19:23 +0000, George wrote:
> Thanks!
>
> However, that doesn't work either. I get:
> bzr: ERROR: Unsupported protocol for url "svn+https://george@<email address hidden>/nano/www/svn"
Is that location a Subversion repository? If it is, it doesn't look like
you have bzr-svn installed.

Cheers,

Jelmer

Revision history for this message
George (georgebannerman) wrote :

Hi Jelmer--

Yes, that's a Subversion repository. (I've anonymized it.)

I installed from:
http://launchpad.net/bzr/2.2/2.2.0/+download/Bazaar-2.2.0-OSX-10.5-1.dmg

which according to:
http://wiki.bazaar.canonical.com/MacOSXBundle

included bzr-svn. Is there any way to check whether my version of bzr-svn is working? If you want to contact me off-line, I can give you the URL, etc. for the repository and you can try it, although my colleague is able to connect fine with her Bazaar for Windows.

Maybe I should try connecting to another repository? I'm pretty sure that it's my Bazaar that's broken, not the repository, but that would allow us to check that...

Thanks!

George

Revision history for this message
Vincent Ladeuil (vila) wrote :

Using http://edge.launchpad.net/bzr/2.2/2.2.1/+download/Bazaar-2.2.1-OSX-10.5-1.dmg (2.2.1 not 2.2.0) would be better.

Running 'bzr version' and 'bzr plugins -v' from a terminal should tell you which versions are involved.

If you could join IRC #bzr on freenode, we may be able to reduce the lag in this conversation ;)

This definitely sounds like a setup problem on your OSX host.

Revision history for this message
George (georgebannerman) wrote :

Hi Vincent--

If we haven't figured it out by Monday, I'm totally down for some IRC. (I'm in and out until then.)

Here's bzr version:

Bazaar (bzr) 2.2.1
  Python interpreter: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python 2.6.6
  Python standard library: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
  Platform: Darwin-9.8.0-i386-32bit
  bzrlib: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib
  Bazaar configuration: /Users/ben/.bazaar
  Bazaar log file: /Users/ben/.bzr.log

Copyright 2005-2010 Canonical Ltd.
http://bazaar.canonical.com/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

Here's bzr plugins -v:

bash_completion 2.2.1
   Generate a shell function for bash command line completion.
   /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/bash_completion

explorer 1.1.1
   Version Control for Human Beings.
   /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/explorer

launchpad 2.2.1
   Launchpad.net integration plugin for Bazaar.
   /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/launchpad

netrc_credential_store 2.2.1
   Use ~/.netrc as a credential store for authentication.conf.
   /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/netrc_credential_store

news_merge 2.2.1
   Merge hook for bzr's NEWS file.
   /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/news_merge

qbzr 0.19.1
   QBzr - Qt-based frontend for Bazaar
   /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/qbzr

As suspected, bzr-svn doesn't appear to be installed.

I just downloaded http://edge.launchpad.net/bzr/2.2/2.2.1/+download/Bazaar-2.2.1-OSX-10.5-1.dmg and installed it. Why bzr-svn isn't there after that is a mystery to me. I think I mentioned this before, but to attempt to solve the initial problem, I did install Bazaar using MacPorts. Is it possible that vestiges of that installation are borking my current install?

How do I install bzr-svn?

Thanks for all of your help!

George

Revision history for this message
Vincent Ladeuil (vila) wrote :

Urgh, yeah it seems that MacPorts is interfering rather badly here (sorry, I have no idea what is packaged there).

On OSX 10.5, the 2.2.1 installer use the native python which is 2.5.1 and the plugins are installed for this version of python only.

So MacPorts is probably changing your PATH, start with 'echo $PATH' in a terminal and look either in your ~/.profile or ~/.MacOSX/environment.plist for the related modification.

If you installed macports for bazaar only, then it may be easier to just get rid of it.

You should also probably file a bug against the mac OSX installer (https://bugs.launchpad.net/bzr-mac-installers/+filebug) so we can try to be more resistant against such problems, but that sounds tricky.

Revision history for this message
George (georgebannerman) wrote :

Hi Vincent--

Okay, finally! Back to the original error. :)

I did an uninstall with MacPorts, and then a reinstall with:
http://edge.launchpad.net/bzr/2.2/2.2.1/+download/Bazaar-2.2.1-OSX-10.5-1.dmg

Now I get:

Run command: bzr push
Using saved push location: https://<email address hidden>@pl3.projectlocker.com/nano/www/svn
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, ''))

Run command: bzr push svn+https://<email address hidden>@pl3.projectlocker.com/nano/www/svn
bzr: ERROR: A Subversion remote access command failed: OPTIONS request failed on '/nano/www/svn'

How should I proceed? Should I create a new bug? Or add a stack trace?

Thanks!

George

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.