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

Possible issue when running test script (basic_tutorial_qcgpj.py) in tutorials #391

Open
mzrghorbani opened this issue Mar 29, 2023 · 1 comment

Comments

@mzrghorbani
Copy link
Contributor

Running basic_tutorial_qcgpj.py terminates abruptly with the following message:

 Traceback (most recent call last):
  File "basic_tutorial_qcgpj.py", line 44, in <module>
    campaign.campaign_db.dump()
  File "/home/mghorbani/workspace/FabSim/venv/lib/python3.8/site-packages/easyvvuq/db/sql.py", line 954, in dump
    result[table.name] = [dict(row) for row in self.engine.execute(table.select())]
AttributeError: 'Engine' object has no attribute 'execute'

Removing the line "campaign.campaign_db.dump()" will allow the execution to be completed successfully, however, it might have ramifications for handling db.

@mzrghorbani
Copy link
Contributor Author

Fixed the issue with database dump and QC-GPJ execution in recent commits.

mzrghorbani added a commit to mzrghorbani/EasyVVUQ that referenced this issue Dec 4, 2024
djgroen added a commit that referenced this issue Dec 4, 2024
Fix issue #391 with database dump.
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

1 participant