Skip to main content
Inspiring
January 25, 2022
Question

Substance designer failing to publish archive.

  • January 25, 2022
  • 1 reply
  • 344 views

Hi All,

 

Getting python recursion errors when trying to publish a relativly simple substance graph and it fails but generates the texture maps etc just fine.  Tired to contact support but auto response said they were closed, so trying here to see if anyone else has had same issues while I start debugging it, can't see any other reported issues the same having a search about.

 

[MSG][975][GPUInfo]Using GPU number 0: NVIDIA GeForce RTX 3090
[ERR][976][Python]Traceback (most recent call last):
[ERR][977][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\designer\appinterop\appinteropui.py", line 190, in __onActionTriggered
[ERR][978][Python]    
[ERR][979][Python]self.__callback()
[ERR][980][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\designer\appinterop\appinteropui.py", line 481, in __onPublish
[ERR][981][Python]    
[ERR][982][Python]pkg, publishParams, self.__uiMgr.getMainWindow())
[ERR][983][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\designer\appinterop\sbsarpublishdialog.py", line 531, in __init__
[ERR][984][Python]    
[ERR][985][Python]if AppInterop.isAnyDependencyModified(package):
[ERR][986][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\designer\appinterop\appinterop.py", line 124, in isAnyDependencyModified
[ERR][987][Python]    
[ERR][988][Python]if AppInterop.__anyDependencyModified(dep.getPackage()):
[ERR][989][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\designer\appinterop\appinterop.py", line 115, in __anyDependencyModified
[ERR][990][Python]    
[ERR][991][Python]if AppInterop.__anyDependencyModified(dep.getPackage()):
[ERR][992][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\designer\appinterop\appinterop.py", line 115, in __anyDependencyModified
[ERR][993][Python]    
[ERR][994][Python]if AppInterop.__anyDependencyModified(dep.getPackage()):
[ERR][995][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\designer\appinterop\appinterop.py", line 115, in __anyDependencyModified
[ERR][996][Python]    
[ERR][997][Python]if AppInterop.__anyDependencyModified(dep.getPackage()):
[ERR][998][Python]  [Previous line repeated 981 more times]
[ERR][999][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\designer\appinterop\appinterop.py", line 114, in __anyDependencyModified
[ERR][1000][Python]    
[ERR][1001][Python]for dep in deps:
[ERR][1002][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\sd\api\sdarray.py", line 123, in __iter__
[ERR][1003][Python]    
[ERR][1004][Python]return _Iter(self)
[ERR][1005][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\sd\api\sdarray.py", line 113, in __init__
[ERR][1006][Python]    
[ERR][1007][Python]self.size = len(array)
[ERR][1008][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\sd\api\sdarray.py", line 106, in __len__
[ERR][1009][Python]    
[ERR][1010][Python]return self.getSize()
[ERR][1011][Python]  File "C:/Program Files/Adobe/Adobe Substance 3D Designer/resources/python\sd\api\sdarray.py", line 57, in getSize
[ERR][1012][Python]    
[ERR][1013][Python]_res = self.mAPIContext.SDArray_getSize(self.mHandle, ctypes.byref(outSize))
[ERR][1014][Python]ctypes
[ERR][1015][Python].
[ERR][1016][Python]ArgumentError
[ERR][1017][Python]: 
[ERR][1018][Python]argument 2: <class 'RecursionError'>: maximum recursion depth exceeded while calling a Python object
[WRN][1019][Default](0): QLayout: Attempting to add QLayout "" to Pfx::Editor::Gui::ImagesExportFromGraphWidget "mTabFromGraph", which already has a layout
[WRN][1020][Default](0): QLayout: Attempting to add QLayout "" to Pfx::Editor::Gui::ImagesExportBatchWidget "mTabBatch", which already has a layout

 

 

This topic has been closed for replies.

1 reply

Inspiring
January 25, 2022

Just in case anyone else runs into this, it was trying to referance old graphs that were no longer in the project for some reason but was not giving any clues to that until I made a copy to debug when it then started saying it couldn't find stuff (that was no longer in the project)

 

I made a completely empty new graph, cut and pasted the main graph with the issue into it into it, this also brings in any functions and sub graphs etc as well but does not bring in any custom parameters (however maintains a referance to the variable names you used) so I just manualy recreated those saved and republished and it worked fine.

 

Luca Giarrizzo
Community Manager
Community Manager
January 25, 2022

Hello Mark,

 

Thank you for reaching out to us and providing a status update. I am glad you were able to solve the issue!

We are working on improving reporting on errors and warnings so any issues are more visible to the user. I hope this will make troubleshooting such a case smoother.

 

I am sorry to hear about your support experience. Feel free to reach out to us again in this space next time you are in need of assistance. Alternatively, you may use the Report a bug... option in Designer's Help menu.

 

Best regards.

 

Luca Giarrizzo | Quality Engineer - Substance 3D Designer | Adobe