You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please someone help me figure this out, please....
OS is Windows Server 2019
Python version is 3.10
Installed rembg using "pip install rembg"
rembg i "input file" "output file" works just great for admin and non-admin user BUT only within the console itself. e.g. user bob running IIS application can run rembg by this command:
exec('rembg i "image.png" "image2.png"', $output);
but the output file size is always 0.
If I log this user through Basic Authentication (entering username password), the script runs flowlessly, but the application must be run in anonymous mode.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Please someone help me figure this out, please....
OS is Windows Server 2019
Python version is 3.10
Installed rembg using "pip install rembg"
rembg i "input file" "output file" works just great for admin and non-admin user BUT only within the console itself. e.g. user bob running IIS application can run rembg by this command:
exec('rembg i "image.png" "image2.png"', $output);
but the output file size is always 0.
If I log this user through Basic Authentication (entering username password), the script runs flowlessly, but the application must be run in anonymous mode.
exec function can run python scripts, no problem.
Can anyone help me?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions