Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2019, 01:45 AM   #1
Oddball
Member
Oddball began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2016
Device: Kindle Desktop
Error in Calibre Version 3.45 64bit

when I open any epub in EDIT METADATA, once i scroll down then click the X to close i get the following error:

calibre, version 3.45.0
ERROR: Unhandled exception: <b>SystemError</b>:error return without exception set

calibre 3.45 [64bit] embedded-python: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.15+
Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 5, 3) && Inept Epub DeDRM (0, 1, 7) && KePub Metadata Reader (3, 0, 2) && djvumaker (1, 0, 2) && Goodreads (1, 4, 0) && Amazon.com Multiple Countries (1, 0, 0) && Obok DeDRM (6, 5, 3) && Extract ISBN (1, 4, 4) && all recipes Recipe Reader (1, 0, 1) && Modify ePub (1, 3, 13) && View Manager (1, 4, 3) && Find Duplicates (1, 6, 3) && Set KFX metadata (from KFX Output) (1, 30, 0) && KFX Output (1, 30, 0) && Kindle Collections (1, 7, 24) && Barnes & Noble (1, 2, 15) && Library Codes (1, 0, 41)
Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 379, in closeEvent
File "site-packages\calibre\gui2\viewer\main.py", line 366, in shutdown
File "site-packages\calibre\gui2\viewer\main.py", line 392, in save_state
File "site-packages\calibre\utils\config.py", line 448, in __setitem__
File "site-packages\calibre\utils\config.py", line 411, in commit
File "site-packages\calibre\utils\config.py", line 432, in to_raw
File "site-packages\calibre\utils\config_base.py", line 86, in json_dumps
File "json\__init__.py", line 251, in dumps
File "json\encoder.py", line 209, in encode
File "json\encoder.py", line 434, in _iterencode
File "json\encoder.py", line 408, in _iterencode_dict
File "json\encoder.py", line 313, in _iterencode_list
File "json\encoder.py", line 39, in encode_basestring
SystemError: error return without exception set

Is it possible that one or more of the plugins are malfunctioning with this version of calibre?
This error only occurs since update from 3.44 to 3.45
Oddball is offline   Reply With Quote
Old 07-12-2019, 02:14 AM   #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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, this is a windows specific issue with this release. I am tracking down the cause, will make an update when I have figured it out. In the meantime I suggest downgrading to 3.44 if you are on windows. Old releases of calibre are available from: https://download.calibre-ebook.com/3.44.0/
kovidgoyal is offline   Reply With Quote
Advert
Old 07-12-2019, 04:37 AM   #3
timewarps
Junior Member
timewarps began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2015
Device: Kindle Voyage
Error in Calibre 3.45 64bit

when I close the book reader in Calibre.It appear the erro message:

calibre, version 3.45.0
错误: 未处理的异常: <b>SystemError</b>:error return without exception set

calibre 3.45 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.15+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: zh_CN
Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 379, in closeEvent
File "site-packages\calibre\gui2\viewer\main.py", line 366, in shutdown
File "site-packages\calibre\gui2\viewer\main.py", line 392, in save_state
File "site-packages\calibre\utils\config.py", line 448, in __setitem__
File "site-packages\calibre\utils\config.py", line 411, in commit
File "site-packages\calibre\utils\config.py", line 432, in to_raw
File "site-packages\calibre\utils\config_base.py", line 86, in json_dumps
File "json\__init__.py", line 251, in dumps
File "json\encoder.py", line 209, in encode
File "json\encoder.py", line 434, in _iterencode
File "json\encoder.py", line 408, in _iterencode_dict
File "json\encoder.py", line 313, in _iterencode_list
File "json\encoder.py", line 39, in encode_basestring
SystemError: error return without exception set
timewarps is offline   Reply With Quote
Old 07-12-2019, 04:39 AM   #4
timewarps
Junior Member
timewarps began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2015
Device: Kindle Voyage
same erro,too
timewarps is offline   Reply With Quote
Old 07-12-2019, 05:18 AM   #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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I have released version 3.45.1 with the fix.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-12-2019, 06:25 AM   #6
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
I was just logging in to report this, and it’s fixed already!! Thanks
PS and I can confirm the fix works so far
Stevex is offline   Reply With Quote
Old 07-12-2019, 09:00 AM   #7
Frizzell
Enthusiast
Frizzell began at the beginning.
 
