-
Notifications
You must be signed in to change notification settings - Fork 159
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
Port Geocode tool back into new Capture interface, next steps #848
Comments
Hi @Tlazypanda @TildaDares @jywarren 👋🏽 I was able to upload my first spectrum today locally. |
Hey @Georjane the Geocode part not working is what we are discussing on the call - the part where I mentioned that the params are not getting saved correctly on to the backend which is why it stopped working. Hence it's not included in the second version so we need to add it and get it working ✨ This error suggests that data variables passed as an argument here is actually nil, can you log the data variable here reference - https://stackoverflow.com/questions/57197682/in-decode64-undefined-method-unpack1-for-nilnilclass-nomethoderror |
I believe the geocode button requests a location from the browser API for location, then it tries to attach it to the form using hidden inputs with ID #lat and #lon:
Hope that helps! It uses a callback so the code is a little tangled, but it's not too long! |
Hi @Tlazypanda |
I believe it's ensuring that the value is either true or false, and if it's
not true it automatically defaults to false! A bit convoluted, though!
…On Wed, Jan 19, 2022, 6:40 AM Witah Georjane ***@***.***> wrote:
Hey @Georjane <https://github.com/Georjane> the Geocode part not working
is what we are discussing on the call - the part where I mentioned that the
params are not getting saved correctly on to the backend which is why it
stopped working. Hence it's not included in the second version so we need
to add it and get it working ✨
This error suggests that data variables passed as an argument here is
actually nil, can you log the data variable here reference -
https://stackoverflow.com/questions/57197682/in-decode64-undefined-method-unpack1-for-nilnilclass-nomethoderror
Hi @Tlazypanda <https://github.com/Tlazypanda>
please i have difficulties understanding this line of code
$('#geotag').val('true'!=$('#geotag').val())
Thank you!
—
Reply to this email directly, view it on GitHub
<#848 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6J72GYEFGPDL2T5FVQ3UW2PKLANCNFSM5L7WVJ3A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jywarren and @Tlazypanda
I think I will be picking up this issue next from publiclab/spectral-workbench.js#265
thank you
The text was updated successfully, but these errors were encountered: