Dear all,
I have a strange issue with Windows, cx_freeze 4.3.4, python 3.4.3, PySide 1.2.2 and sqlalchemy 0.9.9. When I run my frozen app, I get : ``` Auto configuration failed 4316:error:02001015:system library:fopen:Is a directory:.\crypto\bio\bss_file.c:169:fopen('D:/Build/OpenSSL/openssl-1.0.1k-vc10-x32/ssl/openssl.cnf','rb') 4316:error:2006D002:BIO routines:BIO_new_file:system lib:.\crypto\bio\bss_file.c:174: 4316:error:0E078002:configuration file routines:DEF_LOAD:system lib:.\crypto\conf\conf_def.c:199: ``` >From what I've gathered, it looks like OpenSSL tries to set itself up. I don't actually use SSL in my application, so it should be dependency of some package. The path "D:/Build..." is absolutely not on my PC, nor my development machine. I guess it comes from the one who compiled the SSL module... (and that's scary :-)) I've not made a thorough investigation, but this crash occurs after PySide has been loaded (and is working), on what seems the first actual query to the database (with sqlalchemy) Strangely, setting an evironment variable before executing the frozen app : ``` #! set OPENSSL_CONF=c:/libs/openssl-0.9.8k/openssl.cnf ``` solves the problem. Note that the file given on OPENSS_CONF variable does absolutely not exist on my Windows PC :-) I can also fix the problem by doing something similar but completely in Python (which will freeze better :) ): ``` #!python import os os.environ['OPENSSL_CONF'] = 'fix' ``` ... at the very beginning of my code. What scares me is that I have absolutely no idea of what I'm doing :-( Also, it was working before my HD crash. Since then I've reinstalled my python environment (and cx_freeze, and pyside, etc), so I don't know exactly what has changed (maybe I updated some packages unknowingly) and lead to the issue :-( Since I have a solution, I can live with that, but I thought it was worth mentionning... Stefan ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users