403 from server should not cause traceback

Bug #750501 reported by Ted
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Triaged
Low
Unassigned
bzr-svn (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: bzr-svn

Bazaar version:
Bazaar (bzr) 2.2.1
  Python interpreter: /usr/bin/python 2.6.6
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.35-28-generic-x86_64-with-Ubuntu-10.10-maverick
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib

bzr-svn version: 1.0.4

This error occurs when I try to check out one subversion branch from a repo where I don't have read access to the repo root. It seems like this bug should have already been fixed in bug #409668. The repository isn't public, but if there are any patches anyone would like to try out, I'll be available on the IRC and XMPP nicks listed on my launchpad page.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: bzr 2.2.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-28.49-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
Architecture: amd64
BzrDebugFlags: set()
BzrVersion: 2.2.1
CheckboxSubmission: a7b7c6be700da674f2e6dc61bef2a8d8
CheckboxSystem: 86f6fcdd6850a813cd5c77b7959e6176
CommandLine:
 ['/usr/bin/bzr',
  'co',
  'svn+https://svn.cs.umd.edu/repos/hayden/ekiden/trunk',
  'ekiden-svn']
CrashDb: bzr
Date: Mon Apr 4 13:04:34 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
InterpreterPath: /usr/bin/python2.6
Locale: en_US.UTF-8
Platform: Linux-2.6.35-28-generic-x86_64-with-Ubuntu-10.10-maverick
ProcCmdline: /usr/bin/python /usr/bin/bzr co svn+https://svn.cs.umd.edu/repos/hayden/ekiden/trunk ekiden-svn
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
PythonVersion: 2.6.6
SourcePackage: bzr
Title: bzr crashed with SubversionException in iter_changes()
UserEncoding: UTF-8
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse libvirtd lpadmin netdev plugdev sambashare tape video

Revision history for this message
Ted (tedks) wrote :
visibility: private → public
Changed in bzr-svn (Ubuntu):
status: New → Invalid
Revision history for this message
Ted (tedks) wrote :

Marking the Ubuntu bug as invalid, since I'm running the stable release of bzr-svn, not the version in Ubuntu 10.10.

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

the only thing we can really do here is improve the error message to not include a backtrace.

Changed in bzr-svn:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Ted (tedks) wrote : Re: [Bug 750501] Re: bzr crashed with SubversionException in iter_changes()

On Mon, 2011-04-04 at 17:47 +0000, Jelmer Vernooij wrote:
> the only thing we can really do here is improve the error message to
> not include a backtrace.

That's disappointing, but I guess if there's nothing we can do, there's
nothing we can do. This seems to be a common way to use SVN, and it'd be
good if bazaar could handle it.

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

On Mon, 2011-04-04 at 18:37 +0000, Ted wrote:
> On Mon, 2011-04-04 at 17:47 +0000, Jelmer Vernooij wrote:
> > the only thing we can really do here is improve the error message to
> > not include a backtrace.
>
> That's disappointing, but I guess if there's nothing we can do, there's
> nothing we can do. This seems to be a common way to use SVN, and it'd be
> good if bazaar could handle it.
Can you explain a bit how you would use this repository under SVN? The
server gives a 403 error, there's not really a good way to work around
that.

Cheers,

Jelmer

Revision history for this message
Ted (tedks) wrote :

On Mon, 2011-04-04 at 19:04 +0000, Jelmer Vernooij wrote:
> Can you explain a bit how you would use this repository under SVN? The
> server gives a 403 error, there's not really a good way to work around
> that.
>
> Cheers,
>
> Jelmer

I get a 403 error at the root of the repo: /repos/hayden. Notice from
the command line that I'm trying to check
out /repos/hayden/ekiden-svn/trunk. I do have permissions to that
directory, and can log into the web server and click around and view
files in that directory. I just don't have permissions to the root
folder of the repo (and adding permissions to the root folder of the
repo fixes this issue).

In SVN, I can successfully check out just the repository I want, even
though I don't have read permissions to the root directory.

This is similar to the bug I linked to in the original report -- it
seems to be the same behavior. That bug is marked as fixed, and I'm
using the version that it's marked as fixed in, so I'm not sure what's
going on.

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

On Mon, 2011-04-04 at 20:37 +0000, Ted wrote:
> On Mon, 2011-04-04 at 19:04 +0000, Jelmer Vernooij wrote:
> > Can you explain a bit how you would use this repository under SVN? The
> > server gives a 403 error, there's not really a good way to work around
> > that.
> >
> > Cheers,
> >
> > Jelmer
>
> I get a 403 error at the root of the repo: /repos/hayden. Notice from
> the command line that I'm trying to check
> out /repos/hayden/ekiden-svn/trunk. I do have permissions to that
> directory, and can log into the web server and click around and view
> files in that directory. I just don't have permissions to the root
> folder of the repo (and adding permissions to the root folder of the
> repo fixes this issue).
>
> In SVN, I can successfully check out just the repository I want, even
> though I don't have read permissions to the root directory.
>
> This is similar to the bug I linked to in the original report -- it
> seems to be the same behavior. That bug is marked as fixed, and I'm
> using the version that it's marked as fixed in, so I'm not sure what's
> going on.
Ah, ok.

The other bug (I don't have the bug # here) is fixed as much as is
possible; you do have to set some extra options to prevent bzr-svn from
accessing the repository root that should be documented there.

Cheers,

Jelmer

Jelmer Vernooij (jelmer)
summary: - bzr crashed with SubversionException in iter_changes()
+ 403 from server should not cause traceback
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.