oaubert / advene

Official Advene repository
https://www.advene.org/
GNU General Public License v2.0
36 stars 9 forks source link

advene fails to start if $(HOME)/.config directory does not exist #28

Closed chrstn-hntschl closed 7 years ago

chrstn-hntschl commented 7 years ago

This is the stacktrace I receive when running advene from a docker container with no $(HOME)/.config directory available. After creating .config manually, advene starts normally

christian@9eeaaa998dc8:~/advene/bin$ ./advene
You seem to have a development tree at:
/home/christian/advene/lib.
Traceback (most recent call last):
  File "./advene", line 61, in <module>
    import advene.core.config as config
  File "/home/christian/advene/lib/advene/core/config.py", line 908, in <module>
    data.check_settings_directory()
  File "/home/christian/advene/lib/advene/core/config.py", line 495, in check_settings_directory
    os.mkdir(self.path['settings'])
OSError: [Errno 2] No such file or directory: '/home/christian/.config/advene'