-
Notifications
You must be signed in to change notification settings - Fork 45
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
Migration to QgsNetworkAccessManager #760
Migration to QgsNetworkAccessManager #760
Conversation
e03ac64
to
4dcd1d1
Compare
It looks like there is still an issue in how the payload is converted to a
|
@azvoleff Thanks for the detailed feedback! I will message Marina and ask when I can get a time slot to work on this. |
@azvoleff @vermeulendivan I confirm the issue occurs but only for the "Sub-indicators for SDG 15.3.1" tool, this is because the generated payload from the tool doesn't result into a valid When I tested the error from my side I found out the payload is missing closing brackets see below
|
@azvoleff I will get back once I have find a good solution for this issue. thanks |
Thanks @Samweli. One note though - what you posted above doesn't look like the full dict (there are many more keys in it than what you posted above). I've noticed that long dictionaries get cut off when I try to view them with the log function, so rather than missing the closing parentheses, it is possible that the length of the dictionary is the problem for |
Yes you are right @azvoleff, though it is not |
Thanks, @Samweli. Submission seems to work fine, but on downloading I get:
|
@azvoleff any comments on the latest changes? thanks. |
Thanks @Samweli. On submitting a job (sdg 15.3.1 using UNCCD default preset) I get:
|
Thanks @Samweli. Now I get To reproduce, try to submit a task (I used SDG 15.3.1), immediately after changing the region to one that you have not used before. This error seems to only come up after changing the region - as it arises in the code downloading the region polygons (when |
@azvoleff oops! I couldn't catch that, sorry for the errors that keeps showing up, I plan that when we get time we are going to update the tests to cover all the functions and code that related to the errors we have encountered so far, in order for the tests to capture any break up before we ask you for your feedback. thanks. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…lling advance settings
8e8d491
to
220fdd5
Compare
Thanks @Samweli and @vermeulendivan! Tested on my end and all looks good |
Fixes in #692
These changes are from on @vermeulendivan work in branch https://github.com/vermeulendivan/trends.earth/tree/dev_migrate_qgsnetwork.
They contain updates from usage of
requests
package toQgsNetworkAccessManager
in making plugins network requests.