Hi,
I 'm writting an event deadline job plugin which use draft, very often when I try to import Draft, I can log such message :
Log Message
Appending ‘\Prod10\Deadline\Draft\Windows\64bit’ to Python search path
Syspath ‘[‘C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64\lib’, ‘C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64\Dlls’, ‘C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64\python26.zip’, ‘C:\Windows\system32’, ‘C:\Program Files\Thinkbox\Deadline\bin’, ‘C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64’, ‘C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64\lib\site-packages’, ‘C:\Windows\Microsoft.NET\Framework64\v2.0.50727\’, ‘\\Prod10\Deadline\Draft\Windows\64bit’]’
Could not Import Draft
Traceback (most recent call last):
File “none”, line 51, in OnJobFinished
RuntimeError: Licensed number of users already reached.
Feature: draft
License path: @serveur;@Serveur;
FLEXnet Licensing error:-4,132
For further information, refer to the FLEXnet Licensing documentation,
available at “www.flexerasoftware.com”.
How can I know how many license are in use in our deadline and how many remains…
I was also wondering how could have I reached maximum number of Drat licenses if we got has many draft license as deadline licenses…
AS I’m here I got an other problem, once I got enough license to import draft I often get stuck using Draft.VideoEncoder, deadline told me that ‘module’ object has no attribute ‘VideoEncoder’ :
=======================================================
Log Message
Appending ‘\Prod10\Deadline\Draft\Windows\64bit’ to Python search path
‘\Prod10\Deadline\Draft\Windows\64bit’ already in Python search path
Syspath ‘[‘C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64\lib’, ‘C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64\Dlls’, ‘C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64\python26.zip’, ‘C:\Windows\system32’, ‘C:\Program Files\Thinkbox\Deadline\bin’, ‘C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64’, ‘C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64\lib\site-packages’, ‘C:\Windows\Microsoft.NET\Framework64\v2.0.50727\’, ‘\\Prod10\Deadline\Draft\Windows\64bit’]’
Draft imported
Output file D_Barrage_Castors_BackZoom_VRayRawReflection####.tif
Output Directory R:\XX_COMM\COMPOSITING\COMPOSITING IMAGES\Compositing_Decors\Render_Decors\D_Barrage_Castors_Forest
An error occurred in the “OnJobFinished” function in events plugin ‘PassVideoGenDraft’: An error occurred in function “OnJobFinished” the event plugin script file “\Prod10\Deadline\events\PassVideoGenDraft\PassVideoGenDraft.py”: AttributeError : ‘module’ object has no attribute ‘VideoEncoder’
Python Exception: AttributeError : ‘module’ object has no attribute ‘VideoEncoder’ (Python.Runtime.PythonException)
Type: <type ‘exceptions.AttributeError’>
Value: ‘module’ object has no attribute ‘VideoEncoder’
Stack Trace:
[’ File “none”, line 76, in OnJobFinished\n’, ’ File “none”, line 105, in encodejob\n’]
(Deadline.Events.DeadlineEventPluginException)
à Deadline.Events.DeadlineEventPlugin.HandlePythonError(String message, Exception e)
à Deadline.Events.DeadlineEventPlugin.OnJobFinished(Job job, String[] auxiliaryFilenames)
à Deadline.Events.DeadlineEventManager.OnJobFinished(Job job, String[] auxiliaryFilenames, DeadlineController deadlineController)
If anybody knows… thank for your answer…