080510: Failed to parse Python script.

Descripción

Python code is being incorrectly interpreted by Business Analyst. For example, the following code is incorrect interpreted:

j = 7
if j != 0:
    pass  
if j != 0:
    pass
returnValue(333)

The code is interpreted as follows:

j = 7
if j getValue(u'= 0:
    pass  
if j ')= 0:
    pass
returnValue(333)

Solución

To help locate the problem, Business Analyst has implemented Python script logging in diagnostic mode.

To activate diagnostic mode, press Ctrl-Alt-M to launch the Diagnostic Monitor and run the process that caused the error. In the Diagnostic Monitor window, click the Log tab, choose the error, and view the available options.

Diagnostic Monitor window