MarketSquare / MarketSquare/robotframework-stacktrace

UnicodeEncodeError

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

Nobody has claimed this yet.

Dominant language
Python
Stars
18
Forks
2
PR merge metrics
No merged PRs in 30d

Description

We have multibyte chars in our test cases like _平 ^~ŸÁ&.
In log files we have been seeing error-

`Calling method 'end_keyword' of listener 'RobotStackTracer' failed: UnicodeEncodeError: 'charmap' codec can't encode character '\u5e73' in position 659: character maps to `

I don't see any major effect of this though, but since it is logged in our every run thought of reporting.

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

Start at the RobotStackTracer listener's end_keyword entry point and reproduce the reported UnicodeEncodeError using the multibyte characters from the issue. Inspect the resulting log output and related test cases; done means the listener completes without logging an encoding error for those characters.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
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.