Giter Club home page Giter Club logo

holideck's People

Contributors

3easy avatar mpesce avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

holideck's Issues

Hardcoded path in driver.py breaks simulator

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?

Web interface fails on OS X with Cisco AnyConnect Secure Mobile Client present

Symptoms:

  • holideck.py reports: Web interface should be available on http://localhost:8080, but HTTP requests to port 8080 fail
  • lsof -n -i4TCP:8080 shows nothing if holideck.py is not running
  • netstat -an | grep 8080 shows nothing if holideck.py is not running

Root Cause:

Cisco AnyConnect Secure Mobile Client is installed, and using launchd to invisibly camp on port 8080.

Verification:

  • Run: sudo launchctl list -x com.cisco.anyconnect.vpnagentd
  • If you see XML, Cisco AnyConnect Secure Mobile Client is present

Workaround:

  • Stop the AnyConnect job with: sudo launchctl stop com.cisco.anyconnect.vpnagentd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.