Click here to Skip to main content
15,903,203 members

Comments by GiulioRig (Top 7 by date)

GiulioRig 31-Mar-24 18:08pm View    
@k5054 in bash i print signature echo -en "${pre_signed_string}" | openssl dgst -sha256 -hmac "${secret_key}" -binary | base64 and in python i print signature print("Valore utilizzato per creare la signature:", payload0) # Stampiamo il valore utilizzato per creare la signature
GiulioRig 28-Aug-23 4:49am View    
In ascolto su 127.0.0.1:23456
Connesso da ('127.0.0.1', 54769)
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 861, in callit
func(*args)
File "C:\Users\pct\Desktop\python\tabella.py", line 20, in handle_received_data
tree.item(tree.get_children()[1], values=data_list)
~~~~~~~~~~~~~~~~~~~^^^
IndexError: tuple index out of range
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 861, in callit
func(*args)
File "C:\Users\pct\Desktop\python\tabella.py", line 20, in handle_received_data
tree.item(tree.get_children()[1], values=data_list)
~~~~~~~~~~~~~~~~~~~^^^
IndexError: tuple index out of range
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 861, in callit
func(*args)
File "C:\Users\pct\Desktop\python\tabella.py", line 20, in handle_received_data
tree.item(tree.get_children()[1], values=data_list)
~~~~~~~~~~~~~~~~~~~^^^
IndexError: tuple index out of range
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 861, in callit
func(*args)
File "C:\Users\pct\Desktop\python\tabella.py", line 20, in handle_received_data
tree.item(tree.get_children()[1], values=data_list)
~~~~~~~~~~~~~~~~~~~^^^
IndexError: tuple index out of range
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 861, in callit
func(*args)
File "C:\Users\pct\Desktop\python\tabella.py", line 20, in handle_received_data
tree.item(tree.get_children()[1], values=data_list)
~~~~~~~~~~~~~~~~~~~^^^
IndexError: tuple index out of range
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 861, in callit
func(*args)
File "C:\Users\pct\Desktop\python\tabella.py", line 20, in handle_received_data
tree.item(tree.get_children()[1], values=data_list)
~~~~~~~~~~~~~~~~~~~^^^
IndexError: tuple index out of range
Exception in
GiulioRig 12-Aug-23 4:18am View    
return me this In ascolto su 127.0.0.1:23456
Connesso da ('127.0.0.1', 55606)
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 861, in callit
func(*args)
File "C:\Users\pct\Desktop\python\tabella.py", line 20, in handle_received_data
tree.item(tree.get_children()[1], values=data_list)
~~~~~~~~~~~~~~~~~~~^^^
IndexError: tuple index out of range
GiulioRig 11-Aug-23 8:03am View    
i try your solution but return this error AttributeError: 'Event' object has no attribute 'data'
Exception in thread Thread-1 (receive_data):
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\pct\Desktop\python\tabella.py", line 39, in receive_data
generate_custom_event(root, data_list)
File "C:\Users\pct\Desktop\python\tabella.py", line 95, in generate_custom_event
widget.event_generate("<<datareceived>>", when="tail", data=event)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1914, in event_generate
self.tk.call(args)
RuntimeError: main thread is not in main loop
GiulioRig 10-Aug-23 18:42pm View    
sorry is data_list = event.data