Skip to content

Backtrace when not using the stepping emulator #46

@mads256h

Description

@mads256h

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.

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