|
Setup_instructions
IntroductionThis page will give a very brief overview on how to get Gloss up and running on your system. It assumes you already have a working MythTV setup using a version 0.21 backend. Note: If using Clutter 0.4.x please use SVN rev. 86 as anything past this has been updated for Clutter 0.6 UbuntuGloss was developed on Ubuntu so hence I can give the best instructions for how to get it working on this platform. Getting ClutterThere are currently two main methods for obtaining Clutter, which is required by Gloss. The first is using the prebuilt binaries and is relatively straightforward. This is currently the recommended method as Gloss is being developed against the Clutter 0.6 release. The second method is compiling from source (releases or SVN) however use of Clutter SVN with Gloss is currently untested. In each case, simply copy the lines into the command prompt, one at a time. Binaries (apt-get)
GeneralCompile Clutter from sourceReleases of Clutter can be downloaded from: http://www.clutter-project.org/sources/ Getting GlossOnce you have Clutter installed, getting Gloss running should be fairly easy: ReleaseDownload the latest release of Gloss: http://code.google.com/p/gloss-mc/downloads/list SVN
Debian / Ubuntu aptGloss is maintained iin an apt repository that can be found @ https://launchpad.net/~gloss-development/+archive Running GlossGloss can be started simply with:
from within the gloss-mc directory If you are experiencing problem with Gloss, you can also try starting it with any of the following options:
|
Sign in to add a comment
I think the fourth step for installing on Ubuntu should be: # svn checkout -r 86 http://gloss-mc.googlecode.com/svn/trunk/ gloss-mc Since step three installs clutter 0.4 which isn't supported by r > 86
If you've installed Clutter from SVN, you can either export LD_LIBRARY_PATH (as above), or run sudo ldconfig (on Ubuntu 7.10) to rebuild the dynamic library cache since /usr/local/lib is already in /etc/ld.so.conf.d/libc.conf
Thanks netwolfuk, I'll update the page with that info!
Hi, I'm interested in trying Clutter as a front-end for Myth on my pc, but I'm getting the following error when trying to run python gloss.py
File "/home/john/dev/gloss/gloss-mc/ui_elements/ReflectionTexture??.py", line 4, in <module>
ImportError??: No module named cluttercairo
I have installed clutter, and even clutter-cairo in attempt to resolve this but still get the same error. Any suggestions?
Hi bolanster,
I've updated the instructions above with the added cairo requirements. If you're compiling Clutter from source, make sure you install pycairo-dev, then clutter-cairo, then compile pyclutter and install (In that order). Shoot me an email if you're still having any troubles.
Looks really good! problems installing though :)
Have followed the steps above for Hardy, but when I try to run gloss I get the following: 'python gloss.py
(gloss.py:6674): WARNING : failed to bind GLXGetProcAddress or GLXGetProcAddressARB Traceback (most recent call last):
ImportError?: No module named pygst'Hi lindsay, looks like I missed a dependency. Try installing 'python-gst0.10', should fix the problem.
That did the trick, thanks
I've installed clutter via apt on hardy but when i try to run gloss.py i get the following error: Fatal Python error: can't initialise module clutter
any ideas?
Hi brock.haywood
Did you install the python-clutter package as well as just libclutter?
hi there,
yes, i installed by cutting and pasting the command supplied in the guide above. i did confirm, however, that python-clutter installed correctly.
i should point out that i am on kubuntu. is it possible that there are some gdk packages that clutter unwittingly depends on?
I just tried to install after some nice packagers fixed clutter-cairo, but it didn't work:
# yum install clutter-devel pyclutter pyclutter-gst pyclutter-gtk pycairo-devel clutter-cairo # ldconfig
$ cd svn/gloss-mc $ svn up $ python gloss.py Traceback (most recent call last):
ImportError?: No module named cluttercairoThis is on Fedora 8.
Aha - I just did: # yum install pyclutter-cairo python-eyed3
And now it almost worked: Found Module: slideshow Found Module: video_player Found Module: myth_tv_player Found Module: dvd_player Found Module: music_player DB Version error: Expected version 1214, found version 1160 Attempting to continue, however this will almost certainly fail Segmentation fault
Any ideas?
@gronslet
Hi, looks like you're running the Myth 0.20 backend? Gloss has been updated now to work with 0.21 and will have problems with 0.20 system.
@brock.haywood
It is possible that the Clutter packages don't have all the necessary dependencies under KDE. I'll have to try a vanilla Kubuntu install to see if I can find anything missing. Is this Kubuntu 8.04?
@noisymime
Yes, it is Kubuntu 8.04
well.. i'm not sure what changed this evening (haven't done any updates etc) but i re-installed the packages (for the third or fourth time) and now it runs fine .. i did have to install librsvg2-common to get svg support under kubuntu
Yes, I am running mythtv-0.20.2-169.fc6, updated several times from a Mythdora 4.0 (Fedora 6) via atrpms. Updates are now discontinued :/
Anyway - thanks for the reply! (or maybe there is a known good svn revision that works with mythtv 0.20 that I can try just for the fun of it?)
@gronslet
A quick look in SVN shows that the bulk of the 0.21 updates were made around r199. If you try around the r190-r198 range you should get a working one. Be aware thought that there's been a lot of other fixes and additions since then.
I have installed clutter, clutter-cairo, clutter-gst, clutter-gtk & pyclutter. I checked out revision 228 of gloss and am getting the following when I run it:
(gloss.py:3912): GStreamer-WARNING : Failed to load plugin '/usr/lib/gstreamer-0.10/libgstneonhttpsrc.so': /usr/lib/gstreamer-0.10/libgstneonhttpsrc.so: undefined symbol: ne_get_status Found Module: myth_tv_player Found Module: video_player Found Module: dvd_player Found Module: slideshow Found Module: music_player Segmentation fault
Any thoughts as to how I should fix this? I am quite anxious to toy around with gloss. The video clips look great!
Any clue on the following error?
$ python gloss.py Traceback (most recent call last):
SyntaxError?: invalid syntaxI have the following versions installed:
clutter-0.6.2/ clutter-gst-0.6.1/ clutter-cairo-0.6.2/ clutter-gtk-0.6.0/
Gloss Rev 229
Hi, I believe this is related to the python version you're using. Do you know if you have 2.4 or 2.5?
Gloss requires 2.5 to operate correctly.
I am getting the following segfault when I try to run gloss-mc:
371182.821753? python3963?: segfault at 10 ip b7e6fe2b sp bf95b590 error 4 in libpython2.5.so.1.0b7e0c000+cf000?
I am using python-2.5.2, pyclutter-0.6.2, clutter-0.6.4, clutter-cairo-0.6.2, clutter-gst-0.6.1, clutter-gtk-0.6.0 and gloss-mc svn 231.
Hi, I've got Gloss running on Ubuntu 8, but for some reason, the window does not show full screen. It isn't showing a window frame, but the stage canvas is shifted down and to the right slightly as if it is still making room for a window border. Any ideas? I've tried explicitly setting my front-end window size to the screen resolution as well as leaving it at 0,0. I also tried modifying the gloss.py MainApp? init routine to force self.stage.fullscreen() and self.stage.set_property("fullscreen", True).
@myself
nevermind - the full screen issue is another compiz fusion + intel gfx issue apparently. Turning off the effects fixes it.
Just drawing attention here to Issue 9 which I just filed, a hang on startup with the debug log below:
manager@prandtl:~/gloss-mc$ python gloss.py --debug
(gloss.py:7269): WARNING : failed to bind GLXGetProcAddress or GLXGetProcAddressARB Found Module: music_player Found Module: dvd_player Found Module: tests Found Module: myth_tv_player Found Module: slideshow Found Module: video_player Using debug mode Music Artist SQL: SELECT FROM music_directories
(gloss.py:7269): Clutter-Gst-WARNING : Unable to create playbin GST element.
(gloss.py:7269): Clutter-Gst-WARNING : Failed to initiate suitable playback pipeline. Music Base Dir: /var/lib/mythtv/music/ Music Artist SQL: SELECT FROM music_artists ORDER BY artist_name Loading module: Music Loading module: DVD Loading module: Tests Traceback (most recent call last): AttributeError?: 'NoneType?' object has no attribute 'get_item_textures'
System is Mythbuntu 8.04.
Just drawing attention here to Issue 9 which I just filed, a hang on startup with the debug log below. System is Mythbuntu 8.04.
manager@prandtl:~/gloss-mc$ python gloss.py --debug ** (gloss.py:7269): WARNING **: failed to bind GLXGetProcAddress or GLXGetProcAddressARB Found Module: music_player Found Module: dvd_player Found Module: tests Found Module: myth_tv_player Found Module: slideshow Found Module: video_player Using debug mode Music Artist SQL: SELECT * FROM music_directories (gloss.py:7269): Clutter-Gst-WARNING **: Unable to create playbin GST element. (gloss.py:7269): Clutter-Gst-WARNING **: Failed to initiate suitable playback pipeline. Music Base Dir: /var/lib/mythtv/music/ Music Artist SQL: SELECT * FROM music_artists ORDER BY artist_name Loading module: Music Loading module: DVD Loading module: Tests Traceback (most recent call last): File "gloss.py", line 114, in loadGloss temp_menu_item.setAction(tempMod.action()) File "/home/manager/gloss-mc/modules/tests/tests.py", line 36, in action File "/home/manager/gloss-mc/modules/tests/tests.py", line 176, in generateMenu File "/home/manager/gloss-mc/interfaces/ListMenu2/ListMenu2.py", line 143, in selectFirst self.label_list.get_current_item().get_item_textures().show() AttributeError: 'NoneType' object has no attribute 'get_item_textures'