I try to play a geonode and found some error message.
One of them is an error in data replacement.
When I try to replace the data, using replace button in Edit Layer menu, I got the error message like this
Tried to make a GET request to http://geonode.kartoza.com/qgis-server/rest/workspaces.xml but got a 404 status code:
Page not found (404)
Request Method: GET
Request URL: http://geonode/qgis-server/rest/workspaces.xml
Using the URLconf defined in geonode.urls, Django tried these URL patterns, in this order:
^/?$ [name='home']
^help/$ [name='help']
^developer/$ [name='developer']
^about/$ [name='about']
^layers/
^maps/
^catalogue/
^data.json$ [name='data_json']
^search/$ [name='search']
^account/
^people/
^avatar/
^comments/
^ratings/
^activity/
^announcements/
^messages/
^social/
^security/
^account/ajax_login$ [name='account_ajax_login']
^account/ajax_lookup$ [name='account_ajax_lookup']
^lang\.js$ [name='lang']
^jsi18n/$ [name='jscat']
^sitemap\.xml$ [name='sitemap']
^i18n/
^autocomplete/
^admin/
^groups/
^documents/
^services/
^(?P<api_name>api)/$ [name='api_api_top_level']
^(?P<api_name>api)/
^(?P<api_name>api)/
^(?P<api_name>api)/
^(?P<api_name>api)/
^(?P<api_name>api)/
^(?P<api_name>api)/
^(?P<api_name>api)/
^(?P<api_name>api)/
^(?P<api_name>api)/
^(?P<api_name>api)/
^(?P<api_name>api)/
^geosafe/analysis/create(?:/(?P<pk>\d*))?$ [name='analysis-create']
^geosafe/analysis/(?:/user/(?P<user>\d*))?$ [name='analysis-list']
^geosafe/analysis/impact-function-filter$ [name='impact-function-filter']
^geosafe/analysis/(?P<pk>\d+)$ [name='analysis-detail']
^geosafe/analysis/layer-tiles$ [name='layer-tiles']
^geosafe/analysis/layer-metadata/(?P<layer_id>\d+) [name='layer-metadata']
^geosafe/analysis/layer-archive/(?P<layer_id>\d+) [name='layer-archive']
^geosafe/analysis/layer-list/(?P<layer_purpose>(hazard|exposure|aggregation|impact))(?:/(?P<layer_category>\w*))?(?:/(?P<bbox>[,.\d-]*))? [name='layer-list']
^geosafe/analysis/layer-panel(?:/(?P<bbox>[\[\],.\d-]*))? [name='layer-panel']
^geosafe/analysis/rerun/(?P<analysis_id>\d+) [name='rerun-analysis']
^geosafe/analysis/check/(?P<analysis_id>\d+) [name='check-analysis']
^geosafe/analysis/toggle-saved/(?P<analysis_id>[-\d]+) [name='toggle-analysis-saved']
^geosafe/analysis/report/(?P<analysis_id>\d+)/(?P<data_type>(map|table|reports|all)) [name='download-report']
^geosafe/analysis/summary/(?P<impact_id>[-\d]+)/ [name='analysis-summary']
^qgis-server/download-zip/(?P<layername>[^/]*)$ [name='qgis-server-download-zip']
^qgis-server/tiles/(?P<layername>[^/]*)/(?P<z>[0-9]*)/(?P<x>[0-9]*)/(?P<y>[0-9]*).png$ [name='qgis-server-tile']
^qgis-server/legend/(?P<layername>[^/]*)(?:/(?P<layertitle>[^/]*))?$ [name='qgis-server-legend']
^qgis-server/thumbnail/(?P<layername>[^/]*)$ [name='qgis-server-thumbnail']
^qgis-server/wms/$ [name='qgis-server-request']
^qgis-server/pdf/info\.json$ [name='qgis-server-pdf']
^qgis-server/map/print$ [name='qgis-server-map-print']
^proxy/
^static\/(?P<path>.*)$
^uploaded\/(?P<path>.*)$
^featured/(?P<site>[A-Za-z0-9_\-]+)/$
^featured/(?P<site>[A-Za-z0-9_\-]+)/info$
The current URL, qgis-server/rest/workspaces.xml, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.
Hi all,
I try to play a geonode and found some error message. One of them is an error in data replacement.
When I try to replace the data, using replace button in Edit Layer menu, I got the error message like this
Maybe there is a bug in here.
Thank you.
CC
@timlinux @ismailsunni