-
Notifications
You must be signed in to change notification settings - Fork 20
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
Jupyter Lab is not installed, still test.py in FRI showing {"message":"Successfuly opened Jupyter"} #62
Comments
Hello @shivangvijay 127.0.0.1 - - [12/Mar/2023 21:48:21] "POST /openJupyter HTTP/1.1" 308 - |
Hello @Rahuljagwani, Which OS are you using? |
Ubuntu |
I guess this is relevant issue. Even though I am getting error, I believe it is related to something else as you can see I am getting success code 308 in first line of my log.
|
We have not tested the JupyterLab integration adequately. No wonder if it has some bugs. |
I spend lot of time to resolve this issue but didn't able to crack perfect solution with suprocess.
In documentation of subprocess.run, they mentioned "If check is True and the exit code was non-zero, it raises a But there is one issue with this code, when jupyter lab is install, the code (subprocess.run) wait to finish the process but it not happen, so no response goes to test.py. Same we can do with subprocess.popen using communicate function. I explored other subprocess.check_call etc... nothing helping me. |
I found one more issue:- then run the main.py and test.py In main.py terminal I am getting two times success code.
|
Thanks, @shivangvijay, for your findings. I am honestly wondering whether we should get rid of Jupyter. It is just there installed. No one used it, and not properly tested. Perhaps, proper integration and testing of Jupyter for concore (not merely installing - but using it to construct and run concore programs effectively, somewhat replacing the concore-editor's program editor) can be a GSoC 2024 project. |
Created a separate issue to contemplate what to do with Jupyter in the long run - #66. |
Hello, I'm interested in working on this issue. Could you please explain the problem and guide me on setting up the repository on my computer? I'm eager to contribute and give my best effort to resolve this. This will be my first valuable contribution. Thank you for giving me this opportunity. |
hi @pradeeban , can i work on this issue ? |
@harshal-rembhotkar, we are not sure how to proceed with this issue (if you read the discussions above, you will find that as well). So, it may not be the right time to work on this issue. |
Okay |
To replicate this issue:- uninstalled Jupter Lab (pip3 uninstall jupyterlab)
Now run
$ cd conore/fri
$ cd server
$ python3 main.py
and
$ cd ..
$ python3 test.py
Expected Result:- Should throw an error.
Actual Result:- showing {"message":"Successfuly opened Jupyter"}
The text was updated successfully, but these errors were encountered: