Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 10-08-2020, 09:56 PM   #1
kcarscadden
Zealot
kcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavens
 
kcarscadden's Avatar
 
Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
import error

I'm attempting to import a library exported from a Windows 10 Calibre V4.20 to a Raspberry Pi Calibre v3.39.1. The import finished with the following error:

calibre, version 3.39.1
ERROR: Failed: Failed to import data. Click "Show Details" for more information.

Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/dialogs/exim.py", line 140, in run_action
self.action(abort=self.abort, progress1=self.update_overall_signal.emit, progress2=self.update_current_signal.emit)
File "/usr/lib/calibre/calibre/utils/exim.py", line 338, in import_data
import_library(library_key, importer, dest, progress=progress2, abort=abort).close()
File "/usr/lib/calibre/calibre/db/cache.py", line 2250, in import_library
cache._update_path((book_id,), mark_as_dirtied=False)
File "/usr/lib/calibre/calibre/db/cache.py", line 1113, in update_path
self.backend.update_path(book_id, title, author, self.fields['path'], self.fields['formats'])
File "/usr/lib/calibre/calibre/db/backend.py", line 1552, in update_path
source_ok = current_path and os.path.exists(spath)
File "/usr/lib/python2.7/genericpath.py", line 26, in exists
os.stat(path)
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2019' in position 55: ordinal not in range(256)

The database was imported along with about 300 of 5500 books. Is there any way to get passed this error?

Keith
kcarscadden is offline   Reply With Quote
Old 10-08-2020, 10:07 PM   #2
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,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Run archlinuxarm on your pi then you will have an up-to-date version of calibre and should be able to import fine.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-09-2020, 08:53 AM   #3
kcarscadden
Zealot
kcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavens
 
kcarscadden's Avatar
 
Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
Thanks. I will try to install archlinuxarm;


Keith
kcarscadden is offline   Reply With Quote
Old 10-09-2020, 08:56 PM   #4
kcarscadden
Zealot
kcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavens
 
kcarscadden's Avatar
 
Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
After looking at the install procedure for archlinuxarm on raspberry pi, I chickened out and tried Ubuntu Mate. While it is very pretty and easy to use, unfortunately, while Calibre installed, it crashed when opened.

So I tried archlinuxarm after all. While everything appeared to go smoothly on creating the sd card, it booted but then hung before getting very far.

Did you go with 32 bit or 64 bit? Any chance you could point to a good step by step to creating a bootable sd catd?
kcarscadden is offline   Reply With Quote
Old 10-09-2020, 10:13 PM   #5
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,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
SOrry, I've never actually used it, I just know it has up-to-date versions of calibre.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-09-2020, 11:41 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,367
Karma: 168808725
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by kcarscadden View Post
After looking at the install procedure for archlinuxarm on raspberry pi, I chickened out and tried Ubuntu Mate. While it is very pretty and easy to use, unfortunately, while Calibre installed, it crashed when opened.

So I tried archlinuxarm after all. While everything appeared to go smoothly on creating the sd card, it booted but then hung before getting very far.

Did you go with 32 bit or 64 bit? Any chance you could point to a good step by step to creating a bootable sd catd?
Have you looked at the Raspberry Pi installation guide on the Arch Linux ARM site? Head to Platform Comparison and browse down to the Raspberry Pi variant you have.

The link to the Pi 4 installation guide is: Raspberry Pi 4 for example.
DNSB is offline   Reply With Quote
Old 10-10-2020, 01:34 PM   #7
kcarscadden
Zealot
kcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavens
 
kcarscadden's Avatar
 
Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
Thanks David. I tried 64-bit before. I'll try 32-bit when I get a chance.
kcarscadden is offline   Reply With Quote
Old 10-22-2020, 04:55 PM   #8
kcarscadden
Zealot
kcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavens
 
kcarscadden's Avatar
 
Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
OoooK, it's been a trial, but I got ArchLinux installed on my RPi 4 and updated, LXDE installed, Calibre 5.3 installed and all books (5,540 of them) imported to a library on a USB stick.

Calibre main program works, server works, edit metadata works ...

However, viewer gets the following error:

calibre, version 5.3.0
ERROR: Render process crashed: The Qt WebEngine Render process has crashed. You should try restarting the viewer.

And editing works in so far as editing is concerned, but it also gets essentially the same error:

calibre, version 5.3.0
ERROR: Render process crashed: The Qt WebEngine Render process has crashed so Preview/Live CSS will not work. You should try restarting the editor.

Any suggestions on how to proceed?
kcarscadden is offline   Reply With Quote
Old 10-23-2020, 12:18 AM   #9
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,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That will be because the GPU driver on the Pi is incapable of running chromium (Qt Webengine) that both the viewer and editor use to display html.
kovidgoyal is offline   Reply With Quote
Old 10-23-2020, 08:57 AM   #10
kcarscadden
Zealot
kcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavens
 
kcarscadden's Avatar
 
Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
Chromium itself works fine, except for DRMed streams.

Any other suggestions? Is there an error/log file to see?
kcarscadden is offline   Reply With Quote
Old 10-23-2020, 09:44 AM   #11
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,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Disable hardware acceleration as described here https://doc.qt.io/qt-5/qtwebengine-debugging.html
kovidgoyal is offline   Reply With Quote
Old 10-23-2020, 09:48 PM   #12
kcarscadden
Zealot
kcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavens
 
kcarscadden's Avatar
 
Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
Just for giggles, I installed Manjaro Linux - 64-bit on my Raspberry Pi. It is based on Arch Linux, but supposedly more stable. Calibre installed OK (v5.2. while Arch Linux was v5.3) and viewer and editor both worked fine.

However, it was slow and jerky at times, so maybe they disable GPU by default.
kcarscadden is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export/Import all Calibre data - import error IanKBrown Calibre 5 02-15-2017 08:32 PM
Import on Filename changes mid import due to book error Vortex Calibre 3 12-05-2014 11:49 AM
Import failed Error:404 when attempting to import from Calibre to Stanza dvond Apple Devices 0 05-13-2011 03:00 PM
Error on import Amalthia Calibre 8 03-23-2010 03:04 PM
0.6.14 - error on import JohnDoe Calibre 7 10-01-2009 06:59 AM


All times are GMT -4. The time now is 02:51 AM.


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