ITISFoundation / osparc-issues

🐼 issue-only repo for the osparc project
3 stars 3 forks source link

Web interface doesn't support feedback between services #1529

Open wvangeit opened 2 weeks ago

wvangeit commented 2 weeks ago

I was trying to create a notebook that would use a computational service to execute tasks for it. This doesn't seem to be possible, since I'm getting 'pipeline is already running' messages in the logs of the web interface.

Maybe this is fundamentally not possible at the moment (maybe @pcrespov / @sanderegg could comment on that?) But even if a fundamental issue, I think the feedback to the user could be more meaningful (I assume the pipeline is actually not running at all.

Some screenshots (beware that the status message of the services in blue etc might not be completely correct since i was experimenting while taking the screenshots)

Dynamic + comp service: Screenshot 2024-06-19 at 13 55 35 This gives: Screenshot 2024-06-19 at 14 03 41

Non-feedback connection works: Screenshot 2024-06-19 at 14 04 03

Two comp services also doesnt work: Screenshot 2024-06-19 at 14 06 10

### Tasks
- [ ] Check how this is executed in the backend @pcrespov
wvangeit commented 2 weeks ago

FYI @elisabettai

wvangeit commented 2 weeks ago

(@elisabettai quickly tested this herself, and got the same error)

elisabettai commented 2 weeks ago

I got the same and it is very easy to reproduce:

  1. Create a new study
  2. Add a sleeper and a jupyterlab
  3. Connect them in a "8" (as shown in the first screenshot above)
  4. Try to run the pipeline
  5. The pipeline (i.e. sleeper) doesn't run and there's the error in the Logger