Ok, let's start for debugging. I send you offlist instructions to find it. When the debug will be finised, we will post the bug and tha patch :)
Jean On Mon, Jul 26, 2010 at 1:50 PM, NICOLAS DUPEUX <[email protected]> wrote: > No problem to reproduce, it's just a matter of seconds after loading the > configuration. > > Here is the stack trace without my patch : > > Traceback (most recent call last): > File "./shinken-scheduler.py", line 495, in <module> > p.main() > File "./shinken-scheduler.py", line 412, in main > self.sched.run() > File "/opt/shinken-20100720/src/scheduler.py", line 737, in run > f() > File "/opt/shinken-20100720/src/scheduler.py", line 552, in consume_results > item.consume_result(c) > File "/opt/shinken-20100720/src/schedulingitem.py", line 597, in > consume_result > self.no_more_a_problem() > File "/opt/shinken-20100720/src/schedulingitem.py", line 152, in > no_more_a_problem > impact.deregister_a_problem(self) > File "/opt/shinken-20100720/src/schedulingitem.py", line 221, in > deregister_a_problem > self.source_problems.remove(pb) > ValueError: list.remove(x): x not in list > > Do you want others elements ? > > Regards > > ----- "nap" <[email protected]> a écrit : > >> Thanks. >> >> Is it reproductible? It should not be twice "deregister" of a >> problem, >> so there is a problem :) >> >> >> Jean >> >> On Mon, Jul 26, 2010 at 11:20 AM, NICOLAS DUPEUX >> <[email protected]> wrote: >> > Hi, >> > >> > This patch allow my scheduler to live more than a couple of >> seconds. >> > >> > It shouldn't be apply as is because it doesn't solve the root cause >> (why the problem isn't in the list) >> > >> > Regards, >> > >> > -- >> > Nicolas DUPEUX <[email protected]> >> > Arkea - Domaine Systèmes >> > tel : 02.98.00.36.68 >> > >> > >> ------------------------------------------------------------------------------ >> > The Palm PDK Hot Apps Program offers developers who use the >> > Plug-In Development Kit to bring their C/C++ apps to Palm for a >> share >> > of $1 Million in cash or HP Products. Visit us here for more >> details: >> > http://ad.doubleclick.net/clk;226879339;13503038;l? >> > http://clk.atdmt.com/CRS/go/247765532/direct/01/ >> > _______________________________________________ >> > Shinken-devel mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/shinken-devel >> > >> > >> >> ------------------------------------------------------------------------------ >> The Palm PDK Hot Apps Program offers developers who use the >> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >> >> of $1 Million in cash or HP Products. Visit us here for more details: >> http://ad.doubleclick.net/clk;226879339;13503038;l? >> http://clk.atdmt.com/CRS/go/247765532/direct/01/ >> _______________________________________________ >> Shinken-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/shinken-devel > > -- > Nicolas DUPEUX <[email protected]> > Arkea - Domaine Systèmes > tel : 02.98.00.36.68 > > -- > Ce message et toutes les pieces jointes (ci-apres le "message") sont > confidentiels et etablis a l'intention exclusive de ses destinataires. > Toute utilisation ou diffusion non autorisee est interdite. Tout > message etant susceptible d'alteration, l'emetteur decline toute > responsabilite au titre de ce message s'il a ete altere, deforme ou > falsifie. > ----------------------------------- > This message and any attachments (the "message") are confidential and > intended solely for the addressees. Any unauthorised use or > dissemination is prohibited. As e-mails are susceptible to alteration, > the issuer shall not be liable for the message if altered, changed > or falsified. > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://ad.doubleclick.net/clk;226879339;13503038;l? > http://clk.atdmt.com/CRS/go/247765532/direct/01/ > _______________________________________________ > Shinken-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/shinken-devel > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Shinken-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shinken-devel
