You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to call Client.getme, I get this error:
Traceback (most recent call last):
File "zalgo.py", line 14, in <module>
me = client.get_me()
File "build\bdist.win32\egg\chatexchange\client.py", line 125, in get_me
File "build\bdist.win32\egg\chatexchange\_utils.py", line 78, in __get__
File "build\bdist.win32\egg\chatexchange\browser.py", line 235, in _update_chat_fkey_and_user
File "build\bdist.win32\egg\chatexchange\browser.py", line 218, in _load_user
File "build\bdist.win32\egg\chatexchange\browser.py", line 226, in user_id_and_name_from_link
ValueError: invalid literal for int() with base 10: 'stackexchange.com'
The code:
import logging
import time
import chatexchange
#logging.basicConfig(level=logging.DEBUG)
with open("D:/CREDENTIALS") as f: # Change the path to link your credential file looking like `<email> <password>`
s = f.read().split()
email, password = s
client = chatexchange.Client('stackexchange.com', email, password)
me = client.get_me()
sandbox = client.get_room(1)
sandbox.send_message("test from chatexchange")
time.sleep(2)
The credentials are correct, and posting from main account works.
The text was updated successfully, but these errors were encountered:
When I try to call
Client.getme
, I get this error:The code:
The credentials are correct, and posting from main account works.
The text was updated successfully, but these errors were encountered: