8000 大佬,运行mitmweb -p 6666 -s sheep.py出错是什么问题呀。 · Issue #10 · longhuan1999/sheep · GitHub
[go: up one dir, main page]

Skip to content

大佬,运行mitmweb -p 6666 -s sheep.py出错是什么问题呀。 #10

Open

Description

@lifengbing

当前配置文件不存在,将使用默认配置求解!
Exception in thread Thread-3:
Traceback (most recent call last):
File "c:\programdata\anaconda3\lib\threading.py", line 932, in _bootstrap_inne
r
self.run()
File "c:\programdata\anaconda3\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "c:\programdata\anaconda3\lib\subprocess.py", line 1370, in _readerthread

buffer.append(fh.read())

File "c:\programdata\anaconda3\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb2 in position 10: invalid
start byte
Addon error: Traceback (most recent call last):
File "sheep.py", line 71, in response
self.make_map_data(is_topic)
File "sheep.py", line 159, in make_map_data
if "Python" not in subp.communicate()[0]:
File "c:\programdata\anaconda3\lib\subprocess.py", line 1028, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "c:\programdata\anaconda3\lib\subprocess.py", line 1420, in _communicate
stdout = stdout[0]
IndexError: list index out of range

Activity

  1. longhuan1999 commented on Oct 23, 2022

    @longhuan1999
    Owner

    Windows的话要把utf-8改成gbk,最近的commit修复了对Windows的两处兼容性问题

  2. lifengbing commented on Oct 24, 2022

    @lifengbing
    Author

    Windows的话要把utf-8改成gbk,最近的commit修复了对Windows的两处兼容性问题

    改了之后还是报错,windows不配吗。。。

  3. longhuan1999 commented on Oct 24, 2022

    @longhuan1999
    Owner

    Windows的话要把utf-8改成gbk,最近的commit修复了对Windows的两处兼容性问题

    改了之后还是报错,windows不配吗。。。

    你改的是哪?直接用最新的Code试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0