Comment 8 for bug 398199

Revision history for this message
Andrew Bennetts (spiv) wrote :

Thanks for the log. It appears it is happening on BzrDir.open via _pre_open_hook, so it is indeed the new server-side jail triggering it somehow.

For the sake of other people reading, here's the server-side traceback disentangled from the client-side logging:

0.625 Traceback (most recent call last):
  File "bzrlib\smart\request.pyo", line 323, in _call_converting_errors
  File "bzrlib\smart\request.pyo", line 132, in execute
  File "bzrlib\smart\bzrdir.pyo", line 198, in do
  File "bzrlib\bzrdir.pyo", line 848, in open_from_transport
  File "bzrlib\smart\request.pyo", line 67, in _pre_open_hook
  File "bzrlib\transport\local.pyo", line 148, in relpath
  File "bzrlib\urlutils.pyo", line 80, in file_relpath
ValueError: Length of base must be equal or exceed the platform minimum url length (which is 11)

It's happening in response to a ('BzrDir.open', 'repos/') request. This is hopefully enough info that a developer with windows should be able to reproduce?

I've also applied my proposed patch to bzr.dev, so bzr 1.18 should give more information when this happens.