Skip to content
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

Typing at the wrong time breaks the prompt #2256

Open
mesmith75 opened this issue Jan 10, 2024 · 1 comment
Open

Typing at the wrong time breaks the prompt #2256

mesmith75 opened this issue Jan 10, 2024 · 1 comment
Assignees

Comments

@mesmith75
Copy link
Contributor

mesmith75 commented Jan 10, 2024

After submitting a job to Dirac the ipython prompt doesn't show any print out and subsequent commands don't give any print out. I think it may be that the Dirac submission is not giving a return value.

[16:28:37]
Ganga In [25]: j = Job()

[16:28:40]
Ganga In [26]: j.backend = Dirac()

[16:28:43]
Ganga In [27]: j.submit()
[16:28:51]
Ganga In [28]: 
[16:28:57]
Ganga In [28]: jobs
Ganga Out [28]: [16:30:29]
Ganga In [29]: 

Note that the local backend is fine.

@mesmith75 mesmith75 self-assigned this Jan 10, 2024
@mesmith75 mesmith75 changed the title j.submit() with Dirac backend breaks prompt Typing at the wrong time breaks the prompt Jan 16, 2024
@mesmith75
Copy link
Contributor Author

mesmith75 commented Jan 16, 2024

To reliably reproduce this I just need to enter something whilst Ganga is starting:

Ganga In [5]:                                                                                                                                                                                                                                                                                                               
[masmith@lxplus751]~/private/Imperial/KstMuMu/iFit/tools/toy_utils$ ganga_kstmumu_toys 

*** Welcome to Ganga ***
Version: 8.7.1
Documentation: https://ganga.readthedocs.io/en/latest/
Report issues: https://github.com/ganga-devs/ganga
Type help() or help('index') for online help.

This is free software (GPL), and you are welcome to redistribute it
under certain conditions; type license() for details.


INFO     reading config file /afs/cern.ch/user/m/masmith/.gangarc
INFO     reading config file /afs/cern.ch/user/m/masmith/cmtuser/GANGA/GANGA_HEAD/install/ganga/ganga/GangaLHCb/LHCb.ini
INFO     reading config file /cvmfs/lhcb.cern.ch/lib/GangaConfig/config/8-0-0/GangaLHCb.ini
a
INFO     Using LHCbDirac version prod
WARNING  WARNING: You're running low on disk space, Ganga may stall on launch or fail to download job output
WARNING  WARNING: Please free some disk space on: /afs/cern.ch/work/m/masmith/gangadir_kstmumu_toys/repository/masmith/LocalXML
WARNING  WARNING: You're running low on disk space, Ganga may stall on launch or fail to download job output
WARNING  WARNING: Please free some disk space on: /afs/cern.ch/work/m/masmith/gangadir_kstmumu_toys/workspace/masmith/LocalXML
 --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!--  --ALL HAIL THE HYPNOTOAD!-- 

[15:41:27]
Ganga In [1]: a
ERROR    name 'a' is not defined
[15:41:28]
Ganga In [2]: jobs
Ganga Out [2]: [15:41:28]
Ganga In [3]: 

I not this doesn't happen on my own installed version, which makes me think it is somewhere in IPython that a change has occurred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant