feedparser.py get exception.
See original GitHub issueExpected behaviour:
flexget check command ok.
Actual behaviour:
command “flexget check” crashed. try command “flexget --help”, crashed too.
Steps to reproduce:
- Step 1: run cmd “flexget --version”. —ok
- Step 2: run cmd “flexget check”. —failed.
- Step 3: run cmd “flexget --help”. —failed. same print with ‘Step 2’.
Config:
tasks:
HDHome.Auto:
rss: 'http://hdhome.org/torrentrss.php?myrss=1&linktype=dl&uid=63012'
accept_all: yes
download: /root/.flexget/rss/hdhome/
Log:
SyntaxError: invalid syntax
2017-06-06 13:11 CRITICAL plugin Exception while loading plugin flexget.plugins.sites.nyaa
Traceback (most recent call last):
File "/opt/lib/python3.6/site-packages/flexget/plugin.py", line 396, in _load_plugins_from_dirs
__import__(module_name)
File "/opt/lib/python3.6/site-packages/flexget/plugins/sites/nyaa.py", line 7, in <module>
import feedparser
File "/opt/lib/python3.6/site-packages/feedparser.py", line 316
raise KeyError, "object doesn't have key 'category'"
Additional information:
- FlexGet version: 2.10.60
- Python version: 3.6.1
- Installation method: pip3 install flexget
- Using daemon (yes/no): no
- OS and version: DSM6.1
- Link to crash log:
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Feedparser Python : Is there a way to handle connection errors?
I am talking about the HTTP errors, for instance "404 Not Found". I read the documentation but found nothing that could help me....
Read more >bozo_exception — feedparser 5.2.0 documentation
The exception raised when attempting to parse a non-well-formed feed. See Bozo Detection for more details. ... bozo_exception will only be present if...
Read more >Documentation — feedparser 5.0.1 documentation
If your date handler returns None, or anything other than a Python 9-tuple date, or raises an exception of any kind, the error...
Read more >feedparser hangs and never raises the exception/timeout!
I have an exceptionally patchy internet and when the service is out, feedparser hangs. Ctrl+C works fine to get it out of the...
Read more >Using Feedparser in Python - PythonForBeginners.com
Getting the RSS feed. You can use any RSS feed that you want. Since I like to read Reddit, I will use that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
python 3.6 support was added in 2.11.0. Please upgrade and test
2.11.1 is working just fine for me under Python 3.6. Thanks to everyone who worked on this!