bzr olive not working on removable or network (mapped ) drive

Bug #250804 reported by VDas
2
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned
Olive
Incomplete
Undecided
Unassigned

Bug Description

H:\...\DEMO>bzr olive , where H - network or removable drive
bzr: ERROR: exceptions.ValueError: list.index(x): x not in list

Traceback (most recent call last):
  File "bzrlib\commands.pyc", line 846, in run_bzr_catch_errors
  File "bzrlib\commands.pyc", line 797, in run_bzr
  File "bzrlib\commands.pyc", line 499, in run_argv_aliases
  File "C:/Documents and Settings/VVVVV/Application Data/bazaar/2.0/plugins\gtk\__init__.py", l
ine 753, in run
  File "C:/Documents and Settings/VVVVV/Application Data/bazaar/2.0/plugins\gtk\olive\__init__.
py", line 239, in __init__
  File "C:/Documents and Settings/VVVVV/Application Data/bazaar/2.0/plugins\gtk\olive\__init__.
py", line 1497, in gen_hard_selector
ValueError: list.index(x): x not in list

bzr 1.5 on python 2.5.2 (win32)
arguments: ['C:\\Program Files\\Bazaar\\bzr.EXE', 'olive']
encoding: 'cp1257', fsenc: 'mbcs', lang: None
plugins:
  difftools C:\Program Files\Bazaar\plugins\difftools [0.91.0]
  extmerge C:\Program Files\Bazaar\plugins\extmerge [unknown]
  gtk C:\Documents and Settings\VVVVV\Application Data\bazaar\2.0\plugins\gtk
[0.94.0]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Tags: olive
Revision history for this message
Vincent Ladeuil (vila) wrote :

Not a bzr bug, reassigning to bzr-gtk

Changed in bzr:
status: New → Invalid
Revision history for this message
Jasper Groenewegen (colbrac) wrote :

Seems still present in trunk.

The line reads: 'drives.index(os.getcwd()[0:2])' so I assume it expects a 'C:\Folder\Folder' like string.
For removeable drives this should work I think. At least, if it's thumbdrives and such we are talking about. They should receive a drive letter.
For network shares, it should work for mapped ones as they too have a drive letter. Can the bug reporter indicate if this is indeed the case?

Changed in bzr-gtk:
status: New → Incomplete
Revision history for this message
Jasper Groenewegen (colbrac) wrote :

Hah! I forgot that in rev 583, Dennis Miller implemented support for removable and remote media in the windows driveletter list. So, bug reporter, please test with the current release (0.95.0) to see if the problem remains.

Jelmer Vernooij (jelmer)
affects: bzr-gtk → olive
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.