Look in the kivy log file. I believe the location ~/.kivy/log/ The log file may provide a trace back and give you a clue about where things are going wrong.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/75dfb392-4adb-426a-9932-929f4ce1437e%40googlegroups.com.
Look in the kivy log file. I believe the location ~/.kivy/log/ The log file may provide a trace back and give you a clue about where things are going wrong.
From: 'Arturo Martínez Sandoval' via Kivy users support
Sent: Monday, August 5, 2019 5:50 PM
To: Kivy users support
Subject: [kivy-users] App crashes abruptly
Hi,
Some months ago I developed an app for a school project. Back then I was in high school and I just needed to make it work. Now, I'm trying to package it into a MacOs App, and I have done so. It opens correctly, but when I go to my Settings option, the program crashes. However, before I packaged it, it worked perfectly.
For packaging, I followed the instructions on https://kivy.org/doc/stable/guide/packaging-osx.html. The only difference was that I used a virtual environment, because otherwise, my Mac wouldn't allow me to make the app file.
On the video (https://drive.google.com/file/d/1S1PoazjY4a38UEpQdDZN35Jr-FEe64AY/view?usp=sharing), the first window (the one that works) is my app before packaging it, and the second one is the ".app" file.
What can I do? I have no idea where to look for bugs.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.
There is a section in the Pyinstaller docs that talk about finding file locations at runtime.
https://pyinstaller.readthedocs.io/en/stable/runtime-information.html
The files will be in a different place if you are running bundled vs. frozen. The section describes how to tell if your frozen, and how to access the files.
I’m sure I’ve got an example on a different machine than I’m using now – let me know if you are having trouble with the docs. I’ll dig out the example. I suspect this will solve your issue.
You may also want to check and print out your current working directory when frozen. That might also be illuminating.
A little more advanced, you can also create a runtime hook that sets the current working directory from within pyinstaller.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/08cedbfd-f77b-4844-adb7-834bccc214b6%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/08cedbfd-f77b-4844-adb7-834bccc214b6%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/89685296-3ef5-4294-b312-cba90306e644%40googlegroups.com.