Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-18-2017, 11:14 AM   #1
KonradK
Member
KonradK began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Dec 2011
Device: Kindle DX, Kindle PW3
Problem with Pale Moon and Calibre content server

Since Calibre 3.0 its content server has been rebuilt.
Now it is possible to read ebook on server inside browser. However not in Pale Moon; I had success with Chrome x64 (in non-incognito mode).
However when trying to read any ebook in Pale Moon x64 I get an error message, like this:

Code:
Error: Unhandled error
DataCloneError: The object could not be cloned.
Error at http://mysite.net:8081/:16113:
Traceback (most recent call last):

handle_message@http://mysite.net:8081/:16143:16
on_iframe_ready@http://mysite.net:8081/:16162:12
do_pending_load@http://mysite.net:8081/:16173:16
show_spine_item_stage2@http://mysite.net:8081/:16578:0
ρσ_interpolate_kwargs@http://mysite.net:8081/:2410:0
send_message@http://mysite.net:8081/:16113:12
("mysite.net" is not real name)

I have reported the problem on Pale Moon forum. Moonchild - the main developer - said me that the message is thrown by server and only developer of the server may know its meaning.

Any ideas. Had somebody a success reading ebooks from content-server using Pale Moon?
KonradK is offline   Reply With Quote
Old 08-18-2017, 12:12 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: 44,421
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No that's not thrown by the server. It's thrown by the browser and indicates that the browser failed to clone some object, most likely a Blob object. Presumably pale moon doesn't support that. Point the pale moon developer to this: https://developer.mozilla.org/en-US/...lone_algorithm
kovidgoyal is online now   Reply With Quote
Advert
Old 08-18-2017, 12:23 PM   #3
KonradK
Member
KonradK began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Dec 2011
Device: Kindle DX, Kindle PW3
Thanks for quick answer!
KonradK is offline   Reply With Quote
Old 08-18-2017, 01:00 PM   #4
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,119
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by KonradK View Post
Thanks for quick answer!
One of you add-on or extensions could not be compatible.



bernie
gbm is offline   Reply With Quote
Old 08-18-2017, 02:56 PM   #5
KonradK
Member
KonradK began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Dec 2011
Device: Kindle DX, Kindle PW3
@gbm

Wrong trace.
After restarting with all plugins and extensions disabled the problem persists.
KonradK is offline   Reply With Quote
Advert
Old 08-19-2017, 02:43 PM   #6
KonradK
Member
KonradK began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Dec 2011
Device: Kindle DX, Kindle PW3
Quote:
Originally Posted by kovidgoyal View Post
No that's not thrown by the server. It's thrown by the browser and indicates that the browser failed to clone some object, most likely a Blob object. Presumably pale moon doesn't support that. Point the pale moon developer to this: https://developer.mozilla.org/en-US/...lone_algorithm
Here is answer of Pale Moon developer:
https://forum.palemoon.org/viewtopic...119804#p119804

Quote:
It's not an error thrown by the browser. At the very least it would be a custom error thrown by their script -- which doesn't provide any usable context for us -- if the authors would be so kind as to quote which code throws, we have something to go on.

Also, your quoted link is mangled. No idea what I'm supposed to be looking at.
Never mind, I figured it out. Not that that helps because we support workers/shared workers and their data transfer methods like postMessage() and the likes. So we will have to know exactly which code throws if we want to investigate what's happening.
KonradK is offline   Reply With Quote
Old 08-19-2017, 11:49 PM   #7
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: 44,421
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sigh. Once again, the browser is failing to clone some object, most likely a blob object, because it does not support the structured clone algorithm correctly. The link I posted to the structured clone algorithm on MDN is not "mangled" whatever that means.

As for where in the script the error is thrown, there is a detailed traceback in the error message. All they need to do is either

1) Reproduce the error themselves and click the error link in the JS console which will take them to the exact line the error is raised, but perhaps they also dont have a working JS console in Pale moon.

2) Lookup the line numbers in the traceback manually in the file resources/content-server/index-generated.html in the calibre installation directory.
kovidgoyal is online now   Reply With Quote
Old 08-20-2017, 05:11 AM   #8
KonradK
Member
KonradK began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Dec 2011
Device: Kindle DX, Kindle PW3
Quote:
The link I posted to the structured clone algorithm on MDN is not "mangled" whatever that means.
This is my fault. Because I made simple copy/paste, the link could look mangled. Similarly phrase "Never mind, I figured it out" was originally struck through, but not in my quote.

Anyway I have provided links to quoted posts.

Because now both kovidgoyal and Moonchild know that the problem exists and both have links to respective threads I do not see a sense of quoting their answers anymore.
KonradK is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moon+Reader won't download books from Calibre Content Server DaySleeper Library Management 6 07-15-2017 04:39 AM
Calibre Content Server & Moon Reader diremommy Devices 8 08-26-2016 12:58 AM
Calibre & Moon Reader Content Server Issue diremommy Android Devices 4 08-04-2016 01:12 AM
[Solved] Calibre Content Server Problem Jacdeb6009 Devices 2 11-01-2013 11:03 AM
calibre content server problem sovre Calibre 31 05-30-2013 04:25 AM


All times are GMT -4. The time now is 04:22 AM.


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