Hi,
i try to install the Luftdatenpumpe at a Debian 11.
I get a failure if i try to do this step " Run luftdatenpumpe
for the first time to manifest database schema:"
2022-12-10 20:57:54,783 [luftdatenpumpe.engine ] INFO : Emitting to target data sinks, this might take some time
0%| | 0/2 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/usr/local/bin/luftdatenpumpe", line 8, in <module>
sys.exit(run())
File "/usr/local/lib/python3.9/dist-packages/luftdatenpumpe/commands.py", line 186, in run
run_engine(options)
File "/usr/local/lib/python3.9/dist-packages/luftdatenpumpe/commands.py", line 327, in run_engine
engine.process(data)
File "/usr/local/lib/python3.9/dist-packages/luftdatenpumpe/engine.py", line 73, in process
target.emit(item)
File "/usr/local/lib/python3.9/dist-packages/luftdatenpumpe/target/rdbms.py", line 78, in emit
return self.store_station(station)
File "/usr/local/lib/python3.9/dist-packages/luftdatenpumpe/target/rdbms.py", line 199, in store_station
self.stationtable.upsert(stationdata, ["station_id"])
File "/usr/local/lib/python3.9/dist-packages/dataset/table.py", line 264, in upsert
row_count = self.update(row, keys, ensure=False, return_count=True)
File "/usr/local/lib/python3.9/dist-packages/dataset/table.py", line 210, in update
rp = self.db.executable.execute(stmt)
File "/usr/local/lib/python3.9/dist-packages/sqlalchemy/engine/base.py", line 1011, in execute
return meth(self, multiparams, params)
File "/usr/local/lib/python3.9/dist-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/usr/local/lib/python3.9/dist-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement
ret = self._execute_context(
File "/usr/local/lib/python3.9/dist-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context
self._handle_dbapi_exception(
File "/usr/local/lib/python3.9/dist-packages/sqlalchemy/engine/base.py", line 1514, in _handle_dbapi_exception
util.raise_(exc_info[1], with_traceback=exc_info[2])
File "/usr/local/lib/python3.9/dist-packages/sqlalchemy/util/compat.py", line 182, in raise_
raise exception
File "/usr/local/lib/python3.9/dist-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context
self.dialect.do_execute(
File "/usr/local/lib/python3.9/dist-packages/sqlalchemy/engine/default.py", line 608, in do_execute
cursor.execute(statement, parameters)
UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 41: ordinal not in range(128)
How can i fix this issue?
Thanks,
Oliver