Error when making a POST request to my backend in python flask
joss-zz
TRIALOP

2 years ago

Hello, I have uploaded a python application with flash that exposes a service and this service makes use of a trained model to extract characters from a captcha. It is the first time that I upload a python project with flash and when making the POST request I get the following error.

[2024-03-22 16:26:09,050] ERROR in app: Exception on /captcha_file [POST]

Traceback (most recent call last):
….

File "/app/controller/captchacpu.py", line 45, in solvecv2

self.lock.acquire()

AttributeError: 'CaptchaEngine' object has no attribute 'lock'

A alguien más le ha pasado? ya verifiqué que todo esté correctamente mi archivo requirements.txt y el Procfile.

0 Replies

Loading...