aliyun / aliyun/aliyun-log-python-sdk

suppress protobuf warning/error

Open
#105 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
176
Forks
119
Avg merge
3h 56m
Merged PRs (30d)
2

Description

[libprotobuf ERROR google/protobuf/wire_format_lite.cc:626] String field 'Log.Content.Value' contains invalid UTF-8 data when parsing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.

SDK will handle this case, but there's a such kind of warning...suggest suppressing it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named; start by locating the protobuf parsing path for Log.Content.Value and reproduce the invalid UTF-8 warning. Confirm the SDK still handles the data while the warning is suppressed, and verify the behavior with the relevant test coverage if one exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.