danielgatis / rembg

Rembg is a tool to remove images background
MIT License
15.46k stars 1.76k forks source link

[BUG] rembg will hang infinitely without admin rights (Windows 10) #588

Closed Laudrin closed 3 months ago

Laudrin commented 4 months ago

Describe the bug rembg will hang infinitely without any error message if started without admin rights from console or batch file on Windows 10.

To Reproduce

  1. Open the Windows command line or write a batch file with the following command and start it.
  2. rembg i d:\input.jpg d:\output.png
  3. rembg will run but never end, showing no message and not creating the output file

Expected behavior rembg should ideally just run fine without admin rights, at least there should be an error message like "rembg needs admin rights to run" and it should exit, not hang infinitely.

Images (independent of an input image)

OS Version: Windows 10 Pro 22H2 Build 19045.4046, Python 3.10.11

Rembg version: v2.0.54

Additional context Installed using the instructions on https://github.com/danielgatis/rembg.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 3 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.