Comment 2 for bug 384413

Revision history for this message
Martitza (martitzam) wrote : Re: [Bug 384413] Re: unexpected behavior on win32

On Mon, Jun 15, 2009 at 3:32 AM, Alexander Belchenko <email address hidden> wrote:

> I think I've already sent the patch to Ian to fix this problem. Maritza,
> please test current trunk and say if it really fixed for you on Windows.
>
> ** Changed in: bzr-explorer
> Status: New => Incomplete
>
> --
> unexpected behavior on win32
> https://bugs.launchpad.net/bugs/384413
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Bazaar Explorer: Incomplete
>
> Bug description:
>
> I understand that bzr-explorer is a test rig for developing a universal bzr
> menu. So this report may not be very relevant. But here it is:
>
> The following behavior occurs on win32 but not on ubuntu juanty:
>
> Using 'bzr explorer --gtk' on win32 we see many operations run against
> valid repos fail. All of the failures are similar, so generating a log is a
> good example:
>
> C:\Documents and Settings\martitza\Desktop>bzr explorer
> Traceback (most recent call last):
> File "C:/Program Files/Bazaar/plugins\explorer\lib\explorer.py", line 333,
> in changed_view
> os.chdir(root_url[7:])
> WindowsError: [Error 123] The filename, directory name, or volume label
> syntax is incorrect:
> '/C:/Documents%20and%20Settings/martitza/Desktop/TEST/bzr.dev'
> Traceback (most recent call last):
> File "C:/Program Files/Bazaar/plugins\explorer\lib\explorer.py", line 452,
> in do_open
> self.changed_view()
> File "C:/Program Files/Bazaar/plugins\explorer\lib\explorer.py", line 333,
> in changed_view
> os.chdir(root_url[7:])
> WindowsError: [Error 123] The filename, directory name, or volume label
> syntax is incorrect:
> '/C:/Documents%20and%20Settings/martitza/Desktop/TEST/bzr.dev'
> bzr: ERROR: Not a branch: "C:/Documents and Settings/martitza/Desktop/".
>
> Other operations produce similar errors and I have seen this on all three
> of the repos I tried on win32.
> Naturally everything works as expected on ubuntu.
>
> -M
>

Thanks. Using rev 43 'bzr explore --gtk' no longer passes an exception.

Instead I get "PyGTK not installed." So I must not have that right. That's
odd, since 'bzr explore' (without the --gtk) works great.

One other odd thing: with the --gtk option, the "Pull" button is disabled
and the "Send" button is enabled.
If I do not use --gtk then the "Pull" button is enabled and the "Send"
button is diables.
In each case, the exporer is looking at the same up-to-date branch. Odd.

At the very least, there seems to be something wrong with my GTK install.
But everything works...

-M