** Tags added: foundations+
** Changed in: ubuntuone-client (Ubuntu)
Assignee: (unassigned) => Ubuntu One Foundations+ team
(ubuntuone-foundations+)
** Description changed:
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.)
+ 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)
+ 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
+ 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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/666608
Title:
Ubuntuone-client software wont start even after fresh install of the
software packages.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs