Pithos - Pandora Desktop Application

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Pithos - Pandora Desktop Application

Postby superjoeuser » Mar 28th, '13, 07:56

I listen to Pandora often and wanted to try the Linux desktop application called Pithos. It took a bit of poking around and some experimentation but this is how I got Pithos running on both a 64 and 32 bit computer. I adapted the procedure from this link: http://forums.fedoraforum.org/showthread.php?t=259892, which was about installing Pithos on Fedora 14 . All you'll need to do is open a terminal, then copy and paste each command below allowing each to fully execute before going on to the next one. I did get some error messages but nothing that prevented the app from working. Neither system broke but as always, try at your own risk.

$ su (give root password at prompt)

Install dependencies:

Code: Select all
# urpmi python pyxdg python-gobject python-gobject-devel gobject-introspection gstreamer0.10-python gstreamer0.10-python-devel python-notify pygtk2.0 dbus-python gstreamer0.10-plugins-good gstreamer0.10-plugins-bad python-distutils-extra bzr bzrtools chiliproject-bzr redmine-bzr


Go to Downloads folder

Code: Select all
# cd Downloads


Download pithos

Code: Select all
# bzr branch lp:pithos pithos


The Pithos directory was created during download. You need to navigate into it in order to install:

Code: Select all
# cd pithos


The next command will install the Pithos program:

Code: Select all
# python setup.py install --prefix=/usr


Now go look for the Pithos icon in Sound and Video. Create and/or sign into your Pandora account and enjoy :D
Last edited by doktor5000 on Mar 29th, '13, 16:19, edited 1 time in total.
Reason: added code tags, to improve on clarity
superjoeuser
 
Posts: 11
Joined: Mar 4th, '13, 04:32

Re: Pithos - Pandora Desktop Application

Postby doktor5000 » Mar 29th, '13, 16:19

Thanks for the post. Next time please use code tags to improve the clarity ;)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Pithos - Pandora Desktop Application

Postby superjoeuser » Mar 30th, '13, 00:43

Sure thing. I didn't know I was supposed to do that (this is the first time I did something like this and was bold enough to post it). But I'll do it this way from now on.
superjoeuser
 
Posts: 11
Joined: Mar 4th, '13, 04:32

Re: Pithos - Pandora Desktop Application

Postby burdock » Sep 17th, '14, 23:13

Thanks for this post. Ive been a windows user for a long time, but have dabbled in linux enough to know how to break things. Ive almost always used some kind of debian distro though, so things with mageia are a little different for me.

After fooling around with the source code for pithos, i finally found your post. I ran the code that you listed and got a few errors with some packages not being found, however, the application installed. When I run it, I just see the bouncing icon as if its trying to initiate and then it goes away. No GUI ever shows asking me for pandora account details. Any ideas? Running mageia 4.1.

Thanks
Cole
burdock
 
Posts: 3
Joined: Sep 17th, '14, 04:05

Re: Pithos - Pandora Desktop Application

Postby jiml8 » Sep 19th, '14, 00:09

I also get the bouncing icon with no start. When I run it from the command line, I get a traceback:
Code: Select all
jiml@dadsbox:Download> pithos
Traceback (most recent call last):
  File "/usr/bin/pithos", line 9, in <module>
    load_entry_point('pithos==1.0.0', 'gui_scripts', 'pithos')()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 357, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2394, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2108, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.7/site-packages/pithos-1.0.0-py2.7.egg/pithos/pithos.py", line 25, in <module>
    gi.require_version('Gst', '1.0')
  File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 80, in require_version
    (namespace, version))
ValueError: Namespace Gst not available for version 1.0
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: Pithos - Pandora Desktop Application

Postby doktor5000 » Sep 19th, '14, 20:26

jiml8 wrote:ValueError: Namespace Gst not available for version 1.0


Check http://gstreamer-devel.966125.n4.nabble ... 59357.html
or https://bugs.launchpad.net/checkbox/+bug/1194717 or http://blog.illogicalextend.com/running ... radio-app/
Probably some gstreamer packages missing ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Pithos - Pandora Desktop Application

Postby jiml8 » Sep 20th, '14, 20:44

I am fiddling with this a bit, and I found that when I install the package lib64clutter-gst-gir2.0 and its required dependencies, that error message went away.

Now, however, I am getting a new error: "ImportError: No module named html"

I still have some time to waste, so I will track that one down too.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: Pithos - Pandora Desktop Application

Postby rcdawson » Nov 5th, '14, 06:52

I attempted this installation on a 32 bit machine runing Mageia 4.1. Everything went smoothly until I reached the "phython setup.py install --prefix=/usr". It terminated without installing anything, or at least not completing the installation, with the following message:

Code: Select all
[root@localhost pithos]# python setup.py install --prefix=/usr
Traceback (most recent call last):
  File "setup.py", line 23, in <module>
    import ez_setup
ImportError: No module named ez_setup


Code: Select all
the pithos directory contained the following files:

drwxr-xr-x 3 root root  4096 Nov  4 20:18 data/
-rwxr-xr-x 1 root root   618 Nov  4 20:18 debug.py*
drwxr-xr-x 2 root root  4096 Nov  4 20:18 docs/
-rw-r--r-- 1 root root 35142 Nov  4 20:18 license
-rw-r--r-- 1 root root   160 Nov  4 20:18 MANIFEST.in
drwxr-xr-x 5 root root  4096 Nov  4 20:18 pithos/
-rw-r--r-- 1 root root   407 Nov  4 20:18 README.md
-rw-r--r-- 1 root root   115 Nov  4 20:18 requirements-osx.txt
-rwxr-xr-x 1 root root  3565 Nov  4 20:18 setup.py*


Any idea how to get this to work?
Last edited by doktor5000 on Nov 5th, '14, 21:41, edited 2 times in total.
Reason: Command-output placed between [CODE]-tags, for better readability. ;) - separated-code-blocks
rcdawson
 
Posts: 10
Joined: Aug 25th, '11, 15:28

Re: Pithos - Pandora Desktop Application

Postby doktor5000 » Nov 5th, '14, 22:12

rcdawson wrote: import ez_setup
ImportError: No module named ez_setup[/code]


You're missing a python module which it clearly tells you. Did you install the packages listed in the first post? Works fine here:

Code: Select all
┌─[doktor5000@Mageia4]─[20:47:05]─[~]
└──╼ up python pyxdg python-gobject python-gobject-devel gobject-introspection gstreamer0.10-python gstreamer0.10-python-devel python-notify pygtk2.0 dbus-python gstreamer0.10-plugins-good gstreamer0.10-plugins-bad python-distutils-extra bzr bzrtools chiliproject-bzr redmine-bzr
Pakete python-pyxdg-0.25-3.mga4.noarch, python-notify-0.1.1-10.mga4.x86_64, gstreamer0.10-python-0.10.22-4.mga4.x86_64, gstreamer0.10-plugins-good-0.10.31-6.mga4.x86_64, pygtk2.0-2.24.0-5.mga4.x86_64, gstreamer0.10-plugins-bad-0.10.23-14.mga4.tainted.x86_64, python-2.7.6-1.3.mga4.x86_64, python-gobject-2.28.6-12.mga4.x86_64, gobject-introspection-1.38.0-2.mga4.x86_64, python-dbus-1.2.0-5.mga4.x86_64, bzr-2.6.0-5.mga4.x86_64 sind installiert
python-notify wird als manuell installiert markiert, es wird von der auto-orphan-Funktion ignoriert
gstreamer0.10-python wird als manuell installiert markiert, es wird von der auto-orphan-Funktion ignoriert
gstreamer0.10-plugins-good wird als manuell installiert markiert, es wird von der auto-orphan-Funktion ignoriert
pygtk2.0 wird als manuell installiert markiert, es wird von der auto-orphan-Funktion ignoriert
writing /var/lib/rpm/installed-through-deps.list
Um die Abhängigkeiten zu erfüllen, werden die folgenden Pakete installiert:
  Paket                          Version      Release       Arch   
(Medium »Core Release (distrib1)«)
  bzrtools                       2.5          5.mga4        noarch 
  chiliproject-bzr               3.8.0        4.mga4        noarch 
  gstreamer0.10-python-devel     0.10.22      4.mga4        x86_64 
  python-distutils-extra         2.38         3.mga4        noarch 
  python-ecdsa                   0.9          3.mga4        noarch 
  python-gobject-devel           2.28.6       12.mga4       x86_64 
  python-paramiko                1.12.0       4.mga4        noarch 
  redmine-bzr                    2.4.2        1.mga4        noarch 
