Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad decode value when sending a diff #223

Open
shiftre opened this issue Mar 19, 2017 · 0 comments
Open

Bad decode value when sending a diff #223

shiftre opened this issue Mar 19, 2017 · 0 comments
Assignees
Labels

Comments

@shiftre
Copy link
Collaborator

shiftre commented Mar 19, 2017

INFO:match_action:Data upload started
Caching 'Strings window'... ok
Traceback (most recent call last):
  File "C:/Program Files (x86)/IDA 6.95/plugins\rematch\actions\match.py", line 126, in perform_upload
    self.instance_set.append(func.serialize())
  File "C:/Program Files (x86)/IDA 6.95/plugins\rematch\instances\base.py", line 13, in serialize
    annotations = list(collectors.collect(self.offset, self.annotations))
  File "C:/Program Files (x86)/IDA 6.95/plugins\rematch\collectors\__init__.py", line 15, in collect
    c = collector(offset)
  File "C:/Program Files (x86)/IDA 6.95/plugins\rematch\collectors\collector.py", line 14, in init
    self.data = self.serialized_data()
  File "C:/Program Files (x86)/IDA 6.95/plugins\rematch\collectors\collector.py", line 23, in serialized_data
    data = json.dumps(data)
  File "C:\Python27\Lib\json\__init__.py", line 244, in dumps
    return _default_encoder.encode(obj)
  File "C:\Python27\Lib\json\encoder.py", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "C:\Python27\Lib\json\encoder.py", line 270, in iterencode
    return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa0 in position 60: invalid start byte
Traceback (most recent call last):
  File "C:/Program Files (x86)/IDA 6.95/plugins\rematch\actions\match.py", line 126, in perform_upload
    self.instance_set.append(func.serialize())
  File "C:/Program Files (x86)/IDA 6.95/plugins\rematch\instances\base.py", line 13, in serialize
    annotations = list(collectors.collect(self.offset, self.annotations))
  File "C:/Program Files (x86)/IDA 6.95/plugins\rematch\collectors\__init__.py", line 15, in collect
    c = collector(offset)
  File "C:/Program Files (x86)/IDA 6.95/plugins\rematch\collectors\collector.py", line 14, in init
    self.data = self.serialized_data()
  File "C:/Program Files (x86)/IDA 6.95/plugins\rematch\collectors\collector.py", line 23, in serialized_data
    data = json.dumps(data)
  File "C:\Python27\Lib\json\__init__.py", line 244, in dumps
    return _default_encoder.encode(obj)
  File "C:\Python27\Lib\json\encoder.py", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "C:\Python27\Lib\json\encoder.py", line 270, in iterencode
    return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xdc in position 59: invalid continuation byte
INFO:match_action:match action cancelled

Tried it on ARM, though I don't think it's an architecture problem.

@shiftre shiftre self-assigned this Mar 21, 2017
@shiftre shiftre added the bug label Mar 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant