![]() |
#241 | |
Member
![]() Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
|
Quote:
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 |
|
![]() |
![]() |
![]() |
#242 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,413
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#243 | |
Member
![]() Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
|
Quote:
|
|
![]() |
![]() |
![]() |
#244 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,413
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Install the development snapshot not 4.3.1
|
![]() |
![]() |
![]() |
#245 |
Member
![]() Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
|
|
![]() |
![]() |
Advert | |
|
![]() |
#246 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,413
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. |
![]() |
![]() |
![]() |
#247 |
Member
![]() Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
|
|
![]() |
![]() |
![]() |
#248 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,413
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
|
![]() |
![]() |
![]() |
#249 |
Member
![]() 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. |
![]() |
![]() |
![]() |
#250 |
Member
![]() 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?
|
![]() |
![]() |
![]() |
#251 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,413
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.
|
![]() |
![]() |
![]() |
#252 |
Member
![]() Posts: 24
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
|
![]()
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... 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 |
![]() |
![]() |
![]() |
#253 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,413
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 |
![]() |
![]() |
![]() |
#254 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
|
Quote:
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) |
|
![]() |
![]() |
![]() |
#255 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,413
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?
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |