I deleted my previous post. The app won't crash, but it did not work as intended.
I took a closer look and found that modules like *pandas.io.sql*, * rpy2.objects*, *pandas.rpy.common* do not exist at all. As a result, PyInstaller could not find them. However, if I do *import pandas.io.sql as psql*, *import rpy2.objects as robjects* and *import pandas.rpy.common as com*, it works. Why is this so? On Thursday, June 27, 2013 10:18:40 AM UTC-4, Boxuan Cui wrote: > > I have narrowed down my problem to this: whenever I tried to do the > following input, the app crashes. Does anyone know why? > > *import pandas.rpy.common as com* > *import pandas.io.sql as psql* > *import rpy2.robjects as robjects* > > > > > On Wednesday, June 26, 2013 3:25:40 PM UTC-4, Boxuan Cui wrote: >> >> Thanks for the reply. I disabled the "running from app store only" >> option. Before I go ahead and debug a simple example, I just want to know >> if my spec file looks right. Do I need to add the 3 png files and the text >> file to COLLECT()? While running the program, all of them will be replaced >> by user input. Should I do something about those files? >> >> >> >> On Wednesday, June 26, 2013 2:54:42 PM UTC-4, Martin Z wrote: >>> >>> Boxuan Cui píše v St 26. 06. 2013 v 09:32 -0700: >>> > 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! >>> >>> Some notes: >>> - pyside is not fully supported >>> - Did you enable on osx 10.8 to allow running apps not only from app >>> store? >>> - Try to debug the crash to just simple example from your code. >>> >>> -- 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.
