Skip to content

Can't find example json file after installing package #7

Description

@vincentlux

Hi,

When following quick-start.py, the following error appeared:

>>> docs = load_example_doc_data(['mr-sun.json', 'technology.json', 'chat.json'])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/xiaopeng/anaconda3/envs/soco/lib/python3.6/site-packages/soco_core/examples.py", line 20, in load_example_doc_data
    doc = json.load(open(os.path.join(cur_path, '..', 'resources/{}'.format(n))))
FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaopeng/anaconda3/envs/soco/lib/python3.6/site-packages/soco_core/../resources/mr-sun.json'

May I ask if the example json files were forgotten to put in or do I need to download it by myself? Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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