Am 03.05.2011 16:23, schrieb Thorsten Kampe:
This seems to be the problematic function in winsys.dialogs:

If you drop the author a note, please ask him to obey the Python coding style (PEP 8). :-)

This didn't work because if running the pure Python script, I get
"AttributeError: 'module' object has no attribute 'frozen'". I changed
it to "if not os.getenv('_MEIPASS2'):" and this works.

By fault. It should have been
  if not getattr(sys, 'frozen', None):
    ...

_MEIPASS2 may not be set when using --onedir (but I'm unsure about this).

--
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP, CSSLP

Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de

Monatliche Kolumne: http://www.cissp-gefluester.de/
Goebel Consult mit Mitglied bei http://www.7-it.de


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to