Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-17-2022, 03:25 PM   #1
XaX
Junior Member
XaX began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2022
Device: kobo libra H2O
Can't start calibre

I'm unable to start calibre. Dont know why, it used to work in the past. Here's the error dump:

Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = 'C:\Program Files\Calibre2\calibre-debug.exe'
isolated = 1
environment = 0
user site = 0
import site = 1
sys._base_executable = 'C:\\Program Files\\Calibre2\\calibre-debug.exe'
sys.base_prefix = ''
sys.base_exec_prefix = ''
sys.executable = 'C:\\Program Files\\Calibre2\\calibre-debug.exe'
sys.prefix = ''
sys.exec_prefix = ''
sys.path = [
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "bypy-importer.py", line 275, in exec_module
File "bypy-importer.py", line 63, in get_module_code
ValueError: bad marshal data (unknown type code)

Any ideas how to fix this?
XaX is offline   Reply With Quote
Old 02-17-2022, 04:10 PM   #2
XaX
Junior Member
XaX began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2022
Device: kobo libra H2O
Never mind, fixed it.
XaX is offline   Reply With Quote
Old 05-21-2022, 12:39 PM   #3
chezjim
Junior Member
chezjim began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2011
Device: ematic eglide
I'm having a similar problem, but in converting from DOCX to Epub (I JUST updated to 5.32; usually this type of conversion works fine)

Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = 'C:\Program Files (x86)\Calibre2\calibre-parallel.exe'
isolated = 1
environment = 0
user site = 0
import site = 1
sys._base_executable = 'C:\\Program Files (x86)\\Calibre2\\calibre-parallel.exe'
sys.base_prefix = ''
sys.base_exec_prefix = ''
sys.executable = 'C:\\Program Files (x86)\\Calibre2\\calibre-parallel.exe'
sys.prefix = ''
sys.exec_prefix = ''
sys.path = [
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "bypy-importer.py", line 275, in exec_module
File "bypy-importer.py", line 63, in get_module_code
ValueError: bad marshal data (unknown type code)
chezjim is offline   Reply With Quote
Old 05-21-2022, 08:09 PM   #4
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That looks like a corrupted install. Uninstall, delete c:\program files (x86)\calibre2 and re-install
kovidgoyal is offline   Reply With Quote
Old 05-22-2022, 05:02 AM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
It's just annoying when someone comes in with a problem then posts that it's fixed without saying how it was fixed.
JSWolf is offline   Reply With Quote
Old 05-23-2022, 05:38 PM   #6
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JSWolf View Post
It's just annoying when someone comes in with a problem then posts that it's fixed without saying how it was fixed.


(source)
ownedbycats is offline   Reply With Quote
Old 05-27-2022, 12:43 AM   #7
chezjim
Junior Member
chezjim began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2011
Device: ematic eglide
Poor procedure on my part. I didn't reboot after my install, so no doubt the path wasn't set properly. (Sorry - I've become lazy about reboots, since most installs work without them.) Works now.

Great tool, Calibre. Grateful to have it.
chezjim is offline   Reply With Quote
Old 06-02-2022, 02:52 PM   #8
Joliet Jake
Zealot
Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.
 
Posts: 111
Karma: 3098438
Join Date: Feb 2021
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by JSWolf View Post
It's just annoying when someone comes in with a problem then posts that it's fixed without saying how it was fixed.
I had a similar problem. Normally I don't have to reboot after updating Calibre, but that time it told me to do so.

I rebooted and still had a problem. I did a "repair installation" and Calibre is working right now.
Joliet Jake is offline   Reply With Quote
Old 06-02-2022, 02:53 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Joliet Jake View Post
I had a similar problem. Normally I don't have to reboot after updating Calibre, but that time it told me to do so.

I rebooted and still had a problem. I did a "repair installation" and Calibre is working right now.
It sounds like you had Calibre running when you did the install.
JSWolf is offline   Reply With Quote
Old 06-02-2022, 03:46 PM   #10
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,525
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
What I've observed at times is that even if I do shut calibre down, and both the GUI and system tray icon have disappeared, using the sysinternal's pslist tool still shows both a calibre and calibe_parallel process still running. A pskill calibre then suffices to kill them.

I wonder if this is what's led me to occasionally have the same issue; calibre not restarting after an upgrade and requiring a repair installation.

Sent from my Pixel 4a using Tapatalk
PeterT is offline   Reply With Quote
Old 06-02-2022, 04:00 PM   #11
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I've had Calibre worker processes get stuck running in the background, though it's an odd enough issue that I just chalk it up to gremlins.
ownedbycats is offline   Reply With Quote
Old 06-02-2022, 04:47 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
In my case with a slower computer, it's not that some Calibre process gets stuck, it's that it's still shutting down. Now my main computer is pretty fast with an 11th gen i7 and 16GB ram with 1TB SSD.
JSWolf is offline   Reply With Quote
Old 06-02-2022, 06:52 PM   #13
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
On Windows 7 and 10 I occasionally I have an install (calibre and others) pop a message telling me to do a restart. I ignore them and do what I normally do: Move the install from my Downloads directory to my Software directory, and start the app at my leisure.

FTR : I don't use desktop shortcuts to start programs, I use the task bar or start menu -- although I don't pretend that would make a difference, they're all shortcuts. And I never use the 'start the app now' option from an install, which means for calibre I always have to uncheck that option Ψ³ And I always install software immediately after a reboot, so for something like calibre, remnants can't have been running.

BR
BetterRed is offline   Reply With Quote
Old 06-02-2022, 06:57 PM   #14
Joliet Jake
Zealot
Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.
 
Posts: 111
Karma: 3098438
Join Date: Feb 2021
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by JSWolf View Post
It sounds like you had Calibre running when you did the install.
Next time I will check the task manager.
Joliet Jake is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre can't start JollyRoger Calibre 10 11-26-2021 03:24 AM
Long time Calibre user/ now Calibre will NOT start Nobull56 Calibre 3 08-07-2017 08:13 PM
Can not start recoll from calibre /opt/calibre/lib/libz.so.1: no version information Satas Development 5 04-19-2013 11:22 PM
Calibre wont start (first time start up) Mike Railton Devices 15 05-25-2012 02:14 AM
Can't start Calibre Cor Wessels Calibre 1 04-05-2010 07:48 AM


All times are GMT -4. The time now is 05:10 PM.


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