I started looking into pi3D but how did you manage to get it working? I keep getting this error:
Pi3D module - version 0.07<br />
Copyright (c) Tim Skillman, 2012<br />
Updates available from www.github.com/tipam/pi3d<br />
Screen size 1920 1080<br />
* failed to add service - already in use?
Whats does your log file say? I'll test later today with audio over HDMI. Normally I test with audio over the jack so this bug might have slipped through.
Thanks, I downloaded the newest commit and tried launching again.
Although I can't start the application using
python pyplex [hdmi] &
, but instead I have to type this:
python2 __main__.py
in order to start execution.
Still, I can’t get the application to launch and I’ve already installed the other modules it’s been asking me for. Now I get this error:
<br />
Traceback (most recent call last):<br />
File "__main__.py", line 1, in <module><br />
from interface import pyPlex<br />
File "/home/jonathan/Applications/pyplex/interface.py", line 6, in <module><br />
from service.zeroconf import ZeroconfService, AvahiLookUp<br />
File "/home/jonathan/Applications/pyplex/service/zeroconf.py", line 4, in <module><br />
from dbus.mainloop.glib import DBusGMainLoop<br />
File "/usr/lib/python2.7/site-packages/dbus/mainloop/glib.py", line 29, in <module><br />
from _dbus_glib_bindings import DBusGMainLoop, gthreads_init<br />
ImportError: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory<br />
As I mentioned I am running Arch Linux which comes with very few (almost none) packages installed from the beginning.
I've been trying to install libdbus etc, but haven't gotten it to work yet. Could anyone here try to help me? :)
Look at the log with (make sure you replace with your correct path):
tail -n 15 ~/pyplex/pyplexlogger/pyplex.log
Or use *more* on a fresh log and you'll get something like this:
pi@raspberrypi ~/pyplex/pyplexlogger $ more pyplex.log<br />
2013-01-03 22:32:30,610 INFO PyPlex: Starting up...<br />
2013-01-03 22:32:30,613 INFO PyPlex: Audo output over HDMI<br />
2013-01-03 22:32:30,640 INFO AvahiLookUp: Looking for _plexmediasvr._tcp type Avahi shares<br />
2013-01-03 22:32:30,828 INFO AvahiLookUp: Found Service 'Main' at 192.168.2.52 on port 32400<br />
2013-01-03 22:32:30,837 INFO PyPlex: Setting up listeners<br />
2013-01-03 22:32:30,901 INFO ZeroconfService: 'Published avahi Service with name 'raspberrypi PyPlex' on port 3000 with text '['machineIdentifier=raspbe<br />
rrypi', 'version=2.0']'<br />
2013-01-03 22:32:30,907 INFO xbmcCommands: Initated xbmcCommands<br />
2013-01-03 22:32:30,921 INFO udplistener: Started UDP listener<br />
2013-01-03 22:32:30,931 INFO httplistener: HTTP Init done<br />
2013-01-03 22:32:30,934 INFO PyPlex: Running PyPlex<br />
2013-01-03 22:32:30,989 INFO httplistener: Started HTTP listener
It means it can't find one (it automatically stops looking if it finds one server)
Can you check in the server settings (I think you have to set it to advanced) to what kind of avahi _tcp it's sending/looking for? Don't know how to get there, can't see those settings when I login from outside the house.
This is all tested in combination with a linux installation of the server. Have no idea if it'll recognize the windows server correctly.
The folder is the program now, you have to go one folder up (the folder you did the git clone command in) and there you have to do python pyplex hdmi & to run it.
Python sees the folder as a program because of the __main__.py file inside it.
So i followed these instructions for the most part, as well as read all the later posts and installed those packages, but i'm getting this error. I assume i'm missing a package somewhere.
pi@raspbmc:~/apps$ python pyplex hdmi
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/pi/apps/pyplex/__main__.py", line 1, in
from interface import pyPlex
File "pyplex/interface.py", line 2, in
from gui.image import image
File "pyplex/gui/image.py", line 1, in
import pygame.image, pygame.display
ImportError: No module named pygame.image