Giter Site home page Giter Site logo

Comments (4)

Yogi4301 avatar Yogi4301 commented on May 30, 2024

Actually I use a workaround and removed 'version=2' from the url - and with some minor changes I switched to python2. But how do I have to write the above statment?

from fritzbox-munin.

Tafkas avatar Tafkas commented on May 30, 2024

What you could do is:

return "{}${}".format(challenge_parts[4], hash2.hex())

from fritzbox-munin.

Tafkas avatar Tafkas commented on May 30, 2024

I've fixed it and created a new tag 7.25.1

from fritzbox-munin.

Yogi4301 avatar Yogi4301 commented on May 30, 2024

Thanks, but now I get the folling error in fritzbox_cpu_temperature.py-maybe also a python 2 problem. Without 'version=2' all plugins are working now.

Traceback (most recent call last):
  File "/etc/munin/plugins/fritzbox_cpu_temperature.py", line 62, in <module>
    get_cpu_temperature()
  File "/etc/munin/plugins/fritzbox_cpu_temperature.py", line 34, in get_cpu_temperature
    session_id = fh.get_session_id(server, username, password)
  File "/usr/share/munin/plugins/fritzbox_helper.py", line 55, in get_session_id
    challenge_response = calculate_pbkdf2_response(state.challenge, password)
  File "/usr/share/munin/plugins/fritzbox_helper.py", line 86, in calculate_pbkdf2_response
    salt1 = bytes.fromhex(challenge_parts[2])
AttributeError: type object 'str' has no attribute 'fromhex'

from fritzbox-munin.

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.