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.  Problem executing BRX from another graph

    Employee
    Posted 03-18-2011 03:44

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

    Originally posted by: paulk

    As an alternative to asking here, I've looked at what little documentation is available, as well as looking through the training sessions.
    Work commitments meant I haven't been able to attend the webinars, but if they were recorded, could you please point me in the direction of the one for Training Session 2.

    I'm attempting to get a simple graph to execute another brx.
    Not sure if it's a misconfiguration or a misunderstanding of the execute BRX note
    I've attached both graphs.
    I'm running BRE v4.1.5.0 Build 268.
    I have deployed both graphs on the server.
    Any help anyone could give me would be appreciated.

    The error output I'm seeing is:

    10:35:57 - Assigned Node "Execute BRX" ("4d7f4d89428f13b7") on localhost:7721#1
    10:35:57 >>Msg: PROCESSING from localhost:7721#1
    >>
    10:35:57 - PROCESSING - Server localhost:7721#1 is active
    10:35:57 >>Msg: NODEPROC from localhost:7721#1
    >> node:4d7f4d89428f13b7
    >> where:local
    >>
    10:35:57 - Processing Node "Execute BRX" ("4d7f4d89428f13b7") on localhost:7721#1
    10:35:57 >>Msg: FEATURELIST from localhost:7721#Delete
    >> authentication:required
    >> brx2:required
    >> brx3:required
    >> brs1:required
    >> perfreq:supported
    >> getdiskusage:supported
    >> brxdeployment:supported
    >>
    10:35:57 >>Msg: AUTHMETHODS from localhost:7721#Delete
    >> method:brain-auth
    >>
    10:35:57 >>Msg: CHALLENGE from localhost:7721#Delete
    10:35:57 >>Msg: AUTHSUCCESS from localhost:7721#Delete
    >> user:brain
    >>
    10:35:57 >>Msg: DELETEDFILES from localhost:7721#Delete
    >> count:1
    >>
    10:35:57 >>Msg: OUTPUTS from localhost:7721#1
    >> node:4d7f4d89428f13b7
    >> errlogfile:file:d:\temp\brain\prepareWithBrx\defau lt\temp.mds-lim-pc256.5836.72.1300444557057.log
    >> pid:3668
    >> commandline:C:\Program Files\Lavastorm\BRAIN 4.1\Brain\bin\Win32\nodePython.exe
    >> workingdirectory:C:\BRAINscratch\tmp\brain\prepare WithBrx\default
    >>
    10:35:58 >>Msg: ERROR from localhost:7721#1
    >> Msg:BRX exited with non-zero status: 4
    >> node:4d7f4d89428f13b7
    >>
    10:35:58 - ERROR Processing Node "Execute BRX" ("4d7f4d89428f13b7") on localhost:7721#1 - Last execution 1.07 seconds
    10:35:58 >>Msg: ERROR from localhost:7721#1
    >> Msg:<<EOM497962076
    >> Error pumping node (Traceback (most recent call last):
    >> File "C:\Program Files\Lavastorm\BRAIN 4.1\Brain\lib\python\lavastorm\brain\python1.py", line 912, in Run
    >> while n.pump(quant):
    >> File "C:\BRAINscratch\tmp\brain\prepareWithBrx\default\ temp.mds-lim-pc256.5836.73.1300444557057.prop", line 165, in pump
    >> self.executor.execute(self.brx, self.username, self.password, props, self.doProps)
    >> File "C:\BRAINscratch\tmp\brain\prepareWithBrx\default\ temp.mds-lim-pc256.5836.73.1300444557057.prop", line 122, in execute
    >> raise Exception, "BRX exited with non-zero status: %d" % (exitCode)
    >> Exception: BRX exited with non-zero status: 4
    >> )
    >> EOM497962076
    >>
    >> node:4d7f4d89428f13b7
    >>
    10:35:58 - ERROR Processing Node "Execute BRX" ("4d7f4d89428f13b7") on localhost:7721#1 - Last execution 1.16 seconds
    10:35:58 >>Msg: ERROR from localhost:7721#1
    >> Msg:Got Python exception
    >> node:4d7f4d89428f13b7
    >>
    10:35:58 - ERROR Processing Node "Execute BRX" ("4d7f4d89428f13b7") on localhost:7721#1 - Last execution 1.19 seconds
    10:35:58 >>Msg: NODEDONE from localhost:7721#1
    >> result:-1
    >> node:4d7f4d89428f13b7
    >> startTimeMillis:1300444557057
    >> endTimeMillis:1300444558166
    >> errlogfile:file:d:\temp\brain\prepareWithBrx\defau lt\temp.mds-lim-pc256.5836.72.1300444557057.log
    >> errlog:
    >> errlog:Installing log (03/18/2011 10:35:57) ...
    >> errlog:2011-03-18 10:35:58; Level: 3; Type: 0; Desc: "BRX exited with non-zero status: 4"; File: "ls.brain.node.brainpython.python2implementationfi le"; Line: 122; Context: "execute( ) - Exception"
    >> errlog:2011-03-18 10:35:58; Level: 3; Type: 0; Desc: "Error pumping node (Traceback (most recent call last):
    >> errlog: File "C:\Program Files\Lavastorm\BRAIN 4.1\Brain\lib\python\lavastorm\brain\python1.py", line 912, in Run
    >> errlog: while n.pump(quant):
    >> errlog: File "C:\BRAINscratch\tmp\brain\prepareWithBrx\default\ temp.mds-lim-pc256.5836.73.1300444557057.prop", line 165, in pump
    >> errlog: self.executor.execute(self.brx, self.username, self.password, props, self.doProps)
    >> errlog: File "C:\BRAINscratch\tmp\brain\prepareWithBrx\default\ temp.mds-lim-pc256.5836.73.1300444557057.prop", line 122, in execute
    >> errlog: raise Exception, "BRX exited with non-zero status: %d" % (exitCode)
    >> errlog:Exception: BRX exited with non-zero status: 4
    >> errlog"; File: "ls.brain.node.brainpython.python2implementationfi le"; Line: 122; Context: "execute( ) - Exception"
    >> errlog:Uninstalling log (03/18/2011 10:35:58) ...
    >> errlog:
    >> errlog:Error in sys.excepthook:Traceback (most recent call last): File "C:\Program Files\Lavastorm\BRAIN 4.1\Brain\lib\python\lavastorm\brain\python1.py", line 947, in <lambda> return lambda exc, value, tb: Python1ExceptHook(control, exc, value, tb)Typ
    eError: 'NoneType' object is not callableOriginal exception was:Traceback (most recent call last): File "C:\BRAINscratch\tmp\brain\prepareWithBrx\default\ temp.mds-lim-pc256.5836.74.1300444557057.prop", line 1, in ? import lavastorm.brain.python1 File "C:\Pr
    ogram Files\Lavastorm\BRAIN 4.1\Brain\lib\python\lavastorm\brain\python1.py", line 956, in ? runMain() File "C:\Program Files\Lavastorm\BRAIN 4.1\Brain\lib\python\lavastorm\brain\python1.py", line 954, in runMain raise BrainNodeException, "Encountered
    error running node"lavastorm.brain.python1.BrainNodeException: Encountered error running node
    >>
    10:35:58 - DONE Processing Node "Execute BRX" ("4d7f4d89428f13b7") - result code is -1 on localhost:7721#1- Last execution 1.32 seconds
    10:35:58 >>Msg: DONE from localhost:7721#1
    >>
    10:35:58 - Execution DONE - Server localhost:7721#1 is idle - Last execution 1.35 seconds
    ***********
    Attachments:
    Report.brg
    prepareWithBrx.brg
    BREProblemReport2.zip


  • 2.  RE: Problem executing BRX from another graph

    Employee
    Posted 03-18-2011 07:29

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

    Originally posted by: timonk

    Just to check, you've verified that the sub-graph runs without issue as a brg on your system?

    Regards,
    Timon
    MDA Support.


  • 3.  RE: Problem executing BRX from another graph

    Employee
    Posted 03-18-2011 07:46

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

    Originally posted by: paulk

    Originally posted by: timonk
    					

    Just to check, you've verified that the sub-graph runs without issue as a brg on your system?

    Regards,
    Timon
    MDA Support.
    Yes, it does.
    The sub-graph does utilise the experiment email node, though. That shouldn't make a difference.

    My immediate thoughts are that I need to specify some parameters for the sub-graph to be executed.
    Currently, no actual data needs to be passed between the the nodes. The
    only input into the executeBrx node is a default, 1-row, name value pair, which I'm only using to trigger the node.


  • 4.  RE: Problem executing BRX from another graph

    Employee
    Posted 03-21-2011 05:22

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

    Originally posted by: paulk

    For those interested, error appears to be associated with spaces in the path!!!!

    I've moved the graphs to a non-space containing path and the problem has disappeared.

    Apparently there are issues with spaces prior to 4.1.6