Skip to content

Hardcoded path in driver.py breaks simulator #3

@jpwarren

Description

@jpwarren

When I try to test the rainbow app in Holideck, I get an OSError:

Traceback (most recent call last):
  File "/home/daedalus/src/holideck/bottle.py", line 763, in _handle
    return route.call(**args)
  File "/home/daedalus/src/holideck/bottle.py", line 1577, in wrapper
    rv = callback(*a, **ka)
  File "/home/daedalus/src/holideck/iotas/devices/moorescloud/holiday/driver.py", line 267, in do_runapp
    c = subprocess.call(['/home/holiday/scripts/start-app.sh', app_path], shell=False)
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

It looks like start-app.sh and stop-app.sh are missing from iotas/scripts, or is this something specific to the hardware build?

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