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 01-17-2025, 07:47 AM   #16
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
Quote:
Originally Posted by chaley View Post
As long as you still have your library on your Mac, trying things on your Pi can't mess things up beyond repair. If something you try doesn't work to your satisfaction then try something else. You can always get a clean copy of the library and start over.

Things become iffy only once you start actually using the Pi to change things, in which case the Mac and the Pi are no longer in sync.
Thanks for the reassurance. I'm going to set up the Pi Calibre library from scratch and see how I get on. Thank you.
Runnerbeen is offline   Reply With Quote
Old 01-17-2025, 09:00 AM   #17
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 2,069
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
Quote:
Originally Posted by Runnerbeen View Post
Thanks for the reassurance. I'm going to set up the Pi Calibre library from scratch and see how I get on. Thank you.
You can import from a Calibre library by using 'Add books -> Add books from folders and sub-folders -> All files in directory are different versions of the same book' (I'm not 100% sure of the wording of the last bit). That will also read the metadata from the existing OPF files.
mbovenka is offline   Reply With Quote
Old 01-17-2025, 10:38 AM   #18
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 547
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by Runnerbeen View Post
Will let you know. I’m a bit nervous about it as I don’t want to mess it up! My ultimate aim is to get Calibre web on there. I’ll keep you posted.
I once had Calibre-Web in Docker on my NAS. The Calibre library for this was a copy that was always kept in sync from PC to NAS (one way) - no problems at all.
Wiggo is offline   Reply With Quote
Old 01-17-2025, 01:52 PM   #19
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
Quote:
Originally Posted by mbovenka View Post
You can import from a Calibre library by using 'Add books -> Add books from folders and sub-folders -> All files in directory are different versions of the same book' (I'm not 100% sure of the wording of the last bit). That will also read the metadata from the existing OPF files.
Thanks I've tried this but a lot of the books are failing to convert and I'm receiving messages like the below:
File "calibre/ebooks/metadata/epub.py", line 181, in get_zip_reader
File "calibre/utils/zipfile.py", line 774, in __init__
File "calibre/utils/zipfile.py", line 809, in _GetContents
File "calibre/utils/zipfile.py", line 824, in _RealGetContents
calibre.utils.zipfile.BadZipfile: File is not a zip file

I'm not trying to add a zip file so I'm not sure what it means. Any halp gratefully received. Thank you.
Runnerbeen is offline   Reply With Quote
Old 01-17-2025, 01:56 PM   #20
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,422
Karma: 102739835
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
I have Calibre on a Linux (not the Rasparian) on a 2G RAM Pi4. I have copied the library from my x86-64 Linux Mint. But I forget if I used Export & Import (reliable) or simply copied, or Add books. Single 512 G byte micro SD card. A 2.5K / QHD USB-C powered display that looks like a tablet. It does work with video and power from laptop, but on Pi I use the HDMI ports. I have 2 x 3A USB-C adaptors that run off 12V (nominal) or 2x mains PSUs or 2x power banks. The USB power adaptors are on a portable 14V 24 Ah LiFePO4 solar charged power pack. The solar panels fit in car boot.

About 8500 ebooks, most PD. There should be NO CONVERSION, if you are added ebooks from an existing Calibre Library, no matter which method is used.


I installed Calibre from the official Web site and made sure the same version as I'm running on the source library.

I don't actually use it for Calibre, it was just to make sure it worked.

Last edited by Quoth; 01-17-2025 at 02:00 PM.
Quoth is offline   Reply With Quote
Old 01-17-2025, 02:26 PM   #21
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,268
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Runnerbeen View Post
Thanks I've tried this but a lot of the books are failing to convert and I'm receiving messages like the below:
File "calibre/ebooks/metadata/epub.py", line 181, in get_zip_reader
File "calibre/utils/zipfile.py", line 774, in __init__
File "calibre/utils/zipfile.py", line 809, in _GetContents
File "calibre/utils/zipfile.py", line 824, in _RealGetContents
calibre.utils.zipfile.BadZipfile: File is not a zip file

I'm not trying to add a zip file so I'm not sure what it means. Any halp gratefully received. Thank you.
I'm starting to think that the memory in your Pi is broken. You got corrupted export files and now you are getting corrupted epub files (which are really zip files). Are you using a high-quality memory card in the Pi?
chaley is offline   Reply With Quote
Old 01-17-2025, 02:57 PM   #22
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
Quote:
Originally Posted by chaley View Post
I'm starting to think that the memory in your Pi is broken. You got corrupted export files and now you are getting corrupted epub files (which are really zip files). Are you using a high-quality memory card in the Pi?
I think so - it's a Sandisk Ultra 256GB. Do you know how I could check if this is the case please? Thank you.
Runnerbeen is offline   Reply With Quote
Old 01-17-2025, 03:20 PM   #23
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,268
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Runnerbeen View Post
I think so - it's a Sandisk Ultra 256GB. Do you know how I could check if this is the case please? Thank you.
The only thing I can suggest is to look for memory test software that can run on a Pi.
chaley is offline   Reply With Quote
Old 01-17-2025, 03:31 PM   #24
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,130
Karma: 78857258
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by chaley View Post
The only thing I can suggest is to look for memory test software that can run on a Pi.
Any possibility that a full file system could cause these issues?
PeterT is offline   Reply With Quote
Old 01-17-2025, 03:58 PM   #25
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: 43,398
Karma: 165170834
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Runnerbeen View Post
Thanks I've tried this but a lot of the books are failing to convert and I'm receiving messages like the below:
File "calibre/ebooks/metadata/epub.py", line 181, in get_zip_reader
File "calibre/utils/zipfile.py", line 774, in __init__
File "calibre/utils/zipfile.py", line 809, in _GetContents
File "calibre/utils/zipfile.py", line 824, in _RealGetContents
calibre.utils.zipfile.BadZipfile: File is not a zip file

I'm not trying to add a zip file so I'm not sure what it means. Any halp gratefully received. Thank you.
An ePub file is a .zip file. This seems to indicate that you have corrupted files.
DNSB is online now   Reply With Quote
Old 01-17-2025, 04:07 PM   #26
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: 43,398
Karma: 165170834
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Runnerbeen View Post
I think so - it's a Sandisk Ultra 256GB. Do you know how I could check if this is the case please? Thank you.
It's quite possible that what you have is not a SanDisk Ultra 256GB. Even reputable sources have been burned by counterfeiters. At one time, I had an issues with a µSD card purchased from Best Buy. After using it for a while, I started getting masses of errors. When I ran H2TestW (for a Mac, you could use F3 instead) on it, the result showed multiple errors. Basically, I had a slower 64GB µSD card instead of the 256GB card I had purchased and as soon as I used the 64GB, my data started to get overwritten.
DNSB is online now   Reply With Quote
Old 01-18-2025, 11:36 AM   #27
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
Thanks to everyone for their suggestions. I've ended up recreating the library from scratch. The memory card seems ok so I'm not sure what the issue was. Some awz files were showing as 0mb as were some epubs and cbzs. There didn't seem to be any rhyme or reason to which books were transferring ok and which weren't. Thanks all.
Runnerbeen is offline   Reply With Quote
Old 01-21-2025, 01:11 PM   #28
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
Quote:
Originally Posted by Wiggo View Post
I once had Calibre-Web in Docker on my NAS. The Calibre library for this was a copy that was always kept in sync from PC to NAS (one way) - no problems at all.
Well it seems to be running pretty well so far, fingers crossed. In the end I decided to keep my main library on my Mac and am mirroring it to my Pi on which I’m running Calibre Web Automated.

I did have a play at using the Pi for the main Calibre library and it was pretty smooth. It did freeze a couple of times but otherwise I’d be happy to use it as my main repository.
Runnerbeen 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
Docker calibre cant import library gett Library Management 0 05-26-2024 05:49 AM
Is there a way to Import Google Play Books Library into Calibre Library? peterpandam Calibre 4 05-22-2018 01:15 AM
How can I import my calibre library? mariaclaudia Calibre 2 11-21-2015 09:27 PM
Calibre library on own webserver (Raspberry Pi) garyhall Related Tools 2 03-13-2014 12:08 PM
How do I import an old Calibre Library? louwin Calibre 5 03-23-2012 09:25 AM


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


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