Checkout or branch fails on https://svn.ntop.org/svn/ntop/trunk/n2n

Bug #425581 reported by Philip Peitsch
This bug report is a duplicate of:  Bug #395482: 175002 error during REPORT: 200 OK. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Triaged
Medium
Unassigned
subversion
New
Undecided
Unassigned

Bug Description

I tried to check out https://svn.ntop.org/svn/ntop/trunk/n2n and got the following error:

^Cbzr: ERROR: A Subversion remote access command failed: OPTIONS of 'https://svn.ntop.org/svn/ntop': Server certificate verification failed: issuer is not trusted (https://svn.ntop.org)
insanity@mach4:~/src$ bzr branch n2n n2n-bzr
bzr: ERROR: subvertpy.SubversionException: ("REPORT of '/svn/ntop/!svn/bc/3877': 200 OK (https://svn.ntop.org)", 175002)

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 835, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1030, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 647, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1204, in run
    from_location)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 952, in open_tree_or_branch
    return bzrdir._get_tree_branch()
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 934, in _get_tree_branch
    tree = self.open_workingtree()
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/workingtree.py", line 1038, in open_workingtree
    return SvnWorkingTree(self, self.local_path, self.entry)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/workingtree.py", line 164, in __init__
    self.mapping = self.branch.mapping
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/workingtree.py", line 199, in branch
    self._branch = self.bzrdir.open_branch()
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/workingtree.py", line 1096, in open_branch
    branch = SvnBranch(repos, self.branch_path)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/branch.py", line 173, in __init__
    self.layout = self.repository.get_layout()
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/repository.py", line 591, in get_layout
    return self.get_layout_source()[0]
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/repository.py", line 613, in get_layout_source
    self._find_guessed_layout()
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/repository.py", line 632, in _find_guessed_layout
    revnum, self._hinted_branch_path)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/layout/guess.py", line 143, in repository_guess_layout
    repository._log.iter_changes(None, revnum, max(0, revnum-GUESS_SAMPLE_SIZE)), revnum, branch_path)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/logwalker.py", line 177, in iter_changes
    self._fetch_revisions(max(from_revnum, to_revnum), pb=pb)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/logwalker.py", line 249, in _fetch_revisions
    self.actual._transport.get_log(rcvr, [""], self.saved_revnum, to_revnum, 0, True, True, False, todo_revprops)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/transport.py", line 465, in get_log
    revprops)
SubversionException: ("REPORT of '/svn/ntop/!svn/bc/3877': 200 OK (https://svn.ntop.org)", 175002)

bzr 1.17 on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'n2n', 'n2n-bzr']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.17]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [1.17]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [1.17]
  svn /usr/lib/python2.6/dist-packages/bzrlib/plugins/svn [0.6.3]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

I'm running bzr-svn version 0.6.3-1~bazaar1~jaunty1

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

This is a bug in the subversion client libraries. E.g. try:

$ svn log -r1508 -v https://svn.ntop.org/svn/ntop
svn: REPORT of '/svn/ntop/!svn/bc/1508': 200 OK (https://svn.ntop.org)

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

probably a dupe of bug 395482

Changed in bzr-svn:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Philip Peitsch (philip-peitsch) wrote :

I am not quite getting what I'm checking sorry :). Are you saying this is related to a bug in the svn libraries I currently have installed?

I was able to check out the trunk using svn... and then do a local branch of the svn branch using bzr... but I'm not sure if that's related :)

Revision history for this message
Philip Peitsch (philip-peitsch) wrote :

Ahh... right. I get what you're saying. Sorry about that. So bzr-svn essentially does an svn log to figure things out.... Why is subversion able to check out from this repo but bzr-svn isn't just out of interest...?

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

bzr retrieves all of the history, svn retrieves just the last revision.

Revision history for this message
Philip Peitsch (philip-peitsch) wrote :

Is it possible to force bzr to only check out from a certain revision onwards, or only the latest revision? I've had a quick poke but can't find anything obvious...

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

no, this is not possible.

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.