Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inspect.getargspec removed in Python 3.11 #21

Closed
varakirill opened this issue Jun 1, 2023 · 4 comments
Closed

inspect.getargspec removed in Python 3.11 #21

varakirill opened this issue Jun 1, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@varakirill
Copy link

varakirill commented Jun 1, 2023

Logger: m2m
Source: /usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py:268
First occurred: 16:49:52 (1 occurrences)
Last logged: 16:49:52
error handling websocket event

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 266, in run
    self.on_event(event)
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 282, in on_event
    self.on_binary(event.data)
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 328, in on_binary
    self.on_packet(packet)
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 348, in on_packet
    self.dispatcher.dispatch(packet_type, packet_body)
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/dispatcher.py", line 80, in dispatch
    return self.dispatch_packet(packet)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/dispatcher.py", line 92, in dispatch_packet
    arg_spec = inspect.getargspec(method)
               ^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'
@Gferretta
Copy link

Idem

Not working in 2023.6

🤦‍♂️😔

@AlexxIT AlexxIT added the bug Something isn't working label Jun 14, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Jun 14, 2023

https://github.com/AlexxIT/Dataplicity/releases/tag/v1.1.0

@YVladislavovich
Copy link

thanks for the great work!

@Fierys
Copy link

Fierys commented Jun 15, 2023

Thank you! After upgrading to v1.1.0 - everything works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants