PerfectCarl / dogvibes

Automatically exported from code.google.com/p/dogvibes
0 stars 0 forks source link

Runtime error - Fresh Ubuntu 9.04 build #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Got everything to compile OK. Used the Ubuntu gstreamer pkgs since
compiling from source always breaks in ffmpeg. Even if I use the bits of
gstreamer which compile OK I get the following error anyway. Looks like
gstreamer is not loading libgstspot.so (or the python binding is not
finding it). 

I've tried this on 64-bit with libspotify-0.0.3 and 32-bit with
libspotify-0.0.2

Could you try following the install instructions on a clean Ubuntu9.04 (or
9.10?) to see if you get it to work? I'd love to get things to the point
that it runs and I have a chance of making a more useful contribution!

==========================================================================
Running Dogvibes.
   ->Vibe the dog!
                 .--.    
                / \aa\_  
         ,      \_/ ,_Y) 
        ((.------`"=(    
         \   \      |o   
         /)  /__\  /     
        / \ \_  / /|     
        \_)\__) \_)_)    
Initiated device speaker
Logging on to spotify
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "./server.py", line 132, in run
    dogvibes = Dogvibes()
  File "/home/mediabot/src/dogvibes-read-only/dogvibes2/src/dogvibes.py",
line 48, in __init__
    amp0 = Amp(self, "0")
  File "/home/mediabot/src/dogvibes-read-only/dogvibes2/src/amp.py", line
42, in __init__
    self.spotify = self.dogvibes.sources[0].get_src()
  File
"/home/mediabot/src/dogvibes-read-only/dogvibes2/src/spotifysource.py",
line 60, in get_src
    self.spotify = gst.element_factory_make("spot", "spot")
ElementNotFoundError: spot
=========================================================================

The lib has been installed as expected:

mediabot@mediabot-desktop:~/src/dogvibes-read-only/dogvibes2/src$ ls -l
/usr/local/lib/gstreamer-0.10/
total 92
-rwxr-xr-x 1 root root  1060 2010-01-20 17:41 libgstspot.la
-rwxr-xr-x 1 root root 85404 2010-01-20 17:41 libgstspot.so

Any clues?

Duncan

Original issue reported on code.google.com by duncanFr...@googlemail.com on 20 Jan 2010 at 5:59

GoogleCodeExporter commented 9 years ago
Aha! Got it to run by adding the library path to the command-line:

./server.py 
--gst-plugin-path=/usr/lib/gstreamer-0.10/:/usr/local/lib/gstreamer-0.10/

The service now starts but gives an error message 'session error'.

Some of the tests in api_test run before it segfaults. I'm guessing this is as 
far as
the code goes for the moment. Good job - I'm looking forward to checking on how 
the
project progresses Well done guys.

Duncan

Original comment by duncanFr...@googlemail.com on 21 Jan 2010 at 11:37

GoogleCodeExporter commented 9 years ago
Hi!

I do not really now the state of the api_tests right now, have you tried 
running the
client (thats whats really cool about this project). Just open
clients/spotify_clone/insdex.html and point it to your host port 2000. It would 
be
nice if you pasted the log when is crashes.

Johan

Original comment by johan.gy...@gmail.com on 26 Jan 2010 at 4:34

GoogleCodeExporter commented 9 years ago

Original comment by brissmyr on 7 Apr 2010 at 4:30