-
Notifications
You must be signed in to change notification settings - Fork 23
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
Viola doesn't work without internet access #14
Comments
Hi @efccoder, Thank you for your message. I have tested Voila without an internet connection and it appears to work for several StrathSDR repositories. Are you able to provide some more detail about your setup?
The above will help me debug your issue further, Thanks, |
Hi @efccoder, Let me know if you have solved your problem or need further help. Otherwise, I will close this issue in a few days, Thanks, |
Closed issue due to no response. |
Hey @dnorthcote, sorry to reopen this topic. I wasn't able to investigate in the past few weeks. So it's not the RFSoC that needs internet, it's the computer that needs internet. I think viola is downloading something and it stores it on the local computer that's interacting with jupyter. I'm using a ZCU111 and i'm using the latest pynq 2.7 images from your team. What I did today is I've launched viola with internet access (ubuntu or windows), once the program loads, I cleared out the cache of my web browser and tried to reload the program. Nothing comes up. I've also tried clearing my web browser before launching the application and its the same response, nothing shows up. I've tried 3 browsers, MS edge, firefox, and brave. The program launches when I have internet access, and when I do not clear my browser cache. It still works without internet so long as I do not clear it. Is jupyter/viola downloading something? How can I figure out what its downloading? |
Hi @efccoder, Just to confirm, the problem that you are experiencing is the following:
I was able to repeat this issue using the Firefox web browser. However, I was unable to repeat this issue in the Chrome environment. That is, Chrome works successfully regardless of the PC's internet connectivity. This issue is peculiar, but I do not believe its related to the RFSoC SAM repository and is potentially a core Voila issue or browser problem. Therefore, I'll keep this issue closed for now. If you would like to view the network packets exchanged during Voila setup, you should perhaps use Wireshark. As a workaround, I would recommend using Chrome for now, Thanks, |
David, Thanks for investigating. Chrome doesn't work for me. I don't normally use chrome and I had to install it in order to try. I tried it without internet connectivity when I tried it. It's possible you might not have cleared your cache. I think I found the issue but I don't know how to try it. I'm new to voila myself. According to voila 0.3.0 docs: :https://voila.readthedocs.io/en/stable/using.html: Using third-party Widgets with VoilචInstead, it fallbacks to fetching the files from a CDN. This might result in an error (404) in case the custom widget has not been published to npm, or when Voilà runs in an environment without an Internet connection. To let the Voilà standalone app serve the nbextensions, use the enable_nbextensions flag as follows: voila --enable_nbextensions=True jupyter notebook --VoilaConfiguration.enable_nbextensions=True where do I run the jupyter notebook command? |
Hi @efccoder, You are right, I cleared the Chrome cache (correctly this time) and it failed to work as expected. It looks like you are trying to run a command line argument. So, to do this, you will need to launch Voila from a terminal. In Jupyter, open a terminal and type Thanks, |
Hello,
I've tried viola without my board having internet access. It pulls up the loading screen but then afterwards nothing shows up. Has your group tried viola without internet access? Is there a way for this operate without internet?
thank you.
The text was updated successfully, but these errors were encountered: