getappmap / getappmap/appmap-js
Install: poetry install fails with encoding error
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 18
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Running command: `python --version`
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Running command: `python -c import sys; print(sys.prefix)`
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Running command: `poetry add --dev --allow-prereleases appmap`
Using version ^1.3.0 for appmap
Updating dependencies
Resolving dependencies...
Writing lock file
Package operations: 5 installs, 0 updates, 0 removals
UnicodeEncodeError
'gbk' codec can't encode character '\u2022' in position 2: illegal multibyte sequence
at ~\.local\pipx\venvs\poetry\lib\site-packages\clikit\io\output_stream\stream_output_stream.py:24 in write
20�� """
21�� if self.is_closed():
22�� raise io.UnsupportedOperation("Cannot write to a closed input.")
23��
�� 24�� self._stream.write(string)
25�� self._stream.flush()
26��
27�� def flush(self): # type: () -> None
28��
Failed to add packages, reverting the pyproject.toml file to its original content.
Experienced by user 4fd368a50cab7edf1f493950ad5427e90b9ac12fca180ac55f52481aaf7b6541
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with python --version, python -c import sys; print(sys.prefix), and poetry add --dev --allow-prereleases appmap on the reported Windows setup. Trace the Poetry installation path that raises the GBK UnicodeEncodeError and verify that dependency installation completes without the encoding failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100