Closed iandouglas closed 8 years ago
Hi @iandouglas! 👋
Did you follow the config instructions?
@hackebrot considering the very first instruction is cibopath config github.username <your-username>
which I pasted above, yes.
My presumption is that the 'config' steps would create that file, but the exception that's thrown above indicates it's merely looking for the file and not finding it.
From what I've traced in cly.py and user_config.py is that it's looking for my .cibopathrc file before even interpreting my instructions, this feels like a chicken-and-egg problem since my rc file hasn't been created by the tool yet.
in user_config.py:
24 with self.file_path.open('r', encoding='utf8') as config_file:
25 config.read_file(config_file)
... perhaps this needs a try/except around it in case the file isn't found, and handled more gracefully?
Right, my bad. I can reproduce the issue.
As a workaround you can $ touch ~/.cibopathrc
for now.
Should be fixed now!
I've got Python 3.5 installed on Fedora 23, but when I run your setup instructions from PyPi, I get an error about being unable to access .cibopathrc in my $HOME folder.