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

TypeError: Cannot read properties of undefined (reading 'metadata') #32

Open
PieceOfCrazy opened this issue Nov 18, 2023 · 1 comment
Open

Comments

@PieceOfCrazy
Copy link

Ho seguito la guida ma continuo a ricevere vari errori, tra cui il più frequente è questo

immagine

Ho visto che un altro utente ebbe lo stesso problema e veniva spiegato che può essere causato da un cookie o un ID errato, ma non penso sia il mio caso:

CloudFront-Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHBzOi8vd2VicmVhZGVyLnphbmljaGVsbGkuaXQvMjQxODA5NC9maXhlZF9lcHViX2ltYWdlLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3MDAzMTg1NzJ9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn0sIkRhdGVHcmVhdGVyVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzAwMzA3MTcyfX19XX0=; CloudFront-Signature=Q3myo9y45EtcGfhSUS5PKGfe46BH1~1oQiyfSVWKhAGnHNSCkqXFzD0~EPuQJ587P~F1tVqjvRQCWI6bNCwY4ZH3wcvHefUN~4ME8y62m5w3L~6N31qpn3V1oQ1HLnxx9b8FP~IQ86jC~m8-syFxSWAj-K6J78d5JLeL~qHsaouO~SiBTfucN2SQwQ-tVsUOPERVeGsUA75S8ZE5L4xgI~ocWPgsP4aeJjxjtPiTDpaulWv446APtVcbGo-pfmX7t1H~ETWDA493W2UKkhqTeHJJ9oUTRYaI46rJZ4~HbbwkWD9q-Yt6SFrvweF~4KBOlVd9G6VI9aL0qC7VTGp88w__; CloudFront-Key-Pair-Id=APKAJLZIBANJDUWZO6EA; myz_session=10123126.65589e9c2e3936.29171220; myz_token=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NvbmZpcm1lZCI6dHJ1ZSwiaXNBcHByb3ZlZCI6dHJ1ZSwiaXNBdXRob3JpemVkQnlQYXJlbnQiOnRydWV9fQ.nequksuj-4hGL4QoPVUKxgBmTwmztdlJ3EBxYOyAMuCFlI7AYIKYYanxHD7yObCv9xFpvITFoo_uzbyP8JSKZvhxPkyQP5qiPCEgC27cAPVinbuJ1LNrf0KxYIrDYnEVp82VWQ3035bDEFfm3BmwdWmXogsn8iiaJaSvkIRzVFzKyGm4dt9QDBpdOlEVYoM8NDHRRzhtkUhRlJ1XW0RJ-3geFMpj0I3YplD1ZdtJsGfIv9UrUVHQDewYwYKjFw3v-Mg0M2B4wi7TBnddVsCv_gvy4K4ivbxH3H1C1ot4Jnw3K1KYkS0RewLOOBYdQAboiBe9hQ42nky1TQd_Qx5OG5oZ6zL2nD5MIIHoJUmxr5yTEsVTVu9glasM5SF1l2c6GLXPAin17U_J7JrZM5nPMTHM0_TgdmQeHh5AuahE2EEaIgt7gW9ytKajRDMVXFmgg9E4_V7vj75bpyJ0bCj72bFip2NHvcg1PB7tqQTCFj0odv0QqG2EvJjkGiUTPt8SZeL91yUFjFBHsMkNwQiIXb846zz4Kk9mARQzNG0e22U236rC7RT_dxIL9lTRDQ6-3HSw7LDHd3bNMFtNmDXPdSVvPmWXUh8mIRizIa22w09xLqMKjb9zS6ZAYSE22mm3PzCMOcZjbf2fFBTpR21shPePzk_jlKTlOkhQqPwxRzo; lastVisitedHosts={"2076566":["my.zanichelli.it"]}; _ga_H75ERVB8TD=GS1.1.1700311220.1.1.1700312379.0.0.0; _ga=GA1.2.1793460238.1700311220; _ga_FL8QBN8HHQ=GS1.1.1700311221.1.1.1700312379.0.0.0; _ga_HLT0GPY74V=GS1.1.1700311221.1.1.1700312379.0.0.0; OptanonConsent=isGpcEnabled=0&datestamp=Sat+Nov+18+2023+13%3A46%3A29+GMT%2B0100+(Ora+standard+dell%E2%80%99Europa+centrale)&version=202303.1.0&browserGpcFlag=0&isIABGlobal=false&hosts=&consentId=322103fc-3841-47f1-a40f-c98b0d496727&interactionCount=1&landingPath=NotLandingPage&groups=C0001%3A1%2CC0003%3A1%2CC0004%3A1%2CC0002%3A1&geolocation=SE%3BM&AwaitingReconsent=false; OptanonAlertBoxClosed=2023-11-18T12:42:47.493Z; stack2=["webreader.zanichelli.it"]; _gid=GA1.2.193610472.1700311368; _fbp=fb.1.1700311368287.534662546

immagine

Per caso hanno di nuovo aggiornato il sito?

Ad ogni modo, grazie del progetto fantastico e della disponibilità!

@PieceOfCrazy
Copy link
Author

Aggiornamento, ho seguito quanto detto in questo thread e ho sostituito gli url nel codice con il formato del mio libro: https://webreader.zanichelli.it/ID/fixed_epub_image/ID/OEBPS/content.opf

Tuttavia il PDF che ne esce è di 80 pagine bianche e durante il download sembra procedere di capitolo in capitolo seguendo questo schema:
Downloading pXcY.xhtml
Unable to find suitable format for pXcY.xhtml
in cui X e Y sono corrispettivamente al numero esatto di parti e capitoli del libro.

Ne capisco poco ma sembrerebbe che abbiano cambiato il formato degli ebook da qualsiasi cosa fosse prima a xhtml. Esiste un fix rapido che potrei applicare?

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

No branches or pull requests

1 participant