Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
EnzoRondo opened this issue Mar 3, 2019 · 1 comment

Comments

@EnzoRondo
Copy link

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: ''>
@amour86
Copy link

amour86 commented Jan 29, 2023

did you find a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@amour86 @EnzoRondo and others