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

Tool can not be used in Robot Framework 3.1 + Python 3.5 #24

Open
stonerzju opened this issue Jan 28, 2019 · 3 comments
Open

Tool can not be used in Robot Framework 3.1 + Python 3.5 #24

stonerzju opened this issue Jan 28, 2019 · 3 comments

Comments

@stonerzju
Copy link

I am new to this tool but found it quite useful.
But when I try to parse the report which generated by Robot Framework 3.1 + Python 3.5, It failed to run.

agilis@ubuntu:~/Code/Agilis/Tests/SLC_MIT/TestReport$ python -m dbbot.run output.xml
Traceback (most recent call last):
File "/home/agilis/miniconda3/envs/py35/lib/python3.5/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/home/agilis/miniconda3/envs/py35/lib/python3.5/runpy.py", line 153, in _get_module_details
code = loader.get_code(mod_name)
File "", line 799, in get_code
File "", line 759, in source_to_code
File "", line 222, in _call_with_frames_removed
File "/home/agilis/miniconda3/envs/py35/lib/python3.5/site-packages/dbbot/run.py", line 43
except DataError, message:
^
SyntaxError: invalid syntax

@pekkaklarck
Copy link
Contributor

It seems the code is not Python 3 compatible. This project is currently unmaintained so don't know when, if ever, the problem is fixed.

@tiwarshr
Copy link

tiwarshr commented Nov 6, 2019

i was facing the similar issue. it seems that with dbbot ,we need to install dbbot-sqlalchemy too.
just install it via pip using pip install dbbot-sqlalchemy,it should work .
Worked for me .
Happy Testing !!

@Tattoo
Copy link
Contributor

Tattoo commented Mar 4, 2020

dbbot-sqlalchemy is separate fork of this project that seems to be actively maintained, has Python 3 support, and supports more databases than sqlite

I would recommend everyone to check it out

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

4 participants