Control: severity -1 normal Control: tags -1 + unreproducible On Tue, 2 Jan 2018 11:21:31 +0530 Joseph Nuthalapati <njos...@thoughtworks.com> wrote: > SearX currently doesn't start up when run with Python 3 as it tries to parse > the settings.yml file with ASCII codecs. The file has a list of languages > which are in Unicode characters.
Please provide more proof of your claim. I have the package installed on a live server. Please find the output of $(dpkg -l | grep py) at the bottom of this email. You will find that I don't even have python 2 installed. Thus, searx will definitely run using Python3. Still, I am unable to reproduce your findings. The package even Depends on Python3. I don't see any reason why the package would use Python2 when deployed. Another proof that this package works fine with Python3 is the continuous integration data gathered for this package. The package contains an autopkgtest test which is run regularly on Debian infrastructure and which checks whether the front page of searx loads successfully. You can see here what the test script does: https://sources.debian.org/src/searx/0.13.1+dfsg1-3/debian/tests/general/ You can see here that the test passes: https://ci.debian.net/packages/s/searx/unstable/amd64/ You can see in the data of the latest test, that *only* python3 packages were installed: https://ci.debian.net/data/packages/unstable/amd64/s/searx/20180109_160457.log https://ci.debian.net/data/autopkgtest/unstable/amd64/s/searx/20180109_160457/log.gz Thus, there is no way that searx on my own live system or on the CI system could possibly run with Python2 and not with Python3. Please provide more support for your theory. Thanks! cheers, josch $ dpkg -l | grep py ii dh-python 2.20170125 all Debian helper tools for packaging Python libraries and applications ii libpython3-stdlib:amd64 3.5.3-1 amd64 interactive high-level object-oriented language (default python3 version) rc libpython3.4:amd64 3.4.2-1 amd64 Shared Python runtime library (version 3.4) rc libpython3.4-minimal:amd64 3.4.2-1 amd64 Minimal subset of the Python language (version 3.4) ii libpython3.5:amd64 3.5.3-1 amd64 Shared Python runtime library (version 3.5) ii libpython3.5-minimal:amd64 3.5.3-1 amd64 Minimal subset of the Python language (version 3.5) ii libpython3.5-stdlib:amd64 3.5.3-1 amd64 Interactive high-level object-oriented language (standard library, version 3.5) ii python-apt-common 1.4.0~beta3 all Python interface to libapt-pkg (locales) ii python-babel-localedata 2.3.4+dfsg.1-2 all tools for internationalizing Python applications - locale data files ii python3 3.5.3-1 amd64 interactive high-level object-oriented language (default python3 version) ii python3-apt 1.4.0~beta3 amd64 Python 3 interface to libapt-pkg ii python3-babel 2.3.4+dfsg.1-2 all tools for internationalizing Python applications - Python 3.x ii python3-certifi 2016.2.28-1 all root certificates for validating SSL certs and verifying TLS hosts (python3) ii python3-cffi-backend 1.9.1-2 amd64 Foreign Function Interface for Python 3 calling C code - runtime ii python3-chardet 2.3.0-2 all universal character encoding detector for Python3 ii python3-click 6.6-1 all Simple wrapper around optparse for powerful command line utilities - Python 3.x ii python3-colorama 0.3.7-1 all Cross-platform colored terminal text in Python - Python 3.x ii python3-cryptography 1.7.1-2 amd64 Python library exposing cryptographic recipes and primitives (Python 3) ii python3-dateutil 2.5.3-2 all powerful extensions to the standard datetime module ii python3-flask 0.12-1 all micro web framework based on Werkzeug and Jinja2 - Python 3.x ii python3-flask-babel 0.11.1-1 all internationalization and localization support for Flask (Python 3) ii python3-idna 2.2-1 all Python IDNA2008 (RFC 5891) handling (Python 3) ii python3-itsdangerous 0.24+dfsg1-2 all Various helpers to pass trusted data to untrusted environment - Python 3.x ii python3-jinja2 2.8-1 all small but fast and easy to use stand-alone template engine ii python3-lxml 3.7.1-1 amd64 pythonic binding for the libxml2 and libxslt libraries ii python3-markupsafe 0.23-3 amd64 HTML/XHTML/XML string library for Python 3 ii python3-minimal 3.5.3-1 amd64 minimal subset of the Python language (default python3 version) ii python3-ndg-httpsclient 0.4.2-1 all enhanced HTTPS support for httplib and urllib2 using PyOpenSSL for Python3 ii python3-openssl 16.2.0-1 all Python 3 wrapper around the OpenSSL library ii python3-pkg-resources 33.1.1-1 all Package Discovery and Resource Access using pkg_resources ii python3-pyasn1 0.1.9-2 all ASN.1 library for Python (Python 3 module) ii python3-pygments 2.2.0+dfsg-1 all syntax highlighting package written in Python 3 ii python3-requests 2.12.4-1 all elegant and simple HTTP library for Python3, built for human beings ii python3-searx 0.13.1+dfsg1-3 all Privacy-respecting metasearch engine - library package ii python3-setuptools 33.1.1-1 all Python3 Distutils Enhancements ii python3-six 1.10.0-3 all Python 2 and 3 compatibility library (Python 3 interface) ii python3-tz 2016.7-0.2 all Python3 version of the Olson timezone database ii python3-urllib3 1.19.1-1 all HTTP library with thread-safe connection pooling for Python3 ii python3-werkzeug 0.11.15+dfsg1-1 all collection of utilities for WSGI applications (Python 3.x) ii python3-yaml 3.12-1 amd64 YAML parser and emitter for Python3 rc python3.4 3.4.2-1 amd64 Interactive high-level object-oriented language (version 3.4) rc python3.4-minimal 3.4.2-1 amd64 Minimal subset of the Python language (version 3.4) ii python3.5 3.5.3-1 amd64 Interactive high-level object-oriented language (version 3.5) ii python3.5-minimal 3.5.3-1 amd64 Minimal subset of the Python language (version 3.5) ii rsync 3.1.2-1+deb9u1 amd64 fast, versatile, remote (and local) file-copying tool ii uwsgi-plugin-python3 2.0.14+20161117-3 amd64 WSGI plugin for uWSGI (Python 3)
signature.asc
Description: signature