Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906300 - media-sound/pithos-1.6.0 non-fatal errors using python-3.11
Summary: media-sound/pithos-1.6.0 non-fatal errors using python-3.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 896398
  Show dependency tree
 
Reported: 2023-05-13 21:29 UTC by Richard
Modified: 2023-05-26 12:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2023-05-13 21:29:12 UTC
When using python-3.11, media-sound/pithos-1.6.0  always shows the below errors in the terminal window where launched.  This error did not occur when using python-3.10.  Pithos still plays music.  This Pithos error has been corrected up-stream.

Gentoo forum discussion:
https://forums.gentoo.org/viewtopic-t-1163362.html

up-stream discussion:
https://github.com/pithos/pithos/issues/690

up-stream patch:
https://github.com/pithos/pithos/commit/7eab10b11ee008cccffd35b673e289fe32fc2e67


Error message:

$ pithos
Traceback (most recent call last):
  File "/usr/share/pithos/pithos/plugin.py", line 147, in on_got_bus
    plugin = plugins[name] = load_plugin(name, window, bus)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/pithos/pithos/plugin.py", line 101, in load_plugin
    module = __import__('pithos.plugins.' + name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/pithos/pithos/plugins/mpris.py", line 66, in <module>
    class PithosMprisService(DBusServiceObject):
  File "/usr/share/pithos/pithos/plugins/mpris.py", line 647, in PithosMprisService
    @dbus_method(MEDIA_PLAYER2_IFACE)
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/pithos/pithos/plugins/dbus_util/DBusServiceObject.py", line 138, in decorator
    in_args = _create_arginfo_list(func, in_signature)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/pithos/pithos/plugins/dbus_util/DBusServiceObject.py", line 123, in _create_arginfo_list
    arg_names = inspect.getargspec(func).args
                ^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
Comment 1 Larry the Git Cow gentoo-dev 2023-05-26 12:33:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b835cc4bc3a8f0a2c04cd4623bc0962a96b311ac

commit b835cc4bc3a8f0a2c04cd4623bc0962a96b311ac
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-26 12:33:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-26 12:33:32 +0000

    media-sound/pithos: add 1.6.1
    
    Closes: https://bugs.gentoo.org/906300
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/pithos/Manifest            |  1 +
 media-sound/pithos/pithos-1.6.1.ebuild | 69 ++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)