Changes between Version 2 and Version 3 of Ticket #5048


Ignore:
Timestamp:
2018-08-18T02:04:37Z (6 years ago)
Author:
massimo ceraolo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5048

    • Property Summary False error message?Wrong error messages
  • Ticket #5048 – Description

    v2 v3  
    11I suppose a program user should take seriously error and warning messages to avoid bigger issues.
    22Therefore I suppose any false error message should be corrected.
     3
     4In this ticket I describe a few error messages that are probably invalid.
     5
     6'''1) opening message under Linux
     7'''message when opening OMEdit under linux (OMEdit 1.13.0~dev-137-g0e9c2ff
     8Connected to OpenModelica 1.13.0~dev-1195-g6d891ea)
     9When I open OMEdt I receive the following error message:
     10
     11{{{
     12[1] 03:46:50 Scripting Error
     13libpng warning: iCCP: known incorrect sRGB profile
     14libpng warning: iCCP: known incorrect sRGB profile
     15
     16}}}
     17I don't know what this means and implies. I would say that this massage has no impact on the user's experience: I think it should be either be removed or made clearer for the final user.
     18
     19'''2) message when duplicating''' (tested on Connected to OpenModelica 1.13.0~dev-1195-g6d891ea under Linux, and on OMEdit v1.13.0-dev-113-g8c6364e6 (64-bit)
     20Connected to v1.13.0-dev-640-gff8188090 (64-bit) under Windows)
    321
    422Currently OMEdit shows a strange message whenever we duplicate a model in a package.
     
    624If we duplicate RL1 giving for instance to the duplicated class the name RL2, I receive the following error message:
    725
    8 [1] 21:07:52 Syntax Error
    9 [: 1:0-1:0]: No viable alternative near token: /
    10 
    11 [2] 21:07:52 Translation Error
    12 [: 0:0-0:0]: Internal error Failed to scan top of input: EOF
    13   Expected one of: <EOF>
    14   Current parse tree is:   The parser stack is:
    15 makeNode
    16 stored_definition
    17 
    18 That message was received on a Mac. On a (older version under) Windows I receive something similar:
    19 
     26{{{
    2027[1] 21:18:40 Syntax Error
    2128[: 1:0-1:0]: No viable alternative near token: C
     
    2532  Expected one of: <EOF>
    2633  Current parse tree is:   The parser stack is:
     34}}}
    2735
    2836