plasticuproject / cleverbotfree

Free alternative for the Cleverbot API
GNU General Public License v3.0
58 stars 6 forks source link

Connection problem #13

Closed alibenali closed 3 years ago

alibenali commented 3 years ago

Hi, I couldn't use this one it's giving me this error message:

Traceback (most recent call last):
  File "bot.py", line 3, in <module>
    cb = cleverbotfree.cbfree.Cleverbot()
  File "C:\Users\Ali\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\cleverbotfree\cbfree.py", line 42, in __init__
    self.browser = webdriver.Firefox(options=self.opts)
  File "C:\Users\Ali\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\selenium\webdriver\firefox\webdriver.py", line 170, in __init__
    RemoteWebDriver.__init__(
  File "C:\Users\Ali\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\selenium\webdriver\remote\webdriver.py", line 157, in __init__
    self.start_session(capabilities, browser_profile)
  File "C:\Users\Ali\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\selenium\webdriver\remote\webdriver.py", line 252, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "C:\Users\Ali\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "C:\Users\Ali\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: Aucune connexion n'a pu êt
re établie car l'ordinateur cible l'a expressément refusée. (os error 10061)
plasticuproject commented 3 years ago

I just installed the latest version from pypi and it worked fine with my test app. Your problem may lie elsewhere. 1

plasticuproject commented 3 years ago

Closing with no further input and inability to reproduce.