Just watched the talk on shiny live. Tried it out on a test application and ran into a couple of issues.
FileNotFoundError: [Errno 2] No such file or directory: '/home/jamie/.cache/shiny/shinylive'
I was able to resolve this by creating the shiny directory in .cache which didn't previously exist.
Creating directory /home/jamie/.cache/shiny/shinylive
/home/jamie/.cache/shiny/shinylive/shinylive-0.0.1dev does not exist.
Downloading https://pyshiny.netlify.app/shinylive/shinylive-0.0.1dev.tar.gz...
Traceback (most recent call last):
File "/filestore/ubuntu/git/me/python_shiny/.venv/bin/shiny", line 8, in <module>
sys.exit(main())
File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/shiny/_main.py", line 393, in static
_static.deploy_static(
File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/shiny/_static.py", line 55, in deploy_static
shinylive_bundle_dir = _ensure_shinylive_local(version=version)
File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/shiny/_static.py", line 275, in _ensure_shinylive_local
download_shinylive(url=url, version=version, destdir=destdir)
File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/shiny/_static.py", line 298, in download_shinylive
urllib.request.urlretrieve(bundle_url, tmp.name)
File "/usr/lib/python3.8/urllib/request.py", line 286, in urlretrieve
raise ContentTooShortError(
urllib.error.ContentTooShortError: <urlopen error retrieval incomplete: got only 172669498 out of 186880432 bytes>
Just watched the talk on shiny live. Tried it out on a test application and ran into a couple of issues.
On first run of
shiny static test_app/ sitei got an error:I was able to resolve this by creating the shiny directory in .cache which didn't previously exist.
Following that, running the above which kicks off a download of shiny live I get