waiting for update

Asked by Toshiro Shisude

Dear madgraph experts,

suddenly madevent hangs with the message:

Start waiting for update. (more info in debug mode)

And after a minute or so, it aborts with the message:

Traceback (most recent call last):
  File "./bin/madevent", line 200, in <module>
    cmd_line = cmd_interface.MadEventCmdShell(force_run=True)
  File "/home/abouzas/LHC/35.fcchh.tqg/01.tqg/03.pp.tjj.bmuvmjj/c1.pp.tjj/bin/internal/madevent_interface.py", line 2099, in __init__
    self.load_results_db()
  File "/home/abouzas/LHC/35.fcchh.tqg/01.tqg/03.pp.tjj.bmuvmjj/c1.pp.tjj/bin/internal/misc.py", line 434, in deco_f_retry
    raise error.__class__('[Fail %i times] \n %s ' % (i+1, error))
UnboundLocalError: local variable 'error' referenced before assignment

How can I prevent this from happening?

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:
Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

Looks like you do have a database corruption.
You can try to remove the file HTML/results.pkl
to see if this helps, otherwise you will need to recreate your output directory.

Cheers,

Olivier

> On 12 Dec 2022, at 20:05, Toshiro Shisude <email address hidden> wrote:
>
> New question #704108 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/704108
>
> Dear madgraph experts,
>
> suddenly madevent hangs with the message:
>
> Start waiting for update. (more info in debug mode)
>
> And after a minute or so, it aborts with the message:
>
> Traceback (most recent call last):
> File "./bin/madevent", line 200, in <module>
> cmd_line = cmd_interface.MadEventCmdShell(force_run=True)
> File "/home/abouzas/LHC/35.fcchh.tqg/01.tqg/03.pp.tjj.bmuvmjj/c1.pp.tjj/bin/internal/madevent_interface.py", line 2099, in __init__
> self.load_results_db()
> File "/home/abouzas/LHC/35.fcchh.tqg/01.tqg/03.pp.tjj.bmuvmjj/c1.pp.tjj/bin/internal/misc.py", line 434, in deco_f_retry
> raise error.__class__('[Fail %i times] \n %s ' % (i+1, error))
> UnboundLocalError: local variable 'error' referenced before assignment
>
> How can I prevent this from happening?
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Toshiro Shisude (toshiro-shisude) said :
#2

Thanks Olivier Mattelaer, that solved my question.

Revision history for this message
hdf (fhng) said :
#3

Buying bitcoin is a simple task, as there are numerous different options to buy bitcoins. The best way is to use a crypto exchange. However, you should perform good homework before picking a fair deal. https://coinamazon.com/