Python Wubi hangs on uncompressing files.

Bug #341640 reported by Evan
2
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

Revision history for this message
Evan (ev) wrote :
Revision history for this message
Agostino Russo (ago) wrote :

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)
--- src/wubi/backends/win32/backend.py 2009-03-03 01:41:09 +0000
+++ src/wubi/backends/win32/backend.py 2009-03-12 11:28:06 +0000
@@ -95,8 +95,8 @@
         self.info.icon = join_path(self.info.target_dir, self.info.distro.name + '.ico')

     def uncompress_files(self, associated_task):
- command1 = ['compact', join_path(self.info.target_dir), '/U', '/S', '/A', '/F']
- command2 = ['compact', join_path(self.info.target_dir,'*.*'), '/U', '/S', '/A', '/F']
+ command1 = ['compact', join_path(self.info.install_boot_dir), '/U', '/S', '/A', '/F']
+ command2 = ['compact', join_path(self.info.install_boot_dir,'*.*'), '/U', '/S', '/A', '/F']
         for command in [command1,command2]:
             log.debug(" ".join(command))
             try:

Changed in wubi:
assignee: nobody → ago
importance: Undecided → Medium
milestone: none → 9.04
status: New → Confirmed
Agostino Russo (ago)
Changed in wubi:
status: Confirmed → Fix Committed
Evan (ev)
Changed in wubi:
status: Fix Committed → 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.