-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
Uncaught Exception. System.ComponentModel.Win32Exception (2): The system cannot find the file specified. #119
Comments
Are you using the windows exe? If so I put a fix in for this error yesterday, can download that exe here: https://github.com/philosowaffle/peloton-to-garmin/releases/tag/v2.0.1 Releated discussion thread: #118 (comment) |
I am using v2.0.1 (windows exe) and an still getting the same error as 2.0 Also and chance getting the container version of 2.0 able on a raspberry pi? |
Yes this is on windows 10 64bit but this is from user error on my side. I misread the instructions and had set this to true. I went ahead and redownloaded this new version and compared the 2 configuration files side by side and caught it. my apologies and thanks! |
@Vicore1 can you also double check your config file has:
I'm currently running version 2 docker on my raspberry pi 4 which is arm64 architecture. Do you need arm32? |
I have a pi 4 let me give it a shot. I am still getting the same error, I confirmed I have the false flag set for PythonAndGUploadInstalled. I am going to remove and start fresh just to make sure I didn't bork something. |
If you switch to the docker build then Its confusing, I know, but it was a hack to support a single windows exe for those who don't want to mess with the command line. Basically windows exe set |
System.ComponentModel.Win32Exception (2): The system cannot find the file specified. Getting the same error on a fresh download of the program. My config file is set up as so: { |
I'm running it as the windows exe and I am using version 2.0.1. Let me know if I can provide any more information you might need. |
Can one of y'all still seeing this error switch logging to I'm not able to reproduce on my end so definitely need to try to grab some more info to see what the difference is. |
So just switch "Information" to "debug"? I get this output log when I do that, which I believe is the same output as before. 2021-06-16 19:07:40.171 -04:00 [INF] Beginning Garmin Upload. |
Re-imported it and this is what was in the log. [20:03:57 DBG] Uploading to Garmin with the following parameters: C:\XXXXXX\XXXXXX\Downloads\win10-x64_2.0.1\python\upload\upload.exe -ge email -gp password -f "C:\XXXXX\XXXXX\Downloads\win10-x64_2.0.1\working\upload\0c864b97a7824e31999408e007cc7140_45_min_Power_Zone_Endurance_Ride_with_Ben_Alldis.fit" |
Sanity check, can you verify this path exists: Typically this error means it failed to find that |
It does not exist in my folder. |
Oh, dang, I see the issue. One sec, let me fix it. |
Awesome! 5 coffees on me 🤙 |
Appreciate that! Ok, download the zip again from here, I just updated it with the correct build. I did something silly the first time I fixed this bug, I only fixed it in one of my build scripts, but completely forgot to fix it in the release script. |
Didnt work but it made more progress then the previous run. New log below. 2021-06-16 20:27:30.587 -04:00 [ERR] Failed to upload workouts. GUpload had exit code of 1 |
If you switch the log back to debug I suspect you will see output similar to:
This is what I get on my machine, and is related to the ongoing auth issues a lot of folks are facing, myself included 😢 |
Yep same error! Thanks for your help on this though! I'll keep my eyes peeled for any future updated on this 😸 |
Hello all. Trying to get this work on a new account and getting the error below. I went and reinstalled the newest Python and .Net
I feel like maybe I need to add a directory to Path but not sure which.
Thanks for any help.
2021-06-15 12:07:56.617 -05:00 [INF] Beginning Garmin Upload.
2021-06-15 12:07:56.622 -05:00 [FTL] Uncaught Exception.
System.ComponentModel.Win32Exception (2): The system cannot find the file specified.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Garmin.GarminUploader.UploadViaPython(String[] files) in /home/runner/work/peloton-to-garmin/peloton-to-garmin/src/Garmin/GarminUploader.cs:line 101
at Garmin.GarminUploader.UploadToGarmin() in /home/runner/work/peloton-to-garmin/peloton-to-garmin/src/Garmin/GarminUploader.cs:line 54
at PelotonToGarminConsole.Program.RunAsync(Configuration config)
at PelotonToGarminConsole.Program.Main(String[] args)
The text was updated successfully, but these errors were encountered: