Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialise of dbbot fails #12

Open
Shamane2000 opened this issue Mar 21, 2024 · 1 comment
Open

Initialise of dbbot fails #12

Shamane2000 opened this issue Mar 21, 2024 · 1 comment

Comments

@Shamane2000
Copy link

Shamane2000 commented Mar 21, 2024

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: [email protected]
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: [email protected]
License: Apache License 2.0
Requires: robotframework, sqlalchemy
Required-by:

so, whats wrong?

@zodiacconsultingllc
Copy link

Same issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants