Hi,

You currently have to uninstall python-configparser to use weboob on Debian. 
On weboob bug tracker, this bug is reported[1] and the patch attached makes 
weboob work when python-configparser is installed.

Yannick

[1] https://symlink.me/issues/1393
--- a/weboob/core/repositories.py
+++ b/weboob/core/repositories.py
@@ -40,9 +40,9 @@ from weboob.tools.misc import to_unicode
 from weboob.tools.browser2.browser import BaseBrowser, Weboob as WeboobProfile
 from requests.exceptions import HTTPError
 try:
-    from configparser import RawConfigParser, DEFAULTSECT
-except ImportError:
     from ConfigParser import RawConfigParser, DEFAULTSECT
+except ImportError:
+    from configparser import RawConfigParser, DEFAULTSECT
 
 
 __all__ = ['IProgress', 'ModuleInstallError', 'ModuleInfo', 'RepositoryUnavailable',

Reply via email to