[Fwd: Re: [qbzr] Request for Help with developing for QBzr]
Alexander Belchenko
bialix at ukr.net
Wed Nov 18 06:45:59 GMT 2009
Dear core devs and Andrew Bennetts in particular,
Can you suggest us something about the problem below.
FYI: do_start invokes command (reconfigure) via subprocess.
Thanks
-------- Исходное сообщение --------
Тема: Re: [qbzr] Request for Help with developing for QBzr
Дата: Wed, 18 Nov 2009 08:43:28 +0200
От: Alexander Belchenko <bialix at ukr.net>
Отвечать: qbzr at googlegroups.com
Кому: qbzr at googlegroups.com
Ссылки: <1ddea54e0911171315y7545944kab958c0f39ed8ca1 at mail.gmail.com>
A. S. Budden пишет:
> For reference, the code I've been working on is lp:~abudden/qbzr/qreconfigure
> Can anyone suggest why I can't do (in do_start):
>
> self.process_widget.do_start(None, 'reconfigure', '--tree')
>
> or
>
> self.process_widget.do_start(None, 'reconfigure', '--checkout',
> '--bind-to=%s' % location)
>
> but I can do (at the command line):
>
> bzr reconfigure --tree
>
> or
>
> bzr reconfigure --checkout --bind-to=bzr://localhost/testing/project
>
> ?
>
> Thanks in advance for any advice (error message is below).
>
> Al
>
> bzr: ERROR: exceptions.AssertionError: <bzrlib.bzrdir.BzrDirMeta1
> object at 0xa8d8c6c> is not a RemoteBzrDir
I confirm this problem. It occurs *only* with checkout from bzr:// location. For local branches
everything is OK. I suspect there is hidden bug in bzr itself. Because after failure inside .bzr/
there is appear repository, so operation failed on transform of branch object from branch reference
to normal branch.
Furthermore: if you run qreconfigure again with the same command -- it *succeed*.
That's why I think there is bug in bzr itself.
My traceback is:
Run command: bzr reconfigure --checkout --bind-to=bzr://localhost/a/
bzr: ERROR: exceptions.AssertionError: <bzrlib.bzrdir.BzrDirMeta1 object at 0x015806D0> is not a
RemoteBzrDir
Traceback (most recent call last):
File "bzrlib\commands.pyo", line 842, in exception_to_return_code
File "bzrlib\commands.pyo", line 1037, in run_bzr
File "bzrlib\commands.pyo", line 654, in run_argv_aliases
File "C:\work\Bazaar\plugins\qbzr\lib\commands.py", line 822, in run
File "bzrlib\commands.pyo", line 1037, in run_bzr
File "bzrlib\commands.pyo", line 654, in run_argv_aliases
File "bzrlib\builtins.pyo", line 5337, in run
File "bzrlib\reconfigure.pyo", line 332, in apply
File "bzrlib\remote.pyo", line 501, in initialize
File "bzrlib\remote.pyo", line 494, in _vfs_initialize
File "bzrlib\remote.pyo", line 540, in open
AssertionError: <bzrlib.bzrdir.BzrDirMeta1 object at 0x015806D0> is not a RemoteBzrDir
bzr 2.0.2 on python 2.5.4 (Windows-XP-5.1.2600-SP3)
arguments: ['C:\\Program Files\\Bazaar\\bzr.EXE', 'qsubprocess', '--bencode',
'l11:reconfigure10:--checkout28:--bind-to=bzr://localhost/a/e']
encoding: 'cp1251', fsenc: 'mbcs', lang: 'ru'
plugins:
acad C:\work\Bazaar\plugins\acad [0.8.0]
bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.0.1]
explorer C:\work\Bazaar\plugins\explorer [0.9.1dev]
fastimport C:\work\Bazaar\plugins\fastimport [0.9.0dev]
format1 C:\work\Bazaar\plugins\format1 [unknown]
launchpad C:\Program Files\Bazaar\plugins\launchpad [2.0.2]
qbzr C:\work\Bazaar\plugins\qbzr [0.17.0dev]
rebase C:\work\Bazaar\plugins\rebase [0.5.4]
repoalias C:\work\Bazaar\plugins\repoalias [unknown]
scmproj C:\work\Bazaar\plugins\scmproj [0.4.6dev]
svn C:\work\Bazaar\plugins\svn [1.0.2dev]
x_bit C:\work\Bazaar\plugins\x_bit [1.0.0]
*** 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.
More information about the bazaar
mailing list