pkgcore / pychroot

a python library and cli tool that simplify chroot handling
https://pkgcore.github.io/pychroot/
BSD 3-Clause "New" or "Revised" License
32 stars 7 forks source link

pychroot 0.9.11 seen crashing with "LookupError: unknown encoding: string-escape" #18

Closed hartwork closed 9 years ago

hartwork commented 9 years ago
# sudo pychroot /mnt/jessie_root/boot/ /bin/bash
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/chroot/cli.py", line 42, in main
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
  File "/usr/lib/python2.7/subprocess.py", line 1255, in _execute_child
  File "/usr/lib/python2.7/pickle.py", line 1382, in loads
  File "/usr/lib/python2.7/pickle.py", line 858, in load
  File "/usr/lib/python2.7/pickle.py", line 971, in load_string
LookupError: unknown encoding: string-escape
radhermit commented 9 years ago

Also fixed this right after the 0.9.11 release. :)

We now use os.execvp instead of subprocess which does a bunch of other stuff we don't care about. I'll close both bugs when I get a release made.

hartwork commented 9 years ago

Okay cool. As you can see, I really need a new release :smiley:

radhermit commented 9 years ago

Now in 0.9.12 on pypi, let me know if you have issues.

hartwork commented 9 years ago

Cool, many thanks!

I should get a chance to try on Wednesday.