Python Wubi hangs on uncompressing files.
Bug #341640 reported by
Evan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wubi |
Fix Released
|
Medium
|
Agostino Russo |
Bug Description
The python-based Wubi (your r90) hangs on the file uncompression stage and quickly eats up half a gig of RAM.
Related branches
Changed in wubi: | |
status: | Confirmed → Fix Committed |
Changed in wubi: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I believe that the operation will complete, but it may take some time and I cannot display a progress bar when compact runs (it's a console exe).
It might be unnecessary though to compact all the drive, I think it is worth tying to limit the compact scope:
=== modified file 'src/wubi/ backends/ win32/backend. py' (properties changed: -x to +x) backends/ win32/backend. py 2009-03-03 01:41:09 +0000 backends/ win32/backend. py 2009-03-12 11:28:06 +0000
self. info.icon = join_path( self.info. target_ dir, self.info. distro. name + '.ico')
--- src/wubi/
+++ src/wubi/
@@ -95,8 +95,8 @@
def uncompress_ files(self, associated_task): self.info. target_ dir), '/U', '/S', '/A', '/F'] self.info. target_ dir,'*. *'), '/U', '/S', '/A', '/F'] self.info. install_ boot_dir) , '/U', '/S', '/A', '/F'] self.info. install_ boot_dir, '*.*'), '/U', '/S', '/A', '/F'] command2] :
log. debug(" ".join(command))
- command1 = ['compact', join_path(
- command2 = ['compact', join_path(
+ command1 = ['compact', join_path(
+ command2 = ['compact', join_path(
for command in [command1,
try: