Activity log for bug #666608

Date Who What changed Old value New value Message
2010-10-26 03:51:34 RedSingularity bug added bug
2010-10-26 03:53:40 RedSingularity summary Ubuntuone-client software wont start Ubuntuone-client software wont start even after fresh install of the software.
2010-10-26 03:53:53 RedSingularity summary Ubuntuone-client software wont start even after fresh install of the software. Ubuntuone-client software wont start even after fresh install of the software packages.
2010-11-08 22:35:27 RedSingularity ubuntuone-client (Ubuntu): status New Invalid
2010-11-16 08:13:48 Richard Rath ubuntuone-client (Ubuntu): status Invalid Incomplete
2010-11-28 07:45:06 Richard Rath bug task added ubuntuone-client
2010-11-28 07:48:51 Richard Rath bug task added desktopcouch
2010-11-28 07:49:29 Richard Rath bug added subscriber Richard Rath
2011-01-21 14:27:14 dobey desktopcouch: status New Invalid
2011-02-03 01:14:30 TJ ubuntuone-client: status New Confirmed
2011-02-03 02:32:17 TJ ubuntuone-client (Ubuntu): importance Undecided High
2011-02-03 02:32:17 TJ ubuntuone-client (Ubuntu): status Incomplete Confirmed
2011-02-16 10:10:01 Duane Hinnen tags amd64 apport-bug lucid amd64 apport-bug foundations+ lucid
2011-02-16 10:10:35 Duane Hinnen ubuntuone-client (Ubuntu): assignee Ubuntu One Foundations+ team (ubuntuone-foundations+)
2011-02-16 10:12:02 Duane Hinnen description Binary package hint: ubuntuone-client After fully uninstalling and removing all of ubuntuone files and folders from my system and doing a fresh install of the software, it seems there is an error. To reproduce: ---------------------------------------- 1) sudo apt-get autoremove ubuntuone-client 2) sudo apt-get autoremove ubuntuone-client-tools Now look for any residual files...... 3) sudo find / -name ubuntuone Remove any files that the previous command turned up..... 4) Run the same command again and it should turn up NO results at all. (If it does, keep deleting the files it brings up until the find command turns up nothing.) 5) sudo apt-get install ubuntuone-client ubuntuone-client-tools ubuntuone-client-gnome python-ubuntuone 6) Run ubuntuone-preferences in a terminal 7) Output is the following: ------------------------------------- Traceback (most recent call last): File "/usr/bin/ubuntuone-preferences", line 1143, in <module> prefs_dialog = UbuntuOneDialog() File "/usr/bin/ubuntuone-preferences", line 535, in __init__ self.__construct() File "/usr/bin/ubuntuone-preferences", line 975, in __construct self.devices.list_devices() File "/usr/bin/ubuntuone-preferences", line 379, in list_devices fsync_enabled = self.sdtool.is_files_sync_enabled() File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/tools.py", line 708, in is_files_sync_enabled return get_user_config().get_files_sync_enabled() File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/config.py", line 148, in wrapped return meth(self, *args, **kwargs) File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/config.py", line 321, in get_files_sync_enabled return self.get_parsed(MAIN, 'files_sync_enabled') File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/config.py", line 266, in get_parsed return self.default.get(section, option).value File "/usr/lib/python2.6/ConfigParser.py", line 311, in get raise NoSectionError(section) ConfigParser.NoSectionError: No section: '__main__' ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: ubuntuone-client 1.2.2-0ubuntu2 ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7 Uname: Linux 2.6.32-25-generic x86_64 NonfreeKernelModules: nvidia Architecture: amd64 Date: Mon Oct 25 23:43:08 2010 InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429) PackageArchitecture: all ProcEnviron: LANG=en_US.utf8 SHELL=/bin/bash SourcePackage: ubuntuone-client Binary package hint: ubuntuone-client After fully uninstalling and removing all of ubuntuone files and folders from my system and doing a fresh install of the software, it seems there is an error. To reproduce: ---------------------------------------- 1) sudo apt-get autoremove ubuntuone-client 2) sudo apt-get autoremove ubuntuone-client-tools Now look for any residual files...... 3) sudo find / -name ubuntuone Remove any files that the previous command turned up..... 4) Run the same command again and it should turn up NO results at all. (If it does, keep deleting the files it brings up until the find command turns up nothing.) 5) sudo apt-get install ubuntuone-client ubuntuone-client-tools ubuntuone-client-gnome python-ubuntuone 6) Run ubuntuone-preferences in a terminal 7) Output is the following: ------------------------------------- Traceback (most recent call last):   File "/usr/bin/ubuntuone-preferences", line 1143, in <module>     prefs_dialog = UbuntuOneDialog()   File "/usr/bin/ubuntuone-preferences", line 535, in __init__     self.__construct()   File "/usr/bin/ubuntuone-preferences", line 975, in __construct     self.devices.list_devices()   File "/usr/bin/ubuntuone-preferences", line 379, in list_devices     fsync_enabled = self.sdtool.is_files_sync_enabled()   File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/tools.py", line 708, in is_files_sync_enabled     return get_user_config().get_files_sync_enabled()   File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/config.py", line 148, in wrapped     return meth(self, *args, **kwargs)   File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/config.py", line 321, in get_files_sync_enabled     return self.get_parsed(MAIN, 'files_sync_enabled')   File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/config.py", line 266, in get_parsed     return self.default.get(section, option).value   File "/usr/lib/python2.6/ConfigParser.py", line 311, in get     raise NoSectionError(section) ConfigParser.NoSectionError: No section: '__main__' ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: ubuntuone-client 1.2.2-0ubuntu2 ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7 Uname: Linux 2.6.32-25-generic x86_64 NonfreeKernelModules: nvidia Architecture: amd64 Date: Mon Oct 25 23:43:08 2010 InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429) PackageArchitecture: all ProcEnviron:  LANG=en_US.utf8  SHELL=/bin/bash SourcePackage: ubuntuone-client ------------------------------------------------------------------- Copied from /etc/xdg/ubuntuone/ to ~/.config/ubuntuone/ the files syncdaemon.conf and logging.conf. syncdaemon contains a __main__ section and is about 3.6KB. Next I executed /usr/bin/ubuntuone-preferences whilst watching the ~/.config/ubuntuone/ directory. The dialog successfully opens and show my Ubuntu One account details. I noticed that the syncdaemon.conf file had changed length to 78 bytes. Checking I see that the __main__ section is missing. I investigated the source code in /usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/config.py This code seems to be responsible for deleting the section before re-writing the configuration file: def save(self): """Save the config object to disk""" # cleanup empty sections for section in [MAIN, THROTTLING]: if self.has_section(section) and not self.options(section): self.remove_section(section) with open(self.config_file+'.new', 'w') as fp: self.write(fp) I'm not clear on how the self.options("__main__") test is supposed to work here but it seems to be cause of the issue.
2011-04-22 13:24:56 Joshua Hoover ubuntuone-client: importance Undecided High
2011-04-22 13:25:08 Joshua Hoover ubuntuone-client: assignee Ubuntu One Foundations+ team (ubuntuone-foundations+)
2011-04-22 13:25:19 Joshua Hoover tags amd64 apport-bug foundations+ lucid amd64 apport-bug foundations+ lucid support
2012-10-15 19:22:48 Joshua Hoover tags amd64 apport-bug foundations+ lucid support amd64 apport-bug foundations+ lucid u1-support
2012-11-01 17:23:53 Joshua Hoover ubuntuone-client: importance High Medium
2012-11-01 17:23:57 Joshua Hoover ubuntuone-client (Ubuntu): importance High Medium
2012-11-01 17:24:06 Joshua Hoover tags amd64 apport-bug foundations+ lucid u1-support amd64 apport-bug foundations+ lucid