list of dots Digital Research Alliance of Canada logo  NSERC logo  University of Ottawa logo / UniversitĂ© d'Ottawa

User Manual    [Previous]   [Next]   

E9210 Python Unsupported

Python generation does not support a feature the class uses yet

A few Umple features are generated for Java but not yet for Python. When a class uses one of them, the Python generator reports this error, which names the feature, and does not write a Python file for the class. Other classes are still generated, and generation for other languages is not affected. The Python page lists the features concerned.

To generate Python, leave the feature out of the classes you generate as Python, or put it in a mixset that is only used for Java.

Example

// Tracing is not available for Python yet, so generating
// Python from this model reports E9210 and writes no Lamp.py
generate Python;
class Lamp {
  Integer level;
  trace level;
}

      

Load the above code into UmpleOnline

 

Solution to The Above So the Message No Longer Appears

// Without the trace directive the class is generated
generate Python;
class Lamp {
  Integer level;
}

      

Load the above code into UmpleOnline