Unstructured-IO / Unstructured-IO/unstructured-api
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 10: invalid continuation byte
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 951
- Forks
- 192
- Avg merge
- 7d 8h
- Merged PRs (30d)
- 2
Description
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 10: invalid continuation byte
(23 additional frame(s) were not displayed)
...
File "prepline_general/api/general.py", line 686, in pipeline_1
list(response_generator(is_multipart=False))[0] if len(files) == 1 else join_responses(list(response_generator(is_multipart=False)))
File "prepline_general/api/general.py", line 607, in response_generator
response = pipeline_api(
File "prepline_general/api/general.py", line 418, in pipeline_api
raise e
File "prepline_general/api/general.py", line 396, in pipeline_api
elements = partition(
Contributor guide
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
Start by reading prepline_general/api/general.py at pipeline_1, response_generator, pipeline_api, and partition, then reproduce the request that produced this traceback. Identify which input is decoded as UTF-8 and establish a regression check for the failure; done means the affected input is handled correctly without this exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100