NERSC / jupyterlab-slurm

BSD 3-Clause "New" or "Revised" License
92 stars 22 forks source link

DataTables warning, queue not shown #28

Closed andreas-h closed 5 years ago

andreas-h commented 5 years ago

When opening the Slurm Queue Manager, I get a popup:

DataTables warning: table id=queue - Ajax error. For more information about this error, please see http://datatables.net/tn/7

My queue's contents are not displayed even though I have running jobs in there.

Does this extension make any assumptions about the SLURM configuration?

andreas-h commented 5 years ago

Seems to work now, sorry for the noise.

krinsman commented 5 years ago

Thank you again for using JupyterLab Slurm and giving feedback about the user experience!

I think this is a good issue, because the error you get when the environment isn't set up correctly with Slurm isn't very informative or helpful.

Like if it gets back the response squeue: Command not found it should say that to the user, instead of the cryptic DataTables warning that currently shows up.

We're planning to refactor the code to use a new dependency instead of DataTables so hopefully in the not too distant future this won't be a problem anymore.

krinsman commented 4 years ago

@andreas-h When I got the warning/problem recently, it was because I had forgotten to install the server extension as well as the Jupyter lab extension. (I agree that this is very annoying -- currently there is no standardized mechanism for installing both simultaneously.)

Posting this here for future reference vis a vis debugging to myself and anyone else who might find it useful.