Skip to content

Program doesn't start if ~/.etm is missing #62

Description

@orlitzky

It looks like issue #23 is back for me... with v3.2.27:

$ etm 
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/etm", line 83, in <module>
    view.main(dir=etmdir)
  File "/usr/lib64/python3.4/site-packages/etmTk/view.py", line 4416, in main
    (user_options, options, use_locale) = data.get_options(etmdir)
  File "/usr/lib64/python3.4/site-packages/etmTk/data.py", line 1313, in get_options
    fo = codecs.open(colors_cfg, 'w', dfile_encoding)
  File "/usr/lib64/python3.4/codecs.py", line 891, in open
    file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: '/home/mjo/.etm/colors.cfg'

A "mkdir" fixes it, but I'm trying to package this for Gentoo, and we can't write to the user's home directory as part of the installation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions