Summary: | Error on generating Python code repositories | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | FrViPofm <vpottier> |
Component: | general | Assignee: | Erik Rakhorst <erik.rakhorst> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ralf.habacker |
Priority: | NOR | ||
Version: | 2.11.5 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/umbrello/26558402037ad8a34c536248a2b2bf52ce6af204 | Version Fixed In: | 4.12.5 |
Attachments: | do not enforce first capital letter for python packages. |
Description
FrViPofm
2014-02-25 09:18:56 UTC
Created attachment 86160 [details]
do not enforce first capital letter for python packages.
I received the same error for some packages that were written in all lowercase. After exploring the code I discovered that a naming convention is enforced during the export. The first letter of a package is always converted to a capital letter.
For me this is not te place to enforce this. After removing the code that does that I could succesfully generate my project without errors.
Attached is a patch with my changes.
Git commit c2f0e8d385cea53391a747805c9172b1dd2d2141 by Ralf Habacker, on behalf of Erik Rakhorst. Committed on 18/04/2014 at 23:10. Pushed by habacker into branch 'master'. Do not enforce first capital letter for python packages. M +0 -9 umbrello/codegenerators/python/pythonwriter.cpp http://commits.kde.org/umbrello/c2f0e8d385cea53391a747805c9172b1dd2d2141 Git commit 38dd2a42c57af1a4e650a939d2cd9ac754c8b8f9 by Ralf Habacker, on behalf of Erik Rakhorst. Committed on 18/04/2014 at 23:10. Pushed by habacker into branch 'KDE/4.13'. Do not enforce first capital letter for python packages. FIXED-IN:4.13.0 (cherry picked from commit c2f0e8d385cea53391a747805c9172b1dd2d2141) M +0 -9 umbrello/codegenerators/python/pythonwriter.cpp http://commits.kde.org/umbrello/38dd2a42c57af1a4e650a939d2cd9ac754c8b8f9 Git commit 26558402037ad8a34c536248a2b2bf52ce6af204 by Ralf Habacker, on behalf of Erik Rakhorst. Committed on 18/04/2014 at 23:10. Pushed by habacker into branch 'KDE/4.12'. Do not enforce first capital letter for python packages. FIXED-IN:4.12.5 (cherry picked from commit c2f0e8d385cea53391a747805c9172b1dd2d2141) M +0 -9 umbrello/codegenerators/python/pythonwriter.cpp http://commits.kde.org/umbrello/26558402037ad8a34c536248a2b2bf52ce6af204 |