Comments (8)
Hi,
thanks for reporting this. I am not 100 percent sure what is causing the issue however I did a quickfix in the devel branch (9227205) which should hopefully solve the the problem. Please give it a try and let me know if it helps.
/Grindsa
from dkb-robo.
closed due to missing response. But seems to be fixed :-)
from dkb-robo.
Might this be a python3 vs python2 related issue? I just ran into the same error using Python 3.7.6
.
from dkb-robo.
hm... is it again a TypeError? Can you please give me the exact error message (including line-numbers)?
from dkb-robo.
I'm actually not sure I did The Right Thing (TM), when setting up my python environment. For the sake of running the test, I just copied the dkb_robo
folder into the doc
folder.
➜ dkb-robo git:(master) python3 --version
Python 3.7.6
➜ doc git:(master) ✗ python3 dkb_example.py
check your banking app and confirm login...
Traceback (most recent call last):
File "dkb_example.py", line 27, in <module>
with DKBRobo(DKB_USER, DKB_PASSWORD) as dkb:
File "/home/ow/src/dkb-downloads/dkb-robo/doc/dkb_robo/dkb_robo.py", line 60, in __enter__
self.login()
File "/home/ow/src/dkb-downloads/dkb-robo/doc/dkb_robo/dkb_robo.py", line 433, in login
self.account_dic = self.parse_overview(soup_new)
File "/home/ow/src/dkb-downloads/dkb-robo/doc/dkb_robo/dkb_robo.py", line 722, in parse_overview
overview_dic[counter]['details'] = self.base_url + link['href']
TypeError: 'NoneType' object is not subscriptable
from dkb-robo.
Thanks. I pushed a potential fix into the devel branch d506283. I also updated dkb_example.py as it contained some bugs. Please give it a try and let me know if it works. It should be enough to copy the dkb_robo folder into the doc folder for testing.
from dkb-robo.
Thanks for the swift response! I can confirm that the example works with HEAD
of devel
.
from dkb-robo.
Thx for confirming. Will close the issue.
from dkb-robo.
Related Issues (20)
- AttributeError: 'NoneType' object has no attribute 'find' HOT 4
- Double Name - only one downloaded HOT 2
- Filename issues when downloading documents with scan_postbox HOT 3
- LinkNotFoundError: br.select_form(#form1615473160_1) not leading to csv-export HOT 1
- scan_documents with path and downloading all from archive fails for most documents HOT 4
- Question regarding startdate and entdate HOT 1
- New|Alternative DKB Frontend starting May 2023 HOT 13
- PSD2 API Solution - CREALOGiX HOT 1
- Please release the recent changes, dkb.account_dic is empty since 11.07.2023 with legacy login=True HOT 5
- migration to the new DKB frontend HOT 1
- Changing information HOT 2
- Update doc/dkb_example.py with new parameters HOT 2
- Getting accounts list with CLI fails both in legacy and non-legacy login HOT 5
- Never uses TAN even if tan_insert is True HOT 12
- _build_account_dic returns empty dictionary HOT 6
- Why get transactions only for the last year? HOT 1
- Mandatsreferenz missing HOT 4
- Code refactoring for easier audit HOT 4
- Recommendation: Switch to Poetry instead of relying on setup and requirements.txt
- Reserved Transactions always empty in new Mode HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dkb-robo.