Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thank you (athoik)
#60 (comment)
Fix this crash ..
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/e2_utils.py", line 76, in selectionChanged
return ConfigList.selectionChanged(self)
File "/usr/lib/enigma2/python/Components/ConfigList.py", line 72, in selectionChanged
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/subtitles.py", line 3426, in onSelect
self.getSuggestions()
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/subtitles.py", line 3533, in getSuggestions
self.__suggestions = self.suggestionsClass().getSuggestions(self.value, self.propagateSuggestions, self.gotSuggestionsError)
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/subtitles.py", line 3245, in getSuggestions
d = self._getSuggestions(queryString)
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/subtitles.py", line 3269, in _getSuggestions
return client.getPage(query, timeout=6)
File "/usr/lib/python2.7/site-packages/twisted/python/deprecate.py", line 301, in deprecatedFunction
File "/usr/lib/python2.7/site-packages/twisted/web/client.py", line 795, in getPage
File "/usr/lib/python2.7/site-packages/twisted/web/client.py", line 742, in _makeGetterFactory
File "/usr/lib/python2.7/site-packages/twisted/web/_newclient.py", line 648, in _ensureValidURI
ValueError: Invalid URI 'http://www.opensubtitles.org/libs/suggest.php?format=json2&SubLanguageID=null&MovieName=Marie Antoinette'
< 19430.166> [ePyObject] (CallObject(<bound method MyConfigList.selectionChanged of <Plugins.Extensions.SubsSupport.e2_utils.MyConfigList object at 0xaec95410>>,()) failed)