ID 371538 - Frame Server ImportError caused by naming plugin folder path " util "

Follow

Problem summary
Users are experiencing a FrameServer Import error, if one of their plugin directories is named 'util'.

If the user's init.py refers to a folder path with 'util' e.g nuke.pluginAddPath('util') , Nuke will throw the following exception on startup:





Customer reported version
nuke.n/a

Customer reported platform

Steps to reproduce

1) Open your /.nuke directory

2) Create a folder named util

3) Within your init.py , add the following snippet:

nuke.pluginAddPath('util')
4) Launch Nuke

Result: The Exception will be thrown on launch, causing the Frame Server to break.

Workaround
Rename your util folder directory to avoid FrameServer Clash

Reproduced by support

This bug has been reproduced in:
Nuke11.2v4 - Windows 7 - Mac10.13 - CentOS6.9
Nuke11.2v1 - Windows 7
Nuke11.1v4 - Windows 7
Nuke11.1v1 - Windows 7
Nuke11.0v4 - Windows 7
Nuke11.0v1 - Windows 7 - Mac10.13 - CentOS6.9

Earliest version tested
- This feature did not exist before this version - FRAME SERVER ISSUE

Expected behaviour
Frame Server should launch without issues

Actual behaviour
Frame Server throws exception if a plugin folder is named util

    We're sorry to hear that

    Please tell us why