captcha_solver icon indicating copy to clipboard operation
captcha_solver copied to clipboard

captcha_solver.error.SolutionTimeoutError: Service is not available. Error: <urlopen error [WinError 3] The system cannot find the path specified: ''>

Open EnzoRondo opened this issue 7 years ago • 1 comments

My code(same as in example):

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('browser')  # also I have tried GUI backend, same issue
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

Result:

Traceback (most recent call last):
  File "C:/code/captcha_test.py", line 4, in <module>
    print(solver.solve_captcha(raw_data))
  File "C:\venv\lib\site-packages\captcha_solver\solver.py", line 112, in solve_captcha
    ' Error: %s' % fail)
captcha_solver.error.SolutionTimeoutError: Service is not available. Error: <urlopen error [WinError 3] The system cannot find the path specified: ''>

Note: Image located in C:\code\captcha.png

Image captcha

OS: windows server 2012 standard python 3.6.8

Log with full logging and prints enabled in source code:

DEBUG:captcha_solver:Submiting captcha
None
URL: file://C:\Users\ADMINI~1\AppData\Local\Temp\tmpgxlza8ts
None
DEBUG:captcha_solver:Submiting captcha
URL: file://C:\Users\ADMINI~1\AppData\Local\Temp\tmpw1zken7h
None
DEBUG:captcha_solver:Submiting captcha
URL: file://C:\Users\ADMINI~1\AppData\Local\Temp\tmp_2bp9ykt
None
DEBUG:captcha_solver:Submiting captcha
URL: file://C:\Users\ADMINI~1\AppData\Local\Temp\tmpkys74n21
None
DEBUG:captcha_solver:Submiting captcha
URL: file://C:\Users\ADMINI~1\AppData\Local\Temp\tmpoek0kbzn
None
DEBUG:captcha_solver:Submiting captcha
URL: file://C:\Users\ADMINI~1\AppData\Local\Temp\tmp4paaivan
DEBUG:captcha_solver:Submiting captcha
None
URL: file://C:\Users\ADMINI~1\AppData\Local\Temp\tmpohah6ecf
None
DEBUG:captcha_solver:Submiting captcha
URL: file://C:\Users\ADMINI~1\AppData\Local\Temp\tmpj6cwigql
DEBUG:captcha_solver:Submiting captcha
None
URL: file://C:\Users\ADMINI~1\AppData\Local\Temp\tmplur80578
DEBUG:captcha_solver:Submiting captcha
None
URL: file://C:\Users\ADMINI~1\AppData\Local\Temp\tmpgl17l4nt
Traceback (most recent call last):
  File "C:/code/captcha_test.py", line 4, in <module>
    print(solver.solve_captcha(raw_data))
  File "C:\venv\lib\site-packages\captcha_solver\solver.py", line 112, in solve_captcha
    ' Error: %s' % fail)
captcha_solver.error.SolutionTimeoutError: Service is not available. Error: <urlopen error [WinError 3] The system cannot find the path specified: ''>

EnzoRondo avatar Mar 03 '19 06:03 EnzoRondo

did you find a solution for this?

amour86 avatar Jan 29 '23 11:01 amour86