Setup.py error

Bug #487855 reported by Jorge Dardón
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Entertainer Media Center
Invalid
Low
Unassigned

Bug Description

When i try to run the setup.py script, i get this error:

Writing /usr/local/lib/python2.6/dist-packages/Entertainer-0.4.egg-info
Traceback (most recent call last):
  File "setup.py", line 91, in <module>
    libraries.''',
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "setup.py", line 27, in run
    target = os.path.join(self.root, "usr", "share", "icons", "hicolor")
  File "/usr/lib/python2.6/posixpath.py", line 67, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

SPECS:
Ubuntu Karmic 9.10 32 bit
Dependencies installed as read on Docs/DEPEDENCIES

Revision history for this message
Matt Layman (mblayman) wrote :

Jorge, thanks for the report. This is a valid issue on trunk, but has been fixed on our future branch (which is where most of our development has been happening for many months).

I would suggest you try to run Entertainer from the future branch, however, Entertainer is currently broken on Ubuntu 9.10 because of some dependencies that did not make it into the Ubuntu Universe archive that Entertainer needs. There are some branches that are in progress, but they are not ready to land yet to fix the issues. Plus, the extra dependencies need to be packaged in the Entertainer Release Team PPA. I apologize that this prevents you from running Entertainer. We hope to fix these problems soon.

Changed in entertainer:
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Jorge Dardón (jdardon) wrote :

Thanks!

I will try a future branch, however could you tell me which dependencies are needed to run entertainer into 9.10?

I'm wondering if i can make the packages to do a workaround.

Revision history for this message
Matt Layman (mblayman) wrote :

The things that are missing are python-cluttergtk and python-cluttergst. Francesco Marella has been doing some work to try and get Entertainer running again. He's done some good work and published some branches that could be useful to you.

lp:~francesco-marella/entertainer/pyclutter-gtk-debian contains some packaging work for python-cluttergtk
lp:~francesco-marella/entertainer/pyclutter-gst-debian contains some packaging work for python-cluttergst
lp:~francesco-marella/entertainer/future-fixes has work to make Entertainer work with the version of clutter that is in 9.10.

Good luck!

Revision history for this message
aala (aka-aala) wrote :

I cannot install it.
I have follow all of the steps in the wiki page, for installtion (from tarball), and this is what I get,...

This was first time...

Traceback (most recent call last):
  File "setup.py", line 15, in <module>
    translations_generator.update_mos()
  File "/home/user/Desktop/entertainer-0.4.2/tools/translations_generator.py", line 116, in update_mos
    call(['msgfmt', po, '-o', mo_out])
  File "/usr/lib/python2.6/subprocess.py", line 470, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

>>>

This was second time

Traceback (most recent call last):
  File "setup.py", line 15, in <module>
    translations_generator.update_mos()
  File "/home/user/Desktop/entertainer-0.4.2/tools/translations_generator.py", line 116, in update_mos
    call(['msgfmt', po, '-o', mo_out])
  File "/usr/lib/python2.6/subprocess.py", line 470, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Im using Ubuntu 9.10 kernel 2.6.31-15-generic

Can someone help me please!

Thanks!!!

Revision history for this message
Francesco Marella (francesco-marella) wrote :

aala, try to install the gettext package

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.