Skip to content

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

Description

@EnzoRondo

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: ''>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions