Activity log for bug #959447

Date Who What changed Old value New value Message
2012-03-19 16:15:00 Natalia Bidart bug added bug
2012-03-19 16:15:08 Natalia Bidart ubuntuone-control-panel: status New Triaged
2012-03-19 16:15:13 Natalia Bidart ubuntuone-control-panel: importance Undecided High
2012-03-19 16:15:16 Natalia Bidart ubuntuone-control-panel: assignee Natalia Bidart (nataliabidart)
2012-05-14 16:41:51 Roberto Alsina ubuntuone-control-panel: assignee Natalia Bidart (nataliabidart) Roberto Alsina (ralsina)
2012-05-14 16:54:23 Launchpad Janitor branch linked lp:~ralsina/ubuntuone-control-panel/fix-959447
2012-05-14 19:41:25 Ubuntu One Auto Pilot ubuntuone-control-panel: status Triaged Fix Committed
2012-05-17 21:25:53 dobey nominated for series ubuntuone-control-panel/stable-3-0
2012-05-17 21:25:53 dobey bug task added ubuntuone-control-panel/stable-3-0
2012-05-17 21:25:53 dobey nominated for series ubuntuone-control-panel/trunk
2012-05-17 21:25:53 dobey bug task added ubuntuone-control-panel/trunk
2012-05-17 21:26:05 dobey ubuntuone-control-panel/stable-3-0: assignee Roberto Alsina (ralsina)
2012-05-17 21:26:08 dobey ubuntuone-control-panel/stable-3-0: milestone 3.0.1
2012-05-17 21:26:18 dobey bug task added ubuntuone-control-panel (Ubuntu)
2012-05-17 21:26:33 dobey nominated for series Ubuntu Precise
2012-05-17 21:26:33 dobey bug task added ubuntuone-control-panel (Ubuntu Precise)
2012-05-17 21:26:33 dobey nominated for series Ubuntu Quantal
2012-05-17 21:26:33 dobey bug task added ubuntuone-control-panel (Ubuntu Quantal)
2012-05-17 21:26:41 dobey ubuntuone-control-panel (Ubuntu Precise): milestone precise-updates
2012-05-18 17:02:39 Launchpad Janitor branch linked lp:~dobey/ubuntuone-control-panel/sru-backports
2012-05-18 18:35:09 Ubuntu One Auto Pilot ubuntuone-control-panel/stable-3-0: status New Fix Committed
2012-05-22 19:08:00 dobey ubuntuone-control-panel/trunk: status Fix Committed Fix Released
2012-05-22 19:08:03 dobey ubuntuone-control-panel/stable-3-0: status Fix Committed Fix Released
2012-05-25 04:23:55 Leo Arias tags desktop+ wizard
2012-05-25 19:46:08 Launchpad Janitor ubuntuone-control-panel (Ubuntu Quantal): status New Fix Released
2012-05-25 20:10:23 Launchpad Janitor branch linked lp:ubuntu/ubuntuone-control-panel
2012-06-01 21:21:10 dobey description In my computer, my Music folder has some invalid pathnames, so when trying to calculate the size of it, the CalculateSize thread fails with: 2012-03-19 13:06:33,861 - ubuntuone.controlpanel.qt.folders - ERROR - size_calculator: failed for u'/home/nessita/Music': Traceback (most recent call last): File "/home/nessita/canonical/controlpanel/computer-to-cloud-page/ubuntuone/controlpanel/gui/qt/folders.py", line 362, in run for dirpath, _, filenames in os.walk(self.path_name): File "/usr/lib/python2.7/os.py", line 294, in walk for x in walk(new_path, topdown, onerror, followlinks): File "/usr/lib/python2.7/os.py", line 284, in walk if isdir(join(top, name)): File "/usr/lib/python2.7/posixpath.py", line 71, in join path += '/' + b UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 12: ordinal not in range(128) And then, the method LocalFoldersPanel.update_sizes never clears the header that reads 'Calculating', since item.size will return None for ever for the Music folder. We need to define a constant to flag the calculation error, and show in the listing something like 'size unknown' for the failing item. In my computer, my Music folder has some invalid pathnames, so when trying to calculate the size of it, the CalculateSize thread fails with: 2012-03-19 13:06:33,861 - ubuntuone.controlpanel.qt.folders - ERROR - size_calculator: failed for u'/home/nessita/Music': Traceback (most recent call last):   File "/home/nessita/canonical/controlpanel/computer-to-cloud-page/ubuntuone/controlpanel/gui/qt/folders.py", line 362, in run     for dirpath, _, filenames in os.walk(self.path_name):   File "/usr/lib/python2.7/os.py", line 294, in walk     for x in walk(new_path, topdown, onerror, followlinks):   File "/usr/lib/python2.7/os.py", line 284, in walk     if isdir(join(top, name)):   File "/usr/lib/python2.7/posixpath.py", line 71, in join     path += '/' + b UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 12: ordinal not in range(128) And then, the method LocalFoldersPanel.update_sizes never clears the header that reads 'Calculating', since item.size will return None for ever for the Music folder. We need to define a constant to flag the calculation error, and show in the listing something like 'size unknown' for the failing item. [Test Case] 0. Place files with utf8-invalid file names inside the ~/Documents, ~/Music, or ~/Pictures folders for example, which is not synchronized to Ubuntu One. 1. Ensure the local user account is not connected to an Ubuntu One account yet. 2. Run ubuntuone-control-panel-qt and create a new account, or log into an existing account. 3. When stepping through the resulting wizard, and arriving on the "Computer to Cloud" page, the above UnicodeDecodeError should occur, without this fix. With the fix, size calculation of the local special folders should succeed without problem. [Regression Potential] Minimal. Fix includes unit tests.
2012-06-05 16:45:29 Brian Murray ubuntuone-control-panel (Ubuntu Precise): status New Fix Committed
2012-06-05 16:45:31 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2012-06-05 16:45:37 Brian Murray bug added subscriber SRU Verification
2012-06-05 16:45:44 Brian Murray tags desktop+ wizard desktop+ verification-needed wizard
2012-06-05 17:43:26 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/ubuntuone-control-panel
2012-06-06 17:53:19 Rick McBride tags desktop+ verification-needed wizard desktop+ verification-complete wizard
2012-06-06 18:08:37 Rick McBride tags desktop+ verification-complete wizard desktop+ verification-done wizard
2012-06-13 23:10:31 Launchpad Janitor ubuntuone-control-panel (Ubuntu Precise): status Fix Committed Fix Released