Project

General

Profile

Actions

Feature #10745

open

Unclear EMG error messages

Added by Pavel Andrianov over 3 years ago. Updated over 3 years 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.

Actions

Also available in: Atom PDF