osm-fr / osmose-frontend

Part of osmose that shows results on the website http://osmose.openstreetmap.fr
GNU General Public License v3.0
41 stars 38 forks source link

Add item 8152 - cycle parking, need update to menu #484

Closed XioNoX closed 7 months ago

XioNoX commented 7 months ago

In relation to https://github.com/osm-fr/osmose-backend/pull/2148#issuecomment-1937481519

I'm also not sure if adding a marker there is needed, and if so, what kind of icon : https://github.com/osm-fr/osmose-frontend/blob/master/web_api/static/images/markers/markers-l.css#L157

frodrigo commented 7 months ago

Thank you. Icon is the same as xxx1, but has to be set in database.

frodrigo commented 7 months ago

8151 and 8152 enabled.

XioNoX commented 7 months ago

Awesome, thanks. Not sure if related or if it will fix itself during the next run, but this fails : https://osmose.openstreetmap.fr/en/issues/graph.png?source=448196

Traceback (most recent call last):
  File "/data/project/osmose/frontend/web_api/issues.py", line 30, in graph
    data = await errors_graph.make_plt(db, params, format)
  File "/data/project/osmose/frontend/web_api/errors_graph.py", line 193, in make_plt
    data = await get_data(db, params)
  File "/data/project/osmose/frontend/web_api/errors_graph.py", line 82, in get_data
    for r in await db.fetch(sql, *sql_params):
  File "/data/project/osmose/frontend/osmose-frontend-venv/lib/python3.9/site-packages/asyncpg/connection.py", line 620, in fetch
    return await self._execute(
  File "/data/project/osmose/frontend/osmose-frontend-venv/lib/python3.9/site-packages/asyncpg/connection.py", line 1658, in _execute
    result, _ = await self.__execute(
  File "/data/project/osmose/frontend/osmose-frontend-venv/lib/python3.9/site-packages/asyncpg/connection.py", line 1683, in __execute
    return await self._do_execute(
  File "/data/project/osmose/frontend/osmose-frontend-venv/lib/python3.9/site-packages/asyncpg/connection.py", line 1710, in _do_execute
    stmt = await self._get_statement(
  File "/data/project/osmose/frontend/osmose-frontend-venv/lib/python3.9/site-packages/asyncpg/connection.py", line 397, in _get_statement
    statement = await self._protocol.prepare(
  File "asyncpg/protocol/protocol.pyx", line 168, in prepare
asyncpg.exceptions.UndefinedColumnError: column markers.item does not exist