Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://hub.gke2.mybinder.org/user/worldwidetelesc-pywwt-notebooks-8wbk7kct/lab/tree/First%20Steps.ipynb #329

Open
pefanis27 opened this issue May 13, 2022 · 1 comment

Comments

@pefanis27
Copy link

problem with run the : wwt = await connect_to_app().becomes_ready()


TimeoutError Traceback (most recent call last)
Input In [2], in
----> 1 wwt = await connect_to_app().becomes_ready()

File ~/.local/lib/python3.8/site-packages/pywwt/core.py:561, in BaseWWTWidget.becomes_ready(self, timeout)
557 fut.set_exception(asyncio.TimeoutError())
559 loop.call_later(timeout, maybe_time_it_out)
--> 561 await self._readyFuture
562 return self

TimeoutError:

Please Help me

@pkgw
Copy link
Contributor

pkgw commented May 17, 2022

Hi,

Thanks for reaching out! Usually when this happens, it's because you need to open up the WWT app before running these commands. You can do that either by clicking the "AAS WorldWide Telescope" icon in the JupyterLab launcher, or by going to the View → Activate Command Palette menu item and clicking "AAS WorldWide Telescope" there.

We should special-case this timeout error to suggest the above, since right now we're not giving the user any helpful hints.

Even better would be to be able to automatically launch the WWT app if needed, but last time I looked into the JupyterLab infrastructure, I couldn't figure out a way to make that happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants