Quote:
Originally Posted by WayneD
I'll do some more research.
|
I forgot to follow up on what I figured out. Here's the deal:
1. I managed to fix the crashing by enabling the backports repository in my Ubunutu 8.10 install and installing the latest versions of the Qt/PyQt/sip programs. It would appear that a security update that Ubuntu did in the regular repository was the cause of the calibre UI crashing when it tried to display my bookshelf. (That's a guess -- I do know from the core backtrace that it was crashing in Qt code, but whether it was memory corruption or a code issue that caused the null-pointer dereference that crashed calibre, I don't know -- I'm just glad it's not doing that anymore.)
2. The ascii warnings were due to some books having a unicode right-single-quote in their titles, and thus also in each book's pathname. In my gentoo install the default locale was ascii, but the calibre library was created on an Ubuntu system that used a UTF-8, and the python code complains when trying to create a pathname out of the UTF-8 DB data. I had to setup a UTF-8 locale on gentoo to avoid the errors (and be able to access the books).