Hi,

thanks for your bugreport!

Quoting Joseph Nuthalapati (2020-07-16 04:06:35)
> There appears to be a missing Python dependency (werkzeug.contrib) in
> the new Searx 17.0 package uploaded to unstable.
> 
> Tested in Debian unstable container.
> 
> Error log from /var/log/uwsgi/app/searx.log
> 
> ---
> Traceback (most recent call last):
> 
>   File "/usr/lib/python3/dist-packages/searx/webapp.py", line 50, in
> <module>
>     from werkzeug.contrib.fixers import ProxyFix
> ModuleNotFoundError: No module named 'werkzeug.contrib'
> Thu Jul 16 07:22:32 2020 - unable to load app 0 (mountpoint='')
> (callable not found or import error)
> Thu Jul 16 07:22:32 2020 - *** no app loaded. going in full dynamic mode ***
> Traceback (most recent call last):
> 
>   File "/usr/lib/python3/dist-packages/searx/webapp.py", line 50, in
> <module>
>     from werkzeug.contrib.fixers import ProxyFix
> ModuleNotFoundError: No module named 'werkzeug.contrib'

can you tell me how to reproduce the error?

Weirdly, line 40 in webapp.py does not contain the line from your backtrace
above:

https://sources.debian.org/src/searx/0.17.0+dfsg1-1/searx/webapp.py/

Also, the autopkgtest is passing just fine:

https://salsa.debian.org/debian/searx/-/pipelines/156223

So I wonder how it can be that it runs fine for me and on salsa ci. Maybe some
additional tests should be added which trigger your problem?

Also weird, then I don't find the string "werkzeug.contrib" at all in the searx
sources in Debian or in the upstream git:

https://github.com/asciimoo/searx/search?q=werkzeug.contrib&unscoped_q=werkzeug.contrib

Do you have an idea?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to