Skip to content
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

V6.3 will not boot with a custom fortiusantsetting.JSON file created with the console #373

Closed
jujroy opened this issue Feb 7, 2022 · 12 comments
Labels
bug Something isn't working solved

Comments

@jujroy
Copy link

jujroy commented Feb 7, 2022

Hello, not sure if this problem is unique to me.
Using 2 Windows 10 laptops
T1932
Motor Brake
Never seen this issue with V6.2 or prior versions.
I normally start FortiusAnt by double clicking the Fortius.exe file found in the WindowsExecutable folder. Program starts normally.
I like starting the program with my HRM number (17844) thus I save the Json file.
With the Json file in the WindowsExecutable folder, the program will NOT boot and I am getting errors as per the picture enclosed.
If you need a copy of the faulty JSON file, I can email seperately given that Github wont let me attach this type of file.
I also tried various json settings such as start without calibration or start without PSA. Same same.
Thanks @WouterJD
PXL_20220131_154741039

@WouterJD
Copy link
Owner

WouterJD commented Feb 7, 2022

As an alternative, you can start exe with -H 17844

Toattach JSON, add .txt to full filename and then attach

@jujroy
Copy link
Author

jujroy commented Feb 7, 2022

Thanks @WouterJD for your prompt reply. I forgot to mention that as a workaround, I simply delete the file and restart. It works everytime as long as I do not create a new json file.

As requested find attached the faulty file.

Cheers

FortiusAntSettings.json.txt

@WouterJD
Copy link
Owner

WouterJD commented Feb 7, 2022

I will check next week

(although it should work, I never use it and use the command line)

@WouterJD
Copy link
Owner

WouterJD commented Feb 7, 2022

It may well be introduced in 6.3 (see wiki)

@WouterJD
Copy link
Owner

Should be solved with #366 in branch https://github.com/WouterJD/FortiusANT/tree/Implement-BLE-using-bless
Please verify and let me know

@jujroy
Copy link
Author

jujroy commented Apr 12, 2022

Quick and dirty - it does not seem to work. Will investigate and advise in the next few days. Cheers

@WouterJD
Copy link
Owner

Please share the JSON file

@jujroy
Copy link
Author

jujroy commented Apr 13, 2022

FortiusAntSettings.json.docx
As requested. JSON file created today. I tried to remove PSA and saved the file. Once the file is created in the windows executable folder, the GUI does not come up. Version 6.2 is working fine with a custom JSON file. Tried different parameters (custom HRM, no calibration, etc) , it did not work. You may be able to recreate this issue on your own system. Many thanks. Cheers. No pressure, I am using v6.2.

@WouterJD
Copy link
Owner

Hi @jujroy

The development branch https://github.com/WouterJD/FortiusANT/tree/Implement-BLE-using-bless
is version 6.3 like the master branch. I will change that

Also, I did not yet create a .exe in that branch, so the problem is solved only in the python-version.

I have tested with your .json and the problem can be reproduced with .exe and not with .py; so I guess it's solved.
I will create .exe for you asap.

@WouterJD
Copy link
Owner

.exe published

@jujroy
Copy link
Author

jujroy commented Apr 14, 2022

FortiusAntSettingsjson.docx
Hello Wouter, I tried your new .exe file this morning. Everything is booting properly now and GUI shows V6.4.
The resistance provided by the motorbrake is unrealistic/too weak. Power displays in excess of 1000W and speed in excess of 60km/h. JSON attached. Cheers

@WouterJD
Copy link
Owner

The resistance provided by the motorbrake is unrealistic/too weak. Power displays in excess of 1000W and speed in excess of 60km/h. JSON attached

Sorry to hear that. Please raise a separate issue including specifics of your environment.

@jujroy jujroy closed this as completed Apr 15, 2022
WouterJD added a commit that referenced this issue Aug 9, 2022
* #363 st7789b added; Waveshare 1.3 LCD with different pin layout

* PR#365 define waveshare pins

* PR #365 Waveshare reset pins

* Collector first version; write to FitnessMachineControlPoint fails

* bleClient.py working on Raspberry pi0W raspbian 10 (buster)

* bleClient.py works on rpi0W with raspbian v10 buster

* bleClient.py works on rpi0W with raspbian v10 buster

* Server still under editing

* bleBleak.py works on rpi0W with raspbian v10 buster

* bleBleak.py works on rpi0W with raspbian v10 buster

* FortiusAnt now works with bless library, ready for fieldtest

* spaces removed

* bless implementation works on Windows & Raspberry

* General Access Profile, further tests

* Made available to bless as example

* Code cleanup

* logfile improvements

* Improved error handling and Changed access rights

* -dall activates all debug options

* -d log activates all logging but not json

* -d all and -d log code improvement

* manual for #366 and problem solved for #373

* #379 fonts-dejavu added in install

* #366 install bless library from development branch

* Version 6.4 candidate for merge

* Small manual update

* Release BLE/bless, version 6.5

* Last manual update for release of BLE/bless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solved
Projects
None yet
Development

No branches or pull requests

2 participants