zzyphilip / smartladder

Automatically exported from code.google.com/p/smartladder
0 stars 0 forks source link

Linux Mint16... #39

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

  sudo apt-get install python-dev python-pip && sudo pip install gevent --upgrade

  sudo apt-get install python-openssl

  sudo apt-get install libnss3-tools

  手动把安全证书导入到火狐

  错误提示:
  xuwei@xuwei-QSH4 ~/下载/smartladder-master/goagent+ $ sudo python proxy.py
Traceback (most recent call last):
  File "proxy.py", line 2698, in <module>
    main()
  File "proxy.py", line 2671, in main
    CertUtil.check_ca()
  File "proxy.py", line 393, in check_ca
    if CertUtil.import_ca(capath) != 0:
  File "proxy.py", line 364, in import_ca
    return os.system('certutil -L -d sql:$HOME/.pki/nssdb | grep "%s" || certutil -d sql:$HOME/.pki/nssdb -A -t "C,," -n "%s" -i "%s"' % (commonname, commonname, certfile))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 12: 
ordinal not in range(128)
Exception KeyError: KeyError(46253392,) in <module 'threading' from 
'/usr/lib/python2.7/threading.pyc'> ignored

What version of the product are you using? On what operating system?

linux mint 16 -64bit

python -version
Python 2.7.5+

Please provide any additional information below.

之前我在ubuntu13.10.win8.1上使用过。

Original issue reported on code.google.com by hby...@gmail.com on 5 Feb 2014 at 2:57

GoogleCodeExporter commented 8 years ago
安装python 2.x

Original comment by KawaiiUshio on 8 Mar 2014 at 6:06