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

Error message from API calls not passed to QML #33

Open
Olf0 opened this issue Aug 30, 2018 · 5 comments
Open

Error message from API calls not passed to QML #33

Olf0 opened this issue Aug 30, 2018 · 5 comments

Comments

@Olf0
Copy link

Olf0 commented Aug 30, 2018

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.

@rinigus
Copy link
Owner

rinigus commented Aug 31, 2018

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.

@vokaliz
Copy link

vokaliz commented Aug 27, 2019

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!

@Olf0
Copy link
Author

Olf0 commented Aug 27, 2019

@vokaliz / Dema,

  1. 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).
  2. 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.).

@rinigus
Copy link
Owner

rinigus commented Aug 28, 2019

@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

@vokaliz
Copy link

vokaliz commented Aug 28, 2019

Thank you!

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

3 participants