Tackball error after compressing textures

Poser (Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Forum rules
Please keep character renders sensibly modest, please do not post sexually explicit scenes of characters.
Post Reply
User avatar
morphious2013
Licensed Customer
Posts: 388
Joined: Sat Apr 20, 2013 1:22 pm

Since Octane won't recognize all 4gb of my card, I tried the python script to compress textures and got this error.

Traceback (most recent call last):
File "C:\Program Files\Smith Micro\Poser Pro 2014\Runtime\Python\poserScripts\ScriptsMenu\OctaneRender for Poser\Compress Texture Maps.py", line 360, in <module>
w = CompressTexturemaps()
File "C:\Program Files\Smith Micro\Poser Pro 2014\Runtime\Python\poserScripts\ScriptsMenu\OctaneRender for Poser\Compress Texture Maps.py", line 57, in __init__
self.EventPropChange(None)
File "C:\Program Files\Smith Micro\Poser Pro 2014\Runtime\Python\poserScripts\ScriptsMenu\OctaneRender for Poser\Compress Texture Maps.py", line 142, in EventPropChange
self.fillMaterialsList(f)
File "C:\Program Files\Smith Micro\Poser Pro 2014\Runtime\Python\poserScripts\ScriptsMenu\OctaneRender for Poser\Compress Texture Maps.py", line 87, in fillMaterialsList
self.findAllImageFiles(propFigure)
File "C:\Program Files\Smith Micro\Poser Pro 2014\Runtime\Python\poserScripts\ScriptsMenu\OctaneRender for Poser\Compress Texture Maps.py", line 114, in findAllImageFiles
self.scanForTexture(node, "diffuse")
File "C:\Program Files\Smith Micro\Poser Pro 2014\Runtime\Python\poserScripts\ScriptsMenu\OctaneRender for Poser\Compress Texture Maps.py", line 264, in scanForTexture
scanForTexture(inputs.InNode(), type)
NameError: global name 'scanForTexture' is not defined

Any ideas?
Gateway i5 3.2ghz, 16g RAM, GTX 690 4GB VRAM, Windows 10 64bit, Poser Pro 11, DAZ Studio Pro 4.9, Daz Octane Plugin V2, Poser Octane Plugin V2
User avatar
face_off
Octane Plugin Developer
Posts: 15716
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

I will fix this in the next 24hrs.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Posts: 15716
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

I am in the middle of of major modifications to the Poser plugin, so will not be able to release a fix for this as an entire update to the plugin until Monday. However you can fix it yourself very easily. Edit C:\Program Files\Smith Micro\Poser Pro 2014\Runtime\Python\poserScripts\ScriptsMenu\OctaneRender for Poser\Compress Texture Maps.py.

Change the line 265 from:

Code: Select all

                    scanForTexture(inputs.InNode(), type)
to

Code: Select all

                    self.scanForTexture(inputs.InNode(), type)
(ie. add a "self." to the start of the line).

Make a backup of the old file first. Give yourself write-access to that file first, otherwise Windows will not allow you to edit it.

The above fix will be in the next version of the plugin.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
morphious2013
Licensed Customer
Posts: 388
Joined: Sat Apr 20, 2013 1:22 pm

Thanks Paul. I'll give it a shot.
Gateway i5 3.2ghz, 16g RAM, GTX 690 4GB VRAM, Windows 10 64bit, Poser Pro 11, DAZ Studio Pro 4.9, Daz Octane Plugin V2, Poser Octane Plugin V2
Post Reply

Return to “Poser”