Title: Can't find example json file after installing package · Issue #7 · soco-ai/soco-core-python · GitHub
Open Graph Title: Can't find example json file after installing package · Issue #7 · soco-ai/soco-core-python
X Title: Can't find example json file after installing package · Issue #7 · soco-ai/soco-core-python
Description: 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 "
Open Graph Description: 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 "
X Description: Hi, When following quick-start.py, the following error appeared: >>> docs = load_example_doc_data(['mr-sun.json', 'technology.json', 'chat.json']) Traceback (most r...
Opengraph URL: https://github.com/soco-ai/soco-core-python/issues/7
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can't find example json file after installing package","articleBody":"Hi,\r\n\r\nWhen following quick-start.py, the following error appeared:\r\n\r\n```\r\n\u003e\u003e\u003e docs = load_example_doc_data(['mr-sun.json', 'technology.json', 'chat.json'])\r\nTraceback (most recent call last):\r\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\n File \"/home/xiaopeng/anaconda3/envs/soco/lib/python3.6/site-packages/soco_core/examples.py\", line 20, in load_example_doc_data\r\n doc = json.load(open(os.path.join(cur_path, '..', 'resources/{}'.format(n))))\r\nFileNotFoundError: [Errno 2] No such file or directory: '/home/xiaopeng/anaconda3/envs/soco/lib/python3.6/site-packages/soco_core/../resources/mr-sun.json'\r\n```\r\nMay I ask if the example json files were forgotten to put in or do I need to download it by myself? Thanks!\r\n","author":{"url":"https://github.com/vincentlux","@type":"Person","name":"vincentlux"},"datePublished":"2020-04-22T03:35:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/7/soco-core-python/issues/7"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:25465a60-ef08-4b49-1890-61b04873fdb5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5EA:3F96B:60DEC6C:840FE9A:698CF2FC |
| html-safe-nonce | 2127795e098d4396733d06e185fbb3ab02ade16adf82aecbbd0cc93c1bde1bcf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUVBOjNGOTZCOjYwREVDNkM6ODQwRkU5QTo2OThDRjJGQyIsInZpc2l0b3JfaWQiOiI0Mjg2NTA2MzY2ODE2NTQ3NTgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9e98127a5946efec3d296368d8b01cd19cd81928e72e6ab674cfc3de274ad058 |
| hovercard-subject-tag | issue:604427885 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/soco-ai/soco-core-python/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/857c07162ab8b0baedf92189c85ea250a224960ecf891e9fd8f8597b1d5e454a/soco-ai/soco-core-python/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/857c07162ab8b0baedf92189c85ea250a224960ecf891e9fd8f8597b1d5e454a/soco-ai/soco-core-python/issues/7 |
| og:image:alt | 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 " |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vincentlux |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/soco-ai/soco-core-python git https://github.com/soco-ai/soco-core-python.git |
| octolytics-dimension-user_id | 32225519 |
| octolytics-dimension-user_login | soco-ai |
| octolytics-dimension-repository_id | 227438151 |
| octolytics-dimension-repository_nwo | soco-ai/soco-core-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 227438151 |
| octolytics-dimension-repository_network_root_nwo | soco-ai/soco-core-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width