YunoHost-Apps / fittrackee_ynh

FitTrackee package for YunoHost 🚴
https://samr1.github.io/FitTrackee
GNU Affero General Public License v3.0
4 stars 1 forks source link

Failed to Upload .gpx files #26

Closed xmgz closed 1 year ago

xmgz commented 1 year ago

Describe the bug

I can not upload .gpx files

Context

Steps to reproduce

trying to add workout using .gpx file Fittrackee fails.

Two errors:

Expected behavior

proccess .gpx without issues

Logs

2023/07/14 05:43:05 - fittrackee - ERROR - error when getting weather data: 401 Client Error:  for url: https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/41.xxxxx,-3.xxxxxx/sssssssssss?key=False&iconSet=icons1&unitGroup=metric&contentType=json&elements=datetime%2CdatetimeEpoch%2Ctemp%2Chumidity%2Cwindspeed%2Cwinddir%2Cconditions%2Cdescription%2Cicon&include=current
2023/07/14 05:43:05 - fittrackee - ERROR - module 'PIL.Image' has no attribute 'ANTIALIAS'
2023/07/14 05:48:28 - dramatiq.WorkerProcess(0) - WARNING - Killing worker process...
2023/07/14 05:48:28 - dramatiq.WorkerProcess(1) - WARNING - Killing worker process...
2023/07/14 05:48:28 - dramatiq.ForkProcess(0) - WARNING - Killing fork process...
2023/07/14 05:48:31 - fittrackee - WARNING - EMAIL_URL is not provided, email sending is deactivated.
2023/07/14 05:48:33 - fittrackee - WARNING - EMAIL_URL is not provided, email sending is deactivated.
2023/07/14 05:48:55 - fittrackee - ERROR - module 'PIL.Image' has no attribute 'ANTIALIAS'
2023/07/14 05:50:02 - fittrackee - WARNING - EMAIL_URL is not provided, email sending is deactivated.
2023/07/14 05:50:20 - dramatiq.WorkerProcess(0) - WARNING - Killing worker process...
2023/07/14 05:50:20 - dramatiq.WorkerProcess(1) - WARNING - Killing worker process...
2023/07/14 05:50:24 - fittrackee - WARNING - EMAIL_URL is not provided, email sending is deactivated.
2023/07/14 05:50:56 - fittrackee - ERROR - module 'PIL.Image' has no attribute 'ANTIALIAS'

look at log timestamp, I paste here three consecutive diferent attempts

thank you

Thovi98 commented 1 year ago

Thanks for letting me know! Could you please try install/upgrade with the following branch? https://github.com/YunoHost-Apps/fittrackee_ynh

Thanks

xmgz commented 1 year ago

do you mean the testing branch?

sudo yunohost app upgrade fittrackee -u https://github.com/YunoHost-Apps/fittrackee_ynh/tree/testing --debug

Thovi98 commented 1 year ago

Oops sorry, went to fast. Yes, testing branch is fine!

xmgz commented 1 year ago

I could upload some files after upgrading to test branch. Thank you.

Please, will I have to manually upgrade to "stable" branch when you publish 0.7.19 or will it automatically notify about the new version? Thank you.

Thovi98 commented 1 year ago

Sorry for the late reply! You will not have to do anything manually. There will soon be the 0.7.21 upgrade and you will be notified in the webadmin.