camptocamp / demo_geomapfish Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 2-Clause "Simplified" License
License: BSD 2-Clause "Simplified" License
[Thu Jan 08 16:26:20 2015] [error] [client 10.27.71.4] InternalError: (InternalError) Operation on two GEOMETRIES with different SRIDs
[Thu Jan 08 16:26:20 2015] [error] [client 10.27.71.4]
[Thu Jan 08 16:26:20 2015] [error] [client 10.27.71.4] 'SELECT edit.line.id AS edit_line_id, edit.line.name AS edit_line_name, ST_AsBinary(edit.line.geom) AS edit_line_geom \nFROM edit.line \nWHERE ST_DWITHIN(edit.line.geom, ST_GeomFromWKB(%(ST_GeomFromWKB_1)s, %(ST_GeomFromWKB_2)s), %(ST_DWITHIN_1)s)' {'ST_DWITHIN_1': 0.0, 'ST_GeomFromWKB_1': <read-only buffer for 0x7f4cba39ce00, size -1, offset 0 at 0x7f4c942e1f30>, 'ST_GeomFromWKB_2': -1}
On https://geomapfish-demo.camptocamp.net/2.2/theme/ObjectEditing?lang=de&tree_group_layers_Transport=fuel&baselayer_ref=OSM%20map&theme=ObjectEditing&tree_groups=ObjectEditing by clicking on the i-button of the layer "Punkt" a 404 error appears saying: The resource could not be found.
https://geomapfish-demo.camptocamp.net/2.2/wsgi/static-cgxp/htdocs/example.html
In the metadata window that we integrated on GMF 2.2.0 ngeo the layer name is not translated.
The overview map still has a HTTP URL -> change it to HTTPS to avoid the insecure response error
@sbrunner I think the demo application (http://mapfish-geoportal.demo-camptocamp.com/1.5)
is broken because of
https://github.com/camptocamp/demo_geomapfish/blob/master/demo/templates/viewer.js#L281
Les arbres de couches pour séléctionner les éléments des thèmes et des groupes de couches sont devenus des listes à points statiques.
Ceci est bloquant, puisque plus aucune couche n'est sélectionnable dans un nouveau groupe.
It would be nice to have the config
showCenter: true
in the FulltextSearch Plugin of the demo.
cf. http://docs.camptocamp.net/cgxp/1.6/lib/plugins/FullTextSearch.html#config-options
This issue is the dashboard used by GHCI modules.
Project:
Steps to reproduce issue:
delete all layers in layertree
open the filter
select OSM map
add a spatial filter
choose "apply filter"
result: nothing happens
Expected result: only the selected buildings are shown
The same issue exists on map.geo.test.bs.ch/ngeodesktop
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Location: .github/renovate.json5
Error type: The renovate configuration file contains some invalid settings
Message: packageRules[2]: Each packageRule must contain at least one match* or exclude* selector. Rule: {"fileMatch":["custom/.*"],"enabled":true}
For instance when printing the following page:
https://geomapfish-demo.camptocamp.net/2.2?lang=fr&tree_group_layers_Transport=fuel&baselayer_ref=OSM%20map&map_crosshair=true&tree_groups=Transport
The crosshair (a static PNG file served using a "proj/" URL) is rejected (and replaced by a black square) because of an error similar to
java.lang.IllegalArgumentException:
http://127.0.0.1/main/wsgi/proj/5d3163d34b894bb5b49ff07c48ff2116/images/crosshair.png is denied.
This seems to be related to the print config at https://github.com/camptocamp/demo_geomapfish/blob/2.2/print/print-apps/demo/config.yaml.mako#L38-L76
For project SZ, @marionb has applied the following fix: https://github.com/camptocamp/schwyz_geoportal/pull/345/files
making sure the URLs of files in the "proj/" dir are not converted to localhost URLs.
Should we apply the fix to demo_geomapfish? If yes for what banch(es)? 2.2? master?
Should we apply the fix to the GMF scaffolds at https://github.com/camptocamp/c2cgeoportal/blob/master/geoportal/c2cgeoportal_geoportal/scaffolds/create/print/print-apps/%2Bpackage%2B/config.yaml.mako#L38 (+ in some change log file?)? If yes for what branch(es)?
Because of the upgrade of Mapserver, the variable substitution for the "role_id" fails because "${mapserver_layer_metadata}" should be place in a VALIDATION block, no longer in the METADATA block.
By the way the value of this variable should also be adapted
https://github.com/camptocamp/demo_geomapfish/blob/master/CONST_buildout.cfg#L77-L79
http://docs.camptocamp.net/c2cgeoportal/master/administrator/mapfile.html#variable-substitution
A) the cut function does not work -> what is missing? (cf. layer polygon)
B) the copy fonction is not available -> can you make an example for this one?
Reference to geoportailv3 config file should be removed. Applies to 1.x branches.
https://github.com/camptocamp/demo_geomapfish/blob/1.6/demo.mk#L2
[Wed Jan 28 12:45:01 2015] [error] 2015-01-28 12:45:01,758 WARNI [py.warnings][MainThread] /home/gmilani/demo_geomapfish/.build/venv/lib/python2.7/site-packages/sqlahelper.py:47: SAWarning: At least one scoped session is already present. configure() can not affect sessions that have already been created.
[Wed Jan 28 12:45:01 2015] [error] _session.configure(bind=engine)
[Wed Jan 28 12:45:01 2015] [error]
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] mod_wsgi (pid=2083): Target WSGI script '/home/gmilani/demo_geomapfish/apache/application.wsgi' cannot be loaded as Python module.
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] mod_wsgi (pid=2083): Exception occurred processing WSGI script '/home/gmilani/demo_geomapfish/apache/application.wsgi'.
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] Traceback (most recent call last):
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/demo_geomapfish/apache/application.wsgi", line 6, in
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] application = get_app(configfile, 'main')
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/demo_geomapfish/.build/venv/lib/python2.7/site-packages/pyramid/paster.py", line 31, in get_app
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] global_conf=options)
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/demo_geomapfish/.build/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] return loadobj(APP, uri, name=name, *_kw)
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/demo_geomapfish/.build/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] return context.create()
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/demo_geomapfish/.build/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] return self.object_type.invoke(self)
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/demo_geomapfish/.build/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 203, in invoke
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] app = context.app_context.create()
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/demo_geomapfish/.build/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] return self.object_type.invoke(self)
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/demo_geomapfish/.build/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] return fix_call(context.object, context.global_conf, *_context.local_conf)
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/demo_geomapfish/.build/venv/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] val = callable(_args, *_kw)
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/demo_geomapfish/demo/init.py", line 46, in main
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] add_interface(config, 'mobile', INTERFACE_TYPE_SENCHA_TOUCH)
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/c2cgeoportal/c2cgeoportal/init.py", line 108, in add_interface
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] add_interface_senchatouch(config, interface_name, **kwargs)
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] File "/home/gmilani/c2cgeoportal/c2cgeoportal/init.py", line 174, in add_interface_senchatouch
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] package = config.get_settings()['project']
[Wed Jan 28 12:45:01 2015] [error] [client 10.27.10.186] KeyError: 'project'
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
sqlalchemy
, vite
)requests
, sentry-sdk
, ujson
)sqlalchemy
, vite
)requests
, sentry-sdk
, ujson
)docker-compose
docker-compose-db.yaml
docker-compose-qgis.yaml
docker-compose.override.acceptance-test.yaml
docker-compose.override.sample.yaml
docker-compose.yaml
dockerfile
Dockerfile
custom/Dockerfile
osgeo/gdal ubuntu-small-3.4.3
github-actions
.github/workflows/backport.yaml
ubuntu 22.04
.github/workflows/main.yaml
actions/checkout v2
camptocamp/initialise-gopass-summon-action v2
getsentry/action-release v1
ubuntu 22.04
.github/workflows/pull-request-automation.yaml
actions/github-script v7
actions/github-script v7
actions/github-script v7
actions/github-script v7
actions/github-script v7
ubuntu 22.04
.github/workflows/test.yaml
actions/checkout v2
actions/checkout v2
ubuntu 22.04
.github/workflows/update_l10n.yaml
actions/checkout v2
ubuntu 22.04
.github/workflows/upgrade-25.yaml
actions/checkout v2
ubuntu 22.04
.github/workflows/upgrade-26.yaml
actions/checkout v2
ubuntu 22.04
.github/workflows/upgrade-27.yaml
actions/checkout v2
ubuntu 22.04
npm
package.json
lit 2.2.8
typescript 4.6.4
vite 2.8.6
pip_requirements
custom/requirements.txt
poetry ==1.3.2
poetry-plugin-export ==1.5.0
poetry
custom/pyproject.toml
gunicorn 20.1.0
plaster-pastedeploy 0.7
pyramid 2.0.2
pyramid-mako 1.1.0
pyramid-debugtoolbar 4.9
waitress 2.1.2
alembic 1.7.7
pyramid-retry 2.1.1
pyramid-tm 2.5
sqlalchemy 1.4.52
transaction 3.0.1
zope.sqlalchemy 1.6
cornice 6.0.1
requests 2.27.1
psycopg2 2.9.9
c2cwsgiutils 5.0.2
cee-syslog-handler 0.6.0
PyJWT 2.4.0
redis 4.3.6
PyYAML 6.0.1
sentry-sdk 1.5.12
requests-oauthlib 1.3.1
ujson 5.3.0
prospector 1.7.7
docker-compose
docker-compose-db.yaml
docker-compose-qgis.yaml
docker-compose.override.acceptance-test.yaml
docker-compose.override.sample.yaml
docker-compose.yaml
dockerfile
Dockerfile
custom/Dockerfile
osgeo/gdal ubuntu-small-3.4.3
geoportal/Dockerfile
github-actions
.github/workflows/backport.yaml
ubuntu 22.04
.github/workflows/main.yaml
actions/checkout v2
camptocamp/initialise-gopass-summon-action v2
ubuntu 22.04
.github/workflows/pull-request-automation.yaml
actions/github-script v7
actions/github-script v7
actions/github-script v7
actions/github-script v7
actions/github-script v7
ubuntu 22.04
.github/workflows/test.yaml
actions/checkout v2
actions/checkout v2
ubuntu 22.04
.github/workflows/update_l10n.yaml
actions/checkout v2
ubuntu 22.04
.github/workflows/upgrade-25.yaml
actions/checkout v2
ubuntu 22.04
.github/workflows/upgrade-26.yaml
actions/checkout v2
ubuntu 22.04
.github/workflows/upgrade-27.yaml
actions/checkout v2
ubuntu 22.04
.github/workflows/uptodate.yaml
actions/checkout v2
actions/checkout v2
ubuntu 22.04
npm
package.json
lit 2.2.8
typescript 4.6.4
vite 2.8.6
pip_requirements
custom/requirements.txt
poetry ==1.3.2
poetry-plugin-export ==1.5.0
poetry
custom/pyproject.toml
gunicorn 20.1.0
plaster-pastedeploy 0.7
pyramid 2.0.2
pyramid-mako 1.1.0
pyramid-debugtoolbar 4.9
waitress 2.1.2
alembic 1.7.7
pyramid-retry 2.1.1
pyramid-tm 2.5
sqlalchemy 1.4.52
transaction 3.0.1
zope.sqlalchemy 1.6
cornice 6.0.1
requests 2.27.1
psycopg2 2.9.9
c2cwsgiutils 5.0.2
cee-syslog-handler 0.6.0
PyJWT 2.4.0
redis 4.3.6
PyYAML 6.0.1
sentry-sdk 1.5.12
requests-oauthlib 1.3.1
ujson 5.3.0
prospector 1.7.7
docker-compose
docker-compose-db.yaml
docker-compose-qgis.yaml
docker-compose.override.sample.yaml
docker-compose.yaml
dockerfile
Dockerfile
custom/Dockerfile
osgeo/gdal ubuntu-small-3.6.3
github-actions
.github/workflows/backport.yaml
ubuntu 22.04
.github/workflows/delete-old-workflows-run.yaml
MajorScruffy/delete-old-workflow-runs v0.3.0
ubuntu 22.04
.github/workflows/main.yaml
actions/checkout v4
actions/checkout v4
camptocamp/initialise-gopass-summon-action v2
ubuntu 22.04
.github/workflows/pull-request-automation.yaml
actions/github-script v7
actions/github-script v7
actions/github-script v7
actions/github-script v7
ubuntu 22.04
.github/workflows/rebuild-2-6.yaml
actions/checkout v4
camptocamp/initialise-gopass-summon-action v2
actions/checkout v4
camptocamp/initialise-gopass-summon-action v2
ubuntu 22.04
ubuntu 22.04
.github/workflows/rebuild.yaml
actions/checkout v4
camptocamp/initialise-gopass-summon-action v2
ubuntu 22.04
.github/workflows/update_l10n.yaml
actions/checkout v4
ubuntu 22.04
.github/workflows/upgrade-2-5.yaml
actions/checkout v4
ubuntu 22.04
.github/workflows/upgrade-2-6.yaml
actions/checkout v4
ubuntu 22.04
.github/workflows/upgrade-2-7.yaml
actions/checkout v4
ubuntu 22.04
.github/workflows/upgrade-2-8.yaml
actions/checkout v4
ubuntu 22.04
npm
package.json
lit 3.1.3
typescript 5.4.5
vite 5.2.10
pip_requirements
custom/requirements.txt
poetry ==1.8.2
pip ==24.0
poetry
custom/pyproject.toml
gunicorn 22.0.0
plaster-pastedeploy 1.0.1
pyramid 2.0.2
pyramid-mako 1.1.0
pyramid-debugtoolbar 4.12.1
waitress 3.0.0
alembic 1.13.1
pyramid-retry 2.1.1
pyramid-tm 2.5
sqlalchemy 2.0.29
transaction 4.0
zope.sqlalchemy 3.1
cornice 6.1.0
requests 2.31.0
psycopg2 2.9.9
c2cwsgiutils 6.0.8
cee-syslog-handler 0.6.0
PyJWT 2.8.0
redis 5.0.4
PyYAML 6.0.1
sentry-sdk 2.0.1
requests-oauthlib 2.0.0
ujson 5.9.0
prospector 1.10.3
docker-compose
docker-compose-db.yaml
docker-compose-qgis.yaml
docker-compose.override.sample.yaml
docker-compose.yaml
dockerfile
Dockerfile
custom/Dockerfile
osgeo/gdal ubuntu-small-3.6.3
geoportal/Dockerfile
github-actions
.github/workflows/backport.yaml
ubuntu 22.04
.github/workflows/main.yaml
actions/checkout v4
actions/checkout v4
camptocamp/initialise-gopass-summon-action v2
ubuntu 22.04
.github/workflows/pull-request-automation.yaml
actions/github-script v7
actions/github-script v7
actions/github-script v7
actions/github-script v7
actions/github-script v7
ubuntu 22.04
.github/workflows/update_l10n.yaml
actions/checkout v4
ubuntu 22.04
.github/workflows/upgrade-25.yaml
actions/checkout v4
ubuntu 22.04
.github/workflows/upgrade-26.yaml
actions/checkout v4
ubuntu 22.04
.github/workflows/upgrade-27.yaml
actions/checkout v4
ubuntu 22.04
.github/workflows/uptodate.yaml
actions/checkout v4
actions/checkout v4
ubuntu 22.04
npm
package.json
lit 3.1.3
typescript 5.4.5
vite 5.2.10
pip_requirements
custom/requirements.txt
poetry ==1.8.2
poetry
custom/pyproject.toml
gunicorn 22.0.0
plaster-pastedeploy 1.0.1
pyramid 2.0.2
pyramid-mako 1.1.0
pyramid-debugtoolbar 4.12.1
waitress 3.0.0
alembic 1.13.1
pyramid-retry 2.1.1
pyramid-tm 2.5
sqlalchemy 2.0.29
transaction 4.0
zope.sqlalchemy 3.1
cornice 6.1.0
requests 2.31.0
psycopg2 2.9.9
c2cwsgiutils 6.0.8
cee-syslog-handler 0.6.0
PyJWT 2.8.0
redis 5.0.4
PyYAML 6.0.1
sentry-sdk 2.0.1
requests-oauthlib 2.0.0
ujson 5.9.0
prospector 1.10.3
I get the next error with Arch Linux x64:
c2c-template --cache /build/c2ctemplate-cache.json --engine mako \
--runtime-environment-pattern '${{{}}}' --files project.yaml.mako
gpg --output secrets.tar.bz2 --decrypt secrets.tar.bz2.gpg
gpg: encrypted with ELG key, ID D9010D0CA556AE3D
gpg: encrypted with RSA key, ID BE23B0FBB8DD9EC1
gpg: encrypted with RSA key, ID AFF1775584631A50
gpg: encrypted with RSA key, ID D0C01D4F8D5B5440
gpg: encrypted with RSA key, ID 19A11C7FF22639F2
gpg: encrypted with RSA key, ID F9026FB0EB2DABD3
gpg: encrypted with ELG key, ID 8DACDB8A862F75DC
gpg: decryption failed: No secret key
make: *** [secrets] Error 2
CONST_Makefile:768: recipe for target 'secrets' failed
In the Admin interface, I cannot choose "wmsUrl" in the dropdown of the metadata.
I think this is used for configuring WMS layers for WMTS layers (f.e. for printing), therefore I need that dropdown entry.
The demo should call this function here:
https://github.com/camptocamp/ngeo/blob/master/contribs/gmf/src/controllers/abstract.js#L462
Instead it is actually using a cgxp function here:
https://github.com/camptocamp/demo_geomapfish/blob/master/mapserver/osm.map.mako#L1083
Consequence is that the "open" link in WFS result is not working. It should open a window when clicking it.
.
File '/home/gmilani/demo_geomapfish/buildout/eggs/c2cgeoportal-1.6.0dev_20141211-py2.7.egg/c2cgeoportal/forms.py', line 262 in render_organisational_item
[Thu Jan 08 15:17:05 2015] [error] [client 10.27.10.186] result += "%(label)s" % {'label': item.name}
[Thu Jan 08 15:17:05 2015] [error] [client 10.27.10.186] AttributeError: 'LayergroupTreeitem' object has no attribute 'name'
[Thu Jan 08 15:41:38 2015] [error] [client 10.27.71.4] File "/home/gmilani/demo_geomapfish/demo/templates/viewer.js", line 35, in render_body
[Thu Jan 08 15:41:38 2015] [error] [client 10.27.71.4] % if user and user.role.extent:
[Thu Jan 08 15:41:38 2015] [error] [client 10.27.71.4] File "/home/gmilani/demo_geomapfish/buildout/eggs/SQLAlchemy-0.9.8-py2.7-linux-x86_64.egg/sqlalchemy/sql/elements.py", line 538, in bool
[Thu Jan 08 15:41:38 2015] [error] [client 10.27.71.4] raise TypeError("Boolean value of this clause is not defined")
[Thu Jan 08 15:41:38 2015] [error] [client 10.27.71.4] TypeError: Boolean value of this clause is not defined
Refere to: b007ce5
demo_geomapfish/vars_demo.yaml
Line 255 in b007ce5
directory
, it's already used by apache (wsgi.conf) with the the project pathA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.