Skip to content
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

[BUG] coordinates error in the console blocking uploads #209

Closed
KenEucker opened this issue Jan 2, 2024 · 4 comments
Closed

[BUG] coordinates error in the console blocking uploads #209

KenEucker opened this issue Jan 2, 2024 · 4 comments

Comments

@KenEucker
Copy link
Owner

Describe the bug
Players are reporting issues with getting uploads to work. One Player was able to provide a screenshot of the error in the console. This appears to do with the retrieval of GPS coordinates from the selected image.

Expected behavior
The upload should succeed no matter what, even if the GPS retrieval fails.

Screenshots
Screenshot_from_2024-01-01_23-51-17

Additional context
Additionally, Players are reporting that they no longer see the map popup for choosing the pin of the found location.

@cookieguru
Copy link
Contributor

Hopefully #210 fixes this. The underlying issue may be that the browser is stripping metadata (for privacy): josephfrazier/reported-web#360

@cookieguru
Copy link
Contributor

Can confirm that removing the accept attribute will allow exifr to properly read the metadata. i.e. latitude and longitude are NaN when the attribute is present, and they are numbers when the attribute is absent.
Which is pretty annoying, since that attribute hints to the browser which kinds of files are allowed and what kind of file picker to show.

@KenEucker
Copy link
Owner Author

KenEucker commented Jan 3, 2024

Hmmm. That's unfortunate. I wonder why it happens sometimes.

@KenEucker
Copy link
Owner Author

This has been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants