stuartlynne / fitness_hrv

fitness_hrv release repository.
11 stars 0 forks source link

Unable to launch #4

Open ensingerphilipp opened 1 year ago

ensingerphilipp commented 1 year ago

I am unable to launch neither Fitness Dashboard and ECG after installing it on my Windows 11 machine. I hear the fans of my laptop spinning up for 5 seconds after trying to open the application - the Fitness Dashboard process pops up in taskmanager for a brief 2 seconds and then closes again.

Tried the following Versions that dont work: Dashboard 0.25, 0.23, ECG 0.20 Dashboard 0.14 works (not sure of the others)

Windows 11 Home Legion 5 15arh05h - Ryzen 4800H with Radeon Graphics + Nvidia RTX 2060

stuartlynne commented 1 year ago

I’ve had one other similar report. Thanks for confirming!

I’ll need to arrange for a Win11 home to test with. My systems are win10 and win11 pro.

On Mon, Jun 19, 2023 at 11:26 Philipp Ensinger @.***> wrote:

I am unable to launch neither v0.25 nor 0.23 after installing it on my Windows 11 machine.

Windows 11 Home Legion 5 15arh05h - Ryzen 4800H with Radeon Graphics + Nvidia RTX 2060

— Reply to this email directly, view it on GitHub https://github.com/stuartlynne/fitness_hrv/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACIUWOJVU3FQWG5MB2MLQLXMCKVNANCNFSM6AAAAAAZMIZK7Y . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Sent from Gmail Mobile

stuartlynne commented 1 year ago

Could you check something for me on the system you attempted the install.

Look in your Documents folder to see if there is a folder called "Fitness".

If there is, can you zip up the files and upload the zip file.

If the Folder exists that means the app is starting and failing as it loads.

If the Folder does not exist it is either dying very early or not running at all.

Thanks!

stuartlynne commented 1 year ago

Found the problem, on Windows 11 Home (only so far) python returns an error trying to load shutil.

Just creating v 0.26 install should be available later today.

ensingerphilipp commented 1 year ago

Thank you i will test it once its online

ensingerphilipp commented 1 year ago

Seems like its not fixed :(

Logs show:

Traceback (most recent call last): File "C:\Users\user\AppData\Local\Temp\ONEFIL~1\dashboard.pyw", line 57, in NameError: name 'shutil' is not defined

stuartlynne commented 1 year ago

My first attempt missed one use. And while testing I noticed another small anomaly that I want to look into in the same area of the code.

Testing is slow, have to build the .exe using Nuitka, and that takes about 30 minutes. :-(

On Wed, Jun 21, 2023 at 1:21 AM Philipp Ensinger @.***> wrote:

Seems like its not fixed :(

Logs show:

Traceback (most recent call last): File "C:\Users\user\AppData\Local\Temp\ONEFIL~1\dashboard.pyw", line 57, in NameError: name 'shutil' is not defined

— Reply to this email directly, view it on GitHub https://github.com/stuartlynne/fitness_hrv/issues/4#issuecomment-1600403388, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACIUWJLON5K5NJDVBELBWTXMKVJNANCNFSM6AAAAAAZMIZK7Y . You are receiving this because you commented.Message ID: @.***>

-- __O____ -\<,____ ____()/()___


@.***>__604-518-1749(m)604-461-7532(h)

stuartlynne commented 1 year ago

OK, v0.27 version has been uploaded.

I tested it with Windows 11 Home, with the previous install removed, and the Documents/Fitness folder removed.

What was failing was the initial setup of the Documents/Fitness/fitness.cfg file. That gets copied from the /Program Files .../Fitness_Dashboard/fitness.cfg if it is not present.

The v0.25 release will work if that was manually copied.

I have been unable to find any discussions online as to why shutil in nuitka is failing. But copying a file is only a few lines of python, and I only needed to use that in one location.

On Wed, Jun 21, 2023 at 10:31 AM stuart lynne @.***> wrote:

My first attempt missed one use. And while testing I noticed another small anomaly that I want to look into in the same area of the code.

Testing is slow, have to build the .exe using Nuitka, and that takes about 30 minutes. :-(

On Wed, Jun 21, 2023 at 1:21 AM Philipp Ensinger @.***> wrote:

Seems like its not fixed :(

Logs show:

Traceback (most recent call last): File "C:\Users\user\AppData\Local\Temp\ONEFIL~1\dashboard.pyw", line 57, in NameError: name 'shutil' is not defined

— Reply to this email directly, view it on GitHub https://github.com/stuartlynne/fitness_hrv/issues/4#issuecomment-1600403388, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACIUWJLON5K5NJDVBELBWTXMKVJNANCNFSM6AAAAAAZMIZK7Y . You are receiving this because you commented.Message ID: @.***>

-- __O____ -\<,____ ____()/()___


@.***

__604-518-1749(m)604-461-7532(h)

-- __O____ -\<,____ ____()/()___


@.***>__604-518-1749(m)604-461-7532(h)

ensingerphilipp commented 1 year ago

Unfortunately this seems to produce a new error

Traceback (most recent call last): File "C:\Users\user\AppData\Local\Temp\ONEFIL~1\dashboard.pyw", line 62, in <module> File "C:\Users\user\AppData\Local\Temp\ONEFIL~1\subprocess.py", line 505, in run File "C:\Users\user\AppData\Local\Temp\ONEFIL~1\subprocess.py", line 951, in __init__ File "C:\Users\user\AppData\Local\Temp\ONEFIL~1\subprocess.py", line 1420, in _execute_child FileNotFoundError: [WinError 2] The system cannot find the file specified

ensingerphilipp commented 1 year ago

Manually copying from the Programfiles folder to documents also doesnt work