https://bugs.kde.org/show_bug.cgi?id=356949
Bug ID: 356949 Summary: No encoding specified in generated python files Product: umbrello Version: 2.17.0 (KDE Applications 15.08.0) Platform: unspecified OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: umbrello-de...@kde.org Reporter: ralf.habac...@freenet.de Python files generated by the python code generator do not include an encoding specification, which let python 2.7 fail to parse those files. Reproducible: Always Steps to Reproduce: 1. start umbrello 2. load appended xmi file 3. generated python code Actual Results: python interpreter 2.7 fails with the following message: File "/home/ralf/uml-generated-code/new_class.py", line 17 SyntaxError: Non-ASCII character '\xc3' in file /home/ralf/uml-generated-code/new_class.py on line 18, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details Expected Results: python should be able to parse generated python files. -- You are receiving this mail because: You are watching all bug changes.