Skip to content

Instantly share code, notes, and snippets.

@drkokandy
Created October 18, 2015 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drkokandy/6d4eff1083467dd7bbaf to your computer and use it in GitHub Desktop.
Save drkokandy/6d4eff1083467dd7bbaf to your computer and use it in GitHub Desktop.
Yunohost Searx Error on Raspberry Pi
Sun Oct 18 06:45:56 2015 - spawned uWSGI worker 2 (pid: 3351, cores: 1)
Sun Oct 18 06:45:56 2015 - spawned uWSGI worker 3 (pid: 3352, cores: 1)
Sun Oct 18 06:45:56 2015 - spawned uWSGI worker 4 (pid: 3353, cores: 1)
[pid: 3352|app: -1|req: -1/1] 24.112.201.84 () {54 vars in 1021 bytes} [Sun Oct 18 06:52:59 2015] GET /searx/ => generated 48 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 63 bytes (0 switches on core 0)
[pid: 3353|app: -1|req: -1/2] 24.112.201.84 () {56 vars in 1052 bytes} [Sun Oct 18 06:53:06 2015] GET /searx/ => generated 48 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 63 bytes (0 switches on core 0)
[pid: 3352|app: -1|req: -1/3] 24.112.201.84 () {56 vars in 1078 bytes} [Sun Oct 18 06:57:59 2015] GET /searx/ => generated 48 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 63 bytes (0 switches on core 0)
Sun Oct 18 06:58:23 2015 - SIGINT/SIGQUIT received...killing workers...
Sun Oct 18 06:58:25 2015 - goodbye to uWSGI.
Sun Oct 18 07:10:18 2015 - *** Starting uWSGI 1.2.3-debian (32bit) on [Sun Oct 18 07:10:18 2015] ***
Sun Oct 18 07:10:18 2015 - compiled with version: 4.6.3 on 13 October 2013 00:28:10
Sun Oct 18 07:10:19 2015 - detected number of CPU cores: 1
Sun Oct 18 07:10:19 2015 - current working directory: /
Sun Oct 18 07:10:19 2015 - writing pidfile to /run/uwsgi/app/searx/pid
Sun Oct 18 07:10:19 2015 - detected binary path: /usr/bin/uwsgi-core
Sun Oct 18 07:10:19 2015 - setgid() to 54978
Sun Oct 18 07:10:19 2015 - setuid() to 54978
Sun Oct 18 07:10:19 2015 - your memory page size is 4096 bytes
Sun Oct 18 07:10:19 2015 - detected max file descriptor number: 1024
Sun Oct 18 07:10:19 2015 - lock engine: pthread robust mutexes
Sun Oct 18 07:10:19 2015 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/searx/socket fd 3
Sun Oct 18 07:10:19 2015 - Python version: 2.7.3 (default, Mar 18 2014, 06:31:17) [GCC 4.6.3]
Sun Oct 18 07:10:19 2015 - Set PythonHome to /opt/yunohost/searx/
Sun Oct 18 07:10:19 2015 - *** Python threads support is disabled. You can enable it with --enable-threads ***
Sun Oct 18 07:10:19 2015 - Python main interpreter initialized at 0x1395060
Sun Oct 18 07:10:19 2015 - your server socket listen backlog is limited to 100 connections
Sun Oct 18 07:10:19 2015 - *** Operational MODE: preforking ***
Sun Oct 18 07:10:19 2015 - added /opt/yunohost/searx/ to pythonpath.
Traceback (most recent call last):
File "/opt/yunohost/searx/searx/webapp.py", line 53, in <module>
from searx.engines import (
File "/opt/yunohost/searx/searx/engines/__init__.py", line 212, in <module>
engine = load_engine(engine_data)
File "/opt/yunohost/searx/searx/engines/__init__.py", line 51, in load_engine
engine = load_module(engine_name + '.py')
File "/opt/yunohost/searx/searx/engines/__init__.py", line 44, in load_module
module = load_source(modname, filepath)
File "/opt/yunohost/searx/searx/engines/wikidata.py", line 4, in <module>
from searx.poolrequests import get
File "/opt/yunohost/searx/searx/poolrequests.py", line 6, in <module>
class HTTPAdapterWithConnParams(requests.adapters.HTTPAdapter):
AttributeError: 'module' object has no attribute 'adapters'
Sun Oct 18 07:10:50 2015 - unable to load app 0 (mountpoint='') (callable not found or import error)
Sun Oct 18 07:10:50 2015 - *** no app loaded. going in full dynamic mode ***
Sun Oct 18 07:10:50 2015 - spawned uWSGI master process (pid: 5637)
Sun Oct 18 07:10:50 2015 - spawned uWSGI worker 1 (pid: 5686, cores: 1)
Sun Oct 18 07:10:50 2015 - spawned uWSGI worker 2 (pid: 5687, cores: 1)
Sun Oct 18 07:10:50 2015 - spawned uWSGI worker 3 (pid: 5688, cores: 1)
Sun Oct 18 07:10:50 2015 - spawned uWSGI worker 4 (pid: 5689, cores: 1)
[pid: 5689|app: -1|req: -1/1] 24.112.201.84 () {52 vars in 1039 bytes} [Sun Oct 18 07:13:45 2015] GET / => generated 48 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 63 bytes (0 switches on core 0)
[pid: 5687|app: -1|req: -1/2] 24.112.201.84 () {52 vars in 999 bytes} [Sun Oct 18 07:13:46 2015] GET /favicon.ico => generated 48 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 63 bytes (0 switches on core 0)
@drkokandy
Copy link
Author

This was the output of /var/log/uwsgi/app/searx.log

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