On 2017-01-24 19:35:26 +0000, Andreas Paeffgen said: > On Linux, cx_freeze 5.01, Pyqt5.3.2, QT5.3.2 using python3 > setup_cxfreeze.py build_exe i get the following error: > > Import Error no module codecs > > The setup script + all the source code can be found on github: > https://github.com/apaeffgen/PanConvert > > The code builds fine on Windows and Mac with the same version of cx_freeze. > > Also i get some missing module error of some code in the main program. > Any hints?
I checked the the other platforms again, Windows and MacOS. After a code restructure, i did since the last successfull build, everything is broken. Here are the error messages: Missing modules: ? __main__ imported from bdb, pdb ? source.converter.batch_converter imported from Panconvert__main__ ? source.converter.lyx imported from Panconvert__main__ ? source.converter.manual_converter imported from Panconvert__main__ ? source.dialogs.dialog_batch imported from Panconvert__main__ ? source.dialogs.dialog_fromformat imported from Panconvert__main__ ? source.dialogs.dialog_help imported from Panconvert__main__ ? source.dialogs.dialog_info imported from Panconvert__main__ ? source.dialogs.dialog_preferences imported from Panconvert__main__ ? source.dialogs.dialog_toformat imported from Panconvert__main__ ? source.gui.panconvert_gui_ext imported from Panconvert__main__ There is no module found any more by cx_freeze. The main program is called Panconvert.py and has a main function called __main__ Why it tries to import from Panconvert__main__? I just added some code to the __main__ function. And the unfrozen app works as expected. (Some translation code. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users