mgdotdev/snappyzones

Unable to start - Error in settings.py

Closed this issue · 1 comments

Arch
Cinnamon 5.0.6
Python 3.9.7

I was able to run snappy config zones -n 2 and save but then when I try running snappy I get the following:

Traceback (most recent call last):
  File "/home/zetaphor/.local/bin/snappy", line 8, in <module>
    sys.exit(main())
  File "/home/zetaphor/.local/lib/python3.9/site-packages/snappyzones/__main__.py", line 14, in main
    service = Service()
  File "/home/zetaphor/.local/lib/python3.9/site-packages/snappyzones/service.py", line 14, in __init__
    for key in SETTINGS.keybindings
  File "/home/zetaphor/.local/lib/python3.9/site-packages/snappyzones/conf/settings.py", line 36, in keybindings
    char for char in _data.split('\n') 
AttributeError: 'NoneType' object has no attribute 'split'

Issue was with the distribution; the conf files weren't making it to pypi. I've gone ahead and updated the pypi package so that those conf files are available for the SETTINGS object.