pure-maps
pure-maps copied to clipboard
Error message from API calls not passed to QML
Originally filed as Poor Maps' issue 65, which Otsaloma concluded with: Error messages would be nice yes, but are difficult as they require some manually inserted non-trivial glue. Currently only timeouts relay error messages.
For implementing this feature perfectly, I suppose a filtering mechanism is needed for errors returned from API / system calls, followed by transposing these errors into good looking SailfishOS notifications or messages. But for a start, filtering certain errors and returning the error message unaltered per SailfishOS notification would still constitute a vast improvement compared to silently doing nothing (i.e., the current behavior).
I am refiling this, so it does not become forgotten, as it is just a usability suggestion.
As Osmo pointed out, its rather large work. The error messages are available at stdout. Maybe I can hook that to GUI, let's see.
Hello! One more issue about API: I cant paste key (very long api key) in to any service tab. I am trying paste key from mapbox on Maizu pro 5 ubports OTA-10. Fix this problem, please. App very good, thank you for your job!!! Best regards, Dema!
@vokaliz / Dema,
- I (and others) had no issue pasting a MapBox API-key from an email client or web browser into the corresponding API-key field in PureMaps' settings. Actually API-keys from MapBox are likely the best tested ones, as their use is strongly recommended (if one wants to use MapBox).
- This issue is about errors from device-local API calls not being reported at the GUI. Hence your issue is quite different. If it persists, please open a new issue with a bit more comprehensive description of what you did (e.g. from which program you cut the API-key before pasting into PureMaps etc.).
@vokaliz : your issue is related to a new UBPorts release and, as @Olf0 pointed out, is completely different. good news is that your issue is resolved already and will be a part of the new release at ubports
Thank you!