plouvart / character-ai-bindings Goto Github PK
View Code? Open in Web Editor NEWSmall API to access character ai chatrooms directly from Python
License: MIT License
Small API to access character ai chatrooms directly from Python
License: MIT License
Traceback (most recent call last):
File "C:\Users\wling\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\character_ai_bindings\chatroom.py", line 73, in init
elem = WebDriverWait(self.driver, 30).until(
File "C:\Users\wling\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\support\wait.py", line 95, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
Backtrace:
(No symbol) [0x0079DCE3]
(No symbol) [0x007339D1]
(No symbol) [0x00644DA8]
(No symbol) [0x0067019F]
(No symbol) [0x006703AB]
(No symbol) [0x0069EE62]
(No symbol) [0x0068AF14]
(No symbol) [0x0069D57C]
(No symbol) [0x0068ACC6]
(No symbol) [0x00666F68]
(No symbol) [0x006680CD]
GetHandleVerifier [0x00A13832+2506274]
GetHandleVerifier [0x00A49794+2727300]
GetHandleVerifier [0x00A4E36C+2746716]
GetHandleVerifier [0x00846690+617600]
(No symbol) [0x0073C712]
(No symbol) [0x00741FF8]
(No symbol) [0x007420DB]
(No symbol) [0x0074C63B]
BaseThreadInitThunk [0x76328039+25]
RtlInitializeExceptionChain [0x7730DEAB+107]
RtlGetAppContainerNamedObjectPath [0x7730DE2D+237]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "e:\Users\wling\Desktop\code\python\chai.py", line 3, in
server = ChatRoomServer(
File "C:\Users\wling\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\character_ai_bindings\chatroom.py", line 77, in init
raise Exception("Couldn't close popup")
Exception: Couldn't close popup
runfile('C:/Users//Documents/untitled0.py', wdir='C:/Users//Documents')
Exception ignored in: <function ChatRoomServer.del at 0x000002545AA4DF70>
Traceback (most recent call last):
File "C:\Users*****\anaconda3\lib\site-packages\character_ai_bindings\chatroom.py", line 245, in del
self.driver.quit()
AttributeError: 'ChatRoomServer' object has no attribute 'driver'
Traceback (most recent call last):
File ~\anaconda3\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)
File c:\users*****\documents\untitled0.py:10
server = ChatRoomServer(
File ~\anaconda3\lib\site-packages\character_ai_bindings\chatroom.py:68 in init
self.driver = uc.Chrome(options=options)
File ~\anaconda3\lib\site-packages\undetected_chromedriver_init_.py:421 in init
browser = subprocess.Popen(
File ~\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py:109 in init
super(SubprocessPopen, self).init(*args, **kwargs)
File ~\anaconda3\lib\subprocess.py:951 in init
self._execute_child(args, executable, preexec_fn, close_fds,
File ~\anaconda3\lib\subprocess.py:1360 in _execute_child
args = list2cmdline(args)
File ~\anaconda3\lib\subprocess.py:565 in list2cmdline
for arg in map(os.fsdecode, seq):
File ~\anaconda3\lib\os.py:822 in fsdecode
filename = fspath(filename) # Does type-checking of filename
.
TypeError: expected str, bytes or os.PathLike object, not NoneType
Exception ignored in: <function ChatRoomServer.del at 0x000001EE246AB130>
Traceback (most recent call last):
File "C:\Users\bobea\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\character_ai_bindings\chatroom.py", line 245, in del
self.driver.quit()
AttributeError: 'ChatRoomServer' object has no attribute 'driver'
Thanks for the project,but the length of the reply seems to be limited
ElementClickInterceptedException: element click intercepted: Element <button type="button" id="#...Button" class="btn btn-primary">Accept</button> is not clickable at point (1154, 485). Other element would receive the click: <div class="modal-body">...</div>
(Session info: chrome=114.0.5691.0)
They probably updated their UI.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.