cmderdev / cmderdev/cmder

[Bug] Cmder freezes when using Unstructured.io

Open
#2,954 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 Type: Bug 🤝 Help wanted
Dominant language
PowerShell
Stars
27k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

Version Information
Cmder version: 1.3.25
Operating system: Windows
Cmder Edition

Cmder Full (with Git)

Description of the issue

So i am working with python on a RAG project, and I am testing the Unstructured.io library. However, it seems that whenever i try launching any python file that contains the following import : "from unstructured.partition.pdf import partition_pdf" (or any other partition function really) via the cmder console, it just freezes. I dont get the result, nor an error, I just keep staring at a blank space

How to reproduce
  1. Download the instructured library : pip install unstructured["all-docs"]
  2. create a new .py file containing any simple print and import any partition function from unstructured ( from unstructured.partition.pdf import partition_pdf for example)
  3. execute the python file in cmder
  4. Any code written before the import will be executed, but once you reach the import, the whole thing freezes
Additional context

No response

Checklist
  • I have read the documentation.
  • I have searched for similar issues and found none that describe my issue.
  • I have reproduced the issue on the latest version of Cmder.
  • I am certain my issues are not related to ConEmu, Clink, or other third-party tools that Cmder uses.

Contributor guide

Open the contributing guide

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 by reproducing the freeze in a Cmder console on Windows with the reported Cmder version, using a Python file that prints before importing unstructured.partition.pdf and installing unstructured["all-docs"]. Compare the behavior with and without the partition import and consider the listed ConEmu, Clink, and other third-party components. Done means the reproduction no longer freezes or produces a clear, actionable error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.