question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cadCAD Version: 0.4.28 doesn't work

See original GitHub issue

Hi, I’m using the cadCAD for a while, and I have some simulation with it on my old machine. Today, I installed it on another machine which I think the installed version is now the latest version. but it doesn’t work! At first, I thought maybe it’s because of different versions of python, so I made sure both machines are using the same version(3.8.10), but it didn’t solve the problem. Then I checked with the tutorial code, the first one, and I got this error:

                  ___________    ____
  ________ __ ___/ / ____/   |  / __ \
 / ___/ __` / __  / /   / /| | / / / /
/ /__/ /_/ / /_/ / /___/ ___ |/ /_/ /
\___/\__,_/\__,_/\____/_/  |_/_____/
by cadCAD

cadCAD Version: 0.4.28
Execution Mode: local_proc
Simulation Dimensions:
Entire Simulation: (Models, Unique Timesteps, Params, Total Runs, Sub-States) = (0, 0, 0, 0, 0)
Execution Method: local_simulations
Traceback (most recent call last):
  File "test.py", line 64, in <module>
    raw_system_events, tensor_field, sessions = simulation.execute() # The `execute()` method returns a tuple; its first elements contains the raw results
  File "/home/user/.local/lib/python3.8/site-packages/cadCAD/engine/__init__.py", line 157, in execute
    final_result = get_final_results(simulations_results, partial_state_updates, eps, sessions, remote_threshold)
  File "/home/user/.local/lib/python3.8/site-packages/cadCAD/engine/__init__.py", line 121, in get_final_results
    for sim_result, psu, ep in list(zip(simulations, psus, eps)):
TypeError: 'NoneType' object is not iterable ```

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
VHPL-UIScommented, Nov 12, 2021

@BenSchZA No, I just copied the code from the notebook into a .py file and tried to run it. I have the 0.4.23 and it works fine.

1reaction
JEJodestycommented, Mar 7, 2022

Thanks for the update and sorry for the delay

@VHPL-UIS @susmit @daithi-coombes despite the title of the issue, it entails updating not only robot-and-marbles-part-1 to run on 0.4.28, but also all cadCAD demos

@VHPL-UIS @susmit I suggest:

@LinuxIsCool @BenSchZA I suggest:

  • if there is still an issue with jubyter lab or notebook after the steps above are complete, submit a jubyter lab and/or notebook specific issue(s) for within this repo
Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Error in cadCAD Tutorials
Hello, I recently started cadCAD tutorials. When I run Part 1, I am getting a type error as below. cadCAD Version: 0.4.28 Execution...
Read more >
Announcing cadCAD 1.0: Foundations for a New Era of ...
The cadCAD ecosystem is evolving and expanding — both cadCAD's core tech ... releases for the soon to be legacy 0.4.28 version of...
Read more >
CAD Manual
Supported Software Version . ... ensure that all CAD drafting work performed in house or by a city-hired ... If this does not...
Read more >
graphics/gegl04/Makefile
graphics/gegl04 [graph based image processing framework (API version 0.4)] ... to version: gegl04-0.4.30; (2020-12-21) Updated to version: gegl04-0.4.28 ...
Read more >
cadCAD
cadCAD : a differential games based simulation software package for research, ... cadCAD 0.4.28. pip install cadCAD. Copy PIP instructions. Latest version.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found