Code Monkey home page Code Monkey logo

Comments (8)

grindsa avatar grindsa commented on June 11, 2024

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.

grindsa avatar grindsa commented on June 11, 2024

closed due to missing response. But seems to be fixed :-)

from dkb-robo.

wngr avatar wngr commented on June 11, 2024

Might this be a python3 vs python2 related issue? I just ran into the same error using Python 3.7.6.

from dkb-robo.

grindsa avatar grindsa commented on June 11, 2024

hm... is it again a TypeError? Can you please give me the exact error message (including line-numbers)?

from dkb-robo.

wngr avatar wngr commented on June 11, 2024

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.

grindsa avatar grindsa commented on June 11, 2024

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.

wngr avatar wngr commented on June 11, 2024

Thanks for the swift response! I can confirm that the example works with HEAD of devel.

from dkb-robo.

grindsa avatar grindsa commented on June 11, 2024

Thx for confirming. Will close the issue.

from dkb-robo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.