Project

General

Profile

Actions

Bug #9589

closed

Fix obtaining compiler options for building models

Added by Evgeny Novikov over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Tasks generation
Target version:
Start date:
04/07/2019
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

At the moment there is such ugly exception when there is not an appropriate build command in a build base:

Raise exception:
Traceback (most recent call last):
  File "/home/novikov/work/klever/core/core/components.py", line 427, in run
    self.main()
  File "/home/novikov/work/klever/core/core/components.py", line 332, in callbacks_caller
    ret = attr(*args, **kwargs)
  File "/home/novikov/work/klever/core/core/vtg/rsg/__init__.py", line 52, in generate_requirement
    self.add_models(generated_models)
  File "/home/novikov/work/klever/core/core/components.py", line 332, in callbacks_caller
    ret = attr(*args, **kwargs)
  File "/home/novikov/work/klever/core/core/vtg/rsg/__init__.py", line 196, in add_models
    if not empty_cc:
UnboundLocalError: local variable 'empty_cc' referenced before assignment

Actions

Also available in: Atom PDF