Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-31-2022, 11:37 AM   #1
mister.mba
Junior Member
mister.mba began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2022
Device: Kindle Fire 8
Started receiving an Import Error after upgrading to v5.35.0

Hello ~ I've been using Calibre for almost 10 years now. It's worked great for converting E-books for my iPad Mini and my wife's Kindles. Last week when we upgraded to v. 5.35.0 we both started receiving the error message below when trying to use the Connect/Share menu option to Send E-Books to Selected Recipients. FYI: we're using new LG Gram laptops running the latest version of Windows 11 (21H2). Any advice or workaround would be greatly appreciated! Thanks in advance...

Calibre Import Error after version 5.35.0 install

calibre, version 5.35.0
ERROR: Unhandled exception: <b>ImportError</b>:cannot import name 'select_recipients' from 'calibre.gui2.email' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\calibre\gui2\email.pyc)

calibre 5.35 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.22000 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22000')
Python 3.8.5
Windows: ('10', '10.0.22000', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 1, 0) && Obok DeDRM (7, 1, 0)
Traceback (most recent call last):
File "calibre\gui2\device.py", line 1299, in dispatch_sync_event
ImportError: cannot import name 'select_recipients' from 'calibre.gui2.email' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\calibre\gui2\email.pyc)
mister.mba is offline   Reply With Quote
Old 01-31-2022, 12:13 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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://bugs.launchpad.net/bugs/1958776
kovidgoyal is online now   Reply With Quote
Advert
Old 01-31-2022, 12:31 PM   #3
mister.mba
Junior Member
mister.mba began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2022
Device: Kindle Fire 8
Thumbs up Thanks for the link to the bugs forum page

Thanks for checking into this minor issue. I had a feeling I was not the only one who was affected by it. I just upgraded my Windows 10 PC to v5.35.0 and am getting the same error. I will back out the upgrade while a workaround or update is developed. When I look in Windows Explorer for the path listed in the details, I noticed it appeared there was no "python-lib.bypy.frozen" folder; but when I try to create one, it tells me that it already exists (I am seeing the hidden files). Thanks again!
mister.mba is offline   Reply With Quote
Old 01-31-2022, 02:56 PM   #4
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: 46,168
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by mister.mba View Post
I noticed it appeared there was no "python-lib.bypy.frozen" folder; but when I try to create one, it tells me that it already exists (I am seeing the hidden files). Thanks again!

You will notice that a file called python-lib.bypy.frozen exists in the .bin directory. That file is a bundle of the python interpreter, code and dependencies in a single file.
DNSB is offline   Reply With Quote
Reply

Tags
import error


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
Help! error (code1) of receiving news takashi terao Recipes 1 09-21-2016 10:53 AM
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
Receiving This error when trying to convert dutchgin Calibre 2 07-31-2009 05:42 PM


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


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