-
Notifications
You must be signed in to change notification settings - Fork 13
Description
after install dbbot and their requirements, i try to run :
python -m dbbot.run ./output.xml -v
and get
(.venv) PS C:\Projects\Projekt01\Latenzmessung-ligth> python -m dbbot.run ./output.xml -v
DatabaseWriter | - Initializing database schema
Parser | - Parsing ./output.xml
DatabaseWriter | - Closing database connection
Traceback (most recent call last):
File "C:\Users\hertzschuch\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\hertzschuch\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Projects\Projekt01\Latenzmessung-ligth.venv\lib\site-packages\dbbot\run.py", line 53, in
DbBot().run()
File "C:\Projects\Projekt01\Latenzmessung-ligth.venv\lib\site-packages\dbbot\run.py", line 44, in run
self._parser.xml_to_db(xml_file)
File "C:\Projects\Projekt01\Latenzmessung-ligth.venv\lib\site-packages\dbbot\reader\robot_results_parser.py", line 36, in xml_to_db
test_run_id = self._db.insert('test_runs', {
File "C:\Projects\Projekt01\Latenzmessung-ligth.venv\lib\site-packages\dbbot\reader\database_writer.py", line 183, in insert
result = self._connection.execute(sql_statement, **criteria)
TypeError: execute() got an unexpected keyword argument 'hash'
The same is when I try to use mysql and not sqlite.
more Sysinfo:
pip show sqlalchemy
Name: SQLAlchemy
Version: 2.0.28
Summary: Database Abstraction Library
Home-page: https://www.sqlalchemy.org
Author: Mike Bayer
Author-email: mike_mp@zzzcomputing.com
License: MIT
Requires: typing-extensions, greenlet
Required-by: dbbot-sqlalchemy
pip show dbbot-sqlalchemy
Name: dbbot-sqlalchemy
Version: 0.2
Summary: A tool for inserting Robot Framework test run results into SQL database using SQLAlchemy.
Home-page: https://github.com/pbylicki/DbBot-SQLAlchemy
Author: Robot Framework Developers, Pawel Bylicki
Author-email: robotframework@gmail.com
License: Apache License 2.0
Requires: robotframework, sqlalchemy
Required-by:
so, whats wrong?