Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

Crash in updater.py #35

Closed
zachkont opened this issue Nov 15, 2017 · 4 comments
Closed

Crash in updater.py #35

zachkont opened this issue Nov 15, 2017 · 4 comments
Assignees
Labels

Comments

@zachkont
Copy link
Owner

Traceback (most recent call last):
  File "./updater.py", line 148, in <module>
    check_for_updates_and_notify()
  File "./updater.py", line 143, in check_for_updates_and_notify
    posts = get_dota2blog_posts()
  File "./updater.py", line 34, in get_dota2blog_posts
    return get_rss_posts("http://blog.dota2.com/feed/", "Dota 2 blog feed not accessible.")
  File "./updater.py", line 24, in get_rss_posts
    if feed and feed.status:
  File "/home/user/.local/lib/python2.7/site-packages/feedparser.py", line 400, in __getattr__
    raise AttributeError, "object has no attribute '%s'" % key
AttributeError: object has no attribute 'status'
Exception in thread WorkerThread1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  File "/home/user/.local/lib/python2.7/site-packages/telebot/util.py", line 56, in run
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'Empty'
@zachkont zachkont added the bug label Nov 15, 2017
@zachkont zachkont self-assigned this Nov 15, 2017
@TimJentzsch
Copy link
Contributor

Does this occure every 10 seconds / in every update cycle or did it only happen once?

@zachkont
Copy link
Owner Author

Happened once, tried a simple fix and it seems to be working fine so far, but the fix is only related to the updater

@TimJentzsch
Copy link
Contributor

TimJentzsch commented Nov 20, 2017

Ah, OK. Is #34 live already and if yes, did it cause any issues yet?

@zachkont zachkont reopened this Nov 27, 2017
@zachkont
Copy link
Owner Author

zachkont commented Aug 9, 2018

This looks like it's been fixed.

@zachkont zachkont closed this as completed Aug 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants