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

Backtrace when not using the stepping emulator #46

Open
mads256h opened this issue Sep 7, 2023 · 2 comments
Open

Backtrace when not using the stepping emulator #46

mads256h opened this issue Sep 7, 2023 · 2 comments

Comments

@mads256h
Copy link

mads256h commented Sep 7, 2023

python is version 3.10 on my system.

Using the command

python exercise_runner.py --lecture 0 --algorithm PingPong --type async --devices 3

Gives the following backtrace:

Traceback (most recent call last):
  File "/home/mads/GitHub/DistributedExercisesAAU/exercise_runner.py", line 100, in <module>
    run_exercise(args.lecture[0], args.algorithm[0], args.type[0], args.devices[0], False)
  File "/home/mads/GitHub/DistributedExercisesAAU/exercise_runner.py", line 79, in run_exercise
    instance.shell.start()
    ^^^^^^^^^^^^^^
AttributeError: 'AsyncEmulator' object has no attribute 'shell'

It seems that only the SteppingEmulator has this attribute.

It seems to run anyway, though.

@danielalexlarsen
Copy link

Also running Ubuntu 22.04 with python 3.10.12 and the dependencies installed, getting the same errors for sync and async.

@michelealbano
Copy link
Collaborator

We have just corrected it. We are patching the bug shortly.

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

3 participants