Bug #1635

[Boobank] Crédit Mutuel > Transfer method bug

Added by Neozaru Neozaru almost 3 years ago. Updated almost 3 years ago.

Status:Resolved Start:2014-09-23
Priority:Normal Due date:
Assigned to:Romain Bignon % Done:

100%

Category:Application / boobank Spent time: -
Target version:1.0
Module:creditmutuel Branch:

Description

Distribs : Ubuntu 12.04, Archlinux (23 SEPT 2014)

- Login works.
- Listing account works.
- History works.
- Transfer throws following trace :

Trace :

Are you sure to do this transfer? (Y/n):
2014-09-23 22:03:45,018:DEBUG:bcall:1.0:bcall.py:78:backend_process <Backend 'creditmutuel'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fad4cd76590>>
2014-09-23 22:03:45,018:DEBUG:bcall:1.0:bcall.py:84:backend_process <Backend 'creditmutuel'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fad4cd76590>> raised an error: AttributeError('__exit__',)
Bug(creditmutuel): __exit__
=== [  0%] Getting http://updates.weboob.org/1.0/main/
2014-09-23 22:03:45,123:INFO:requests.packages.urllib3.connectionpool:1.0:connectionpool.py:188:_new_conn Starting new HTTP connection (1): updates.weboob.org
2014-09-23 22:03:45,312:DEBUG:requests.packages.urllib3.connectionpool:1.0:connectionpool.py:362:_make_request "GET /1.0/main/modules.list HTTP/1.1" 200 33770
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/weboob/core/bcall.py", line 80, in backend_process
    result = function(backend, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/weboob/tools/application/base.py", line 296, in _do_complete
    res = getattr(backend, function)(*args, **kwargs)
  File "/home/neozaru/.local/share/weboob/modules/1.0/creditmutuel/backend.py", line 91, in transfer
    with self.browser:
AttributeError: __exit__

If you basically guess the source of the error (parsing, server-side changes), maybe I can help...

Associated revisions

Revision 8137bc2d66f7c81be8ff21c9a5339c074fe6c4f1
Added by Romain Bignon almost 3 years ago

do not lock browser2 anymore (closes #1635)

History

Updated by Romain Bignon almost 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by Neozaru Neozaru almost 3 years ago

Thank you very much.

Unfortunately, "weboob-config update" now gives me following error about creditmutuel :

== [  0%] Getting http://updates.weboob.org/1.0/main/
=== [ 50%] The latest version of cmb is already installed
=== [ 65%] A new version of creditmutuel is available
=== [ 60%] Downloading module...
=== [ 75%] Checking module authenticity...
[GNUPG:] BADSIG F1AE6C086B34DC6D Romain Bignon <romain@bignon.me>
 gpgv: Signature made Fri 26 Sep 2014 08:00:18 PM CEST using RSA key ID 6B34DC6D
gpgv: BAD signature from "Romain Bignon <romain@bignon.me>" 
=== [100%] Invalid signature for creditmutuel.

I guess this is because a file containing old signature is hidden somewhere, but I don't know where... (uninstalling binaries and setup.py-ing from Git repo' doesn't resolve the problem)

Updated by Romain Bignon almost 3 years ago

  • Module changed from boobank.Boobank to creditmutuel

Yes, the generation of packages failed. It may be okay now.

Updated by Neozaru Neozaru almost 3 years ago

2014-10-04 19:58:02,649:DEBUG:bcall:1.0:bcall.py:78:backend_process <Backend 'creditmutuel'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f76d900e790>>
2014-10-04 19:58:02,853:DEBUG:requests.packages.urllib3.connectionpool:1.0:connectionpool.py:362:_make_request "GET /cmo/fr/banque/WI_VPLV_VirUniSaiCpt.asp?RAZ=ALL&Cat=6&PERM=N&CHX=A HTTP/1.1" 404 1395
2014-10-04 19:58:02,857:DEBUG:bcall:1.0:bcall.py:84:backend_process <Backend 'creditmutuel'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f76d900e790>> raised an error: HTTPNotFound('404 Client Error: Not Found',)

I think the CreditMutuel website was updated.

Should I open a new issue ?

Note : I only tried owned account to owned account (transfer 3 1 <amount>)

Also available in: Atom PDF