Resize2fs fails if there is an apostrophe in Windows user account name

Bug #1166919 reported by bcbc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wubi
New
Undecided
Unassigned

Bug Description

This report is based on the following thread: http://ubuntuforums.org/showthread.php?t=2133607

It only appears to affect disk image installations. The user went on to successfully install Wubi by creating another admin account without the apostrophe present.

04-08 15:23 ERROR TaskList: Error executing command
>>command=C:\Users\PHIL'S~1\AppData\Local\Temp\pyl C84B.tmp\bin\resize2fs.exe -f C:\ubuntu\disks\root.disk 17744M
>>retval=1
>>stderr=
>>stdout=resize2fs 1.40.6 (09-Feb-2008)
Usage: /cygdrive/c/Users/PHILS~1/AppData/Local/Temp/pylC84B.tmp/bin/resize2fs.exe -f C:/ubuntu/disks/root.disk 17744M [-d debug_flags] [-f] [-F] [-p] device [new_size]

Traceback (most recent call last):
File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
File "\lib\wubi\backends\win32\backend.py", line 463, in expand_diskimage
File "\lib\wubi\backends\common\utils.py", line 66, in run_command
Exception: Error executing command
>>command=C:\Users\PHIL'S~1\AppData\Local\Temp\pyl C84B.tmp\bin\resize2fs.exe -f C:\ubuntu\disks\root.disk 17744M
>>retval=1
>>stderr=
>>stdout=resize2fs 1.40.6 (09-Feb-2008)
Usage: /cygdrive/c/Users/PHILS~1/AppData/Local/Temp/pylC84B.tmp/bin/resize2fs.exe -f C:/ubuntu/disks/root.disk 17744M [-d debug_flags] [-f] [-F] [-p] device [new_size]

04-08 15:23 DEBUG TaskList: # Cancelling tasklist
04-08 15:23 ERROR root: Error executing command
>>command=C:\Users\PHIL'S~1\AppData\Local\Temp\pyl C84B.tmp\bin\resize2fs.exe -f C:\ubuntu\disks\root.disk 17744M
>>retval=1
>>stderr=
>>stdout=resize2fs 1.40.6 (09-Feb-2008)
Usage: /cygdrive/c/Users/PHILS~1/AppData/Local/Temp/pylC84B.tmp/bin/resize2fs.exe -f C:/ubuntu/disks/root.disk 17744M [-d debug_flags] [-f] [-F] [-p] device [new_size]

Traceback (most recent call last):
File "\lib\wubi\application.py", line 58, in run
File "\lib\wubi\application.py", line 132, in select_task
File "\lib\wubi\application.py", line 158, in run_installer
File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
File "\lib\wubi\backends\win32\backend.py", line 463, in expand_diskimage
File "\lib\wubi\backends\common\utils.py", line 66, in run_command
Exception: Error executing command
>>command=C:\Users\PHIL'S~1\AppData\Local\Temp\pyl C84B.tmp\bin\resize2fs.exe -f C:\ubuntu\disks\root.disk 17744M
>>retval=1
>>stderr=
>>stdout=resize2fs 1.40.6 (09-Feb-2008)
Usage: /cygdrive/c/Users/PHILS~1/AppData/Local/Temp/pylC84B.tmp/bin/resize2fs.exe -f C:/ubuntu/disks/root.disk 17744M [-d debug_flags] [-f] [-F] [-p] device [new_size]

04-08 15:23 DEBUG TaskList: # Finished tasklist

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.