kbr / fritzconnection

Python-Tool to communicate with the AVM Fritz!Box by the TR-064 protocol and the AHA-HTTP-Interface
MIT License
304 stars 59 forks source link

Error trying to get service description #16

Closed Themanwithoutaplan closed 4 years ago

Themanwithoutaplan commented 4 years ago

On a Fritz 6490, if I can connect I get an exception trying to access the WLANConfiguration.

fc.call_action('WLANConfiguration1', 'GetInfo')
Traceback (most recent call last):
  Python Shell, prompt 7, line 121
builtins.KeyError: 'WLANConfiguration1'

During handling of the above exception, another exception was raised:

Traceback (most recent call last):
  Python Shell, prompt 7, line 1
    # Used internally for debug sandbox under external interpreter
  File "/Users/charlieclark/Projects/fritzconnection/fritzconnection/core/fritzconnection.py", line 123, in call_action
    raise FritzServiceError(f'unknown service: "{service_name}"')
fritzconnection.core.exceptions.FritzServiceError: unknown service: "WLANConfiguration1"

Moved from #12

kbr commented 4 years ago

For me that seem to be related to #15. Once #15 is solved #16 should also be solved.

kbr commented 4 years ago

As #15 is closed I like to close this also.