AcademySoftwareFoundation / OpenCue

A render management system you can deploy for visual effects and animation productions.
https://www.opencue.io
Apache License 2.0
815 stars 193 forks source link

RQD Doesn't Behave Correctly #1397

Open MitchWoodin opened 1 week ago

MitchWoodin commented 1 week ago

Describe the bug RQD seems to install correctly however it doesn't run as expected. When I run rqd after install I get this output.

CRITICAL:root:Please run launch as root
2024-06-26 07:45:05,388 CRITICAL  openrqd-__main__   Please run launch as root

I've tried running with sudo but then I'm told rqd doesn't exist.

To Reproduce Steps to reproduce the behavior:

  1. Follow Option 3 in This docs page. (using python3.10 -m venv venv)
  2. Attempt to run rqd from within venv
  3. Error message received.

Expected behavior I expect to see the output listed on the previously linked page.

2019-01-31 00:41:51,905 WARNING   rqd3-__main__   RQD Starting Up
2019-01-31 00:41:52,941 WARNING   rqd3-rqcore     RQD Started

Version Number 0.22.14

Additional context I'm using Rocky Linux 9.4 in a VM

lithorus commented 1 week ago

It's not a bug, but how sudo works. When you run it with sudo like that, you run it in a new environment which is the reason it can't find it. You should create the venv as root instead.