Hi!
This does not seem to be related to TheOnionBox.
What version of pip are you using -> pip -v ?
BR, Ralph
 
Gesendet: Mittwoch, 14. November 2018 um 12:50 Uhr
Von: TorGate <torgate@linux-hus.dk>
An: tor-relays@lists.torproject.org
Betreff: [tor-relays] upgrade theonionbox
Hi to all, i have truble with a upgrade of onionbox.


:~ % sudo pip install --upgrade theonionbox
Password:
Collecting theonionbox
Using cached https://files.pythonhosted.org/packages/f6/90/bab164846bc3f59c2b05f9c15bcf6221d228a5b0a6517673d035be5db228/theonionbox-4.3.0.tar.gz
Requirement already satisfied, skipping upgrade: psutil>=5.4.0 in /usr/local/lib/python2.7/site-packages (from theonionbox) (5.4.3)
Requirement already satisfied, skipping upgrade: requests>2.18 in /usr/local/lib/python2.7/site-packages (from theonionbox) (2.18.4)
Requirement already satisfied, skipping upgrade: PySocks>=1.6.7 in /usr/local/lib/python2.7/site-packages (from theonionbox) (1.6.8)
Requirement already satisfied, skipping upgrade: bottle>=0.12.13 in /usr/local/lib/python2.7/site-packages (from theonionbox) (0.12.13)
Requirement already satisfied, skipping upgrade: stem<=1.6,>=1.5.4 in /usr/local/lib/python2.7/site-packages (from theonionbox) (1.6.0)
Requirement already satisfied, skipping upgrade: tzlocal>=1.5 in /usr/local/lib/python2.7/site-packages (from theonionbox) (1.5.1)
Requirement already satisfied, skipping upgrade: urllib3>=1.22 in /usr/local/lib/python2.7/site-packages (from theonionbox) (1.22)
Requirement already satisfied, skipping upgrade: apscheduler<3.*,>=2.1.2 in /usr/local/lib/python2.7/site-packages (from theonionbox) (2.1.2)
Requirement already satisfied, skipping upgrade: futures>=3.2 in /usr/local/lib/python2.7/site-packages (from theonionbox) (3.2.0)
Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/site-packages (from requests>2.18->theonionbox) (3.0.4)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/local/lib/python2.7/site-packages (from requests>2.18->theonionbox) (2017.11.5)
Collecting idna<2.7,>=2.5 (from requests>2.18->theonionbox)
Downloading https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl (56kB)
100% |################################| 61kB 1.4MB/s
Requirement already satisfied, skipping upgrade: pytz in /usr/local/lib/python2.7/site-packages (from tzlocal>=1.5->theonionbox) (2017.3)
Installing collected packages: theonionbox, idna
Found existing installation: theonionbox 4.1
Uninstalling theonionbox-4.1:
Successfully uninstalled theonionbox-4.1
Error unknown encoding: string-escape while executing command /usr/local/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-6jsgKW/theonionbox/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-saoyTd/install-record.txt --single-version-externally-managed --compile
Running setup.py install for theonionbox ... error
Rolling back uninstall of theonionbox
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 143, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 366, in run
use_user_site=options.use_user_site,
File "/usr/local/lib/python2.7/site-packages/pip/_internal/req/__init__.py", line 49, in install_given_reqs
**kwargs
File "/usr/local/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 791, in install
spinner=spinner,
File "/usr/local/lib/python2.7/site-packages/pip/_internal/utils/misc.py", line 659, in call_subprocess
stdout=stdout, cwd=cwd, env=env,
File "/usr/local/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/local/lib/python2.7/subprocess.py", line 1046, in _execute_child
child_exception = pickle.loads(data)
File "/usr/local/lib/python2.7/pickle.py", line 1388, in loads
return Unpickler(file).load()
File "/usr/local/lib/python2.7/pickle.py", line 864, in load
dispatch[key](self)
File "/usr/local/lib/python2.7/pickle.py", line 977, in load_string
self.append(rep.decode("string-escape"))
LookupError: unknown encoding: string-escape

_______________________________________________
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays