Hi everyone, glad to find this group. I am using pyinstaller the first time, and something does not work for me.
I wrote a GUI in PySide and the modules I used are: *from PySide.QtCore import ** *from PySide.QtGui import ** *import pandas.rpy.common as com* *import pandas.io.sql as psql* *import rpy2.robjects as robjects* *import sys* *import pyodbc* I have 7 python scripts, 1 .png logo file, 1 .txt file for storing user credentials, 2 .png graphs as output to show end user. My building code (debug mode on) is: *pyinstaller --clean --name=MyApplication --windowed -d -i ~/Documents/AA/Mac.icns ~/Documents/AA/Scripts/task.py* and the spec file is like this: *# -*- mode: python -*-* *a = Analysis(['/Users/boxuancui/Documents/AA/Scripts/task.py'],* * pathex=['/Users/boxuancui/Documents/AA/Final_app'],* * hiddenimports=[],* * hookspath=None,* * runtime_hooks=None)* *pyz = PYZ(a.pure)* *exe = EXE(pyz,* * a.scripts,* * exclude_binaries=True,* * name='MyApplication',* * debug=True,* * strip=None,* * upx=True,* * console=False , icon='/Users/boxuancui/Documents/AA/Mac.icns')* *coll = COLLECT(exe,* * a.binaries,* * a.zipfiles,* * a.datas,* * strip=None,* * upx=True,* * name='MyApplication')* *app = BUNDLE(coll,* * name='MyApplication.app',* * icon='/Users/boxuancui/Documents/AA/Mac.icns')* It generated the app I wanted, but every time I open it, it will crash. Below is part of the crash report: *Process: MyApplication [11098]* *Path: /Users/USER/Documents/*/MyApplication.app/Contents/MacOS/MyApplication* *Identifier: MyApplication* *Version: 0.0.0 (0)* *Code Type: X86-64 (Native)* *Parent Process: MyApplication [11097]* *User ID: 501* * * *Date/Time: 2013-06-26 12:29:54.521 -0400* *OS Version: Mac OS X 10.8.4 (12E55)* *Report Version: 10* *Sleep/Wake UUID: 1C75C5AC-D123-421B-B84A-5F944B89901B* * * *Interval Since Last Report: 10219 sec* *Crashes Since Last Report: 19* *Per-App Crashes Since Last Report: 1* *Anonymous UUID: 7C9CA324-8544-4DBE-C6E4-CB7A3669130A* * * *Crashed Thread: 0 Dispatch queue: com.apple.main-thread* * * *Exception Type: EXC_BAD_ACCESS (SIGSEGV)* *Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000054d8* * * *VM Regions Near 0x54d8:* *--> * * __TEXT 0000000102ab1000-0000000102ae1000 [ 192K] r-x/rwx SM=COW /Users/USER/Documents/*/MyApplication.app/Contents/MacOS/MyApplication* * * *Thread 0 Crashed:: Dispatch queue: com.apple.main-thread* *0 libR.dylib 0x0000000107fcecec Rf_install + 188 (names.c:1102)* *1 methods.so 0x0000000102e3e9a7 R_initMethodDispatch + 87* *2 libR.dylib 0x00000001071c1d85 do_dotcall + 469* *3 libR.dylib 0x00000001071ec487 bcEval + 9127* *4 libR.dylib 0x00000001071e9b4f Rf_eval + 223* *5 libR.dylib 0x00000001071f3e6e Rf_applyClosure + 1390* I have two questions here: 1. Even if I turned on the debug mode, I don't see any debugging messages. I am building a Mac app on a Mac Mountain Lion. I tried to search in Console.app, I can't see anything. Could anyone give me a direction? 2. Why is the app crashing? What am I missing? Thank you very much for your time to read this. Any help will be appreciated! -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/groups/opt_out.