Frizzell's Avatar
 
Posts: 33
Karma: 10
Join Date: Sep 2017
Location: Royston, Georgia
Device: Moon Reader & Prestigio on Android
SystemError:error return without exception set

Same root problem here. This error pops up twice when closing the reader, and once when closing the editor. Screen shot attached.
Attached Thumbnails
Click image for larger version

Name:	Untitled 1.jpg
Views:	197
Size:	198.5 KB
ID:	172362  
Frizzell is offline   Reply With Quote
Old 07-12-2019, 09:03 AM   #8
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
I installed version 3.45.1 today on Windows 10, 32 bit, but got an error message (see attachment). Has this to do with the previous errors?

edit: The attqachment has not been uploaded. New trial.
Attached Thumbnails
Click image for larger version

Name:	Calibre12.07.19.jpg
Views:	196
Size:	43.1 KB
ID:	172363  
Leonatus is offline   Reply With Quote
Old 07-12-2019, 09:04 AM   #9
Oddball
Member
Oddball began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2016
Device: Kindle Desktop
Thank you for fixing it. I too confirm the fix works.
Oddball is offline   Reply With Quote
Old 07-12-2019, 09:11 AM   #10
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@Leonatuss, no that's different, post the output of running

calibre-debug -g

in a command prompt
kovidgoyal is offline   Reply With Quote
Old 07-12-2019, 09:21 AM   #11
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Here it is:
Code:
Microsoft Windows [Version 10.0.17763.557]
(c) 2018 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Jürgen>calibre-debug -g
Python function terminated unexpectedly
  'utf8' codec can't decode byte 0xfc in position 10: invalid start byte (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 101, in main
  File "site.py", line 77, in run_entry_point
  File "site-packages\calibre\__init__.py", line 23, in <module>
  File "site-packages\calibre\startup.py", line 125, in <module>
  File "site-packages\calibre\utils\localization.py", line 215, in set_translators
  File "site-packages\calibre\utils\localization.py", line 88, in get_lang
  File "site-packages\calibre\utils\config_base.py", line 549, in <module>
  File "site-packages\calibre\utils\config_base.py", line 480, in create_global_prefs
  File "ntpath.py", line 311, in expanduser
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 10: invalid start byte

C:\Users\Jürgen>
Leonatus is offline   Reply With Quote
Old 07-12-2019, 11:06 AM   #12
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
@Kovid: That looks like an occasional problem seen with the KoboTouchExtended driver. It occasionally has issues working out the path for Windows users that have accented or similar characters in their usernames. Such as "Jürgen". And searching through the KoboTouchExtended driver, @Leonatus has actually hit the problem with the driver a couple of years ago.
davidfor is offline   Reply With Quote
Old 07-12-2019, 11:13 AM   #13
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Yes, I remember that there has been something similar, but, somehow, the problem had been solved.
Leonatus is offline   Reply With Quote
Old 07-12-2019, 11:23 AM   #14
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
I found the thread. Kovid had asked me for the global.py, then, and released a new version.
Maybe this could help this time again, so I add the global.py once more:
Attached Files
File Type: zip global.zip (2.4 KB, 114 views)
Leonatus is offline   Reply With Quote
Old 07-12-2019, 11:59 AM   #15
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This was caused by the interaction of some python 3 porting work with a bug in python 2 on windows, version 3.45.2 with the fix will be released in a few minutes.

Here is the fix for the curious: https://github.com/kovidgoyal/calibr...257a64d63e3d39
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Hudl 2: calibre, version 3.2.1 ERROR: Error: Error communicating with device elfed Devices 4 07-21-2017 05:33 AM
Calibre latest Update - calibre 3.2.1 64bit version Al Adams Library Management 9 07-07-2017 07:47 PM
Can't install Version: 2.35.0 on Windows 10 64bit nqk Calibre 4 08-21-2015 03:12 AM
Does 64bit version of Calibre work on XP Pro 64? Logos Calibre 1 01-17-2013 12:32 AM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM


All times are GMT -4. The time now is 06:41 AM.


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