Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-30-2007, 02:51 PM   #241
Vash
Member
Vash began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
Quote:
Originally Posted by kovidgoyal View Post
the easiest thing to do is install pyqt from a development snapshot. It's just
Code:
python configure.py
make
sudo make install
hmm.. somethings breaking... I've installed the latest sip like the package wants but when I attempt to build it I'm getting errors in make

Code:
make[1]: Entering directory `/home/vash/Downloads/PyQt-x11-gpl-4.3/QtCore'
g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/usr/include/python2.5 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/X11R6/include -o sipQtCorecmodule.o sipQtCorecmodule.cpp
sipQtCorecmodule.cpp: In function ‘PyObject* func_qQNaN(PyObject*, PyObject*)’:
sipQtCorecmodule.cpp:8029: error: ‘qQNaN’ was not declared in this scope
sipQtCorecmodule.cpp: In function ‘PyObject* func_qSNaN(PyObject*, PyObject*)’:
sipQtCorecmodule.cpp:8054: error: ‘qSNaN’ was not declared in this scope
sipQtCorecmodule.cpp: In function ‘PyObject* func_qIsNaN(PyObject*, PyObject*)’:
sipQtCorecmodule.cpp:8106: error: ‘qIsNaN’ was not declared in this scope
sip/QtCore/qobject.sip: In function ‘void initQtCore()’:
sip/QtCore/qobject.sip:2943: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [sipQtCorecmodule.o] Error 1
make[1]: Leaving directory `/home/vash/Downloads/PyQt-x11-gpl-4.3/QtCore'
make: *** [all] Error 2
I dont know what it's requesting. Any ideas?
Vash is offline   Reply With Quote
Old 09-30-2007, 02:57 PM   #242
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Install a development snapshot of SIP first then install a development snapshot of pyqt.
kovidgoyal is offline   Reply With Quote
Old 09-30-2007, 03:02 PM   #243
Vash
Member
Vash began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
Quote:
Originally Posted by kovidgoyal View Post
Install a development snapshot of SIP first then install a development snapshot of pyqt.
I did, got both packages from http://www.riverbankcomputing.co.uk. Sip 4.3.1 installed fine. The PyQT package fails with the above error
Vash is offline   Reply With Quote
Old 09-30-2007, 03:05 PM   #244
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Install the development snapshot not 4.3.1
kovidgoyal is offline   Reply With Quote
Old 09-30-2007, 03:13 PM   #245
Vash
Member
Vash began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
Quote:
Originally Posted by kovidgoyal View Post
Install the development snapshot not 4.3.1
Do you know where I can download those? On the Riverbank Computing site, the dev snapshots directory only has changelogs in them
Vash is offline   Reply With Quote
Old 09-30-2007, 03:22 PM   #246
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm looks like Phil pulled the latest snapshots. Check back in a while they should go up again.

EDIT: Actually I just tried building pyqt 4.3.1 and it worked for me. What system are you building this one?

Last edited by kovidgoyal; 09-30-2007 at 03:31 PM.
kovidgoyal is offline   Reply With Quote
Old 09-30-2007, 04:09 PM   #247
Vash
Member
Vash began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
Quote:
Originally Posted by kovidgoyal View Post
Hmm looks like Phil pulled the latest snapshots. Check back in a while they should go up again.

EDIT: Actually I just tried building pyqt 4.3.1 and it worked for me. What system are you building this one?
Ubuntu Feisty.
Vash is offline   Reply With Quote
Old 09-30-2007, 04:23 PM   #248
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Works for me on a feisty system as well. You should post to the pyqt list
kovidgoyal is offline   Reply With Quote
Old 10-01-2007, 06:07 PM   #249
Raventhon
Member
Raventhon began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jun 2007
Device: Amazon Kindle Voyage
When I attempt to transfer files from my computer to the memory card, I receive the following error:

Detailed traceback:
Traceback (most recent call last):
File "main.py", line 419, in sync_to_card
File "main.py", line 442, in sync_to_device
File "libprs500\gui2\library.pyo", line 259, in get_preferred_formats
File "libprs500\library\database.pyo", line 768, in format
MemoryError

When I attempt to transfer files from the base memory on the device to my computer, I receive the following error:

Error: Could not read 4096 bytes on the bulk bus. Error code: -116
Failed to perform job: Copy books from device to disk
Further device related error messages will not be shown while this message is visible.
Detailed traceback:
Traceback (most recent call last):
File "libprs500\gui2\jobs.pyo", line 79, in run
File "libprs500\gui2\device.pyo", line 130, in save_books
File "libprs500\devices\prs500\driver.pyo", line 168, in run_session
File "libprs500\devices\prs500\driver.pyo", line 484, in get_file
File "libprs500\devices\prs500\driver.pyo", line 403, in _bulk_read
File "libprs500\devices\prs500\driver.pyo", line 390, in bulk_read_packet
File "libprs500\devices\libusb.pyo", line 256, in bulk_read
Error: Could not read 4096 bytes on the bulk bus. Error code: -116

