Calibre do not run, but send an errorrmessage

Bug #1825494 reported by László Őri on 2019-04-19
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

When I try to start Calibre 3.41.1 in my computer (Win10) the program sends an error message, but does'nt run.
The message:
Python function terminated unexpectedly 'utf8' codec can't decode byte 0xd5 in position 12: invalid continuation byte (Error Code: 1)

If I downgrade to 3.39.1 than Calibre works good.

Can you run

calibre-debug -g

ina command prompt and post the output.

 status incomplete

Changed in calibre:
status: New → Incomplete
Kovid Goyal (kovid) wrote :

You can search your computer for the filename global.py to locate it.

Kovid Goyal (kovid) wrote :

I will release version 3.41.2 with the fix in an hour or so.

 status fixreleased

Changed in calibre:
status: Incomplete → Fix Released
  • global.py Edit (4.0 KiB, text/plain; charset="UTF-8"; name="global.py")

Hello Kovid,

I did run calibre-debug -g in a command prompt.
I send the result and the output of the calibre-debug -g:

Python function terminated unexpectedly
  'utf8' codec can't decode byte 0xd5 in position 12: invalid continuation
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 30, in <module>
  File "site-packages\calibre\startup.py", line 121, in <module>
  File "site-packages\calibre\utils\localization.py", line 203, in
set_translators
  File "site-packages\calibre\utils\localization.py", line 88, in get_lang
  File "site-packages\calibre\utils\config_base.py", line 525, in <module>
  File "site-packages\calibre\utils\config_base.py", line 429, in
__getitem__
  File "site-packages\calibre\utils\config_base.py", line 439, in get
  File "site-packages\calibre\utils\config_base.py", line 423, in refresh
  File "site-packages\calibre\utils\config_base.py", line 361, in parse
  File "site-packages\calibre\utils\config_base.py", line 300, in serialize
  File "site-packages\calibre\utils\config_base.py", line 64, in json_dumps
  File "json\__init__.py", line 251, in dumps
  File "json\encoder.py", line 210, in encode
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd5 in position 12:
invalid continuation byte

Kovid Goyal <email address hidden> ezt írta (időpont: 2019. ápr. 19.,
P, 14:20):

> You can search your computer for the filename global.py to locate it.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1825494
>
> Title:
> Calibre do not run, but send an errorrmessage
>
> Status in calibre:
> Incomplete
>
> Bug description:
> When I try to start Calibre 3.41.1 in my computer (Win10) the program
> sends an error message, but does'nt run.
> The message:
> Python function terminated unexpectedly 'utf8' codec can't decode byte
> 0xd5 in position 12: invalid continuation byte (Error Code: 1)
>
> If I downgrade to 3.39.1 than Calibre works good.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/calibre/+bug/1825494/+subscriptions
>

László Őri (orilaci) wrote :

Thank you.

Kovid Goyal <email address hidden> ezt írta (időpont: 2019. ápr. 19.,
P, 14:45):

> I will release version 3.41.2 with the fix in an hour or so.
>
> status fixreleased
>
> ** Changed in: calibre
> Status: Incomplete => Fix Released
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1825494
>
> Title:
> Calibre do not run, but send an errorrmessage
>
> Status in calibre:
> Fix Released
>
> Bug description:
> When I try to start Calibre 3.41.1 in my computer (Win10) the program
> sends an error message, but does'nt run.
> The message:
> Python function terminated unexpectedly 'utf8' codec can't decode byte
> 0xd5 in position 12: invalid continuation byte (Error Code: 1)
>
> If I downgrade to 3.39.1 than Calibre works good.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/calibre/+bug/1825494/+subscriptions
>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments