Closed joshuatj closed 1 year ago
Awesome, thank you!!! I'll look at the dataset and see what caused the panic.
From a quick glance, looks like it could be as small as a blank field that was expected/"required".
It looks like it could be this one: D:\\dev\\iPRES2022\\Bake Off\\iPres2022_Data-Set\\AV\\ipres2015_dataset\\flash1 - ILLCS6.swf"
(and another Flash file)
...Because it's marked as a Video but does not have a Format
, which I expected to always be present for Video streams.
Will fix!
The merging of this PR auto-closed this Issue. I tested with the 0_AV_all.json
file, assuming that has all of them, which was failing in production and now works on local dev (& should auto-deploy to production now).
Now it's deployed -- forgot this was a manual step. :blush:
I can confirm that the bug is fixed and the tool is baking pies again (Micky said it's very thematic that I was showing pies at a digipres bake off š¤£)
Hi Ashley,
Not sure what happened, but "Build charts" return empty charts for the iPres2022 Bake Off AV dataset. I've included the errors from Console below. I've also extracted just the AV data set and shared it via my own Google Drive. Inside the Google Drive are the MediaInfo generate JSONs.
Happy to supply more logs or information to diagnose this error.
Challenge: https://ipres2022.scot/call-for-contributions-2/digital-preservation-bake-off-challenge/ AV Data Set + generated JSON Full Data Set: https://ipres2022.scot/call-for-contributions-2/data-set/
1st error:
wasm-loader.js:293 panicked at 'called
Option::unwrap()
on aNone
value', src/components/charts.rs:227:52Stack:
parcelRequire<.fISM</_.wbg_new_59cb74e423758ede@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:22:3851 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[322]:0x48638 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[811]:0x59aab @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[462]:0x52b57 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[522]:0x5558e @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[679]:0x58d8f @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[659]:0x5899f @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[680]:0x58dc5 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[641]:0x584f9 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[87]:0x90cc @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[156]:0x2cdb8 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[197]:0x369ba @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[195]:0x36314 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[421]:0x50536 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[173]:0x31359 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[655]:0x58865 O@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:22:2624 c@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:22:2229 EventListener.handleEvent*parcelRequire<.fISM</_.wbg_addEventListener_c11a938b8469ab06<@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:22:6290 parcelRequire<.fISM</k/<@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:22:2828 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[628]:0x58127 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[371]:0x4cbb0 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[203]:0x37c52 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[127]:0x23924 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[119]:0x20958 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[197]:0x369ba @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[195]:0x36314 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[255]:0x40761 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[443]:0x519de @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[653]:0x587fa @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[655]:0x58865 O@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:22:2624 c@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:22:2229 EventListener.handleEventparcelRequire<.fISM</_.__wbg_addEventListener_c11a938b8469ab06<@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:22:6290 parcelRequire<.fISM</k/<@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:22:2828 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[628]:0x58127 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[324]:0x489e5 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[91]:0x11b2c @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[191]:0x3551a @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[159]:0x2dbdb @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[90]:0x1087f @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[91]:0x12002 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[191]:0x3551a @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[159]:0x2dbdb @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[90]:0x1087f @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[91]:0x12002 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[191]:0x3551a @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[136]:0x27034 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[197]:0x369ba @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[227]:0x3c231 @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[307]:0x46d6a @https://bits.ashleyblewer.com/media-collection-viewer/media_collection_viewer_bg.1e878511.wasm:wasm-function[687]:0x58eff parcelRequire<.fISM</_.run@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:22:3479 parcelRequire<.QCba<@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:12:211 f@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:1:468 p@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:1:544 parcelRequire<[0]</<@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:24:143 promise callbackparcelRequire<[0]<@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:24:120 f@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:1:468 parcelRequire<@https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:1:772 @https://bits.ashleyblewer.com/media-collection-viewer/static.91ea28f3.js:1:1023
wasm-loader.js:293 __wbg_error_4bb6c2a97407129a wasm-loader.js:293