Open orontee opened 1 month ago
Hum... tried with another GPX file and it works now that permissions are set. I guess the first GPX file is corrupted.
Looks like the script fails when ele
elements are empty:
Hi, thanks for the report.
Executing this command in a shell shows that plot_track_elevation.py file isn't executable:
Hmm, this is a Python script. I don't think that being unexecutable matters, as the elisp functions here invoke the script by passing it as an argument to the Python interpreter. Just to confirm, you fixed the problem by setting the executable permission on the Python scripts? Btw. is it the plot_track_elevation.py
script, or gpx2html
? Your log message says the error happened in gpx-show-map-gpx2html
Hum... tried with another GPX file and it works now that permissions are set. I guess the first GPX file is corrupted.
Nice find. The file is missing elevation data. For such files, you won't be able to show elevation.. I just pushed 62169ee8623b20e06098e8c8ddba68d9b5d585d4 which ensures that the script does not fail, and shows an empty image in this case. If you've got another suggestion, let me know.
Oh my bad I didn't realize the script is called through the python interpreter. I thought it use a shebang. I'll double check from a clean install.
From
*Messages*
buffer:Executing this command in a shell shows that
plot_track_elevation.py
file isn't executable:I fixed this but now in
*gpx script error*
:Environment
I am running a Debian Bookworm. When the user logs, a virtual environment is activated. Installed packages: