Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cassandra11.pdf #2150

Closed
orofarne opened this issue Sep 21, 2012 · 6 comments
Closed

cassandra11.pdf #2150

orofarne opened this issue Sep 21, 2012 · 6 comments

Comments

@orofarne
Copy link

pdf.js can't load http://www.datastax.com/doc-source/pdf/cassandra11.pdf

In console:

(while reading XRef): TypeError: dict is undefined

cassandra11.pdf (line 30580)

Warning: Indexing all PDF objects

cassandra11.pdf (line 30580)

Warning: Indexing all PDF objects

cassandra11.pdf (line 640)

Error: invalid top-level pages dictionary

cassandra11.pdf (line 30580)

assertWellFormed@blob:b5ccfc6a-7307-4351-a40d-0eadf3e1ed4a:691
pdfjsWrapper/Catalog.prototype.toplevelPagesDict@blob:b5ccfc6a-7307-4351-a40d-0eadf3e1ed4a:3366
pdfjsWrapper/Catalog.prototype.numPages@blob:b5ccfc6a-7307-4351-a40d-0eadf3e1ed4a:3425
pdfjsWrapper/PDFDocument.prototype.numPages@blob:b5ccfc6a-7307-4351-a40d-0eadf3e1ed4a:553
loadDocument@blob:b5ccfc6a-7307-4351-a40d-0eadf3e1ed4a:30652
wphSetupDoc@blob:b5ccfc6a-7307-4351-a40d-0eadf3e1ed4a:30671
messageHandlerComObjOnMessage@blob:b5ccfc6a-7307-4351-a40d-0eadf3e1ed4a:30588

cassandra11.pdf (line 30580)

Error: invalid top-level pages dictionary


...The resource from this URL is not text: blob:b5ccfc6a-7307-4351-a40d-0eadf3e1ed4

blob:b...3e1ed4a (line 644)

FF Nightly 18.0a1 (2012-09-20)

@yurydelendik
Copy link
Contributor

Interesting that when opened in Adobe Reader and the document is closing, the Reader prompts you to re-save the document since it was changed. After that, the saved file is opened in pdf.js fine. That might indicate the PDF document is corrupted.

@orofarne
Copy link
Author

Hm... Evince works fine.

@yurydelendik
Copy link
Contributor

@orofarne
Copy link
Author

And why we can't just show an error message for user? Also we can suggest to download the file.

@saebekassebil
Copy link
Contributor

Works here. @orofarne is this still an issue, with latest PDF.js build?

@orofarne
Copy link
Author

FF 23.0a1 (2013-04-10): correct. Document looks well + warning about invalid pdf format. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants