From: Remi Collet Date: September 21 2010 4:26pm Subject: [5.2.28] Python issue during RPM build List-Archive: http://lists.mysql.com/gui-tools/2204 Message-Id: <4C98DC9F.7030409@FamilleCollet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, The standard RPM build process include a python byte compile phase. (which seems disabled in the RPM provided on MySQL site) Some scripts have problems 1 script have indent problem which breaks this : # python res/scripts/snippets/shell_snippets.py File "res/scripts/snippets/shell_snippets.py", line 2 for schema in grt.root.wb.doc.physicalModels[0].catalog.schemata: ^ IndentationError: unexpected indent Can you tell me if this is expected ? - is this script executed - is this script user in some other way It seems that Scripts in script_templates are only template (so never executed), and shouldn't be compiled. I can disable this, but this is not a good pratice. It should be "safer" to have this not-real python script to have another extension than .py Thanks, in advance, for your response Regards Remi.