Skip to content

Instantly share code, notes, and snippets.

@RupGautam
Created February 12, 2017 04:04
Show Gist options
  • Select an option

  • Save RupGautam/0dac87fb8302223cc369e7938e4913cd to your computer and use it in GitHub Desktop.

Select an option

Save RupGautam/0dac87fb8302223cc369e7938e4913cd to your computer and use it in GitHub Desktop.
gitsome trending error
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/feedparser.py", line 399, in __getattr__
return self.__getitem__(key)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/feedparser.py", line 348, in __getitem__
return dict.__getitem__(self, 'updated_parsed')
KeyError: 'updated_parsed'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/bin/gh", line 11, in <module>
sys.exit(cli())
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/gitsome/main_cli.py", line 26, in cli
github.cli()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args[1:], **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/gitsome/githubcli.py", line 839, in trending
github.trending(language, weekly, monthly, devs, browser, pager)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/gitsome/github.py", line 789, in trending
pager=pager)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/gitsome/table.py", line 210, in build_table_setup_trending
format_method=format_method)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/gitsome/table.py", line 69, in build_table
output += format_method(view_entry) + '\n'
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/gitsome/formatter.py", line 598, in format_trending_entry
'(' + str(self.pretty_dt(trending_entry.updated_parsed)) + ')',
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/feedparser.py", line 401, in __getattr__
raise AttributeError("object has no attribute '%s'" % key)
AttributeError: object has no attribute 'updated_parsed'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment