Traceback (most recent call last):


 "/home/william/.pyenv/versions/3.6.3/lib/python3.6/site-packages/pyls/jsonrpc/endpoint.py", line 113, in consume

self._handle_request(message['id'], message['method'], message.get('params'))


 "/home/william/.pyenv/versions/3.6.3/lib/python3.6/site-packages/pyls/jsonrpc/endpoint.py", line 182, in _handle_request

handler_result = handler(params)


 "/home/william/.pyenv/versions/3.6.3/lib/python3.6/site-packages/pyls/jsonrpc/dispatchers.py", line 23, in handler

return method(**(params or {}))


 "/home/william/.pyenv/versions/3.6.3/lib/python3.6/site-packages/pyls/python_ls.py", line 239, in m_text_document__definition

return self.definitions(textDocument['uri'], position)


 "/home/william/.pyenv/versions/3.6.3/lib/python3.6/site-packages/pyls/python_ls.py", line 174, in definitions

return flatten(self._hook('pyls_definitions', doc_uri, position=position))


 "/home/william/.pyenv/versions/3.6.3/lib/python3.6/site-packages/pyls/python_ls.py", line 112, in _hook

hook_handlers = self.config.plugin_manager.subset_hook_caller(hook_name, self.config.disabled_plugins)
AttributeError: 'NoneType' object has no attribute 'plugin_manager'

Traceback (most recent call last):


 "/usr/local/bin/dirhunt", line 10, in <module>

sys.exit(main())


 "/usr/local/lib/python3.7/dist-packages/dirhunt/management.py", line 162, in main

catch(hunt)()


 "/usr/local/lib/python3.7/dist-packages/dirhunt/exceptions.py", line 33, in wrap

fn(*args, **kwargs)


 "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/usr/lib/python3/dist-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/usr/local/lib/python3.7/dist-packages/dirhunt/management.py", line 150, in hunt

not_allow_redirects=not_allow_redirects, proxies=proxies, delay=delay, limit=limit)


 "/usr/local/lib/python3.7/dist-packages/dirhunt/crawler.py", line 35, in __init__

self.sessions = Sessions(proxies, delay)


 "/usr/local/lib/python3.7/dist-packages/dirhunt/sessions.py", line 127, in __init__

self.sessions = self.create_sessions(proxies or [None])


 "/usr/local/lib/python3.7/dist-packages/dirhunt/sessions.py", line 138, in create_sessions

return [Session(self, proxy) for proxy in proxies]


 "/usr/local/lib/python3.7/dist-packages/dirhunt/sessions.py", line 138, in <listcomp>

return [Session(self, proxy) for proxy in proxies]


 "/usr/local/lib/python3.7/dist-packages/dirhunt/sessions.py", line 83, in __init__

self.proxy = normalize_proxy(self.proxy_name, sessions)


 "/usr/local/lib/python3.7/dist-packages/dirhunt/sessions.py", line 59, in normalize_proxy

return next(sessions.proxies_lists[proxy], None)


 "/usr/local/lib/python3.7/dist-packages/proxy_db/proxies.py", line 56, in __next__

return self.try_get_proxy()


 "/usr/local/lib/python3.7/dist-packages/proxy_db/proxies.py", line 49, in try_get_proxy

self.reload_provider()


 "/usr/local/lib/python3.7/dist-packages/proxy_db/proxies.py", line 37, in reload_provider

provider.request(**self.request_options).now()


 "/usr/local/lib/python3.7/dist-packages/proxy_db/providers.py", line 45, in now

proxies = self.provider.process_page(requests.request(self.method, self.url), self)


 "/usr/local/lib/python3.7/dist-packages/proxy_db/providers.py", line 86, in process_page

return self.process_proxies(self.find_page_proxies(request))


 "/usr/local/lib/python3.7/dist-packages/proxy_db/providers.py", line 109, in find_page_proxies

return [self.soup_item(item) for item in items]


 "/usr/local/lib/python3.7/dist-packages/proxy_db/providers.py", line 109, in <listcomp>

return [self.soup_item(item) for item in items]


 "/usr/local/lib/python3.7/dist-packages/proxy_db/providers.py", line 136, in soup_item

substr = int(re.match('.+substr\((\d+)\).+', script).group(1))
AttributeError: 'NoneType' object has no attribute 'group'
