Commit graph

37 commits

Author SHA1 Message Date
Aurore LAFAURIE
b6df2852e7 [ui] Recompute and Re-submit not allowed with Compatibility Nodes
Renaming of canCompute to canComputeTopologically to understand the static aspect of the function
2024-09-13 18:32:46 +02:00
Candice Bentéjac
41e885d9ff Linting: Clean-up files 2024-09-12 10:50:13 +02:00
Aurore LAFAURIE
887844541c Compute or Submit selected nodes 2024-07-17 16:08:00 +02:00
Fabien Castan
d5e356c0aa [core] New dynamic output attributes 2024-06-15 19:47:29 +02:00
Aurore LAFAURIE
3a199d7973 [core] Computing and submitting take nonComputing into account + Comment
When computing or submitting a graph, if nodes are not computable they do not send warning that nodes had trouble.
2024-05-27 22:03:42 +02:00
Candice Bentéjac
8bef398bed Remove workarounds and backports for Python 2 support
In particular:
- In common/, remove the backport of weakref.WeakMethod
- In docs/ and ui/, use the standard FileNotFoundError class
- Use built-in open() instead of io.open(), and stop importing io
- In core/stats.py, use the standard implementation of xml.etree instead
of the C one
2022-12-05 17:16:21 +01:00
Candice Bentéjac
eac43c84c3 [submitters] Add an option to update the job title on submitters 2022-12-05 15:23:10 +01:00
Fabien Castan
f44e834970 [core] fix batch 2021-09-13 10:17:39 +02:00
Fabien Castan
51572c8f59 [core] TaskManager: fix compute after submit
After a renderfarm submit, it was not possible to compute the same node
locally anymore.
2021-02-25 18:35:54 +01:00
Fabien Castan
4a5995b346 [core] taskManager: downgrade status per chunk
Avoid to get trailing "submitted" chunks on the current node when we stop the computation.
2021-01-06 10:10:17 +01:00
Fabien Castan
d291fcc39d [core] graph: use new dependenciesOnly option on graph operations
Input attribute to input attribute connection is not a real dependency between the nodes.
2020-12-14 19:02:49 +01:00
Fabien Castan
a0206a85fc [core] graph: fix retrieve first submitter 2020-12-02 01:06:04 +01:00
Julien-Haudegond
94038736fe [core] TaskManager: handle simultaneous computing in LOCAL and EXTERN 2020-09-05 15:25:21 +02:00
Julien-Haudegond
0345672b34 [core] TaskManager: raise Error if computing/submitting duplicates 2020-09-04 17:21:45 +02:00
Julien-Haudegond
b567d8ff5c [core] Graph: change default reverse direction in dfsOnDiscover() 2020-09-04 12:42:05 +02:00
Julien-Haudegond
208749d897 [core] Graph: change signature of dfsOnDiscover() 2020-09-04 12:22:20 +02:00
Julien-Haudegond
f8bd40ad38 [core] Graph: rename nodesFromNode() to dfsOnDiscover() 2020-09-04 11:49:45 +02:00
Julien-Haudegond
bdf96e2119 [core] TaskManager: fix issue with checkCompatibilityNodes() 2020-09-03 19:05:36 +02:00
Julien-Haudegond
3fc09ddade [core] TaskManager: handle compatibility error outside dfsToProcess() 2020-09-03 18:42:36 +02:00
Julien-Haudegond
3f3a6c0e83 [core/bin] Submitting: remove a duplicate function and move another one 2020-09-03 18:23:55 +02:00
Julien-Haudegond
78f7febeb7 [ui] ErrorHandler: analyse error (only used by computation for now) 2020-09-03 14:56:35 +02:00
Julien-Haudegond
58790e3bce [core] TaskManager: restart/block thread when stop computing
- If global stop: block restarting thread.
- If local stop: restart thread with the remaining nodes to compute.

This implementation permits to avoid app freezing when a local stop occurs.
2020-08-31 13:13:59 +02:00
Julien-Haudegond
f502625c0b [core] TaskManager: change removeNode() and add containsNodeName() 2020-08-31 11:38:50 +02:00
Julien-Haudegond
3e82a21677 [core] TaskManager: fix issue in contains() / Node: add a Slot decorator 2020-08-27 10:56:28 +02:00
Julien-Haudegond
be49e37c0f [core] TaskManager: improve log message in the compute method
It gives a better way to identify the error in QML.
2020-08-26 11:10:22 +02:00
Julien-Haudegond
2099bad017 [core] TaskManager: forceStatus parameter
Implement back the forceStatus parameter which is helpful in command-line to force computing nodes already submitted or running externally.
2020-08-26 10:40:19 +02:00
Julien-Haudegond
57bb9a41a6 [core] TaskManager: fix issue when a used node is destroyed 2020-08-24 12:19:59 +02:00
Julien-Haudegond
b71832ebbd [core] Node: stopComputation method
- Node: stopComputation method.
- Task Manager: avoid stopping the entire task manager when a node is stopped.
2020-08-20 15:53:02 +02:00
Julien-Haudegond
723e007ae6 [core] TaskManager: removeNode method 2020-08-20 15:41:10 +02:00
Julien-Haudegond
d6f9ee179f [core] TaskManager: fix issue and undeclared member 2020-08-20 15:18:29 +02:00
Julien-Haudegond
8a9499a711 [core] taskManager: add check before pop 2020-08-11 12:38:26 +02:00
Yann Lanthony
b883bd193b [core] taskManager: code cleanup 2020-01-24 18:46:32 +01:00
Lee Geertsen
0d01a2261d
[Fix] TaskManager: delete logging error 2019-11-29 11:34:15 +01:00
Lee Geertsen
5aea330400
Add nodes computed in renderfarm to Taksmanager on open scene 2019-11-29 11:34:10 +01:00
Lee Geertsen
34a90563c8
Update TaskManager when node is removed 2019-11-29 11:34:10 +01:00
Lee Geertsen
01974c23ec
Make Task Manager with Nodes submitted to a render farm 2019-11-29 11:34:10 +01:00
Lee Geertsen
51d6c18840
Create TaskManager with a task overview
Create a seperate class to handle the logic of computing nodes
+ An UI overview with all submitted nodes
2019-11-29 11:34:10 +01:00