Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-01-2020, 03:33 PM   #16
james_
Connoisseur
james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.
 
james_'s Avatar
 
Posts: 97
Karma: 2165552
Join Date: Dec 2012
Device: Kindle 3,Oasis, YotaPhone 2, Boox Note2, Mi Pad 4+, Kobo Mini & Forma
thanks... I guess with PDFs you add the metadata in a PDF specific way, as when I've added metadata in Calibre, it still didn't work. Probably because that metadata just sits in the Calibre library, rather than being embedded in the document.

Still, it is slightly irritating that you can't use the Kobo to stash these tickets if you happen to be travelling and reading at the same time...
james_ is offline   Reply With Quote
Old 11-02-2020, 01:26 AM   #17
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by james_ View Post
thanks... I guess with PDFs you add the metadata in a PDF specific way, as when I've added metadata in Calibre, it still didn't work. Probably because that metadata just sits in the Calibre library, rather than being embedded in the document.
I was expecting calibre to add the title and author when I sent the book to the device. I know it can't update all the metadata, but I thought it did the title and author at least. I don't have any tools for editing PDF, as I only use them for things like this. Or for manuals.
Quote:
Still, it is slightly irritating that you can't use the Kobo to stash these tickets if you happen to be travelling and reading at the same time...
To me, the error says that these files are malformed in some way. It is likely that the RMSDK is stricter in how it handles these files than a PC based PDF reader.

Sorry, I'm not sure where to go from here. Other than recommending that you report the error to Kobo. They should look at it and see if it can be fixed.
davidfor is offline   Reply With Quote
Advert
Old 11-02-2020, 03:19 AM   #18
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
It's pretty obvious what is wrong when it is pointed out.

The start of the file is:

Code:
HTTP/1.0 200 OK
Cache-Control: no-cache
Content-Type:  application/pdf
Date:          Thu, 24 Sep 2020 09:29:24 GMT

%PDF-1.4
There are some HTTP headers at the start of the file. How they got there, I don't know. It could be the ticketing system, or it could be your browser. It seems other systems are ignoring those extra characters, but, the RMSDK used by the Kobo devices does not. A quick read of the PDF page in Wikipedia has:

Quote:
A PDF file starts with a header containing the magic number and the version of the format such as %PDF-1.7.
That explains the error message. I don't think you should be expecting a fix for broken files.
davidfor is offline   Reply With Quote
Old 11-02-2020, 06:34 AM   #19
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,012
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by davidfor View Post
It's pretty obvious what is wrong when it is pointed out.

The start of the file is:
Interesting... the start of my file is a CR LF and then the %PDF, so same problem. Interesting that so many tools ignore this.
compurandom is online now   Reply With Quote
Old 11-03-2020, 01:26 PM   #20
james_
Connoisseur
james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.james_ ought to be getting tired of karma fortunes by now.
 
james_'s Avatar
 
Posts: 97
Karma: 2165552
Join Date: Dec 2012
Device: Kindle 3,Oasis, YotaPhone 2, Boox Note2, Mi Pad 4+, Kobo Mini & Forma
Thanks David for all your investigation. I'm going to ask the people producing the tickets to fix it, as clearly this isn't a "Kobo" problem.

However, clearly Kobo have a particularly inept programming team. If pretty much every other device out there can read this PDF then you have to ask why Kobo have such a badly written PDF parser that it drops dead at the slightest sign of trouble.
james_ is offline   Reply With Quote
Advert
Old 11-03-2020, 04:47 PM   #21
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,012
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
I wouldn't call the kobo programming team inept for a pdf reader that was probably written by Adobe rather than kobo, and strictly follows the published PDF standard rather than accepting any sloppily constructed pdf off the web.
compurandom is online now   Reply With Quote
Old 11-03-2020, 06:46 PM   #22
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by james_ View Post
Thanks David for all your investigation. I'm going to ask the people producing the tickets to fix it, as clearly this isn't a "Kobo" problem.

However, clearly Kobo have a particularly inept programming team. If pretty much every other device out there can read this PDF then you have to ask why Kobo have such a badly written PDF parser that it drops dead at the slightest sign of trouble.
It is inept to follow well published standard? Sorry, but no. Producing files that don't follow the standards is inept. Handling files that don't follow the standards without even a warning, again, inept. But, making sure your system works even when crap is thrown at it, not inept. And deciding to throw away the crap rather than take a guess at how to handle it, again, not inept. Especially when doing this in a resource constrained environment.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Small PDF problem (moon+) Mrigank Android Devices 2 06-18-2016 01:43 PM
Back with small problem ... Fabe Sigil 10 01-20-2012 05:06 PM
Upload Problem Mike Allenden Sony Reader 3 09-07-2011 12:49 PM
Problem, can't upload files to calibre Alex719 Library Management 6 02-25-2011 09:02 PM
problem trying to upload from calibre PeteS Calibre 2 08-29-2010 11:53 AM


All times are GMT -4. The time now is 12:58 PM.


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