Caisse d'Epargne PRO history not working (v1.5) (python 2.7.3)
Getting error 500 on a PRO account:
Error(<ACCOUNT>): 500 Server Error: Internal Server Error
Below is the fix that works for me, against v1.5 and python 2.7.3
diff --git a/modules/caissedepargne/browser.py b/modules/caissedepargne/browser.py
index 228d625..12d11e1 100644
--- a/modules/caissedepargne/browser.py
+++ b/modules/caissedepargne/browser.py
@@ -564,7 +564,7 @@ class CaisseEpargne(LoginBrowser, StatesMixin):
@need_login
def get_history(self, account):
- self.home.go()
+ #self.home.go()
self.deleteCTX()
if not hasattr(account, '_info'):
raise NotImplementedError
diff --git a/weboob/capabilities/base.py b/weboob/capabilities/base.py
index 68aa50f..94ad8f6 100644
--- a/weboob/capabilities/base.py
+++ b/weboob/capabilities/base.py
@@ -266,7 +266,7 @@ class Field(object):
if isinstance(arg, type) or isinstance(arg, str):
self.types += (arg,)
else:
- raise TypeError('Arguments must be types or strings of type name')
+ continue
self._creation_counter = Field._creation_counter
Field._creation_counter += 1
pi@raspberrypi ~/bank/weboob $ python --version
Python 2.7.3
pi@raspberrypi ~/bank/weboob $ git lg -1
* 428ab2b - (HEAD, 1.5, origin/stable, v1.5) Weboob 1.5 released <Romain Bignon> (8 days ago)
Test case:
boobank -I "count off; formatter csv; history <ACCOUNT>"
Note: issue does not exist with python 2.7.12