qwc-services / qwc-services-core

QWC services core
MIT License
9 stars 8 forks source link

Running on Windows 10 #7

Closed tgdbepe4 closed 3 years ago

tgdbepe4 commented 3 years ago

All working well until I add a new QGIS Project and try to Generate Service Configuration. Any idea how to fix that?

INFO: Config destination: '/srv/qwc_service/config-out/default' INFO: Searching for projects files in /srv/qwc_service/config-in/default/qgis_projects INFO: Processing /srv/qwc_service/config-in/default/qgis_projects/Countries.qgs INFO: Written to /data/Countries.qgs INFO: Searching for projects files in /data INFO: Skipping automatic thumbnail search (qwc2_base_dir was not set) INFO: Adding project /data/Countries.qgs INFO: Skipping project /data/qwc_demo.qgs INFO: Downloading GetProjectSettings from http://qwc-qgis-server/ows/qwc_demo INFO: Downloading GetProjectSettings from http://qwc-qgis-server/ows/Countries CRITICAL: Could not get GetProjectSettings from http://qwc-qgis-server/ows/Countries: b'Layer(s) not valid\n' INFO: Writing 'ogcConfig.json' service config file INFO: Reading 'qwc_demo.qgs' INFO: Using WMS GetMap to generate thumbnail for qwc_demo WARNING: Skipping theme item '': Could not get capabilities for /ows/Countries INFO: Copying 'index.html' to tenant dir INFO: Skipping JSON schema check for MapViewer INFO: Writing 'mapViewerConfig.json' service config file INFO: Writing 'featureInfoConfig.json' service config file INFO: Writing 'printConfig.json' service config file INFO: Writing 'searchConfig.json' service config file INFO: Writing 'adminGuiConfig.json' service config file INFO: Writing 'dbAuthConfig.json' service config file INFO: Writing 'elevationConfig.json' service config file INFO: Writing 'mapinfoConfig.json' service config file INFO: Writing 'permalinkConfig.json' service config file INFO: Reading 'qwc_demo.qgs' INFO: Writing 'dataConfig.json' service config file CRITICAL: The generation of the configuration files resulted in a failure CRITICAL: The configuration files were not updated! INFO: Collecting 'ogc' service permissions INFO: Collecting 'mapViewer' service permissions INFO: Collecting 'featureInfo' service permissions INFO: Collecting 'print' service permissions INFO: Collecting 'search' service permissions INFO: Collecting 'adminGui' service permissions INFO: Collecting 'dbAuth' service permissions INFO: Collecting 'elevation' service permissions INFO: Collecting 'mapinfo' service permissions INFO: Collecting 'permalink' service permissions INFO: Collecting 'data' service permissions INFO: Writing 'permissions.json' permissions file CRITICAL: The generation of the permission files resulted in a failure. CRITICAL: The permission files were not updated!

tgdbepe4 commented 3 years ago

It has to do with the shape of the QGIS file. I have to further inverstigate what is possible and what not.