On Sat, Nov 12, 2011 at 5:41 PM, Hartmut Goebel <[email protected]> wrote: > Am 11.11.2011 10:52, schrieb stas zytkiewicz: >> >> I've searched the net and this group but I failed to find a solution >> for my strange problem. >> The sys._MEIPASS attribute points to a non existing path, the program >> runs but it can't find images that are included. > > Did you verify, they are included? use ArchiveViewer for this. I've tried but I must confess that I don't really understand how ArchiveViewer works. But I can't understand why I can't find the directory _MEIPASS is pointing to. The path doesn't exists, if it really exixts I should be able to see it using totalcommander or some other file browser ? Or am I mistaken ?
>> I can't find the path _MEIPASS is pointing to while the app is >> running. > > Try this at the top of your script: > > import os > print sys._MEIPASS > print os.listdir(sys._MEIPASS) OK. sys._meipass C:/Users/Emin/AppData/Local/Temp/_MEI57242/ os.listdir ['bz2.pyd', 'LIBEAY32.dll', 'Microsoft.VC90.CRT.manifest', 'msvcm90.dll', 'msvcp90.dll', 'msvcr90.dll', 'NjoyPlayer.exe.manifest', 'phonon4.dll', 'pyexpat.pyd', 'PyQt4.QtCore.pyd', 'PyQt4.QtGui.pyd', 'PyQt4.QtNetwork.pyd', 'PyQt4.QtWebKit.pyd', 'python27.dll', 'PyWinTypes27.dll', 'qt4_plugins', 'QtCore4.dll', 'QtGui4.dll', 'QtNetwork4.dll', 'QtOpenGL4.dll', 'QtSvg4.dll', 'QtWebKit4.dll', 'QtXml4.dll', 'select.pyd', 'sip.pyd', 'sqlite3.dll', 'SSLEAY32.dll', 'tcl85.dll', 'tk85.dll', 'unicodedata.pyd', 'win32api.pyd', 'win32file.pyd', 'win32pipe.pyd', 'win32wnet.pyd', '_bsddb.pyd', '_ctypes.pyd', '_hashlib.pyd', '_socket.pyd', '_sqlite3.pyd', '_ssl.pyd', '_tkinter.pyd'] > -- > 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 ist Mitglied bei http://www.7-it.de > > -- > You received this message because you are subscribed to the Google Groups > "PyInstaller" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pyinstaller?hl=en. > > -- Free-source educational programs for schools http://www.schoolsplay.org and http://wiki.laptop.org/go/Schoolsplay http://gvr.sf.net and http://wiki.laptop.org/go/Guido_van_Robot -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
