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.  Python Error

    Employee
    Posted 11-29-2012 05:41

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

    Originally posted by: zon

    Hi,

    Can someone tell me, what is this Python error?

    Got Python exception

    Installing log (11/29/2012 12:16:54) ...
    2012-11-29 12:16:54; Level: 3; Type: 0; Desc: "expected a character buffer object"; File: "ls.brain.node.brainpython.python2implementationfi le"; Line: 51; Context: "pump( ) - Exception"
    2012-11-29 12:16:54; Level: 3; Type: 0; Desc: "Error pumping node (Traceback (most recent call last):
    File "C:\Program Files\Lavastorm\LAE 4.5\lib\python\lavastorm\brain\python1.py", line 913, in Run
    while n.pump(quant):
    File "K:\1 - RA\1 - MDA\BRAINscratch\tmp\brain\ZONPHONE_Set12\default\ temp.PCP11779.21640.87.1354191414605.prop", line 51, in pump
    if dest.startswith(prefix):
    TypeError: expected a character buffer object
    )"; File: "ls.brain.node.brainpython.python2implementationfi le"; Line: 51; Context: "pump( ) - Exception"
    Uninstalling log (11/29/2012 12:16:54) ...

    Error in sys.excepthook:Traceback (most recent call last): File "C:\Program Files\Lavastorm\LAE 4.5\lib\python\lavastorm\brain\python1.py", line 948, 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 "K:\1 - RA\1 - MDA\BRAINscratch\tmp\brain\ZONPHONE_Set12\default\ temp.PCP11779.21640.88.1354191414605.prop", line 1, in <module> import lavastorm.brain.python1 File "C:\Program Files\Lavastorm\LAE 4.5\lib\python\lavastorm\brain\python1.py", line 957, in <module> runMain() File "C:\Program Files\Lavastorm\LAE 4.5\lib\python\lavastorm\brain\python1.py", line 955, in runMain raise BrainNodeException, "Encountered error running node"lavastorm.brain.python1.BrainNodeException: Encountered error running node



    This node runs all the time. I didn't change it. I don't know what happend.

    Cheers

    Natanael,
    ZON


  • 2.  RE: Python Error

    Employee
    Posted 11-29-2012 07:56

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

    Originally posted by: zon

    Hi,

    For get it, is solved!

    Cheers,
    Natanael


  • 3.  RE: Python Error

    Employee
    Posted 11-29-2012 08:08

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

    Originally posted by: stonysmith

    I've seen this happen on python nodes that were built for earlier versions of LAE and the python code was not updated properly for the new Python version in LAE 4.5.x

    The older python was a bit more tolerant (or ignorant) of a NULL data values.. the new python is a bit more rigorous. This often just means adding an extra IF test for null values.