Project

General

Profile

Feature #10745

Unclear EMG error messages

Added by Pavel Andrianov 2 months ago. Updated 2 months ago.

Status:
New
Priority:
High
Assignee:
Category:
Environment models
Target version:
-
Start date:
03/10/2021
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

Error messages should be helpful for developers to locate the problems in specifications. Will add here unclear cases, which may be improved.

1.

File "/home/alpha/git/klever/venv/lib/python3.7/site-packages/klever/core/vtg/emg/common/c/types/__init__.py", line 435, in _to_string
    return self._ast['specifiers']['type specifier']['name']
KeyError: 'type specifier'

ValueError: Cannot parse declaration hci_uart_register_proto(*%hci_uart_proto.proto%)

The problem was due to mistake in category name, so hci_uart_proto is absent. Some message like "hci_uart_proto is not found" expected.

#1

Updated by Evgeny Novikov 2 months ago

  • Priority changed from Normal to High

It seems to be a useful improvement.

Also available in: Atom PDF