Traceback (most recent call last):


 "c:\python27\lib\site-packages\twisted\internet\defer.py", line 1260, in _inlineCallbacks

result = g.send(result)


 "c:\python27\lib\site-packages\scrapy\core\downloader\middleware.py", line 37, in process_request

response = yield method(request=request, spider=spider)


 "D:\SinaSpider-master\Sina_spider1\Sina_spider1\middleware.py", line 19, in process_request

cookie = random.choice(cookies)


 "c:\python27\lib\random.py", line 275, in choice

return seq[int(self.random() * len(seq))]
# raises IndexError if seq is empty
IndexError: list index out of range

Traceback (most recent call last):


 "/opt/sublime_text/sublime_plugin.py", line 627, in on_activated_async

callback.on_activated_async(v)


 "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/EasyClangComplete.py", line 304, in on_activated_async

settings = EasyClangComplete.settings_manager.settings_for_view(view)


 "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/plugin/settings/settings_manager.py", line 56, in settings_for_view

self.__init_for_view(view)


 "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/plugin/settings/settings_manager.py", line 104, in __init_for_view

self.__settings_dict[view_id].update_from_view(view)


 "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/plugin/settings/settings_storage.py", line 156, in update_from_view

self.__populate_flags_source_paths()


 "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/plugin/settings/settings_storage.py", line 332, in __populate_flags_source_paths

source_dict[option])


 "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/plugin/settings/settings_storage.py", line 308, in expand_paths_in_flags_if_needed

value = split_flag[1].strip()
IndexError: list index out of range
