Skip to content

Error Running Meshflow Tutorial #54

Open

Description

@acebulsk

I'm getting ValueError: setting an array element with a sequence. when running the meshflow tutorial - meshflow/examples/example-setup-python/meshflow_bow_at_calgary-grouping.ipynb. It occurs on the fourth chunk when running:

exp1.run(save_path=os.path.join(work_path, 'outputs_grouped'))

Others are not getting this error so it must be something on my system. Here are my system details:

============================================================
PYTHON
============================================================
Python executable: /home/alex/Documents/code/meshflow/.venv/bin/python
Python version: 3.12.3 (main, Mar 23 2026, 19:04:32) [GCC 13.3.0]
Python implementation: CPython

============================================================
SYSTEM
============================================================
Platform: Linux-6.17.0-23-generic-x86_64-with-glibc2.39
System: Linux
Release: 6.17.0-23-generic
Machine: x86_64
Processor: x86_64

============================================================
ENVIRONMENT
============================================================
Current working directory: /home/alex/Documents/code/meshflow
Virtual environment: /home/alex/Documents/code/meshflow/.venv
Conda environment: None

============================================================
PATHS
============================================================
sys.path:
 - /home/alex/Documents/code/meshflow/examples/example-setup-python
 - /usr/lib/python312.zip
 - /usr/lib/python3.12
 - /usr/lib/python3.12/lib-dynload
 - /home/alex/Documents/code/meshflow/.venv/lib/python3.12/site-packages
 - /home/alex/Documents/code/meshflow/src

site-packages:
 - /home/alex/Documents/code/meshflow/.venv/lib/python3.12/site-packages
 - /home/alex/Documents/code/meshflow/.venv/local/lib/python3.12/dist-packages
 - /home/alex/Documents/code/meshflow/.venv/lib/python3/dist-packages
 - /home/alex/Documents/code/meshflow/.venv/lib/python3.12/dist-packages

============================================================
PIP
============================================================
pip 24.0 from /home/alex/Documents/code/meshflow/.venv/lib/python3.12/site-packages/pip (python 3.12)

Installed packages:
Package                       Version     Editable project location
----------------------------- ----------- ----------------------------------
alabaster                     1.0.0
asttokens                     3.0.1
attrs                         26.1.0
babel                         2.18.0
cdo                           1.6.1
certifi                       2026.4.22
cffi                          2.0.0
cftime                        1.6.5
charset-normalizer            3.4.7
click                         8.3.3
comm                          0.2.3
contourpy                     1.3.3
coverage                      7.14.0
cycler                        0.12.1
debugpy                       1.8.20
decorator                     5.2.1
docutils                      0.22.4
executing                     2.2.1
fastjsonschema                2.21.2
flatbuffers                   25.12.19
flexcache                     0.3
flexparser                    0.4
fonttools                     4.63.0
geopandas                     1.1.3
h3                            4.4.2
hydrant                       0.1.0.dev0
idna                          3.15
imagesize                     2.0.0
iniconfig                     2.3.0
ipykernel                     7.2.0
ipython                       9.13.0
ipython_pygments_lexers       1.1.1
jedi                          0.20.0
Jinja2                        3.1.6
jsonschema                    4.26.0
jsonschema-specifications     2025.9.1
jupyter_client                8.8.0
jupyter_core                  5.9.1
kiwisolver                    1.5.0
MarkupSafe                    3.0.3
matplotlib                    3.10.9
matplotlib-inline             0.2.2
meshflow                      0.2.0.dev0  /home/alex/Documents/code/meshflow
narwhals                      2.21.2
nbformat                      5.10.4
nest-asyncio                  1.6.0
netCDF4                       1.7.4
networkx                      3.6.1
numpy                         2.4.5
packaging                     26.2
pandas                        3.0.3
parso                         0.8.7
pexpect                       4.9.0
pillow                        12.2.0
Pint                          0.25.3
Pint-Pandas                   0.8.0
pint-xarray                   0.6.1
pip                           24.0
platformdirs                  4.9.6
plotly                        6.7.0
pluggy                        1.6.0
prompt_toolkit                3.0.52
psutil                        7.2.2
ptyprocess                    0.7.0
pure_eval                     0.2.3
pycparser                     3.0
Pygments                      2.20.0
pyogrio                       0.12.1
pyparsing                     3.3.2
pyproj                        3.7.2
pytest                        9.0.3
python-dateutil               2.9.0.post0
pyzmq                         27.1.0
referencing                   0.37.0
requests                      2.34.2
roman-numerals                4.1.0
rpds-py                       0.30.0
shapely                       2.1.2
six                           1.17.0
snowballstemmer               3.0.1
Sphinx                        9.1.0
sphinx-autodoc-typehints      3.10.2
sphinx_rtd_theme              3.1.0
sphinxcontrib-applehelp       2.0.0
sphinxcontrib-devhelp         2.0.0
sphinxcontrib-htmlhelp        2.1.0
sphinxcontrib-jquery          4.1
sphinxcontrib-jsmath          1.0.1
sphinxcontrib-qthelp          2.0.0
sphinxcontrib-serializinghtml 2.0.0
stack-data                    0.6.3
timezonefinder                8.2.4
tornado                       6.5.5
traitlets                     5.15.0
typing_extensions             4.15.0
urllib3                       2.7.0
wcwidth                       0.7.0
xarray                        2026.4.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions