Closed wiktor-k closed 2 years ago
Python-wtforms 3.0.0 is out and the Arch package is outdated unfortunately. :( This is the commit that updated to the lastest version: https://github.com/etesync/etesync-dav/commit/ca2a35bb8573077780dd3e487aeca9290f437d15
Either downgrade etesync-dav to an older version or get arch to finally update https://archlinux.org/packages/community/any/python-wtforms/ or try to install the latest version of python-wtf from AUR.
Hmm... that's unfortunate. I figured out that if the service starts as a user service I could just install the dependencies in the exact versions required using pip install -r requirements.txt
where the file came from your repository.
One thing that didn't work is that it still failed with An exception occurred during GET request on '/.web': No module named 'wtforms.fields.html5'
but I found a similar error on Stackoverflow where they mentioned that the module has been changed in version 3.x. Using WTForms==2.3.3
fixed the error and everything is working. This is surprising as requirements.txt has WTForms in version >= 3 but since this is working now I'm not keen on debugging this further :)
Thanks for your help! I'm closing the issue since now "it works on my machine" :)
It's really just arch being old unfortunately. :(
Hi,
I've just installed etesync-dav on Arch via etesync-dav AUR package and started the service via
systemctl --user start etesync-dav.service
.Unfortunately when visiting
http://localhost:37358/.web
I see onlyA server error occurred. Please contact the administrator.
and the console contains:I'm no Python developer but I see wtforms being installed before etesync-dav:
Is this a versioning problem?
For the record:
and
Thanks in advance for help!