Can't reproduce in my bzr-gtk but that's inside my homedir bzr plugins
folder. I notice that in olive/menu.py there are several dialogs still
imported relativily, e.g. 'from commit import CommitDialog' on line 285
and 'from bookmark import BookmarkDialog' on line 331.

Yet, for example the GAnnotateWindow and DiffWindow are imported at the
top of menu.py. I'd assume either all or none of the dialogs should be
imported at the top of menu.py. I'm not sure how early importing at the
top will influence performance.

In any case, I think to fix this bug on line 285 'from commit' should be
changed into 'from bzrlib.plugins.gtk.commit' and 'from bookmark' into
'from bzrlib.plugins.gtk.olive.bookmark'.

And no, I don't have time to do it properly right now. :)

-- 
[intrepid] olive-gtk crashed with ImportError in commit()
https://bugs.launchpad.net/bugs/269883
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to