unexpected behavior on win32

Bug #384413 reported by Martitza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Fix Released
Undecided
Ian Clatworthy

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

Tags: win32
tags: added: win32
Revision history for this message
Alexander Belchenko (bialix) 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
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

Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Martitza wrote:
> 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.
>
The enabled actions depend on two things:

1. the type of location selected (branch vs repo, etc.)

2. what the selected "helper plug-in" (QBzr, bzr-gtk) provides
    in terms of commands

It's the second factor that you're seeing here:

* bzr-gtk has gsend but doesn't have gpull yet

* qbzr has qpull but doesn't have qsend yet.

These differences will obviously diminish as the
helper plug-ins mature.

Ian C.

Revision history for this message
Martitza (martitzam) wrote :

On Mon, Jun 15, 2009 at 4:11 PM, Ian Clatworthy <
<email address hidden>> wrote:

> The enabled actions depend on two things:
>
> 1. the type of location selected (branch vs repo, etc.)
>
> 2. what the selected "helper plug-in" (QBzr, bzr-gtk) provides
> in terms of commands
>
>
> It's the second factor that you're seeing here:
>
> * bzr-gtk has gsend but doesn't have gpull yet
>
> * qbzr has qpull but doesn't have qsend yet.
>
> These differences will obviously diminish as the
> helper plug-ins mature.
>
> Ian C.

Thanks for the clarification. I get it now.

Revision history for this message
Alexander Belchenko (bialix) wrote :

It seems the problem is already fixed.

Changed in bzr-explorer:
assignee: nobody → Ian Clatworthy (ian-clatworthy)
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.