﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5048	Wrong error messages	massimo ceraolo	somebody	"I suppose a program user should take seriously error and warning messages to avoid bigger issues.
Therefore I suppose any false error message should be corrected.

In this ticket I describe a few error messages that are probably invalid.

'''1) opening message under Linux
'''message when opening OMEdit under linux (OMEdit 1.13.0~dev-137-g0e9c2ff
Connected to OpenModelica 1.13.0~dev-1195-g6d891ea)
When I open OMEdt I receive the following error message: 

{{{
[1] 03:46:50 Scripting Error
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile

}}}
I 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.

'''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)
Connected to v1.13.0-dev-640-gff8188090 (64-bit) under Windows)

Currently OMEdit shows a strange message whenever we duplicate a model in a package.
The issue can be replicated considering the attached Test.mo.
If we duplicate RL1 giving for instance to the duplicated class the name RL2, I receive the following error message:

{{{
[1] 21:18:40 Syntax Error
[: 1:0-1:0]: No viable alternative near token: C

[2] 21:18:40 Translation Error
[: 0:0-0:0]: Internal error Failed to scan top of input: EOF
  Expected one of: <EOF>
  Current parse tree is:   The parser stack is:
}}}


It seems to me that no error occurred while duplication. So, probably this error message is just wrong
"	defect	new	normal	1.13.0	*unknown*				
