Skip to content
This repository was archived by the owner on Mar 6, 2020. It is now read-only.
This repository was archived by the owner on Mar 6, 2020. It is now read-only.

movies example can't find query.sql #5

@electronwill

Description

@electronwill

Thanks to the latest revision that added env_specs to all the kapsels, the stocks example now works great! The movies example does say by email and at http://develop.anaconda.org/wwarner/kapsel/movie-example/apps that it's up and running successfully, but when I visit http://54.221.180.52/wwarner/movie-example5/main I only see a blank page. The logs show this error:

File "main.py", line 15, in <module>:
query = open(join(dirname(__file__), 'query.sql')).read() Traceback (most recent call last):
  File "/opt/continuum/kapsels/wwarner/movie-example5/envs/default/lib/python2.7/site-packages/bokeh/application/handlers/code_runner.py", line 83, in run
    exec(self._code, module.__dict__)
  File "/opt/continuum/kapsels/wwarner/movie-example5/main.py", line 15, in <module>
    query = open(join(dirname(__file__), 'query.sql')).read()
IOError: [Errno 2] No such file or directory: '/opt/continuum/kapsels/wwarner/movie-example5/query.sql'

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