Try fix pillow issue in unittest #821
Annotations
2 errors and 2 warnings
Run unittests:
conflowgen/tests/notebooks/conflowgen/tests/notebooks/test_run_notebooks.py#L36
RunNotebooks.test_small_analyses_example
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
------------------
conflowgen.run_all_analyses(
as_text=False,
as_graph=True,
display_text_func=lambda text: display(Markdown(text)),
display_in_markup_language="markdown",
display_as_ipython_svg=True,
)
------------------
---------------------------------------------------------------------------
OperationalError Traceback (most recent call last)
File ~/.local/lib/python3.10/site-packages/peewee.py:3322, in Database.execute_sql(self, sql, params, commit)
3321 cursor = self.cursor()
-> 3322 cursor.execute(sql, params or ())
3323 return cursor
OperationalError: no such column: t1.moved_capacity
During handling of the above exception, another exception occurred:
OperationalError Traceback (most recent call last)
Cell In[7], line 1
----> 1 conflowgen.run_all_analyses(
2 as_text=False,
3 as_graph=True,
4 display_text_func=lambda text: display(Markdown(text)),
5 display_in_markup_language="markdown",
6 display_as_ipython_svg=True,
7 )
File ~/work/conflowgen/conflowgen/conflowgen/analyses/__init__.py:93, in run_all_analyses(as_text, as_graph, display_text_func, display_in_markup_language, static_graphs, display_as_ipython_svg, start_date, end_date)
79 auto_reporter = AutoReporter(
80 as_text=as_text,
81 as_graph=as_graph,
(...)
87 end_date=end_date
88 )
90 auto_reporter.output.display_explanation(
91 "Run all analyses on the synthetically generated data."
92 )
---> 93 auto_reporter.present_reports(reports)
94 auto_reporter.output.display_explanation("All analyses have been run.")
File ~/work/conflowgen/conflowgen/conflowgen/reporting/auto_reporter.py:76, in AutoReporter.present_reports(self, reports)
69 report_instance.show_report_as_graph(
70 static=self.static_graphs,
71 display_as_ipython_svg=self.display_as_ipython_svg,
72 start_date=self.start_date,
73 end_date=self.end_date
74 )
75 else:
--->
|
Run unittests
Process completed with exit code 2.
|
Run unittests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run unittests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|