FS#64325 - [calibre] E-book Viewer broken with version 4.2.0-1

Attached to Project: Community Packages
Opened by Florian Léger (fleger) - Wednesday, 30 October 2019, 10:28 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 30 October 2019, 16:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Eli Schwartz (eschwartz)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
After updating calibre to version 4.2.0-1, I've got the following error message when I try to open an epub file with the E-book Viewer:
calibre, version 4.2.0
ERREUR : Error in message handler: TypeError: Cannot read property '__argnames__' of undefined

Traceback (most recent call last):
at IframeClient.handle_message (userscript:viewer.js:11411:21)
at IframeBoss.display (userscript:viewer.js:17441:13)
at unserialize_html (userscript:viewer.js:12147:69)
at Function.ρσ_interpolate_kwargs (userscript:viewer.js:2182:12)
TypeError: Cannot read property '__argnames__' of undefined

After investigating a bit I was able to fix the issue by rebuilding the calibre package using the development version of rapydscript-ng.

Additional info:
* package version(s): calibre 4.2.0-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
* Open the E-book Viewer
* Open an epub file
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Wednesday, 30 October 2019, 16:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  calibre 4.2.0-2
Comment by Mehmet (mmt84) - Wednesday, 30 October 2019, 14:13 GMT
I'm having the same issue with epub files.
Comment by Eli Schwartz (eschwartz) - Wednesday, 30 October 2019, 15:05 GMT
Yes, the problem is https://github.com/kovidgoyal/rapydscript-ng/issues/147

It worked for me using my local development setup because I had the git version of rapydscript installed. :p

Loading...