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

IRC connection get lost over time #1

Open
kmille opened this issue Dec 10, 2019 · 0 comments
Open

IRC connection get lost over time #1

kmille opened this issue Dec 10, 2019 · 0 comments

Comments

@kmille
Copy link
Owner

kmille commented Dec 10, 2019

Dec 09 21:37:01 ovh python[32128]: INFO: Sending irc message Morgen holt die EAD den Müll ab (Restabfall 2-wöchentliche Leerung). Kannst du bitte die Tonne rausstellen?                                                                      
Dec 09 21:37:01 ovh python[32128]: Traceback (most recent call last):
Dec 09 21:37:01 ovh python[32128]:   File "garbage-announce.py", line 38, in <module>                                                                                                                                                         
Dec 09 21:37:01 ovh python[32128]:     setup_schedule()
Dec 09 21:37:01 ovh python[32128]:   File "garbage-announce.py", line 29, in setup_schedule
Dec 09 21:37:01 ovh python[32128]:     schedule.run_pending()
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/schedule/__init__.py", line 563, in run_pending                                                                                     
Dec 09 21:37:01 ovh python[32128]:     default_scheduler.run_pending()
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/schedule/__init__.py", line 94, in run_pending                                                                                      
Dec 09 21:37:01 ovh python[32128]:     self._run_job(job)
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/schedule/__init__.py", line 147, in _run_job                                                                                        
Dec 09 21:37:01 ovh python[32128]:     ret = job.run()
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/schedule/__init__.py", line 466, in run                                                                                             
Dec 09 21:37:01 ovh python[32128]:     ret = self.job_func()
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/imap_ead.py", line 82, in read_mails_and_notify                                                                                                                      
Dec 09 21:37:01 ovh python[32128]:     irc_bot.privmsg(settings['irc']['channel'], msg)
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/irc/client.py", line 560, in privmsg                                                                                                
Dec 09 21:37:01 ovh python[32128]:     self.send_items('PRIVMSG', target, ':' + text)
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/irc/client.py", line 591, in send_items                                 

Dec 09 21:37:01 ovh python[32128]: INFO: Sending irc message Morgen holt die EAD den Müll ab (Restabfall 2-wöchentliche Leerung). Kannst du bitte die Tonne rausstellen?
Dec 09 21:37:01 ovh python[32128]: Traceback (most recent call last):
Dec 09 21:37:01 ovh python[32128]:   File "garbage-announce.py", line 38, in <module>
Dec 09 21:37:01 ovh python[32128]:     setup_schedule()
Dec 09 21:37:01 ovh python[32128]:   File "garbage-announce.py", line 29, in setup_schedule
Dec 09 21:37:01 ovh python[32128]:     schedule.run_pending()
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/schedule/__init__.py", line 563, in run_pending
Dec 09 21:37:01 ovh python[32128]:     default_scheduler.run_pending()
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/schedule/__init__.py", line 94, in run_pending
Dec 09 21:37:01 ovh python[32128]:     self._run_job(job)
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/schedule/__init__.py", line 147, in _run_job
Dec 09 21:37:01 ovh python[32128]:     ret = job.run()
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/schedule/__init__.py", line 466, in run
Dec 09 21:37:01 ovh python[32128]:     ret = self.job_func()
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/imap_ead.py", line 82, in read_mails_and_notify
Dec 09 21:37:01 ovh python[32128]:     irc_bot.privmsg(settings['irc']['channel'], msg)
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/irc/client.py", line 560, in privmsg
Dec 09 21:37:01 ovh python[32128]:     self.send_items('PRIVMSG', target, ':' + text)
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/irc/client.py", line 591, in send_items
Dec 09 21:37:01 ovh python[32128]:     self.send_raw(' '.join(filter(None, items)))
Dec 09 21:37:01 ovh python[32128]:   File "/home/cda-garbage/cda-garbage/venv/lib/python3.7/site-packages/irc/client.py", line 599, in send_raw
Dec 09 21:37:01 ovh python[32128]:     raise ServerNotConnectedError("Not connected.")
Dec 09 21:37:01 ovh python[32128]: irc.client.ServerNotConnectedError: Not connected.
Dec 09 21:37:01 ovh python[32128]: If you suspect this is an IPython bug, please report it at:
Dec 09 21:37:01 ovh python[32128]:     https://github.com/ipython/ipython/issues
Dec 09 21:37:01 ovh python[32128]: or send an email to the mailing list at [email protected]
Dec 09 21:37:01 ovh python[32128]: You can print a more detailed traceback right now with "%tb", or use "%debug"
Dec 09 21:37:01 ovh python[32128]: to interactively debug it.
Dec 09 21:37:01 ovh python[32128]: Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
Dec 09 21:37:01 ovh python[32128]:     %config Application.verbose_crash=True
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

1 participant