-
Notifications
You must be signed in to change notification settings - Fork 3
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
Usage example not working #8
Comments
Indeed, pyvista's |
Sorry, didn't mean to close the issue. I'll try to port |
I cannot find any combination fixing the pyvista version to something older that fixes the issue. Could someone do it ? if so could I get the version of all packages ? Also, the trame is interesting when do plan to have this included ? Do you need help somehow ? |
I tried many version combinations and could not figure out the problem. My guess now is that something is broken in the You can upgrade to version 0.0.6 via pip ( |
Thanks you so much. It indeed worked! |
Not working for me unfortunately, I keep getting errors like
|
That looks like a permissions configuration issue with your computer, when |
Hello, I have the same problem, how did you solve it?: PermissionError: [Errno 13] Permission denied:. Thanks you |
I have not yet found a solution. Unfortunately I am currently restricted to a Windows machine without admin rights. Are you in the same situation perhaps? |
That might be fixed using a |
I think that this problem results from accessing temp file in "root/stpyvista/panel/io/save.py", line 295 when NamedTemporaryFile in "root/stpyvista/__init__.py", line 84 hold the temp file. # Create HTML file
with NamedTemporaryFile(mode='a+', suffix='.html') as model_html:
geo_pan_pv.save(model_html.name, resources=INLINE)
panel_html = model_html.read() To # Create HTML file
temp_path = ""
with NamedTemporaryFile(mode='a+', suffix='.html') as model_html:
temp_path = model_html.name
geo_pan_pv.save(temp_path, resources=INLINE)
with open(temp_path, 'r', encoding="utf-8") as model_html:
panel_html = model_html.read() This code just get temp file name from NamedTemporaryFile and release that temp file. |
I got rid of the whole temporary file in version 0.0.7 of |
I checked working about version 0.0.7. Thank you! |
Works for me too, thanks! Shall we open a new issue for trame? |
Sounds good 👍 |
Is it just me or is the translation of the view using the middle mouse button not working anymore with the panel backend? |
Shift + click does the panning. |
The usage example is not currently working for me. No errors, but the 3D model is not shown.
There is also a deprecation warning:
PyVistaDeprecationWarning: pythreejs backend is deprecated and is planned for future removal.
The examples on the page on the Streamlit Community Cloud don't work either anymore: https://stpyvista.streamlit.app/,
Windows 10, Python 3.11, pyvista 0.38.5, stpyvista 0.0.5, streamlit 1.20.0
The text was updated successfully, but these errors were encountered: