how do i install this

Asked by free2rhume45

i am trying to figure out how to install this i am a noob

Question information

Language:
English Edit question
Status:
Solved
For:
Entertainer Media Center Edit question
Assignee:
No assignee Edit question
Solved by:
free2rhume45
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Matt Layman (mblayman) said :
#1

free2rhume45, I've written a blog post to address this subject (http://laymanstermsdev.wordpress.com/2008/06/16/installing-entertainer-01/). I tried to explain everything there. If that is not satisfactory for you. I can answer with a follow-up here.

Thanks for your interest in Entertainer, please report any bugs that you find.

Revision history for this message
free2rhume45 (skryshtafovych) said :
#2

stepan@Stepan:~/Desktop/entertainer-0.1/src$ ls
backend entertainer-log-viewer.py frontend tests
entertainer-backend.py entertainer-messagebus-notifier.py __init__.py tools
entertainer-content-management.py entertainer-preferences.py Makefile utils
entertainer-frontend.py entertainer-tray-icon.py pylintrc
stepan@Stepan:~/Desktop/entertainer-0.1/src$ entertainer-backend.py
bash: entertainer-backend.py: command not found
stepan@Stepan:~/Desktop/entertainer-0.1/src$ ./entertainer-backend.py
Traceback (most recent call last):
  File "./entertainer-backend.py", line 13, in <module>
    from backend.backend_server import BackendServer
  File "/home/stepan/Desktop/entertainer-0.1/src/backend/backend_server.py", line 26, in <module>
    from backend.components.feeds.feed_manager import FeedManager
  File "/home/stepan/Desktop/entertainer-0.1/src/backend/components/feeds/feed_manager.py", line 8, in <module>
    from pysqlite2 import dbapi2 as sqlite
ImportError: No module named pysqlite2
stepan@Stepan:~/Desktop/entertainer-0.1/src$

Revision history for this message
free2rhume45 (skryshtafovych) said :
#3

this is what i get when i launch ./entertainer-backend.py

stepan@Stepan:~/Desktop/entertainer-0.1/src$ ./entertainer-backend.py
Traceback (most recent call last):
  File "./entertainer-backend.py", line 13, in <module>
    from backend.backend_server import BackendServer
  File "/home/stepan/Desktop/entertainer-0.1/src/backend/backend_server.py", line 26, in <module>
    from backend.components.feeds.feed_manager import FeedManager
  File "/home/stepan/Desktop/entertainer-0.1/src/backend/components/feeds/feed_manager.py", line 8, in <module>
    from pysqlite2 import dbapi2 as sqlite
ImportError: No module named pysqlite2
stepan@Stepan:~/Desktop/entertainer-0.1/src$

Revision history for this message
Paul Hummer (rockstar) said :
#4

Install the python-pysqlite2 library. You can do this from a terminal in Ubuntu with 'sudo apt-get install python-pysqlite2'

Revision history for this message
free2rhume45 (skryshtafovych) said :
#5

this is what i get when isntalling python an error at the end

stepan@Stepan:~/Desktop/entertainer-0.1/src$ ./entertainer-content-management.py
Traceback (most recent call last):
  File "./entertainer-content-management.py", line 30, in <module>
    from utils.content_management_dialog import ContentManagementDialog
  File "/home/stepan/Desktop/entertainer-0.1/src/utils/content_management_dialog.py", line38, in <module>
    from utils.weather import Weather
  File "/home/stepan/Desktop/entertainer-0.1/src/utils/weather.py", line 12, in <module>
    from utils.theme import Theme
  File "/home/stepan/Desktop/entertainer-0.1/src/utils/theme.py", line 10, in <module>
    import clutter
ImportError: No module named clutter
stepan@Stepan:~/Desktop/entertainer-0.1/src$ sudo apt-get install python-notify python-feedparser python-pyvorbis python-pyogg \
> python-eyed3 python-pysqlite2 python-gtk2 python-glade2 python-clutter \
[sudo] password for stepan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-notify is already the newest version.
python-gtk2 is already the newest version.
python-glade2 is already the newest version.
E: Couldn't find package
stepan@Stepan:~/Desktop/entertainer-0.1/src$ sudo apt-get install python-pysqlite2
[sudo] password for stepan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  python-pysqlite2-dbg
The following NEW packages will be installed:
  python-pysqlite2
0 upgraded, 1 newly installed, 0 to remove and 61 not upgraded.
1 not fully installed or removed.
Need to get 89.6kB of archives.
After this operation, 483kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com hardy/main python-pysqlite2 2.4.0-2build1 [89.6kB]
Fetched 89.6kB in 1s (62.4kB/s)
Selecting previously deselected package python-pysqlite2.
(Reading database ... 178211 files and directories currently installed.)
Unpacking python-pysqlite2 (from .../python-pysqlite2_2.4.0-2build1_i386.deb) ...
Setting up fusion-icon (0.0.0+git20071028-2ubuntu2) ...
pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files
dpkg: error processing fusion-icon (--configure):
 subprocess post-installation script returned error exit status 1
Setting up python-pysqlite2 (2.4.0-2build1) ...

Errors were encountered while processing:
 fusion-icon
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
free2rhume45 (skryshtafovych) said :
#6

and when i run the content manager this is what i get

stepan@Stepan:~/Desktop/entertainer-0.1/src$ ./entertainer-content-management.py
Traceback (most recent call last):
  File "./entertainer-content-management.py", line 30, in <module>
    from utils.content_management_dialog import ContentManagementDialog
  File "/home/stepan/Desktop/entertainer-0.1/src/utils/content_management_dialog.py", line38, in <module>
    from utils.weather import Weather
  File "/home/stepan/Desktop/entertainer-0.1/src/utils/weather.py", line 12, in <module>
    from utils.theme import Theme
  File "/home/stepan/Desktop/entertainer-0.1/src/utils/theme.py", line 10, in <module>
    import clutter
ImportError: No module named clutter
stepan@Stepan:~/Desktop/entertainer-0.1/src

Revision history for this message
free2rhume45 (skryshtafovych) said :
#7

and when i run the content manager this is what i get

stepan@Stepan:~/Desktop/entertainer-0.1/src$ ./entertainer-content-management.py
Traceback (most recent call last):
  File "./entertainer-content-management.py", line 30, in <module>
    from utils.content_management_dialog import ContentManagementDialog
  File "/home/stepan/Desktop/entertainer-0.1/src/utils/content_management_dialog.py", line38, in <module>
    from utils.weather import Weather
  File "/home/stepan/Desktop/entertainer-0.1/src/utils/weather.py", line 12, in <module>
    from utils.theme import Theme
  File "/home/stepan/Desktop/entertainer-0.1/src/utils/theme.py", line 10, in <module>
    import clutter
ImportError: No module named clutter
stepan@Stepan:~/Desktop/entertainer-0.1/src

Revision history for this message
Paul Hummer (rockstar) said :
#8

'sudo apt-get install python-clutter' should help you out

Revision history for this message
free2rhume45 (skryshtafovych) said :
#9

I get this error when i try to install it

stepan@Stepan:~/Desktop/entertainer-0.1/src$ sudo apt-get install python-clutter
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-clutter is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up fusion-icon (0.0.0+git20071028-2ubuntu2) ...
pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files
dpkg: error processing fusion-icon (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 fusion-icon
E: Sub-process /usr/bin/dpkg returned an error code (1)
stepan@Stepan:~/Desktop/entertainer-0.1/src$

Revision history for this message
Matt Layman (mblayman) said :
#10

free2rhume45, this is a dependency error that seems specific to your system. Entertainer will not work until you get the dependencies problems resolved. You might want to ask the clutter developers in the their IRC channel (http://clutter-project.org/contribute.html) or check their bug tracker to see if this is a known issue. What distribution are you running, Ubuntu, or something else? I would suggest looking around for anything describing clutter and fusion-icon problems.

Revision history for this message
free2rhume45 (skryshtafovych) said :
#11

i got it to work thanx alot

Revision history for this message
kritikal (gamecore) said :
#12

After installing all of the dependencies and double checking that I'm not missing any of them I still got an error, turns out I was missing python-cddb which you guys didn't mention in your Dependencies file ;)

But right now it keeps telling me that my clutter version is too old while apt-get tells me I have the newest version.. any ideas?

Revision history for this message
kritikal (gamecore) said :
#13

never mind was able to fix it by adding the Clutter repository. For anyone who's interested just do

- echo "deb http://debian.o-hand.com gutsy/" | sudo tee -a /etc/apt/sources.list

replacing gutsy with whatever version you have

- sudo apt-get update
- sudo apt-get install python-clutter

Now I'm getting when I start the backend it just says Entertainer backend starting... and when I run the frontend I get

Couldn't connect to the backend server. Execution aborted!
Make sure that Entertainer backend server is up and running.

any ideas?

Revision history for this message
Matt Layman (mblayman) said :
#14

kritikal, can you run the backend with the command `./entertainer-backend.py --foreground` and see if this produces any errors in the terminal? If so, can you file a bug?

As you can probably guess from the flag name, this will run the backend in the foreground of your terminal instead of daemonizing it and turning it into a "true" background process. From there, any errors in the backend should give proper tracebacks that could be handy in debugging your problem.

Thanks.

Revision history for this message
sai krishna (gadgetssai) said :
#15