Skip to content

ValueError: Unknown status message: 'ERROR' #265

@squarepegsys

Description

@squarepegsys

PR #264 addresses an issue I found while creating keys and dumping them into a text file.

the error I got was:

Traceback (most recent call last):
    File "/Users/michael.hostetler/.pyenv/versions/3.7.4/lib/python3.7/threading.py", line 926, in _bootstrap_inner
  self.run()
  File "/Users/michael.hostetler/.pyenv/versions/3.7.4/lib/python3.7/threading.py", line 870, in run
  self._target(*self._args, **self._kwargs)
   File "/Users/michael.hostetler/.pyenv/versions/3.7.4/envs/file-ops-3.7.4/lib/python3.7/site-packages/pretty_bad_protocol/_meta.py", line 670, in _read_response
  result._handle_status(keyword, value)
  File "/Users/michael.hostetler/.pyenv/versions/3.7.4/envs/file-ops-3.7.4/lib/python3.7/site-packages/pretty_bad_protocol/_parsers.py", line 995, in _handle_status
  raise ValueError("Unknown status message: %r" % key)
 ValueError: Unknown status message: 'ERROR'

the PR has a fix and test cases for it.

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