Jump to content

enumerate --execute (SHELL API) broken?


Recommended Posts

Hallo,

während ein "enumerate" bei mir problemlos funktioniert, bekomme ich bei Kombination mit "--execute" leider nur Fehlermeldungen wie diese:

 

$ tinkerforge --host tf1 enumerate --execute echo
Exception in thread Callback-Processor:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/bin/tinkerforge", line 2243, in callback_loop
    self.dispatch_packet(data)
  File "/usr/bin/tinkerforge", line 2135, in dispatch_packet
    cb(uid, connected_uid, position, hardware_version,
  File "/usr/bin/tinkerforge", line 38025, in callback
    execute_response(ctx, args.execute, names, values)
  File "/usr/bin/tinkerforge", line 792, in execute_response
    formatted_values[name] = Tuple(value)
  File "/usr/bin/tinkerforge", line 785, in __init__
    tuple.__init__(self, *args)
TypeError: object.__init__() takes exactly one argument (the instance to initialize)

 

Ich hatte das genau so in (wenn auch alten) Beispielen gefunden. Mache ich etwas falsch?

Link zu diesem Kommentar
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...