mherrmann / fbs

Create Python GUIs with Qt in minutes
https://build-system.fman.io
GNU General Public License v3.0
3.81k stars 195 forks source link

fbs freeze #252

Open stupid-kid-af opened 3 years ago

stupid-kid-af commented 3 years ago

ashutosht@ashutosh-kde:~/Documents/PyQT_Projects/Notepad_PX$ fbs freeze The free version of fbs only supports Python 3.5 and 3.6. Please obtain fbs Pro from https://build-system.fman.io/pro.

I tried everything like installing python 3.5.9 but it didn't work.

mherrmann commented 3 years ago

Hello stupid-kid-af,

my guess is tha you are using Python 3.5 without knowing it. What do you get from

python3 --version

And then, what do you get from

python3 -m venv venv
source venv/bin/activate
pip install fbs
fbs startproject
fbs freeze

?

Diamaa12 commented 1 year ago

Hello guys I have the same problem with stupi-kid-af, both I use python 3.9 with fbs PRO , i don't now why i have this error wenn i try to run fbs freeze: fbs freeze This copy of fbs only supports main.py as in the tutorial. Please use Python 3.5/3.6 and pip install fbs PyQt5==5.9.2. Or obtain fbs Pro from https://build-system.fman.io/pro.

I have soon buyed fbs Pro

mherrmann commented 1 year ago

You didn't install Pro correctly. The message you are seeing means that you are using the free (non-Pro) version of fbs.

Diamaa12 commented 1 year ago

How can I install it correctly, and yet I followed the official document on the site, normally it should work as indicated on the website, if not , would you have any tips for me perhaps?

Because I followed the following steps, after activating the virtual environment for python3.11, I used the following commands: pip install fbs_Pro.1.2.1.tar.gz; pip install fbs-tutorial What else did I forget

proftc commented 6 months ago

I have the latest version of fbs pro and using python 3.9 and Pyqt6 on a Mac M2. I have the problem that after freezing the app runs OK but crashes on exit. The problem was noted in stack exchange (see https://stackoverflow.com/questions/74748310/running-fbs-freeze-binary-causes-segmentation-fault-macos-python#content) as due to the version of python being limited by fbs? But I am using python 3.9? On windows the problem doesn't occur. Any help with this would be very much appreciated..

mherrmann commented 6 months ago

Are you getting any error message, either in a popup or when you launch the (frozen) app from a Terminal?

proftc commented 6 months ago

From the terminal on starting the app I get nothing and the app runs perfectly but when I quit the app I get a popup that says –

My Simple Graph quit unexpectedly.

Click Reopen to open the application again. Click Report to see more detailed information and send a report to Apple.

And in the log (just the first bit below)

I’ve tried all sorts of things but I haven’t got anywhere Thanks for any help.

Process: My Simple Graph [16395] Path: /Applications/Stocker.app/Contents/MacOS/My Simple Graph Identifier:
Version: 0.0.0 (0.0.0) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501

Date/Time: 2024-04-26 13:57:04.5609 -0300 OS Version: macOS 14.3.1 (23D60) Report Version: 12 Anonymous UUID: 8800672C-D7D3-6CC6-C6D5-551B44B2344A

Sleep/Wake UUID: 11B03A05-7880-4FF1-8A54-B575DF78C667

Time Awake Since Boot: 2700 seconds Time Since Wake: 1578 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Codes: 0x0000000000000001, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [16395]

VM Region Info: 0 is not in any region. Bytes before following region: 4370989056 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 104880000-10488c000 [ 48K] r-x/r-x SM=COW ... Simple Graph

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 QtGui 0x10a34dec0 QGuiApplication::~QGuiApplication() + 56