Windows 11, running render engines always times out
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- computer-graphics, desktop
Research direction
Start in Render/prefpage.py at test_dispatcher and _test_dispatcher_helper, especially the subprocess.run call that invokes appleseed.cli.exe --help. Reproduce the five-second timeout on Windows 11 and compare it with the same executable run from the console; done means the renderer test no longer times out when the binary is recognized.
Written by the indexing model from the issue text.
Description
I keep getting timeout erros when pressing "Test" in the setting or/and running it from the workbench itself.
It recognoized the binary and seems to resolve the path, but running it causes timeouts.
Running the different renderer engines from console, or even trough python without timeout of 1sec doesn't show any errors.
Example with applessed:
Trackback from freecad (1.0.2)
20:45:59 Traceback (most recent call last):
20:45:59 File "C:\Users\X\AppData\Roaming\FreeCAD\Mod\Render\.\Render\prefpage.py", line 137, in test_dispatcher
20:45:59 _test_dispatcher_helper(renderer, batch, self)
20:45:59 File "C:\Users\X\AppData\Roaming\FreeCAD\Mod\Render\.\Render\prefpage.py", line 306, in _test_dispatcher_helper
20:45:59 result = subprocess.run(
20:45:59 ^^^^^^^^^^^^^^^
20:45:59 File "C:\Program Files\FreeCAD 1.0\bin\Lib\subprocess.py", line 550, in run
20:45:59 stdout, stderr = process.communicate(input, timeout=timeout)
20:45:59 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20:45:59 File "C:\Program Files\FreeCAD 1.0\bin\Lib\subprocess.py", line 1209, in communicate
20:45:59 stdout, stderr = self._communicate(input, endtime, timeout)
20:45:59 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20:45:59 File "C:\Program Files\FreeCAD 1.0\bin\Lib\subprocess.py", line 1630, in _communicate
20:45:59 raise TimeoutExpired(self.args, orig_timeout)
20:45:59 subprocess.TimeoutExpired: Command '['C:/Users/X/Documents/appleseed/appleseed/bin/appleseed.cli.exe', '--help']' timed out after 5 seconds
Running the exact same path from console:
- Dominant language
- Python
- Stars
- 240
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from FreeCAD/FreeCAD-render
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
FreeCAD/FreeCAD-render#497 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
FreeCAD/FreeCAD-render#496 · 1 comment ·
-
Contact requestOpen
Difficulty 5/5 Over a week Newbie friendliness 15/100
FreeCAD/FreeCAD-render#494 · 4 comments · 1 reaction ·
-
Settings inputs tab order is randomPossibly taken @miakh claimed this 98 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
FreeCAD/FreeCAD-render#493 · 1 comment ·
-
Settings not savedOpen
Difficulty 3/5 1-2 days Newbie friendliness 45/100
FreeCAD/FreeCAD-render#492 ·
All issues in FreeCAD/FreeCAD-render
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
hugohe3/ppt-master#366 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 89/100
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
521xueweihan/HelloGitHub#4716 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
pcqpcq/open-source-android-apps#619 ·
Maintainers usually reply within 1 day
-
contribution Windows 主机
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Lee-xeo/Claude-Cage#1519 ·
Maintainers usually reply within 1 day