LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  How to us the Execute BRX node

    Employee
    Posted 02-25-2010 14:08

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryanmacdonald

    Hi Everyone,

    I am trying to use the "Execute BRX" node and I am getting the following error....does anyone have any idea what the problem might be?


    Got Python exception

    Installing log (02/25/2010 13:58:26) ...
    2010-02-25 13:58:26; Level: 3; Type: 0; Desc: "BRX exited with non-zero status: 2"; File: "ls.brain.node.brainpython.python2implementationfi le"; Line: 122; Context: "execute( ) - Exception"
    2010-02-25 13:58:26; Level: 3; Type: 0; Desc: "Error pumping node (Traceback (most recent call last):
    File "/opt/lavastorm/lib/python/lavastorm/brain/python1.py", line 912, in Run
    while n.pump(quant):
    File "/data2/tmp/t820532/NSA+Analytics+-+T2+Voice_Other+Analytics/default/temp.abnsolava02.24391.432249.1267131505961.prop", line 165, in pump
    self.executor.execute(self.brx, self.username, self.password, props, self.doProps)
    File "/data2/tmp/t820532/NSA+Analytics+-+T2+Voice_Other+Analytics/default/temp.abnsolava02.24391.432249.1267131505961.prop", line 122, in execute
    raise Exception, "BRX exited with non-zero status: %d" % (exitCode)
    Exception: BRX exited with non-zero status: 2
    )"; File: "ls.brain.node.brainpython.python2implementationfi le"; Line: 122; Context: "execute( ) - Exception"
    Uninstalling log (02/25/2010 13:58:26) ...

    Error in sys.excepthook:Traceback (most recent call last): File "/opt/lavastorm/lib/python/lavastorm/brain/python1.py", line 947, in <lambda> return lambda exc, value, tb: Python1ExceptHook(control, exc, value, tb)TypeError: 'NoneType' object is not callableOriginal exception was:Traceback (most recent call last): File "/data2/tmp/t820532/NSA+Analytics+-+T2+Voice_Other+Analytics/default/temp.abnsolava02.24391.432248.1267131505944.prop", line 1, in ? import lavastorm.brain.python1 File "/opt/lavastorm/lib/python/lavastorm/brain/python1.py", line 956, in ? runMain() File "/opt/lavastorm/lib/python/lavastorm/brain/python1.py", line 954, in runMain raise BrainNodeException, "Encountered error running node"lavastorm.brain.python1.BrainNodeException: Encountered error running node


  • 2.  RE: How to us the Execute BRX node

    Employee
    Posted 03-03-2010 11:39

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rboccuzzi

    Not with the information you have provided. I do know that recently a bug was fixed with ExecuteBRX such that previous to 4.1.6, you could not have a space in the path to the brx you were executing. I don't remember what the error message was when that occurred though, sorry.

    If you would like some help tracking this down, we would need more info. Ideally the graphs in question. Are you able to run the brx graph with the arguments given on its own? It could be as simple as a legitimate problem in your subgraph.

    Cheers
    Rich


  • 3.  RE: How to us the Execute BRX node

    Employee
    Posted 03-03-2010 11:41

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    You need to see if you can locate the log for the BRX that was being executed. Often these messages indicate that the sub-graph is having a problem, and you need to check it's log, not just the messages in the "master" graph.