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

Internal Server Error Searx #73

Closed
yunohost-bot opened this issue Nov 4, 2015 · 1 comment
Closed

Internal Server Error Searx #73

yunohost-bot opened this issue Nov 4, 2015 · 1 comment
Labels
👾 bug Something isn't working

Comments

@yunohost-bot
Copy link

Original Redmine Issue: 73

Author Name: Anonymous


SOLUTION::

sudo /opt/yunohost/searx/bin/pip install --upgrade jinja2

ALL STEPS TO GET TO SOLUTION::

Search 'test'
Internal Server Error
sudo cat /var/log/uwsgi/app/searx.log
https://www.newbserve.xyz/zerobin/?f72a5b04f865fba9#v2ANeDEhx5HkujBVmfhXgYG3xCRpQBe0Ta2RwstmQSI=

TemplateAssertionError no filer named 'urlencode'
Researching...
http://stackoverflow.com/questions/28092415/flask-security-templateassertionerror-no-filter-named-urlencode

sudo /opt/yunohost/searx/bin/python
import jinja2
jinja2.version
'2.6'
jinja2.file
'/usr/lib/python2.7/dist-packages/jinja2/init.pyc'

python
import jinja2
jinja2.version
'2.6'
jinja2.file
'/usr/lib/python2.7/dist-packages/jinja2/init.pyc'

"Same results... OK"

Researching...
pallets/jinja#17 (Mar 8, 2011)
https://github.com/mitsuhiko/jinja2/releases (2.7 @ Mar 20, 2013)
Researching...
https://pypi.python.org/pypi/Jinja2
http://jinja.pocoo.org/docs/dev/templates/
Search page for 'urlencode'
Find "New in version 2.7"
'urlencode' back in jinja
sudo /opt/yunohost/searx/bin/pip install jinja2
sudo service uwsgi restart (just in case)
sudo /opt/yunohost/searx/bin/pip install --upgrade jinja2
sudo service uwsgi restart (just in case)
Searx searches! SUCCESS

@yunohost-bot
Copy link
Author

Original Redmine Comment

Author: Bram

Status Changed: Closed


Duplicated with https://dev.yunohost.org/issues/69

@yunohost-bot yunohost-bot added the 👾 bug Something isn't working label May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👾 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant