-
Notifications
You must be signed in to change notification settings - Fork 1
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
JOSS review: Runtime errors after setting up an environment #44
Comments
Hey @jhagerer! Thanks for agreeing to review this! Just a quick update, I started taking a look at this yesterday, go figure in the couple months since I last tested setting this up from scratch, various package updates have somehow broken it 😩 I don't think either (Notably I haven't actually tried running this from vscode before. I know every now and then that can do odd things with widgets, but given it's not even working in JupyterLab in a new environment either, that shouldn't be the issue here) I'm still working to figure out the most recent magical combination of version numbers that work (I think the issue is somewhere in the interplay between bokeh, panel, and the recent pyviz>3). If I don't get something satisfactory by the weekend, I'll check that the exact versions I have in my development environment work in a new env and list those here so you at least have something to play with. |
Still continuing to work on this, sorry I didn't get anything to you by the weekend, I've been jumping from fire to fire! I've figured out at least one of the issues, I think there's some sort of a breaking change between the latest ipywidgets 8.1.3 version and panel when used together in JupyterLab, I've separately opened up an issue holoviz/pyviz_comms#129 because I don't think it's something I can fix over here. I've also (finally) added a playwright test to automate checking that one of the notebooks actually runs and displays the interface to hopefully catch these sorts of problems sooner moving forward. Restricting only In principle, to get a currently working environment with those, you should be able to run: git clone https://github.com/ORNL/icat.git
cd icat
conda create -n icat python
conda activate icat
pip install -e . I'll update again once I've narrowed down any other dependency issues and have a less restrictive setup.py |
I found and fixed a related bug that had started presenting with a recent @jhagerer in theory you should now be able to run git clone https://github.com/ORNL/icat.git
cd icat
conda create -n icat python
conda activate icat
conda install pip
pip install icat-iml and have a functioning environment, let me know if it works for you and I'll close the issue |
@WarmCyan I clearly see you made some substantial effort. Either tomorrow or next weekend I will take a deeper look into your updates and proceed with the review. Thank you for your efforts, and you'll hear back from me soon! |
Dear @WarmCyan , I was able to run the installation successfully. Thank you for the improvements! However, I am getting stuck in the execution of ICAT when I run Here you can inspect the full error message: The same exception occurs when I run What would be your remark on this? Thanks for your time and effort. |
PS: I am using Python 3.12.4. Attached you see my installed packages. |
PPS: I just tried executing it as described before, but this time using Python 3.10.0. I receive the exact same error message |
I think this has to do with running it in vscode, this is likely related to a separate issue (about ipywidgets inside panel inside vscode) posted on the panel repo: holoviz/panel#6175 Have you tried running this directly in Jupyter Lab? There are unfortunately compatibility issues sometimes when running widget-based stuff within vscode, so I'm only explicitly trying to support Jupyter Lab (I can add a note about this in the docs/README) |
@WarmCyan Forget my last post (I just removed it, since I had another problem setting up my conda environment). I got icat running successfully. I still have some feedback regarding usability which IMHO should be addressed. I will document my feedback over here. Feel free to close the current issue. |
Thanks for the update! Going to leave this issue open and note for myself that I'll close this once I add to the README/docs that this doesn't work in VSCode |
Dear @WarmCyan, I am the reviewer of your JOSS submission.
I run into problems after setting up the environment. When running
icat.initialize(offline=True)
, the following errors occur:One way to reproduce:
As a first suggestion, you might want to add
ipywidgets-bokeh
to requirements.txt andjupyter_bokeh
to environment.yml (or both to requirements.txt). Secondly, I would recommend to run the setup by yourself from scratch the way I did it, which is quite close to your documentation. Alternatively, you might want to give me feedback where I made something wrong during the setup.I put the JOSS submission review on hold and try again next weekend. Please tag me here or in the review thread if you have updates or suggestions. Thanks!
The text was updated successfully, but these errors were encountered: