dsacre / mididings

A MIDI router/processor based on Python
http://das.nasophon.de/mididings/
GNU General Public License v2.0
120 stars 40 forks source link

Python 3.11 : AttributeError: module 'inspect' has no attribute 'formatargspec'. #42

Closed stefets closed 1 year ago

stefets commented 1 year ago

Need help to fix this problem

File "/home/stefets/src/.venv/mididings/lib/python3.11/site-packages/mididings-2015+r5ec70c1-py3.11-linux-x86_64.egg/mididings/arguments.py", line 73, in call '%s%s' % (f.name, inspect.formatargspec(*signature)), ^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'inspect' has no attribute 'formatargspec'. Did you mean: 'formatargvalues'?

MaurizioB commented 1 year ago

Please avoid duplicates. Consider merging either #41 or this with the other and delete it.

stefets commented 1 year ago

Please avoid duplicates. Consider merging either #41 or this with the other and delete it.

This is not a duplicate;

There are 2 issues with Python 3.11;

Look closely, the description of problem #41 is different from the description of problem #42.

There is a problem with formatargspec and another with getargspec

MaurizioB commented 1 year ago

Did you search those errors? They both refer to the same aspect, as explained in the change log of python 3.11:

stefets commented 1 year ago

Please stop with your thumbs down, I don't need your aggressive approach and your IT morality. Problems should be reported here for other users. I searched the solutions and saw the recommendations, I will try to fix the problem but I like to hear the opinion of other programmers who use mididings. But not moralizing opinions like yours.

stefets commented 1 year ago

I'll work on that in my fork