{"id":44015,"date":"2023-05-20T15:14:33","date_gmt":"2023-05-20T15:14:33","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=44015"},"modified":"2023-05-20T15:15:41","modified_gmt":"2023-05-20T15:15:41","slug":"pithos-plugin-python-311","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/05\/pithos-plugin-python-311\/","title":{"rendered":"Pandora App &#8216;Pithos&#8217; 1.6.1 Adds Plugin Support for Python 3.11"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/pithos-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-43170\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/pithos-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/pithos-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/pithos-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/pithos-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/pithos-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/pithos-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p><b>For Ubuntu 23.04, Fedora 38 and other Linux with Python 3.11 as default, Pithos 1.6.1 was released today to fix the plugin support!<\/b><\/p>\n<p><a href=\"https:\/\/github.com\/pithos\/pithos\/releases\" rel=\"noopener\" target=\"_blank\">Pithos<\/a> is a simple free open-source GTK client for Pandora music &amp; podcasts, writing in Python programming language.<\/p>\n<p>The previous versions lack plugin support for the latest Linux Distributions due to Python 3.11. When you try to open the &#8216;Plugins&#8217; tab in Preferences, it just shows a blank page.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/pithos-blankplugins.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44016\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/pithos-blankplugins-600x526.webp\" alt=\"\" width=\"600\" height=\"526\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/pithos-blankplugins-600x526.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/pithos-blankplugins-300x263.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/pithos-blankplugins.webp 753w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>If you start it from command line, it will output something look like:<\/p>\n<pre>Traceback (most recent call last):\r\n  File \"\/usr\/share\/pithos\/pithos\/plugin.py\", line 147, in on_got_bus\r\n    plugin = plugins[name] = load_plugin(name, window, bus)\r\n                             \r\n  File \"\/usr\/share\/pithos\/pithos\/plugin.py\", line 101, in load_plugin\r\n    module = __import__('pithos.plugins.' + name)\r\n             \r\n  File \"\/usr\/share\/pithos\/pithos\/plugins\/mpris.py\", line 66, in \r\n    class PithosMprisService(DBusServiceObject):\r\n  File \"\/usr\/share\/pithos\/pithos\/plugins\/mpris.py\", line 647, in PithosMprisService\r\n    @dbus_method(MEDIA_PLAYER2_IFACE)\r\n     \r\n  File \"\/usr\/share\/pithos\/pithos\/plugins\/dbus_util\/DBusServiceObject.py\", line 138, in decorator\r\n    in_args = _create_arginfo_list(func, in_signature)\r\n              \r\n  File \"\/usr\/share\/pithos\/pithos\/plugins\/dbus_util\/DBusServiceObject.py\", line 123, in _create_arginfo_list\r\n    arg_names = inspect.getargspec(func).args\r\n<\/pre>\n<p>To fix the issue, the new 1.6.1 was released. Which, also fixed the issue that <i>very short songs are being labeled as advertisements<\/i>. <\/p>\n<p>Nothing else!<\/p>\n<h3>How to Install Pithos 1.6.1 in Ubuntu via PPA<\/h3>\n<p>For all current Ubuntu releases, including Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, Ubuntu 23.04, and their based systems, I&#8217;ve uploaded the app package into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/apps\/\" target=\"_blank\" rel=\"noopener\">PPA repository<\/a>.<\/p>\n<p>To add the PPA and install Pithos package, do:<\/p>\n<ol>\n<li>First, press <b>Ctrl+Alt+T<\/b> key combination on keyboard to open terminal. When it opens, run the command below to add the PPA:\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/apps<\/pre>\n<p><i>Type user password when it asks (no asterisk feedback) and hit Enter to continue.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/pithos-focal-ppa.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-32882\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/pithos-focal-ppa-600x155.png\" alt=\"\" width=\"600\" height=\"155\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/pithos-focal-ppa.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/pithos-focal-ppa-450x116.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li>Then, run command to fresh the package cache for old Ubuntu 18.04 and Linux Mint:\n<pre>sudo apt update<\/pre>\n<\/li>\n<li>Finally, install or update the lightweight Pandora Radio client to listen online music:\n<pre>sudo apt install pithos<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/apt-pithos.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-32883\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/apt-pithos-600x255.png\" alt=\"\" width=\"600\" height=\"255\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/apt-pithos.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/10\/apt-pithos-450x191.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<\/ol>\n<p>As the application does not update frequently, you may also download &amp; install the .deb package directly from <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/apps\/+packages?field.name_filter=pithos&amp;field.status_filter=published&amp;field.series_filter=\" target=\"_blank\" rel=\"noopener\">this page<\/a>.<\/p>\n<p>For most Linux, Pithos is also available to install as <a href=\"https:\/\/flathub.org\/apps\/io.github.Pithos\" rel=\"noopener\" target=\"_blank\">Flatpak package<\/a> runs in sandbox.<\/p>\n<h3>Uninstall Pithos<\/h3>\n<p>To remove the Ubuntu PPA, open terminal and run command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/apps<\/pre>\n<p>Or, open &#8216;Software &amp; Updates&#8217; utility and remove the source line under &#8216;Other Software&#8217; tab.<\/p>\n<p>To remove Pithos, use command:<\/p>\n<pre>sudo apt remove --autoremove pithos<\/pre>","protected":false},"excerpt":{"rendered":"<p>For Ubuntu 23.04, Fedora 38 and other Linux with Python 3.11 as default, Pithos 1.6.1 was released today to fix the plugin support! Pithos is a simple free open-source GTK client for Pandora music &amp; podcasts, writing in Python programming language. The previous versions lack plugin support for the latest Linux Distributions due to Python [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":43170,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[978],"class_list":["post-44015","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-music"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=44015"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44015\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/43170"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=44015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=44015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=44015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}