This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
autoannotate addon error in UMD version #878
Comments
Hi Franz, Thanks for the issue, I'll look into this today and get back to you.. |
Hi Franz @magelan , I think I've found the issue and am releasing a new version of the auto annotate plugin. This should hopefully fix the error you were seeing. |
Hi @tnrich, cool, thanks 👍 |
@magelan lemme know if that solves your issue. This was caused by me forgetting to re-publish the auto-annotate package after making a change to it! It might have other issues still possibly.. |
Hmm interesting I wonder what's causing that. I'll need to look into that.. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@tnrich
Hi,
trying to get the autoannotate addon working in universal mode.
The linked html example file in the readme does not exist anymore.
https://github.com/TeselaGen/openVectorEditor#full-example
so I build instead on the deployed example and use this code:
Using the autoannotate function gives me the error popup:
Error annotating feature(s). Double check your file to make sure it is valid!
Even if I use the downloaded examples for both csv and ApE files.
The console error message is:
"index.js:426 error: TypeError: Cannot read properties of undefined (reading 'find')
at _callee2$ (index.js:288:50)
at tryCatch (runtime.js:63:15)
at Generator.invoke [as _invoke] (runtime.js:293:1)
at Generator.next (runtime.js:118:1)
at src_asyncGeneratorStep (ove-auto-annotate.js:1415:107)
at _next (ove-auto-annotate.js:1417:197)
at ove-auto-annotate.js:1417:375
at new Promise ()
at ove-auto-annotate.js:1417:100
at validateRow (index.js:279:31)
at _callee3$ (index.js:364:23)
at tryCatch (runtime.js:63:15)
at Generator.invoke [as _invoke] (runtime.js:293:1)
at Generator.next (runtime.js:118:1)
at src_asyncGeneratorStep (ove-auto-annotate.js:1415:107)
at _next (ove-auto-annotate.js:1417:197)"
Is autoannotate not supported in the UMD version?
Cheers
Franz
The text was updated successfully, but these errors were encountered: