Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hjoin crashes, File "/usr/local/lib/python3.5/dist-packages/hatcog-0.10-py3.5.egg/hjoin/hjoin.py", line 68, in main #18

Open
evanescente-ondine opened this issue Dec 20, 2017 · 4 comments

Comments

@evanescente-ondine
Copy link

Just installed from git, but haven't yet edited the config file. Still, see the result. Betcha it's not normal.

=> hjoin freenode.tmux
hatcog v0.10 (github.com/grahamking/hatcog) logging to /home/mehdi/.hatcog/client.log
Traceback (most recent call last):
File "/usr/local/bin/hjoin", line 11, in
load_entry_point('hatcog==0.10', 'console_scripts', 'hjoin')()
File "/usr/local/lib/python3.5/dist-packages/hatcog-0.10-py3.5.egg/hjoin/hjoin.py", line 68, in main
File "/usr/lib/python3.5/logging/init.py", line 1745, in basicConfig
h = FileHandler(filename, mode)
File "/usr/lib/python3.5/logging/init.py", line 1009, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.5/logging/init.py", line 1038, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/home/mehdi/.hatcog/client.log'

@grahamking
Copy link
Owner

grahamking commented Dec 20, 2017

Thanks for the report. You need to create directory /home/mehdi/.hatcog

It should probably warn you about that, or create it for you.

@evanescente-ondine
Copy link
Author

evanescente-ondine commented Dec 20, 2017 via email

@grahamking
Copy link
Owner

You need to customize .hatcogrc to setup the IRC accounts you use. Change this line to delete $(gpg -d pw_file.asc). Also delete these lines https://github.com/grahamking/hatcog/blob/master/.hatcogrc#L32-L42 .

@grahamking
Copy link
Owner

Note that I haven't worked on hatcog in 4.5 years. I'm glad you're trying it, and I'm happy to help, but I don't promise it will work. You will probably need to have some experience programming in Python to succeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants