Hi, I am using hugchat latest and before two minutes it was working but now it is getting missing schema error
Traceback (most recent call last):
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\pi_code_analysis_2.py", line 11, in
cookies = sign.login()
^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\hugchat\login.py", line 48, in login
if self._grant_auth(location):
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\hugchat\login.py", line 182, in _grant_auth
res = self._request_get(location, allow_redirects=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\hugchat\login.py", line 107, in _request_get
res = requests.get(
^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\sessions.py", line 575, in request
prep = self.prepare_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\sessions.py", line 486, in prepare_request
p.prepare(
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\models.py", line 368, in prepare
self.prepare_url(url, params)
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\models.py", line 439, in prepare_url
raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL '/login?next=https%3A%2F%2Fhuggingface.co%2Foauth%2Fauthorize%3Fclient_id%3D8f1a1d63-479b-46c8-84cb-521fe9f3222f%26scope%3Dopenid%2520profile%26response_type%3Dcode%26redirect_uri%3Dhttps%253A%252F%252Fhuggingface.co%252Fchat%252Flogin%252Fcallback%26state%3DeyJkYXRhIjp7ImV4cGlyYXRpb24iOjE3MTUzMjA1OTUxMDQsInJlZGlyZWN0VXJsIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jby9jaGF0L2xvZ2luL2NhbGxiYWNrIn0sInNpZ25hdHVyZSI6IjQ5NjFiMjYwZGNlZjllODQxNTBlZmE0YjU0MDdjMTg5NGQ0Y2QwZjcxNjVmZjE5YTQ3M2RiNjNhYmFlYjE1ODgifQ%253D%253D': No scheme supplied. Perhaps you meant https:///login?next=https%3A%2F%2Fhuggingface.co%2Foauth%2Fauthorize%3Fclient_id%3D8f1a1d63-479b-46c8-84cb-521fe9f3222f%26scope%3Dopenid%2520profile%26response_type%3Dcode%26redirect_uri%3Dhttps%253A%252F%252Fhuggingface.co%252Fchat%252Flogin%252Fcallback%26state%3DeyJkYXRhIjp7ImV4cGlyYXRpb24iOjE3MTUzMjA1OTUxMDQsInJlZGlyZWN0VXJsIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jby9jaGF0L2xvZ2luL2NhbGxiYWNrIn0sInNpZ25hdHVyZSI6IjQ5NjFiMjYwZGNlZjllODQxNTBlZmE0YjU0MDdjMTg5NGQ0Y2QwZjcxNjVmZjE5YTQ3M2RiNjNhYmFlYjE1ODgifQ%253D%253D?
Hi, I am using hugchat latest and before two minutes it was working but now it is getting missing schema error
Traceback (most recent call last): File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\pi_code_analysis_2.py", line 11, in
cookies = sign.login()
^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\hugchat\login.py", line 48, in login
if self._grant_auth(location):
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\hugchat\login.py", line 182, in _grant_auth
res = self._request_get(location, allow_redirects=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\hugchat\login.py", line 107, in _request_get
res = requests.get(
^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\sessions.py", line 575, in request
prep = self.prepare_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\sessions.py", line 486, in prepare_request
p.prepare(
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\models.py", line 368, in prepare
self.prepare_url(url, params)
File "C:\Users\Admin\PycharmProjects\PiCodeAnalysis\venv\Lib\site-packages\requests\models.py", line 439, in prepare_url
raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL '/login?next=https%3A%2F%2Fhuggingface.co%2Foauth%2Fauthorize%3Fclient_id%3D8f1a1d63-479b-46c8-84cb-521fe9f3222f%26scope%3Dopenid%2520profile%26response_type%3Dcode%26redirect_uri%3Dhttps%253A%252F%252Fhuggingface.co%252Fchat%252Flogin%252Fcallback%26state%3DeyJkYXRhIjp7ImV4cGlyYXRpb24iOjE3MTUzMjA1OTUxMDQsInJlZGlyZWN0VXJsIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jby9jaGF0L2xvZ2luL2NhbGxiYWNrIn0sInNpZ25hdHVyZSI6IjQ5NjFiMjYwZGNlZjllODQxNTBlZmE0YjU0MDdjMTg5NGQ0Y2QwZjcxNjVmZjE5YTQ3M2RiNjNhYmFlYjE1ODgifQ%253D%253D': No scheme supplied. Perhaps you meant https:///login?next=https%3A%2F%2Fhuggingface.co%2Foauth%2Fauthorize%3Fclient_id%3D8f1a1d63-479b-46c8-84cb-521fe9f3222f%26scope%3Dopenid%2520profile%26response_type%3Dcode%26redirect_uri%3Dhttps%253A%252F%252Fhuggingface.co%252Fchat%252Flogin%252Fcallback%26state%3DeyJkYXRhIjp7ImV4cGlyYXRpb24iOjE3MTUzMjA1OTUxMDQsInJlZGlyZWN0VXJsIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jby9jaGF0L2xvZ2luL2NhbGxiYWNrIn0sInNpZ25hdHVyZSI6IjQ5NjFiMjYwZGNlZjllODQxNTBlZmE0YjU0MDdjMTg5NGQ0Y2QwZjcxNjVmZjE5YTQ3M2RiNjNhYmFlYjE1ODgifQ%253D%253D?