-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Python dependencies #2
Comments
Pyinput solved, now working on WxPython |
FortiusANT is deveoped with python 3, which might explain the clv.print() syntax error. You might start off testing individual modules; debug.py, logfile.py and FortiusAntCommand.py are indepentantly runnable to test the module itself. Succes! |
I am getting close.. have to install some GTK+ libraries to get WxPython running... |
Note that FortiusAntGui.py can also be run independently to test the module |
After a night of compiling (WxPython) all dependencies are met... It was complaining about serial so I also installed pyserial. Without the ANT+ stick the GUI boots (and mentions it cannot find the ANT+ device). With the ANT+ stick installed booting stalls at "-----Linux not tested------", no GUI shows up. When I run the program without the ANT+ stick the GUI boots, upon inserting the ANT stick and pushing Locate HW I get the error "read failed: device reports readiness to read but returned no data (device disconnect or multiple access on port?".. |
You're quite close. |
Try to use -d 127 to create logfile |
Logging output:
Also logfile.py gives me errors:
The other independent scripts work. |
So ANT+ dongle works. |
"Also logfile.py gives me errors:"; this is an error in the test-route and not impacting operation. New file uploaded. |
Regarding the -d flag: So if you want to trace the antDongle only -d4 would be enough. It would be helpful to send the logfile in the "read failed: device reports readiness to read but returned no data (device disconnect or multiple access on port?" situation. |
With dongle more FortiusANT.2020-01-18\ 14-31-32.log |
This is with starting the GUI without ANT stick inserted (Motorbrake not powered) 14:38:28,016: FortiusANT started Upon the ant dongle and pushing the locate hardware button I get the .. in the terminal: This evening I have more time to look into this in detail. |
I'm not at home now, will check Tonite. |
* #184 Power in Rouvy issue * #173 Version 4.0 Communicates Much Higher Power vs. 3.8 * #184 Power in Rouvy issue #2 * #184 Power in Rouvy issue #2 * #184 Power in Rouvy issue #3 * Fortius Antifier v4.2 test IV * Fortius Antifier v5.1 test I * Fortius Antifier v5.1 test II * Fortius Antifier v5.1 test IIb * #201 * #201 * Fortius Antifier v5.1 test III * heart -> Heart2 * heart -> Heart2 * heart* -> heart.jpg * Fortius Antifier v5.1 test IV * Fortius Antifier v5.1 test V * Fortius Antifier v5.1 test VI * Fortius Antifier v5.1
* Fortius Antifier v6.0 Manual * Fortius Antifier v6.0 Manual * Fortius Antifier v6.0.a * Fortius Antifier v6.0.b * .sh made executable * sudo gdown * Install script updates * Scripting for ANT #1 * Scripting for ANT #2 * Raspberry Rpi0 * Raspberry Rpi0 * Raspberry Rpi0 * Raspberry Rpi0 * Fortius Antifier v6.0.c Manual * Raspberry Rpi0 * Fortius Antifier v6.0.d Manual * Meanhat's Tacx T1902
* steering, integrated version #1 * steering, integrated version #2 documentation * steering, integrated version #3 bless commandline issue solved * steering, integrated version #4 error message update * #341 refactor ANT loop. First version * Some small improvements (#391) * New reading loop (in thread) ready for test * #404 #408 and some small corrections * Python complied into executable
I noticed your project on the antifier GitHub page... I am very eager to get your solution working.
When trying to run your software on the same software as I was using antifier (Python 2.7) in run into the following error
File "FortiusAnt.py", line 865 clv.print() ^ SyntaxError: invalid syntax
Right now I am trying to satisfy requirements in Python 3.5 but run into problems with wxPython
Error running configure ERROR: failed building wxWidgets Traceback (most recent call last): File "build.py", line 1468, in cmd_build_wx wxbuild.main(wxDir(), build_options) File "/tmp/pip-build-mmr8jqj1/wxPython/buildtools/build_wxwidgets.py", line 372, in main "Error running configure") File "/tmp/pip-build-mmr8jqj1/wxPython/buildtools/build_wxwidgets.py", line 85, in exitIfError raise builder.BuildError(msg) buildtools.builder.BuildError: Error running configure
and Pyinput
Invalid requirement: 'python-xlib>=0.17; linux in "sys_platform"' Traceback (most recent call last):
I will look into this in more detail, guess the error is more related to my local installation.
The text was updated successfully, but these errors were encountered: