Deprecation Warnings Coming from Houdini's Python Libraries

   104   1   1
User Avatar
Member
10 posts
Joined: June 2016
Offline
I'm wondering if someone has any hints about how I can debug an issue I'm running into.

I'm upgrading from Houdini 16.5 to Houdini 17.5. When I load a set of python scripts I've built to work in Houdini 16.5 I get the following warnings in the console when Houdini starts up:

C:/PROGRA~1/SIDEEF~1/HOUDIN~1.360/houdini/python2.7libs\nodegraphfastfind.py:35: DeprecationWarning: createQtIcon is deprecated

  ADD_ICON = hou.ui.createQtIcon("BUTTONS_list_add", 16, 16)

C:/PROGRA~1/SIDEEF~1/HOUDIN~1.360/houdini/python2.7libs\nodegraphfastfind.py:36: DeprecationWarning: createQtIcon is deprecated

  DELETE_ICON = hou.ui.createQtIcon("BUTTONS_list_delete", 16, 16)

C:/PROGRA~1/SIDEEF~1/HOUDIN~1.360/houdini/python2.7libs\nodegraphfastfind.py:37: DeprecationWarning: createQtIcon is deprecated

  CHOOSER_ICON = hou.ui.createQtIcon("BUTTONS_chooser_node", 16, 16)

C:/PROGRA~1/SIDEEF~1/HOUDIN~1.360/houdini/python2.7libs\nodegraphfastfind.py:38: DeprecationWarning: createQtIcon is deprecated

  PIN_ICON = hou.ui.createQtIcon("NETVIEW_pin_in", 16, 16)

Everything seems to work fine, but it looks messy for those warnings to be showing up. Why would Houdini's own python libs be calling these deprecated functions? Has anyone else seen this? My scripts aren't using any hou.ui functions. I'm barely using hou at all.

Does anyone have any ideas about how I can debug this?

Houdini 17.5.360 Windows 10

Thanks!
User Avatar
Member
10 posts
Joined: June 2016
Offline
Interestingly middle clicks in the node graph produce a similar warning after adding the scripts.

C:/PROGRA~1/SIDEEF~1/HOUDIN~1.360/houdini/python2.7libs\nodegraphui.py:254: DeprecationWarning: createQtIcon is deprecated

  icon = hou.ui.createQtIcon(iconname, self.width(), self.height())

Still debugging, will update when I find a solution.
  • Quick Links