TortoiseBZR: no [branch|diff|...] command?
Alexander Belchenko
bialix at ukr.net
Mon Nov 19 23:07:09 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jan Nieuwenhuizen пишет:
> Hi,
>
> I installed TortoiseBZR from
>
> https://code.launchpad.net/~amduser29/tortoisebzr/trunk
>
> on a Windows XP box yesterday, but I encountered some problems. Using
> bzr Bazaar (bzr) 0.92.0.
>
> Nit: the README says to do
>
> python tortoise-bzr.py
>
> but that file does not exist.
>
> Using TortoiseBZR.py with --debugging-output gives me, when trying to
> BZR branch:
>
> <right click folder>
> Initializing context menu
> folder: None
> dataobj: <PyIDataObject at 0x34cd6a4 with obj at 0x18b628>
> Num Files: 1
> Files: ['C:\\Documents and Settings\\tineke\\TINTO TAAL']
> Inserted seperator
> File not in branch
> Number of commands: 2
> Inserting subcommand ID: 0: BZR Branch...
> Inserting subcommand ID: 1: BZR Checkout...
> File not in branch
> Number of subcommands: 4
> Inserting subcommand ID: 0: Init
> Inserting subcommand ID: 1: Help
> Inserting subcommand ID: 2: Preferences
> Inserting subcommand ID: 3: About
> Inserted submenu
> Inserted seperator
> Number of commands added: 7
> <click bzr branch>
> (0, 65922, 0, None, None, 1, 0, 0)
> "C:\Program Files\Python25\python.exe" "C:\Program Files\Python25\Lib\site-packa
> ges\tortoise-bzr\TBZRCommand.py" /command:TBZRBranch /file:"C:\Documents and Set
> tings\tineke\TINTO TAAL"
> Unknown Command
> <click OK>
> Traceback (most recent call last):
> File "C:\Program Files\Python25\Lib\site-packages\tortoise-bzr\TBZRCommand.py"
> , line 68, in <module>
> command = GetCommand()
> File "C:\Program Files\Python25\Lib\site-packages\tortoise-bzr\TBZRCommand.py"
> , line 29, in GetCommand
> command_mod = __import__('commands', globals(), locals(), [command_filename]
> )
> File "C:\Program Files\Python25\Lib\site-packages\tortoise-bzr\commands\Branch
> Command.py", line 35, in <module>
> from lib.errors import show_bzr_error
> File "C:\Program Files\Python25\Lib\site-packages\tortoise-bzr\commands\lib\er
> rors.py", line 18, in <module>
> from commands.dialog import error_dialog
> File "C:\Program Files\Python25\Lib\site-packages\tortoise-bzr\commands\dialog
> .py", line 23, in <module>
> import gtk
> ImportError: No module named gtk
I think you should install GTK and PyGTK libraries.
http://bazaar-vcs.org/WindowsInstall
>
> When Invoke the broken command manually, I get
>
> C:\Program Files\Python25\Lib\site-packages\tortoise-bzr>python TBZRCommand.py /
> command:TBZRbranch
> Traceback (most recent call last):
> File "TBZRCommand.py", line 68, in <module>
> command = GetCommand()
> File "TBZRCommand.py", line 30, in GetCommand
> command_mod = getattr(command_mod, command_filename)
> AttributeError: 'module' object has no attribute 'branchCommand'
>
> And after removing the unhelpful try/except
>
> C:\Program Files\Python25\Lib\site-packages\tortoise-bzr>python TBZRCommand.py /
> command:TBZRBranch
> Traceback (most recent call last):
> File "TBZRCommand.py", line 68, in <module>
> command = GetCommand()
> File "TBZRCommand.py", line 29, in GetCommand
> command_mod = __import__('commands', globals(), locals(), [command_filename]
> )
> File "C:\Program Files\Python25\Lib\site-packages\tortoise-bzr\commands\Branch
> Command.py", line 35, in <module>
> from lib.errors import show_bzr_error
> File "C:\Program Files\Python25\Lib\site-packages\tortoise-bzr\commands\lib\er
> rors.py", line 18, in <module>
> from commands.dialog import error_dialog
> File "C:\Program Files\Python25\Lib\site-packages\tortoise-bzr\commands\dialog
> .py", line 23, in <module>
> import gtk
> ImportError: No module named gtk
>
> Greetings,
> Jan.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHQhcdzYr338mxwCURAumGAJ49btsu3gHcJrg8zY0qp6Z1Jax7GACfcoch
r+/sjY5xfHYrdExyAN2mn9I=
=w1gi
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list