Opened 6 years ago

Last modified 6 years ago

#5048 closed defect

Wrong error messages — at Version 3

Reported by: massimo ceraolo Owned by: somebody
Priority: blocker Milestone: 1.14.0
Component: OMEdit Version:
Keywords: Cc: Adrian Pop

Description (last modified by massimo ceraolo)

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

Change History (4)

by massimo ceraolo, 6 years ago

Attachment: Test.mo added

comment:1 by massimo ceraolo, 6 years ago

Summary: False errorFalse error message?

comment:2 by massimo ceraolo, 6 years ago

Description: modified (diff)

comment:3 by massimo ceraolo, 6 years ago

Description: modified (diff)
Summary: False error message?Wrong error messages
Note: See TracTickets for help on using tickets.