Comments (18)
I get:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
ERROR: In ../Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 761
vtkXOpenGLRenderWindow (0x55ec3e3c17e0): Unable to find a valid OpenGL 3.2 or later implementation. Please update your video card driver to the latest version. If you are using Mesa please make sure you have version 11.2 or later and make sure your driver in Mesa supports OpenGL 3.2 such as llvmpipe or openswr. If you are on windows and using Microsoft remote desktop note that it only supports OpenGL 3.2 with nvidia quadro cards. You can use other remoting software such as nomachine to avoid this issue.
Nothing to do about it except nox version, correct?
from vcs.
@scottwittenburg @danlipsa @doutriaux1 @downiec @forsyth2 @muryanto1 I am hunting around for a solution to #430 and it seems that the only "solution" is to use the mesa build, which defeats the purpose of what I am trying to use vcs
for, interactive plotting of in memory objects whilst debugging a script. It really would be great if a solution is available for interactive plotting. The environment I am using is RHEL7 and VNC
from vcs.
jupyter-notebook are not the best, but a great way around when using mesa. They will show you the picture.
from vcs.
@doutriaux1 thanks, I am trying to debug a script which is not implemented in a jupyter notebook, rather I am just running this (with pdb) in the terminal. It would be preferable to me if I can just enable VCS interactively, however it that's not possible I'll just have to forget about vcs altogether and go to matplotlib or equivalent. It's a pity though, as VCS deals with CMIP5/6/ ocean grids far better than other packages
from vcs.
you do know you can copy/paste your script into a new notebook? Then use split cell to run only the buggy section of your script. It's actually faster than regular prompt debugging.
from vcs.
@doutriaux1 I know this exists somewhere, but how do I initialize a jupyter notebook on one of our workstations?
Is there a better way than:
(cdat82Py3) bash-4.2$ jupyter-notebook
[I 14:03:53.960 NotebookApp] [nb_conda_kernels] enabled, 3 kernels found
[I 14:03:53.965 NotebookApp] Writing notebook server cookie secret to ~/.local/share/jupyter/runtime/notebook_cookie_secret
[I 14:03:54.150 NotebookApp] [nb_conda] enabled
[I 14:03:54.150 NotebookApp] Serving notebooks from local directory: /export/durack1
[I 14:03:54.150 NotebookApp] The Jupyter Notebook is running at:
[I 14:03:54.150 NotebookApp] http://localhost:8888/?token=cea46eeb925008ffd92dfb02929fec0dcf297
[I 14:03:54.150 NotebookApp] or http://127.0.0.1:8888/?token=cea46eeb925008ffd92dfb02929fec0dcf297
[I 14:03:54.150 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 14:03:54.195 NotebookApp]
To access the notebook, open this file in a browser:
file:///export/durack1/.local/share/jupyter/runtime/nbserver-113648-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=cea46eeb925008ffd92dfb02929fec0dcf297
or http://127.0.0.1:8888/?token=cea46eeb925008ffd92dfb02929fec0dcf297
from vcs.
@downiec has it setup . It's our vcdat. You can specify any kernel you want once you're at the url. @downiec what's the URL for jupyter-vcdat on Paul's machines
from vcs.
@doutriaux1 Are you talking about jupyter-vcdat setup in Jupyterhub which is hosted on nimbus?
from vcs.
I don't have vcdat setup/installed on other machines right now, but if the machine has docker available, there's a docker image that can be run which has vcdat, jupyterlab and notebooks setup in it.
from vcs.
nimbus should work for @durack1 he wants to be able to connect to a jupyterlab running on a remote machine from his local machine.
from vcs.
@doutriaux1 Yes, in that I can add him to the group on github so he can access it. @durack1 I set you an invitation to the group and will email you how to access it.
from vcs.
@doutriaux1 is this what you'd expect with a cdat82py3 instance that has not enabled mesa on env creation:
from vcs.
@doutriaux1 it seems that there is a vcs graphics object created, but I just can't see it, no matter how I try and go about using it..
from vcs.
try this
from IPython.core.display import display
d = x.plot(climSlice)
display(d)
from vcs.
of course with pdb, you're interupting before anything is drawn so you can't see an image yet.
from vcs.
but the dispaly
will force ipython to dispaly the object, otherwise it only disaplys it if it's the last thing in the cell, which it is not here since pdb is asking you a question
from vcs.
@doutriaux1 I was hoping this would work, but no cigar:
from vcs.
maybe display is used by pdb. try
from IPython.core.display import display as display_ipython
...
display_ipython(d)
from vcs.
Related Issues (20)
- 1D plot do not seem to show time/level if available
- axisconvert seems to force datawc to be in converted units
- drawlogooff() does not always work
- downloading a jupyter notebook has html does not have the image/plot included HOT 3
- Implement sliders properly
- confusing close / cleanup functions.
- New vtkXOpenGLRenderWindow error unable to find valid OpenGL 3.2 or later implementation HOT 14
- Text object priority does not work
- Alpha channel for color of Text Objects does not work; RGB values non-standard
- Problem in continents lines HOT 5
- The README.md is empty
- Antialiasing tests fail with vtk >=9.0.0 HOT 9
- Moving from vtk-cdat to conda-forge vtk.
- vcs with vtk 9.0.0.rc3 shows antialiasing issue.
- Create 3d plots in loop, noninteractive HOT 3
- "VCS" module produces missing values? HOT 7
- Places annotations over globe HOT 4
- change y axis to log y axis HOT 2
- Error while importing cdms2 (CDAT) HOT 2
- Unable to install vcs conda package in a python 3.9 environment: package vcs-8.1-py_0 requires vtk-cdat >8.1, but none of the providers can be installed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcs.