BUG: Discover/Piratebay: "'NoneType' object has no attribute 'group'"
See original GitHub issueThis has been happening to me on 2.3.3
- can’t see it mentioned, but sorry if it’s a dupe!
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 472, in __run_plugin
return method(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
return self.func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 290, in on_task_input
return self.execute_searches(config, entries, task)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 155, in execute_searches
search_results = search.search(task=task, entry=entry, config=plugin_config)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 118, in wrapped_func
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/sites/piratebay.py", line 151, in search
entry['content_size'] = parse_filesize(size.group(1))
AttributeError: 'NoneType' object has no attribute 'group'
Config:
moviesPBHQ:
verify_ssl_certificates: no
discover:
what:
- movie_list:
list_name: allmyfilms
strip_year: yes
from:
- piratebay:
category: movies
template: movietemplate
priority: 80
seen: local
quality:
- 720p+
- webrip+
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (13 by maintainers)
Top Results From Across the Web
'NoneType' object has no attribute 'group' - Stack Overflow
The error is in your line 11, your re.search is returning no results, ie None , and then you're trying to call fmtre.group...
Read more >Error: 'NoneType' object has no attribute 'group' while installing
An unrecoverable error has occured. The error was: 'NoneType' object has no attribute 'group'. At first, 7.6.0 clean install.
Read more >'NoneType' object has no attribute 'group' with python 3.5.3
'NoneType' object has no attribute 'group' with python 3.5.3 #5917 ... to 3.5.3 and when I try to install Ray with Poetry I...
Read more >AttributeError 'NoneType' object has no attribute 'groups'
This error happens when using the Multixcan tool, it usually happens when the tool cant find files in the Metaxcan folder you provided....
Read more >Regular Expression Error: 'NoneType' object has no attribute ...
Regular Expression Error: 'NoneType' object has no attribute 'group'. I wrote the following function to match and return the first number in ...
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
If you’d add
--table-type github
to that command, it’ll produce a github style table. Just sayin 😉Could this be becuase of how it finds the links? I noticed that newer torrents get added with the following uploaded string:
Uploaded <b>26 minutes ago</b> ...
Noticed the bold tags, maybe that’s where it chokes on?