(September 4, 2024) LOG SUMMARY
- These logs are all located in the NOTES/logs-2024-09-04 folder.
- THIS LOG shows the iPad console output.
- THIS PIC is a screen shot of the console showing
an expanded view of
the Aborted() error.
-
Note that the errors shown at the beginning of the log are due to the Huggingface demo environment
and can be ignored. I do NOT believe they cause any code issues or are related
to the IOS Safari glitch.
I included three additional logs to help show that these errors are most likely irrelevant:
-
THIS LOG
shows the console output when I access the code using Safari on my Mac Mini.
Note that the Huggingface errors seen in my iPad also occur.
Yet the code successfully runs in my Mac Mini.
-
I also copied all the code in the Huggingface space to my local environment and ran it both
on my iPad and Mac Mini. THIS LOG shows my
iPad output and THIS LOG shows my
Mac Mini output. The code behaved exactly the same as when
I ran it in the Huggingface space. That is ... the code failed on my iPad and ran successfully on my
Mac Mini independent of whether I used the Huggingface or my local environment. However there are no
Huggingface-specific errors in the local environment logs.
FYI
-
I created this space by:
- Creating a duplicate of the k2-fsa/web-assembly-asr-sherpa-onnx-en
space in my Huggingface account.
- Un-minifying sherpa-onnx-wasm-main-asr.js using beautifier.io
- Running the un-minified code in Safari on both my iPad and Mac Mini
- Creating a NOTES folder and uploading console logs to that folder.
- Inserting the notes link and style elements at the top of index.html
- Updating the title in README.md
-
I was able to capture iPad Safari logs by:
- Connecting my iPad to my Mac Mini using a USB cable.
- Using MacOS
Safari development tools to view the iPad Safari console.
- Making sure the console log has focus and then pressing Command S to save the log to a
file.
There are two caveats with this feature:
-
Exported logs unfortunately do NOT show all the information
that is shown in the screen
view of the console log.
Specifically time stamps and some error expansion entries and are excluded in exported logs.
-
There is a bug with Mac Mini that, if you are going to save the console multiple times,
you needed to completely exit Safari and restart it after each time.