YunoHost-Apps / librephotos_ynh

Librephotos package for YunoHost
https://github.com/LibrePhotos/librephotos
MIT License
5 stars 3 forks source link

Installation error: AttributeError: 'backports.zoneinfo.ZoneInfo' object has no attribute 'zone' #23

Open JanWaldhorn opened 3 years ago

JanWaldhorn commented 3 years ago

Describe the bug

I tried to install LibrePhotos via the YunoHost webpanel and after a while I get the info that the installtion failed. From the log I see that it might be due to the time zone, although I don't really understand that. The error persists even after a restart of the server.

Context

Steps to reproduce

Fresh installtion of YunoHost and an own subdomain (in my case librephotos.mydomain.nohost.me). The log is available here. LOG

Expected behavior

Normal error free installation

Logs

LOG1 and second attempt after restart LOG2. Seems to be the same error.

JanWaldhorn commented 3 years ago

Possibly it is a change in the package tzlocal see here and here. Downgrade manually with pip3 install tzlocal==2.1 unfortunately does not solve the problem.