Hi "J",
I've read you're not working on this anymore, but I do, and I just had an issue with it that I fixed without knowing any python.
It was this error:
$ dotfiles -l
Traceback (most recent call last):
File "/home/MYUSERNAME/projects/vpy/bin/dotfiles", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/MYUSERNAME/projects/vpy/lib/python3.12/site-packages/dotfiles/cli.py", line 224, in main
config_opts = parse_config(cli_opts.config_file or '~/%s' % CONFIG_FILE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/MYUSERNAME/projects/vpy/lib/python3.12/site-packages/dotfiles/cli.py", line 150, in parse_config
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
So I changed line 150
from:
parser = configparser.SafeConfigParser()
to:
parser = configparser.RawConfigParser()
Seemed to make it work again.
If you're not going to work on this would you or anyone else know what I might migrate to?
I love having the change register on github for this kinda stuff and I've made this project my main home folder backup everywhere!
Cheers
Hi "J",
I've read you're not working on this anymore, but I do, and I just had an issue with it that I fixed without knowing any python.
It was this error:
So I changed line 150
from:
parser = configparser.SafeConfigParser()to:
parser = configparser.RawConfigParser()Seemed to make it work again.
If you're not going to work on this would you or anyone else know what I might migrate to?
I love having the change register on github for this kinda stuff and I've made this project my main home folder backup everywhere!
Cheers