What's up? I'm running Windows.

Heck, it won't even let me view a .lrf file with the gui:

Detailed traceback:
Traceback (most recent call last):
File "main.py", line 597, in view_book
File "libprs500\library\database.pyo", line 768, in format
MemoryError

Hm, trying a fresh install that isn't done over top the old install, as that's probably what's making everything FUBAR. :P

Yeah, that seems to have fixed it!

Last edited by Raventhon; 10-01-2007 at 06:25 PM.
Raventhon is offline   Reply With Quote
Old 10-01-2007, 07:35 PM   #250
leha
Member
leha began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Nov 2006
Device: prs-500
development snaphost

Can somebody explain to me what is the reason for using development snapshot for libprs500? Is there features that absolutely essential for writing a GUI interface?
leha is offline   Reply With Quote
Old 10-01-2007, 07:49 PM   #251
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The beta GUI has now been merged back into the main GUI as of version 0.4.0.
kovidgoyal is offline   Reply With Quote
Old 10-02-2007, 02:19 PM   #252
BrendenM
Member
BrendenM began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
Question

I followed the installation instructions for Ubuntu Feisty for the regular version. I wanted to try the developmental version however it seems that in doing so I've borked my system up good.

I receive the following error when running python setup.py develop
Code:
Installed /home/me/personal/eBooks/Software/libprs500/src
Processing dependencies for libprs500==0.4.7
Trying to setup udev rules...
/bin/sh: udevstart: not found
 * Reloading kernel event manager...                                                                                                           [ OK ]
Setting up bash completion... failed
Traceback (most recent call last):
  File "/home/meme/personal/eBooks/Software/libprs500/src/libprs500/linux.py", line 79, in setup_completion
    from libprs500.gui2.lrf_renderer.main import option_parser as lrfviewerop
  File "/home/me/personal/eBooks/Software/libprs500/src/libprs500/gui2/lrf_renderer/main.py", line 26, in <module>
    from libprs500.gui2.dialogs.conversion_error import ConversionErrorDialog
  File "/home/me/personal/eBooks/Software/libprs500/src/libprs500/gui2/dialogs/conversion_error.py", line 19, in <module>
    from libprs500.gui2.dialogs.conversion_error_ui import Ui_ConversionErrorDialog
ImportError: cannot import name Ui_ConversionErrorDialog
Setting up desktop integration...
I don't know if that is a problem or can be ignore because I am using zsh, not bash. If it is ignorable then I have something else wrong because when I run libprs500 I get the following errors
Code:
Traceback (most recent call last):
  File "/usr/bin/libprs500", line 8, in <module>
    load_entry_point('libprs500==0.4.7', 'gui_scripts', 'libprs500')()
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 236, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2097, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/home/me/personal/eBooks/Software/libprs500/src/libprs500/gui2/main.py", line 33, in <module>
    from libprs500.gui2.main_window import MainWindow
  File "/home/me/personal/eBooks/Software/libprs500/src/libprs500/gui2/main_window.py", line 19, in <module>
    from libprs500.gui2.dialogs.conversion_error import ConversionErrorDialog
  File "/home/me/personal/eBooks/Software/libprs500/src/libprs500/gui2/dialogs/conversion_error.py", line 19, in <module>
    from libprs500.gui2.dialogs.conversion_error_ui import Ui_ConversionErrorDialog
ImportError: cannot import name Ui_ConversionErrorDialog
BrendenM is offline   Reply With Quote
Old 10-02-2007, 03:04 PM   #253
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Looks like libprs500 was not installed correctly.

Post the output of

cat /usr/lib/python2.5/site-packages/easy-install.pth
kovidgoyal is offline   Reply With Quote
Old 10-03-2007, 10:02 AM   #254
BrendenM
Member
BrendenM began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
Quote:
Originally Posted by kovidgoyal View Post
Looks like libprs500 was not installed correctly.

Post the output of

cat /usr/lib/python2.5/site-packages/easy-install.pth
Well I think I may have corrected some problems. I'm running Xubuntu and I had to manually update SIP and PyQT. I'm still getting the install errors and lrfviewer doesn't run but libprs500 does now.

Here's the contents of easy-install.pth
Code:
import sys; sys.__plen = len(sys.path)
./TTFQuery-1.0.0-py2.5.egg
/home/me/personal/eBooks/Software/libprs500/src
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)
BrendenM is offline   Reply With Quote
Old 10-03-2007, 11:31 AM   #255
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I see you've installed it from svn. I assume you ran make in the gui2 directory?
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Soribook: First eReader eInk device now in beta testing! Nate the great News 13 04-27-2013 08:28 AM
Beta Beta Test of Major New Features Starson17 Calibre 45 05-17-2010 10:55 AM
testing jomaweb Lounge 44 02-02-2010 02:15 PM


All times are GMT -4. The time now is 04:11 PM.


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