Loading certain webstrates (in this case, codestrates) causes the Webstrates server to crash with the following trace :
/Users/eaganj/Projects/Extern/Webstrates/helpers/HttpRequestController.js:152
zipFile.on('entry', entry => {
^
TypeError: Cannot read property 'on' of undefined
at /Users/eaganj/Projects/Extern/Webstrates/helpers/HttpRequestController.js:152:11
at /Users/eaganj/Projects/Extern/Webstrates/node_modules/yauzl/index.js:34:21
For the affected webstrates, this systematically causes the server to crash. I added a tracing statement to HttpRequestController.js to reveal that the server is attempting to load a file in webstrates_root/uploads/ that does not exist. E.g. :
/path/to/Webstrates/uploads/3f9b2695547b0135399acbc086545197
ls: /path/to/Webstrates/uploads/3f9b2695547b0135399acbc086545197: No such file or directory
I'm not sure how to provide more information about what part of the webstrate is actually triggering the load. (I cannot wget the webstrate since it is access (oauth) protected.)
Loading certain webstrates (in this case, codestrates) causes the Webstrates server to crash with the following trace :
For the affected webstrates, this systematically causes the server to crash. I added a tracing statement to
HttpRequestController.jsto reveal that the server is attempting to load a file in webstrates_root/uploads/ that does not exist. E.g. :I'm not sure how to provide more information about what part of the webstrate is actually triggering the load. (I cannot
wgetthe webstrate since it is access (oauth) protected.)