Passer au contenu

Error importing module 'DeadlineUI.Forms.GeneralForms'

0

Hi

We're trying to create a test environment for a newer version of Deadline (10.1.23.6 > 10.4.1.8)

(Side note - that's been removed from the release history since we downloaded it for testing)

We've covered all sorts of issues with getting a separate instance to run, including the PYTHONPATH and certificates.

What we now get is an error just trying to start DeadlineMonitor, which we don't understand. We're struggling to track down references for Forms.GeneralForms anywhere in the vastness of Deadline code.

Error importing module 'DeadlineUI.Forms.GeneralForms': cannot import name 'JobStatus' from 'Deadline.Jobs' (/Volumes/software/deadline-ldn/10/repository/api/python/Deadline/Jobs.py) (Python.Runtime.PythonException)
Time to initialize: 64.000 ms
Exception on Startup: cannot import name 'PluginConfigSettings' from 'Deadline.Plugins' (/Volumes/software/deadline-ldn/10/repository/api/python/Deadline/Plugins.py) (FranticX.Scripting.PythonNetException)
  File "UI/Forms/MainWindowStartup.py", line 16, in <module>
  File "/Volumes/software/deadline-ldn/10/client/deadline10.4.1.8-x64/bin/python3/UI/DeadlineMonitor/Forms/MainWindow.dpy", line 4, in <module>
    from DeadlineMonitor.Forms.MainWindowStartup import MainWindowStartup
   at Python.Runtime.PythonException.ThrowLastAsClrException() in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1743198713341\work\src\runtime\PythonException.cs:line 53
   at Python.Runtime.Runtime.CheckExceptionOccurred() in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1743198713341\work\src\runtime\Runtime.cs:line 527
   at Python.Runtime.PythonEngine.ModuleFromString(String name, String code, String fileName) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1743198713341\work\src\runtime\PythonEngine.cs:line 582
   at FranticX.Scripting.PythonNetScriptEngine.ExecuteFile(String scriptFile, String moduleName, Boolean optimizeCode)

Deadline Monitor will now exit.

Hope someone can help!

System:

Kernel: 5.14.0-427.22.1.el9_4.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 2.35.2-43.el9 Desktop: Cinnamon v: 5.6.8 tk: GTK v: 3.24.31 wm: Muffin dm: GDM Distro: Rocky Linux 9.4 (Blue Onyx) base: RHEL 9.4

demandé il y a 4 mois48 vues
1 réponse
0

The error you're encountering with Deadline Monitor appears to be related to Python module import issues in the newer version (10.4.1.8) of Deadline Cloud. The specific errors indicate that the application is unable to import certain required classes:

  1. First error: cannot import name 'JobStatus' from 'Deadline.Jobs'
  2. Second error: cannot import name 'PluginConfigSettings' from 'Deadline.Plugins'

These import errors suggest that there might be compatibility issues between the Python environment and the Deadline version you're trying to use. This could be due to several reasons:

  1. The Python version being used might not be compatible with this specific Deadline release
  2. The repository structure or API might have changed between the versions you're migrating from and to
  3. There could be missing dependencies or modules in your installation

Since you mentioned that version 10.4.1.8 has been removed from the release history since you downloaded it, it's possible this version had issues that were later identified, which could explain why you're encountering these problems.

Some troubleshooting steps you could try:

  1. Verify that you're using the correct Python version that's compatible with Deadline 10.4.1.8
  2. Check if there are any specific migration notes or requirements when upgrading from 10.1.23.6 to 10.4.1.8
  3. Ensure all required dependencies are installed and properly configured
  4. Consider reaching out to AWS technical support directly for assistance with this specific version issue

If possible, you might want to consider using a different, officially supported version of Deadline that hasn't been removed from the release history.
Sources
On Prem Deadline giving segmentation fault or RTTI error using Houdini Flipbook | AWS re:Post

répondu il y a 4 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.