Kaitlyn icon indicating copy to clipboard operation
Kaitlyn copied to clipboard

Getting errors

Open mjsal opened this issue 4 years ago • 0 comments

Hello there,

I'm trying to test the bot on my account but every time I run try to run worker.py I get this error

Traceback (most recent call last): File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 559, in connect sock = self._connect() File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 615, in _connect raise err File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 603, in _connect sock.connect(socket_address) ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:/Users/MAJID/Downloads/Kaitlyn-master/Kaitlyn-master/worker.py", line 10, in worker.work() File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\rq\worker.py", line 474, in work self.register_birth() File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\rq\worker.py", line 258, in register_birth if self.connection.exists(self.key) and
File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\client.py", line 1581, in exists return self.execute_command('EXISTS', *names) File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\client.py", line 898, in execute_command conn = self.connection or pool.get_connection(command_name, **options) File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 1192, in get_connection connection.connect() File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 563, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 10061 connecting to localhost:6379. No connection could be made because the target machine actively refused it.

and I get this when I run clock.py

`22:22:20: Adding job tentatively -- it will be properly scheduled when the scheduler starts 22:22:20: Added job "Queue.enqueue" to job store "default" 22:22:20: Scheduler started 22:22:50: Running job "Queue.enqueue (trigger: interval[0:00:30], next run at: 2020-12-08 22:22:50 +03)" (scheduled at 2020-12-08 22:22:50.258430+03:00) 22:22:54: Job "Queue.enqueue (trigger: interval[0:00:30], next run at: 2020-12-08 22:23:20 +03)" raised an exception Traceback (most recent call last): File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 559, in connect sock = self._connect() File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 615, in _connect raise err File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 603, in _connect sock.connect(socket_address) ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\rq\queue.py", line 380, in enqueue at_front=at_front, meta=meta File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\rq\queue.py", line 331, in enqueue_call job = self.enqueue_job(job, at_front=at_front) File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\rq\queue.py", line 424, in enqueue_job pipe.execute() File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\client.py", line 4013, in execute self.shard_hint) File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 1192, in get_connection connection.connect() File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 563, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 10061 connecting to localhost:6379. No connection could be made because the target machine actively refused it. 22:23:20: Running job "Queue.enqueue (trigger: interval[0:00:30], next run at: 2020-12-08 22:23:20 +03)" (scheduled at 2020-12-08 22:23:20.258430+03:00) 22:23:24: Job "Queue.enqueue (trigger: interval[0:00:30], next run at: 2020-12-08 22:23:50 +03)" raised an exception Traceback (most recent call last): File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 559, in connect sock = self._connect() File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 615, in _connect raise err File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 603, in _connect sock.connect(socket_address) ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\rq\queue.py", line 380, in enqueue at_front=at_front, meta=meta File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\rq\queue.py", line 331, in enqueue_call job = self.enqueue_job(job, at_front=at_front) File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\rq\queue.py", line 424, in enqueue_job pipe.execute() File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\client.py", line 4013, in execute self.shard_hint) File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 1192, in get_connection connection.connect() File "C:\Users\MAJID\Downloads\Kaitlyn-master\venv\lib\site-packages\redis\connection.py", line 563, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 10061 connecting to localhost:6379. No connection could be made because the target machine actively refused it.`

I would appreciate your help,

mjsal avatar Dec 08 '20 16:12 mjsal