Jump to content

enumerate --execute (SHELL API) broken?


Recommended Posts


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
  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
  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 to comment
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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...