Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2007, 08:51 PM   #1
knewbie
Junior Member
knewbie began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2007
Device: Nokia N95 / Now PRS-505SC
Ubuntu 7.10 90% of libprs500 install...

Hi All,

My PRS505 SC comes tomorrow morning in the post -
missed todays delivery (Edit : I GOT IT ! I GOT IT !)

I'm using ubuntu 7.10 fresh install, up to date and I'm trying to install libprs500.

first part of Installing prs-500 is a breeze (copy and paste instructions for ubuntu 7.10) but running "libprs500_postinstall" gives me an error :

#sudo libprs500_postinstall
Trying to setup udev rules...
/bin/sh: /etc/init.d/hald: not found
Traceback (most recent call last):
File "/usr/bin/libprs500_postinstall", line 8, in <module>
load_entry_point('libprs500==0.4.16', 'console_scripts', 'libprs500_postinstall')()


File "build/bdist.linux-i686/egg/libprs500/linux.py", line 222, in post_install
File "build/bdist.linux-i686/egg/libprs500/linux.py", line 207, in setup_udev_rules
File "/usr/lib/python2.5/subprocess.py", line 461, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/etc/init.d/hald restart' returned non-zero exit status 127

Trying to find hald gave me :
# locate hald
/var/cache/hald
/usr/sbin/hald

among other things

hald is running :

# ps -A|grep hal
4866 ? 00:00:01 hald
4867 ? 00:00:00 hald-runner
4934 ? 00:00:00 hald-addon-keyb
4936 ? 00:00:00 hald-addon-keyb
4937 ? 00:00:00 hald-addon-keyb
4938 ? 00:00:00 hald-addon-keyb
4956 ? 00:00:00 hald-addon-acpi
5001 ? 00:00:00 hald-addon-stor

To try a shortcut I created a symlink to /etc/init.d/hal called /etc/init.d/hald and libprs500_postinstall then worked a bit until another stop :

# libprs500_postinstall
Trying to setup udev rules...
* Restarting Hardware abstraction layer hald [ OK ]
Setting up bash completion... done
Setting up desktop integration...
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
WARNING: You need PyQt >= 4.3.1 for the GUI to work. You have 4.3

I have PyQt version 4.3-2ubuntu7, python 2.5.1
Do I need to compile PyQt 4.3.1 manually or something ?

If anyone understood my ravings, please help 8)

Last edited by knewbie; 10-30-2007 at 08:13 AM.
knewbie is offline   Reply With Quote
Old 10-29-2007, 09:22 PM   #2
beartard
Minister of Linux
beartard has read War And Peace ... all of itbeartard has read War And Peace ... all of itbeartard has read War And Peace ... all of itbeartard has read War And Peace ... all of itbeartard has read War And Peace ... all of itbeartard has read War And Peace ... all of itbeartard has read War And Peace ... all of itbeartard has read War And Peace ... all of itbeartard has read War And Peace ... all of itbeartard has read War And Peace ... all of itbeartard has read War And Peace ... all of it
 
beartard's Avatar
 
Posts: 196
Karma: 66641
Join Date: Jul 2007
Location: Winter Haven, Florida, USA
Device: nook, T-Mobile MyTouch 3G Slide
You're fine. The lower version of PyQt will still allow libprs500 to work in Ubuntu; however, you will get a crash if you try to batch-convert books using the GUI.
beartard is offline   Reply With Quote
 
Advertisement
Old 10-30-2007, 03:54 PM   #3
tidixon
Enthusiast
tidixon began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Oct 2007
Device: PRS-505
I can confirm similar problems. I did the symlink and lrf viewer fails most of the time, libprs500 is mostly working though. I am running 7.10 64bit with the ubuntu PyQt 4.3 packages. I figured I would just wait until ubuntu upgraded as I can do pretty much everything I need to with the command line.
tidixon is offline   Reply With Quote
Old 12-24-2007, 05:38 PM   #4
rec
Junior Member
rec began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2007
Location: Santa Fe, NM
Device: prs-505/treo680
upgrading pyqt from source

I've done the upgrade from source after finding out that none of the proposed or backported Ubuntu packages would do the job. Both pyqt and sip needed to be upgraded.

Nothing has broken that I've noticed. And the upgrade does not fix all the problems with libprs500.

Your mileage may vary, of course.

-- rec --
rec is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Calibre 6.46 Install fails theducks Calibre 24 04-02-2010 10:27 AM
Install problem on ubuntu frdimond Calibre 14 02-19-2010 02:26 AM
V o.6.40 install in Ubuntu 9.10 problem? lamparty Calibre 7 02-19-2010 02:07 AM
Cannot install calibre on ubuntu 8.04 kkkidder Calibre 1 03-19-2009 11:44 PM
libprs500 installation on Ubuntu 7.10 bralec Calibre 1 03-27-2008 10:50 AM


All times are GMT -4. The time now is 07:13 PM.


MobileRead.com is a privately owned, operated and funded community.