-
Notifications
You must be signed in to change notification settings - Fork 32
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
crash on "blank notifications" #167
Comments
Would you check this with version 0.3.2 of Tootstream? The streaming API changed for Mastodon.py and that may solve the issue. Thanks! |
new ve & new pip installation -- after calling notes (a few notes are displayed then...) note: 70386 |
So it looks like 'created_at' isn''t getting set for that notification. Hurm. That's strange. Would it be possible to run the following:
|
note: 70386
|
0977330 adds a generic exception handling routine for crashes like this. It's not the best solution but it should prevent it from crashing. I'll still give this a peek for future versions. |
Are we still having errors with this? I haven't seen anything on my end. |
tootstream crashes when encountering what i have referred to as "blank notifications" ... here is the traceback:
(having called 'notes' from the REPL)
note: 70376
@(user-removed) favorited your status:
♺:0 ♥:1 id:23 vis:🌎 via ◆ Tootdon ◆ 2018-01-23 02:06:41 (19 hours ago)
@(user-removed) you make good points and are clearly thoughtful and think critically. and my further thoughts are - what you say suggests a problem/solution which is better than my simple whinging about progress not being made fast enough. moving from feedlot chicken-nugget tv dinner ft. ambient petroleum byproduct
toward a more harmonious farming is more concrete. but is it more realistic? without leaving omnivorousness behind, can we supply the demand in a more ethical way, or is it too high?
note: 70386
Traceback (most recent call last):
File "/home/nydel/ve/dev/tootstream/bin/tootstream", line 11, in
load_entry_point('tootstream==0.3.1', 'console_scripts', 'tootstream')()
File "/home/nydel/ve/dev/tootstream/lib/python3.5/site-packages/click-6.7-py3.5.egg/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/nydel/ve/dev/tootstream/lib/python3.5/site-packages/click-6.7-py3.5.egg/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/nydel/ve/dev/tootstream/lib/python3.5/site-packages/click-6.7-py3.5.egg/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/nydel/ve/dev/tootstream/lib/python3.5/site-packages/click-6.7-py3.5.egg/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/nydel/ve/dev/tootstream/lib/python3.5/site-packages/tootstream-0.3.1-py3.5.egg/tootstream/toot.py", line 1566, in main
File "/home/nydel/ve/dev/tootstream/lib/python3.5/site-packages/tootstream-0.3.1-py3.5.egg/tootstream/toot.py", line 1015, in note
TypeError: 'NoneType' object is not subscriptable
(tootstream) nydel@foresee:~/ve/dev/tootstream$
the very next note that would be displayed is the "blank notification"
The text was updated successfully, but these errors were encountered: