Closed ghost closed 11 years ago
I found the issue we need to add python2-netlib as a dependency. I will get it added and update the PKGBUILD. We also need a pkgbuild for the python2-netlib as well, correct?
I already tried adding python2-netlib
as a dependency.
Yeah I saw that I will see if I can figure out what else its missing.
I think we are missing the python2-nfqueue package, its outdated in the AUR and it won't compile properly.
I'll try to get it to build.
I managed to get the python2-nfqueue
package to build. Installing it did not make the zarp
errors go away though.
It looks like the http_auth module pulls from the python2-netlib package, however it is missing from python2-netlb package.
/usr/share/zarp/src/lib/libmproxy ≥ grep -rinse "http_auth" * 21:39 proxy.py:19:from netlib import odict, tcp, http, wsgi, certutils, http_status, http_auth proxy.py:647: password_manager = http_auth.PassManSingleUser(username, password) proxy.py:649: password_manager = http_auth.PassManNonAnon() proxy.py:652: password_manager = http_auth.PassManHtpasswd(options.auth_htpasswd) proxy.py:655: authenticator = http_auth.BasicProxyAuth(password_manager, "mitmproxy") proxy.py:657: authenticator = http_auth.NullProxyAuth(None)
/usr/lib/python2.7/site-packages/netlib ≥ ls 21:40 init.py certutils.py http.py http_status.py http_uastrings.py odict.py tcp.py utils.py version.py wsgi.py init.pyc certutils.pyc http.pyc http_status.pyc http_uastrings.pyc odict.pyc tcp.pyc utils.pyc version.pyc wsgi.pyc
Do we have the latest version of netlib from pypi? I noticed the github link for netlib is missing.
That was the problem. We were using netlib-0.2.2
.
I updated the python2-nfqueue
package on the AUR, by the way.
The zarp
modules loaded correctly after upgrading python2-netlib
and adding python2-flask
as a dependency to zarp
. (a7456fe19d41)
The warning: