-
Notifications
You must be signed in to change notification settings - Fork 16
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
KeyError: 'url' during layer upload to GeoNode #263
Comments
I second that issue! on MacOS |
While the layer I uploaded is supposedly now present in the datasets it does not display properly and it won't add to a map. |
It seems that the new geonode importer architecture has broken this plugin. The "url" key is not present anymore, only an "execution_id" is here instead, but changing this key doesn't solve the problem. |
Well I had another issue with my SLD file, once this solved and after removing the reference to the "url" key it works fine. However due to the async importer architecture, we might need to poll the uploads result and check the status before returning. |
how can fix it this error? |
As a quick fix you can use a notepad to open the file the plugin directory ( QGIS directory depends if you are on windows or linux or mac).
It worked for me, as a quick fix, although, the upload success might not be true as we should check for the result matching the execution_id on the api. The plugin directory is : |
Thank you! I am trying the work-around, but without luck. |
Uploading of the layer from QGIS is successful, however, an error is thrown showing
KeyError: 'url'
as shown below.Windows
MacOS
Tested on Windows 11 and MacOS with similar outcomes.
The text was updated successfully, but these errors were encountered: