TortoiseBZR: no [branch|diff|...] command?

Alexander Belchenko bialix at ukr.net
Thu Nov 22 18:52:17 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jan Nieuwenhuizen пишет:
> Alexander Belchenko writes:
> 
>> I think you should install GTK and PyGTK libraries.
>> http://bazaar-vcs.org/WindowsInstall
> 
> Did that, but BZR Branch still gives exactly the same message
> 
>>>     C:\Program Files\Python25\Lib\site-packages\tortoise-bzr>python TBZRCommand.py /
>>>     command:TBZRbranch

As I could see in source tree in directory commands/ there is module BranchCommand.py
so I assume the right command line should be:

C:\Program Files\Python25\Lib\site-packages\tortoise-bzr>python TBZRCommand.py command:TBZRBranch
                                                                                           ^
TBZR*B*ranch

>>>     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'

There is module BranchCommand, so command line should be adjusted appropriate.

> 
> except for the `import gtk' error after that, this one is now gone:
> 
>>> 	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
> 
> Jan.
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHRc/hzYr338mxwCURAs0bAJ48M13t1gwam6+joEuIeT/S/y6NTQCfYTzj
oNADTRxBaGUNGhAczq2YuFU=
=jcOF
-----END PGP SIGNATURE-----



More information about the bazaar mailing list