The documentation from version 39.5.17 of PLANTA project can be found in the new PLANTA Online Help.

Classification of Errors

Information
  • This topic provides an overview of the error types occurring in PLANTA project and helps you to identify errors.

Note

  • In case of an error, please take account of the Error Treatment and contact the PLANTA support if necessary.

Python Error Message

Information
  • Python error messages mostly occur as a result of wrong python customizing (e.g. insufficient error treatment).

Macro

Information
  • The python error message contains information for identifying errors and patching:
    • the module number of the macro.
    • the error (class 'error name')
    • where the error occurs within the macro (in this example: in line 4)

Example

PythonMacro.png

Value Range

Information
  • For value ranges, there are errors occurring during customizing and others occurring when opening the module containing the defective value range.
Details
  • Case 1: For value ranges of the VR Type =PY, a first validation of the python code (e.g. indent) is done when you make an entry in the Value Range field and click outside of the field. This error message contains the following information:
PyWB.png
Exception: For errors resulting from a failure to comply with a customizing rule, only the error itself is specified. Further Information on Python Value Range Functions
deps.png

  • Case 2: When opening a module containing the defective value range, a Python error message is displayed, containing the following information:
    • the DI-Number, the Python ID of the DI and the function in which the error occurs
    • the error
    • where the error occurs within the value range (in this example: in line 3)
PyWB2.png

Client Error Message

Information
  • Client error messages (recognizable by GUI.UserInterface) are displayed when the client is in error state.

Example

ClientAssertion.png

Notes

  • Client errors occur unexpectedly, therefore the meaning of particular error messages cannot be described upfront. The content or the text of the error message therefore serves as a basis for the programmer to analyze the underlying error and not as an explanation of the error to the user or customizer.
  • The error can only be analyzed with the help of the complete error message.
    • The content of a client error message can be copied to the clipboard via CTRL + C. Alternatively, a screenshot of the error message can be created via Alt + Print.

Assertion failed

Information
  • This type of error message only occurs in debug-versions.
    • Hence, assertion error messages do not occur within systems installed at the customer's site, since customers use the release version.
  • For undefined program conditions, the Assertion failed error message with the following three buttons appears:
    • Abort: Cancels the program, see also Crash.
    • Retry: opens the debugger in order to debug the error.
    • Ignore: The program flow is continued despite this undefined condition.
      • I.e., under certain circumstances, it may be possible to continue to work but further assertion error messages may occur or the system may crash.

Example

ClientAssertionFailed.png

Server Error Message

Assertion Failure

Information
  • This type of error message is only displayed in the debug version and only once per session.
    • Hence, assertion error messages do not occur within systems installed at the customer's site, since customers use the release version.
  • For undefined program conditions, the Assertion failed error message with the following three buttons is displayed:
    • Continue: The program flow is continued despite the undefined condition.
      • So under certain circumstances, it may be possible to continue to work but further assertion error messages may occur or the computer may crash.
    • Abort: Cancels the program, see also Crash.
    • Create Coredump: A new core dump is created.

Example

ServerAssertionNeu.png

Crash (Connection to server lost)

Information
  • When this error message occurs, the connection to the server was terminated. It is therefore not possible to continue to work.
  • The Connection to server lost message includes the following buttons:
    • Exit: Closes all panels.
    • Work disconnected: The panels remain open, however, further editing is disabled. The Disconnected. entry is added to the system tray (before the system title).
    • Reconnect: Closes all panels and opens a new connection.

Example

Crash.png

Database Error

Information
  • This error occurs upon problems with the database interface.

Example

Datenbankfehler.png
Topic attachments
I Attachment History Size Date Comment
Pngpng ClientAssertionFailed.png r1 19.5 K 2013-04-10 - 13:34  
Pngpng Crash.png r1 3.3 K 2010-11-10 - 14:41  
Pngpng Datenbankfehler.png r1 2.1 K 2010-11-10 - 15:53  
Pngpng PyWB.png r1 2.6 K 2010-11-10 - 14:37  
Pngpng PyWB2.png r1 2.9 K 2010-11-10 - 14:37  
Pngpng PythonMacro.png r1 2.4 K 2010-11-10 - 14:34  
Pngpng ServerAssertion.png r1 2.4 K 2010-11-10 - 14:41  
Pngpng ServerAssertionNeu.png r2 r1 43.0 K 2013-04-10 - 14:25  
Pngpng deps.png r1 3.8 K 2010-11-19 - 10:42  

         PLANTA project









 
  • Suche in Topic-Namen

  • Suche in Topic-Inhalten
This site is powered by the TWiki collaboration platform Powered by Perl