runnerzhengkai / pwx-dns-proxy

Automatically exported from code.google.com/p/pwx-dns-proxy
GNU General Public License v2.0
0 stars 0 forks source link

在非GBK環境下出錯 #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
cmd nslookup顯示:
*** Can't find server name for address 127.0.0.1: Server failed
Server:  UnKnown
Address:  127.0.0.1

*** UnKnown can't find twitter.com: Server failed

dnsproxy顯示:
Unhandled Error
Traceback (most recent call last):
  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.common", line 122, in lookupPointer

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.resolve", line 48, in _lookup

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.internet.defer", line 308, in addErrback

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.internet.defer", line 286, in addCallbacks

--- <exception caught here> ---
  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.internet.defer", line 542, in _runCallbacks

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.resolve", line 29, in __call__

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.common", line 57, in query

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.common", line 122, in lookupPointer

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/dispatcher", line 52, in _lookup

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/resolvers.upstream", line 74, in _lookup

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/log", line 73, in info

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/log", line 57, in log

exceptions.UnicodeEncodeError: 'cp950' codec can't encode character u'\u8fc7' 
in position 17: illegal multibyte sequence
Unhandled Error
Traceback (most recent call last):
  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.common", line 68, in lookupAddress

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.resolve", line 48, in _lookup

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.internet.defer", line 308, in addErrback

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.internet.defer", line 286, in addCallbacks

--- <exception caught here> ---
  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.internet.defer", line 542, in _runCallbacks

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.resolve", line 29, in __call__

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.common", line 57, in query

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.common", line 68, in lookupAddress

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/dispatcher", line 52, in _lookup

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/resolvers.upstream", line 74, in _lookup

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/log", line 73, in info

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/log", line 57, in log

exceptions.UnicodeEncodeError: 'cp950' codec can't encode character u'\u8fc7' 
in position 17: illegal multibyte sequence
Unhandled Error
Traceback (most recent call last):
  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.common", line 68, in lookupAddress

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.resolve", line 48, in _lookup

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.internet.defer", line 308, in addErrback

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.internet.defer", line 286, in addCallbacks

--- <exception caught here> ---
  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.internet.defer", line 542, in _runCallbacks

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.resolve", line 29, in __call__

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.common", line 57, in query

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/twisted.names.common", line 68, in lookupAddress

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/dispatcher", line 52, in _lookup

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/resolvers.upstream", line 74, in _lookup

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/log", line 73, in info

  File "win32\build\pyi.win32\dnsproxy\outPYZ1.pyz/log", line 57, in log

exceptions.UnicodeEncodeError: 'cp950' codec can't encode character u'\u8fc7' 
in position 17: illegal multibyte sequence

Original issue reported on code.google.com by roy...@gmail.com on 30 Jan 2014 at 1:35