User permissions rrControl

10 views
Skip to first unread message

Henrik Bach Christensen

unread,
Mar 5, 2026, 7:54:03 AM (8 days ago) Mar 5
to Royal Render Knights Tavern
Hi,

Trying to setup a script that I can run in rrControl by right clicking node->other->scipt-name.

But I getting:

PY| Sending direct execution command to 1 nodes...

PY| Failed: RR Server blocked the command. Check rrConfig User Permissions!

I've already setup my user as part of rrAdmin group, and haven't been able to find anything in the docs? Anybody knows how to get this working?


Thanks,
H

RR, Schoenberger

unread,
Mar 5, 2026, 8:35:09 AM (8 days ago) Mar 5
to rrKn...@googlegroups.com

Hi

 

The message “Check rrConfig User Permissions” does not seem to be a message of RR.
Which function do you execute? Do you have some more script lines?

Was rrControl restarted after you changed the user permissions?

 

regards,
Holger Schönberger

Craftsman and Keeper of the Royal Render Flame

Please use the rrKnights Tavern
or our support system for new questions.

 

Henrik Bach Christensen

unread,
Mar 5, 2026, 8:42:42 AM (8 days ago) Mar 5
to Royal Render Knights Tavern
Hi Holger,
You're right. Thanks, here's the code im running:

import rr

import rrGlobal


# Path to batch file (UNC Network Path)

BAT_FILE = r"\\xxx.xxx.xxx\pipeline\RR\RR_helperscripts\Init_P4_Nodes.bat"


def main():

selected_clients = []

# Gather highlighted nodes

for c in range(0, rr.clientAll_count()):

client = rr.clientAll_get(c)

if client.isSelected():

selected_clients.append(client)

if not selected_clients:

print("Error: No render nodes selected!")

return

# Wrap in cmd.exe so the node runs it silently

cmd_line = f'cmd.exe /c "{BAT_FILE}"'

print(f"Sending direct execution command to {len(selected_clients)} nodes...")

# Send directly to the clients (bypassing the job queue completely)

success = rr.clientSendCommand(selected_clients, rrGlobal._ClientCommand.cCommandLine, cmd_line)

if success:

print("Success! Command fired directly to the nodes.")

else:

print("Failed: RR Server blocked the command. Check rrConfig User Permissions!")


main()


The script is ment to mass setup workspaces for render nodes using perforce, as part of a project of building out our Unreal render pipeline with source control, we want to sync unreal projects locally at a specific change number.

Thanks

RR, Schoenberger

unread,
Mar 5, 2026, 10:35:38 AM (8 days ago) Mar 5
to rrKn...@googlegroups.com

Hi

 

Which RR version do you use?


If my user does not have the right to run that command, then rrControl asks for an admin PW.
And it should show an error message box if there is some other error sending the command.


What happens if you right-click and send a “Restart Machine” command?
The command uses the same user rights.

Henrik Bach Christensen

unread,
Mar 5, 2026, 11:18:46 AM (8 days ago) Mar 5
to Royal Render Knights Tavern
Hi again,

I'm on 9.1.16. Issueing reboot commands work fine, which was the original source of my confusion :)

H

RR, Schoenberger

unread,
Mar 6, 2026, 9:23:31 AM (7 days ago) Mar 6
to rrKn...@googlegroups.com

Hi

 

I found it.

 

Please use

selected_clients.append(client.listIdx)

to send the ID of the client, not the whole client class.

I will take a look why python did not throw an exception that the type does  not match.

Reply all
Reply to author
Forward
0 new messages