11MB zusätzlicher Speicher werden benötigt
1.1MB an Paketen werden geholt
Fortfahren mit der Installation der 8 Pakete? (J/n)


    http://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/4/x86_64/media/core/release/redmine-bzr-2.4.2-1.mga4.noarch.rpm
    http://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/4/x86_64/media/core/release/chiliproject-bzr-3.8.0-4.mga4.noarch.rpm                                         
    http://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/4/x86_64/media/core/release/python-paramiko-1.12.0-4.mga4.noarch.rpm                                         
    http://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/4/x86_64/media/core/release/python-distutils-extra-2.38-3.mga4.noarch.rpm                                   
    http://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/4/x86_64/media/core/release/python-ecdsa-0.9-3.mga4.noarch.rpm                                               
    http://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/4/x86_64/media/core/release/bzrtools-2.5-5.mga4.noarch.rpm                                                   
    http://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/4/x86_64/media/core/release/gstreamer0.10-python-devel-0.10.22-4.mga4.x86_64.rpm                             
python-ecdsa-0.9-3.mga4.noarch.rpm python-distutils-extra-2.38-3.mga4.noarch.rpm gstreamer0.10-python-devel-0.10.22-4.mga4.x86_64.rpm bzrtools-2.5-5.mga4.noarch.rpm python-paramiko-1.12.0-4.mga4.noarch.rpm redmine-bzr-2.4.2-1.mga4.noarch.rpm chiliproject-bzr-3.8.0-4.mga4.noarch.rpm python-gobject-devel-2.28.6-12.mga4.x86_64.rpm von /var/cache/urpmi/rpms wird installiert
Vorbereiten …                    #####################################################################################################################################
      1/8: python-gobject-devel  #####################################################################################################################################
      2/8: python-ecdsa          #####################################################################################################################################
      3/8: python-paramiko       #####################################################################################################################################
      4/8: bzrtools              #####################################################################################################################################
      5/8: gstreamer0.10-python-devel
                                 #####################################################################################################################################
      6/8: chiliproject-bzr      #####################################################################################################################################
      7/8: redmine-bzr           #####################################################################################################################################
      8/8: python-distutils-extra
                                 #####################################################################################################################################
┌─[doktor5000@Mageia4]─[20:50:16]─[~]
└──╼ ufn python | grep ez^C
┌─[✗]─[doktor5000@Mageia4]─[20:50:25]─[~]
└──╼ bzr branch lp:pithos pithos
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 333 revisions.                                                                                                                                               
┌─[doktor5000@Mageia4]─[20:50:42]─[~]
└──╼ cd pithos
┌─[doktor5000@Mageia4]─[20:50:44]─[~/pithos]
└──╼ sudo python setup.py install --prefix=/usr
running install
running bdist_egg
running egg_info
creating pithos.egg-info
writing requirements to pithos.egg-info/requires.txt
writing pithos.egg-info/PKG-INFO
writing top-level names to pithos.egg-info/top_level.txt
writing dependency_links to pithos.egg-info/dependency_links.txt
writing entry points to pithos.egg-info/entry_points.txt
writing manifest file 'pithos.egg-info/SOURCES.txt'
Not SVN Repository
reading manifest file 'pithos.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pithos.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/pithos
copying pithos/AboutPithosDialog.py -> build/lib/pithos
copying pithos/__main__.py -> build/lib/pithos
copying pithos/StationsDialog.py -> build/lib/pithos
copying pithos/PreferencesPithosDialog.py -> build/lib/pithos
copying pithos/__init__.py -> build/lib/pithos
copying pithos/pithosconfig.py -> build/lib/pithos
copying pithos/dbus_service.py -> build/lib/pithos
copying pithos/plugin.py -> build/lib/pithos
copying pithos/SearchDialog.py -> build/lib/pithos
copying pithos/mpris.py -> build/lib/pithos
copying pithos/gobject_worker.py -> build/lib/pithos
copying pithos/pithos.py -> build/lib/pithos
copying pithos/util.py -> build/lib/pithos
creating build/lib/pithos/pandora
copying pithos/pandora/blowfish.py -> build/lib/pithos/pandora
copying pithos/pandora/__init__.py -> build/lib/pithos/pandora
copying pithos/pandora/pandora.py -> build/lib/pithos/pandora
copying pithos/pandora/fake.py -> build/lib/pithos/pandora
copying pithos/pandora/data.py -> build/lib/pithos/pandora
creating build/lib/pithos/plugins
copying pithos/plugins/scrobble.py -> build/lib/pithos/plugins
copying pithos/plugins/screensaver_pause.py -> build/lib/pithos/plugins
copying pithos/plugins/__init__.py -> build/lib/pithos/plugins
copying pithos/plugins/notification_icon.py -> build/lib/pithos/plugins
copying pithos/plugins/mediakeys.py -> build/lib/pithos/plugins
copying pithos/plugins/notify.py -> build/lib/pithos/plugins
creating build/lib/pithos/data
creating build/lib/pithos/data/media
copying pithos/data/media/album_default.png -> build/lib/pithos/data/media
copying pithos/data/media/album_default.svg -> build/lib/pithos/data/media
copying pithos/data/media/icon.svg -> build/lib/pithos/data/media
copying pithos/data/media/pithos-tray-icon.png -> build/lib/pithos/data/media
copying pithos/data/media/rate_bg.png -> build/lib/pithos/data/media
copying pithos/data/media/rate_bg.svg -> build/lib/pithos/data/media
creating build/lib/pithos/data/ui
copying pithos/data/ui/AboutPithosDialog.ui -> build/lib/pithos/data/ui
copying pithos/data/ui/PithosWindow.ui -> build/lib/pithos/data/ui
copying pithos/data/ui/PreferencesPithosDialog.ui -> build/lib/pithos/data/ui
copying pithos/data/ui/SearchDialog.ui -> build/lib/pithos/data/ui
copying pithos/data/ui/StationsDialog.ui -> build/lib/pithos/data/ui
copying pithos/data/ui/about_pithos_dialog.xml -> build/lib/pithos/data/ui
copying pithos/data/ui/app_menu.ui -> build/lib/pithos/data/ui
copying pithos/data/ui/pithos_window.xml -> build/lib/pithos/data/ui
copying pithos/data/ui/preferences_pithos_dialog.xml -> build/lib/pithos/data/ui
copying pithos/data/ui/search_dialog.xml -> build/lib/pithos/data/ui
copying pithos/data/ui/stations_dialog.xml -> build/lib/pithos/data/ui
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/pithos
copying build/lib/pithos/AboutPithosDialog.py -> build/bdist.linux-x86_64/egg/pithos
copying build/lib/pithos/__main__.py -> build/bdist.linux-x86_64/egg/pithos
copying build/lib/pithos/StationsDialog.py -> build/bdist.linux-x86_64/egg/pithos
copying build/lib/pithos/PreferencesPithosDialog.py -> build/bdist.linux-x86_64/egg/pithos
copying build/lib/pithos/__init__.py -> build/bdist.linux-x86_64/egg/pithos
copying build/lib/pithos/pithosconfig.py -> build/bdist.linux-x86_64/egg/pithos
copying build/lib/pithos/dbus_service.py -> build/bdist.linux-x86_64/egg/pithos
copying build/lib/pithos/plugin.py -> build/bdist.linux-x86_64/egg/pithos
creating build/bdist.linux-x86_64/egg/pithos/pandora
copying build/lib/pithos/pandora/blowfish.py -> build/bdist.linux-x86_64/egg/pithos/pandora
copying build/lib/pithos/pandora/__init__.py -> build/bdist.linux-x86_64/egg/pithos/pandora
copying build/lib/pithos/pandora/pandora.py -> build/bdist.linux-x86_64/egg/pithos/pandora
copying build/lib/pithos/pandora/fake.py -> build/bdist.linux-x86_64/egg/pithos/pandora
copying build/lib/pithos/pandora/data.py -> build/bdist.linux-x86_64/egg/pithos/pandora
copying build/lib/pithos/SearchDialog.py -> build/bdist.linux-x86_64/egg/pithos
copying build/lib/pithos/mpris.py -> build/bdist.linux-x86_64/egg/pithos
copying build/lib/pithos/gobject_worker.py -> build/bdist.linux-x86_64/egg/pithos
creating build/bdist.linux-x86_64/egg/pithos/plugins
copying build/lib/pithos/plugins/scrobble.py -> build/bdist.linux-x86_64/egg/pithos/plugins
copying build/lib/pithos/plugins/screensaver_pause.py -> build/bdist.linux-x86_64/egg/pithos/plugins
copying build/lib/pithos/plugins/__init__.py -> build/bdist.linux-x86_64/egg/pithos/plugins
copying build/lib/pithos/plugins/notification_icon.py -> build/bdist.linux-x86_64/egg/pithos/plugins
copying build/lib/pithos/plugins/mediakeys.py -> build/bdist.linux-x86_64/egg/pithos/plugins
copying build/lib/pithos/plugins/notify.py -> build/bdist.linux-x86_64/egg/pithos/plugins
copying build/lib/pithos/pithos.py -> build/bdist.linux-x86_64/egg/pithos
creating build/bdist.linux-x86_64/egg/pithos/data
creating build/bdist.linux-x86_64/egg/pithos/data/ui
copying build/lib/pithos/data/ui/app_menu.ui -> build/bdist.linux-x86_64/egg/pithos/data/ui
copying build/lib/pithos/data/ui/PreferencesPithosDialog.ui -> build/bdist.linux-x86_64/egg/pithos/data/ui
copying build/lib/pithos/data/ui/preferences_pithos_dialog.xml -> build/bdist.linux-x86_64/egg/pithos/data/ui
copying build/lib/pithos/data/ui/pithos_window.xml -> build/bdist.linux-x86_64/egg/pithos/data/ui
copying build/lib/pithos/data/ui/StationsDialog.ui -> build/bdist.linux-x86_64/egg/pithos/data/ui
copying build/lib/pithos/data/ui/PithosWindow.ui -> build/bdist.linux-x86_64/egg/pithos/data/ui
copying build/lib/pithos/data/ui/about_pithos_dialog.xml -> build/bdist.linux-x86_64/egg/pithos/data/ui
copying build/lib/pithos/data/ui/AboutPithosDialog.ui -> build/bdist.linux-x86_64/egg/pithos/data/ui
copying build/lib/pithos/data/ui/SearchDialog.ui -> build/bdist.linux-x86_64/egg/pithos/data/ui
copying build/lib/pithos/data/ui/stations_dialog.xml -> build/bdist.linux-x86_64/egg/pithos/data/ui
copying build/lib/pithos/data/ui/search_dialog.xml -> build/bdist.linux-x86_64/egg/pithos/data/ui
creating build/bdist.linux-x86_64/egg/pithos/data/media
copying build/lib/pithos/data/media/icon.svg -> build/bdist.linux-x86_64/egg/pithos/data/media
copying build/lib/pithos/data/media/rate_bg.svg -> build/bdist.linux-x86_64/egg/pithos/data/media
copying build/lib/pithos/data/media/rate_bg.png -> build/bdist.linux-x86_64/egg/pithos/data/media
copying build/lib/pithos/data/media/pithos-tray-icon.png -> build/bdist.linux-x86_64/egg/pithos/data/media
copying build/lib/pithos/data/media/album_default.svg -> build/bdist.linux-x86_64/egg/pithos/data/media
copying build/lib/pithos/data/media/album_default.png -> build/bdist.linux-x86_64/egg/pithos/data/media
copying build/lib/pithos/util.py -> build/bdist.linux-x86_64/egg/pithos
byte-compiling build/bdist.linux-x86_64/egg/pithos/AboutPithosDialog.py to AboutPithosDialog.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/__main__.py to __main__.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/StationsDialog.py to StationsDialog.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/PreferencesPithosDialog.py to PreferencesPithosDialog.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/pithosconfig.py to pithosconfig.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/dbus_service.py to dbus_service.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/plugin.py to plugin.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/pandora/blowfish.py to blowfish.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/pandora/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/pandora/pandora.py to pandora.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/pandora/fake.py to fake.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/pandora/data.py to data.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/SearchDialog.py to SearchDialog.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/mpris.py to mpris.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/gobject_worker.py to gobject_worker.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/plugins/scrobble.py to scrobble.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/plugins/screensaver_pause.py to screensaver_pause.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/plugins/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/plugins/notification_icon.py to notification_icon.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/plugins/mediakeys.py to mediakeys.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/plugins/notify.py to notify.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/pithos.py to pithos.pyc
byte-compiling build/bdist.linux-x86_64/egg/pithos/util.py to util.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
copying data/icons/hicolor/pithos.svg -> /usr/share/icons/hicolor/scalable/apps
copying data/icons/hicolor/pithos-tray-icon.png -> /usr/share/icons/hicolor/48x48/apps
creating /usr/share/icons/ubuntu-mono-dark
creating /usr/share/icons/ubuntu-mono-dark/apps
creating /usr/share/icons/ubuntu-mono-dark/apps/16
copying data/icons/ubuntu-mono-dark/pithos-tray-icon.svg -> /usr/share/icons/ubuntu-mono-dark/apps/16
creating /usr/share/icons/ubuntu-mono-light
creating /usr/share/icons/ubuntu-mono-light/apps
creating /usr/share/icons/ubuntu-mono-light/apps/16
copying data/icons/ubuntu-mono-light/pithos-tray-icon.svg -> /usr/share/icons/ubuntu-mono-light/apps/16
copying data/pithos.appdata.xml -> /usr/share/appdata
copying data/pithos.desktop -> /usr/share/applications
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying pithos.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pithos.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pithos.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pithos.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pithos.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pithos.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
pithos.plugin: module references __file__
pithos.pithosconfig: module references __file__
creating dist
creating 'dist/pithos-1.0.1-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing pithos-1.0.1-py2.7.egg
creating /usr/lib/python2.7/site-packages/pithos-1.0.1-py2.7.egg
Extracting pithos-1.0.1-py2.7.egg to /usr/lib/python2.7/site-packages
Adding pithos 1.0.1 to easy-install.pth file
Installing pithos script to /usr/bin

Installed /usr/lib/python2.7/site-packages/pithos-1.0.1-py2.7.egg
Processing dependencies for pithos==1.0.1
Searching for pylast
Reading https://pypi.python.org/simple/pylast/
Best match: pylast 1.0.0
Downloading https://pypi.python.org/packages/source/p/pylast/pylast-1.0.0.tar.gz#md5=a8404fee22b55352c9da25d6fa55c38c
Processing pylast-1.0.0.tar.gz
Writing /tmp/easy_install-V6MH7A/pylast-1.0.0/setup.cfg
Running pylast-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-V6MH7A/pylast-1.0.0/egg-dist-tmp-Llxfgl
Not SVN Repository
zip_safe flag not set; analyzing archive contents...
Adding pylast 1.0.0 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/pylast-1.0.0-py2.7.egg
Finished processing dependencies for pithos==1.0.1
┌─[doktor5000@Mageia4]─[20:50:54]─[~/pithos]
└──╼


Although I then still get the same error on starting it like jiml8 with the missing module html.
From looking at some other bugreports this could either be an issue with python2 vs. python3 with missing 2to3 support.
Or just broken software. On Fedora the same issue applies: https://plus.google.com/108594939501350 ... M9YDPLtFzs

Can be fixed by installing it via pip. Then it errors out on a module that IS installed:

Code: Select all
┌─[doktor5000@Mageia4]─[20:53:39]─[~/pithos]
└──╼ sudo pip install html
Downloading/unpacking html
  Downloading html-1.16.tar.gz
  Running setup.py egg_info for package html
   
    Not SVN Repository
Installing collected packages: html
  Running setup.py install for html
   
    Not SVN Repository
Successfully installed html
Cleaning up...
┌─[doktor5000@Mageia4]─[21:03:47]─[~/pithos]
└──╼ pithos
Traceback (most recent call last):
  File "/usr/bin/pithos", line 9, in <module>
    load_entry_point('pithos==1.0.1', 'gui_scripts', 'pithos')()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 357, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2394, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2108, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.7/site-packages/pithos-1.0.1-py2.7.egg/pithos/pithos.py", line 30, in <module>
    import urllib.request, urllib.error, urllib.parse
ImportError: No module named request


Code: Select all
┌─[doktor5000@Mageia4]─[21:09:29]─[~/pithos]
└──╼ rpm -qa | grep python | grep -e requests -e urllib
python-requests-2.3.0-1.mga4
python3-urllib3-1.7.1-3.mga4
python-urllib3-1.7.1-3.mga4
python3-requests-2.3.0-1.mga4


Further reading says the problem might be running python3 code under python2 - which is default for Mageia4:
http://stackoverflow.com/questions/2465 ... ed-request
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Pithos - Pandora Desktop Application

Postby rcdawson » Nov 5th, '14, 22:52

I verified that all of the packages in the urpmi instruction were installed. They are.

Now what?
rcdawson
 
Posts: 10
Joined: Aug 25th, '11, 15:28

Re: Pithos - Pandora Desktop Application

Postby doktor5000 » Nov 5th, '14, 22:55

Contact the pithos developers, open a bugreport and report the issue if you can't fix it yourself?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest