View Single Post
Old 09-30-2007, 01:49 PM   #237
Vash
Member
Vash began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
Cannot upgrade

Hello,

I'm attempting to upgrade to the latest libprs500 using the install instructions on trac. I'm using ubuntu feisty. Below is the output from the install attempt. It seems that I'm missing some dependency but I cant tell what

Code:
Downloading http://pypi.python.org/packages/2.5/l/libprs500/libprs500-0.4.5-py2.5.egg#md5=b214d6743c09fc5508acf46828fc3876
Processing libprs500-0.4.5-py2.5.egg
Moving libprs500-0.4.5-py2.5.egg to /usr/lib/python2.5/site-packages
Removing libprs500 0.3.104 from easy-install.pth file
Adding libprs500 0.4.5 to easy-install.pth file
Installing lrf-meta script to /usr/bin
Installing any2lrf script to /usr/bin
Installing libprs500_postinstall script to /usr/bin
Installing rtf-meta script to /usr/bin
Installing web2lrf script to /usr/bin
Installing lrfviewer script to /usr/bin
Installing pdf2lrf script to /usr/bin
Installing lrf2lrs script to /usr/bin
Installing web2disk script to /usr/bin
Installing html2lrf script to /usr/bin
Installing markdown-libprs500 script to /usr/bin
Installing pdf-meta script to /usr/bin
Installing prs500 script to /usr/bin
Installing txt2lrf script to /usr/bin
Installing lit2lrf script to /usr/bin
Installing rtf2lrf script to /usr/bin
Installing libprs500 script to /usr/bin

Installed /usr/lib/python2.5/site-packages/libprs500-0.4.5-py2.5.egg
Processing dependencies for libprs500
Trying to setup udev rules...
/bin/sh: udevstart: not found
 * Reloading kernel event manager...                                                        [ OK ] 
Setting up bash completion... done
Setting up desktop integration...
/bin/sh: xdg-icon-resource: not found
Traceback (most recent call last):
  File "/usr/bin/libprs500_postinstall", line 8, in <module>
    load_entry_point('libprs500==0.4.5', 'console_scripts', 'libprs500_postinstall')()
  File "build/bdist.linux-i686/egg/libprs500/linux.py", line 200, in post_install
  File "build/bdist.linux-i686/egg/libprs500/linux.py", line 261, in setup_desktop_integration
  File "/usr/lib/python2.5/subprocess.py", line 461, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'xdg-icon-resource install --context mimetypes --size 128 libprs500-lrf.png application-lrf' returned non-zero exit status 127
Error in sys.excepthook:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/apport_python_hook.py", line 44, in apport_excepthook
    binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
OSError: [Errno 2] No such file or directory

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/libprs500_postinstall", line 8, in <module>
    load_entry_point('libprs500==0.4.5', 'console_scripts', 'libprs500_postinstall')()
  File "build/bdist.linux-i686/egg/libprs500/linux.py", line 200, in post_install
  File "build/bdist.linux-i686/egg/libprs500/linux.py", line 261, in setup_desktop_integration
  File "/usr/lib/python2.5/subprocess.py", line 461, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'xdg-icon-resource install --context mimetypes --size 128 libprs500-lrf.png application-lrf' returned non-zero exit status 127
I'm hoping someone can help me. I really dont want to boot to windows to load up books any longer
Vash is offline   Reply With Quote