TortoiseBZR: no [branch|diff|...] command?
Jan Nieuwenhuizen
janneke-list at xs4all.nl
Mon Nov 19 19:49:51 GMT 2007
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
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.
--
Jan Nieuwenhuizen <janneke at gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
More information about the bazaar
mailing list