pimutils / todoman

✅ A simple, standards-based, cli todo (aka: task) manager.
https://todoman.readthedocs.io
ISC License
483 stars 78 forks source link

ModuleNotFoundError: No module named 'validate' #419

Closed aleprovencio closed 3 years ago

aleprovencio commented 3 years ago

Hello,

I started getting this error after updating python-configobj from 5.0.6-9 to 5.0.6-10 on Arch. I've noticed it has changed its installation directory so I guess todoman should import from configobj.validate instead.

alpaca1thunder commented 3 years ago

Having the same issue here, Arch as well.

polyzen commented 3 years ago

A fix has been applied to the Arch package: https://github.com/archlinux/svntogit-community/commit/2cefd39f45b2a98d3f62e441407b61d9e3ac2483

WhyNotHugo commented 3 years ago

ArchLinux is currently packaging an unreleased 5.1.0 version.

$ python -c "import configobj; print(configobj.__version__)"
5.1.0

$ pacman -Qi python-configobj
Name : python-configobj
Version : 5.0.6-10
...

I can't fix this in todoman, since I can't really support something that's unreleased. It does seem that configobj's next minor release will have breaking changes though, so I'll keep this open to keep an eye on that.

polyzen commented 3 years ago

This seems like the best solution to deal with distro's that don't package the shim: https://github.com/scheibler/khard/pull/283/files

WhyNotHugo commented 3 years ago

There's nothing I can do to fix this; this will probably be addressed via #426.

WhyNotHugo commented 3 years ago

This is fixed in main and will be released with 4.0.0.

The configuration format has changed, so that requires some (minor) manual attention.