-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
self.taskInfo in nuke.py ( service.py ) #562
Comments
Hi! It is bug that |
Hi Timur, |
Thanks @timurhai , I was able to add the capacity and it works as intended. 🌹 I still would be suuper happy if you could add the ticket information as well in a future update. I saw that this is a little more complex and couldn't add it myself. As always, thanks in advance Jan |
I can be done, but it will break binary compatibility. |
Ahh, I see the problem @timurhai ... If you find the time for a future release, it would be super helpful for us. Thanks a lot Jan |
+1 for adding this in 3.4.x - this would help us a lot! |
hey timur, we will soon need the tickets in the taskinfo and I wonder if you could implement this "properly" or if we should try it the amateur way and send a PR? cheers |
Hello! I will look at tickets today! May it is not a problem. |
that sounds great!!!
Even though we also need this at one point I think we can add the capacity info later if it is too much work and implement the tickets first. |
Hello! I am very sorry, was wrong (( |
Thanks a lot Timur! glad it doesn't break compatibility! |
Hi Timur, Jan here from Rise.fx
We introduced the Tickets called "threads" to regulate the amount of threads nuke is started with "nuke -m ....... ".
To modify the starting commands of a task we change it in the nuke.py service and overwrite the "def getCommand(self)" method returning the modified command.
Problem is, that we can not get the amount of tickets of the block in the services.self.taskInfo, because the ticket information is not inside.
Our secound Idea is to use the capacity, but also the self.taskInfo.get("capacity") always stays 0L.
Is this intended? When I look in a tasks json I can see the tickets and also the correct capacity.
If its intended, what would you recommend us to realize this feature with?
Thanks a lot,
best Jan
The text was updated successfully, but these errors were encountered: