-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
freeze not working: Failed to execute script main #31
Comments
Hi, does the problem also occur with vanilla (not conda) Python 3.5, PyQt 5.9.2 and PyInstaller 3.3.1? |
And you can also do |
Thanks @mherrmann! The debug output shows (not surprisingly) that there appears to be an issue with pandas:
I'm planning to get rid of the pandas dependency in the tool, so it's probably not the end of the world. I don't have more time to play around with this now, but I think I can handle it from here. Thanks for the help so far! |
Ok cool. Happy to help :-) |
@mherrmann By the way, is it to be expected that pandas would work with fbs? I'm curious because I might have a need for it in another project. |
I strive to support every library. Just let me know when you start working on the other project. |
@mherrmann What kind of information do you need? I could see myself using pandas for some lightweight data handling in a few applications for use here in the lab. I guess you could try whip up a simple application that just imports pandas and maybe plots a simple dataframe or something, that would be a great start! |
To be perfectly direct: The information I need is that my efforts will not be in vain. You say now "it would be nice for maybe a project in the future". I could now spend days adding support for the libraries you mention (if they don't work already), just to have you simply never get around to actually using the fruits of my labor. That's why I want to know when you start using fbs in earnest. |
I absolutely understand your motivation, and I value your honesty 👍. I'm not going to make you start working on this before I really need it. To be perfectly honest, in the particular situation that made me create this issue in the first place, I will most likely be able to easily replace pandas with e.g. xlread or openpyxl, since the only thing I really use pandas for in this project is convenience when reading tabular data from e.g. Excel files (they are abundant in the lab) or various CSV formats. This functionality is easy to replace in this project. I'll make sure to create a new issue if/when I encounter issues with e.g. pandas in future projects! Thanks for your help so far. |
Sounds good. Thanks! |
I'm having some problems where fbs run opens the program well, but when using fbs freeze the executable file is not working. I've tried some of the tips on the website but still cant figure it out, any help will be appreciated i'm attaching the output of fbs freeze --debug |
You're using python version 3.7. Please try with 3.6. If the problem persists, please open a new issue. |
@hossiluc |
@huangsongfan Python 3.7 is not yet supported by fbs. Regarding your question for help, I suggest you ask on StackOverflow. |
@mherrmann |
I'm trying to create an executable file from the my PyQt5 application. my system specs: ubuntu 18.04 I'm following <a =href"https://github.com/mherrmann/fbs-tutorial">fbs-tutorial step by step to build a executable file from my application. I run the application without error with The
But I'm importing version
The
But I'm importing version
when I run the executable file from
I get this error:
what is the problem? |
Hi,
Thanks for all the work you've put into fbs, the documentation has been really helpful! I ran into an issue now the first time I tried freezing my application, the frozen application won't start. I ran the following command to freeze the application (on Windows):
This command produced no output.
When trying to run the produced
target/CTMR list scanner/CTMR list scanner.exe
I get the following message in a small dialog window:Window title: Fatal Error!
Content: (Yellow exclamation sign) Failed to execute script main
Button: OK
All code is available here: https://github.com/ctmrbio/list_scanner/tree/pyqt-fbs. There is a conda environment file in the repo to reproduce the environment I was using as well.
I don't really know where to start troubleshooting this, is there a log file for frozen applications or something like that?
The text was updated successfully, but these errors were encountered: