THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/02/2012 at 09:14, xxxxxxxx wrote:
Exception in thread Thread-1:
Traceback (most recent call last) :
File "/Applications/MAXON/CINEMA 4D R12 Dev/resource/modules/python/res/Python.osx.framework/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/Applications/MAXON/CINEMA 4D R12 Dev/plugins/plugin-test/package/repeattimer.py", line 74, in run
self.update(self.counter)
File "/Applications/MAXON/CINEMA 4D R12 Dev/plugins/plugin-test/package/mycommanddata.py", line 35, in timerCall
self.__dialog.updateJobDetails(self.__jobChecker.jobDetails)
File "/Applications/MAXON/CINEMA 4D R12 Dev/plugins/plugin-test/package/mydialog.py", line 42, in updateJobDetails
self.AddStaticText(2000, c4d.BFH_CENTER, 200, 20, "buttonName")
SystemError: error return without exception set
I keep getting "SystemError: error return without exception set" when I try to update the GeDialog
def updateJobDetails(self, jobDetails) :
self.jobDetails = jobDetails
self.LayoutFlushGroup(2)
numJobs = int(len(self.jobDetails))
print "numJobs ", numJobs
self.GroupBegin(id=4, flags=c4d.BFH_LEFT | c4d.BFV_TOP, title="", rows=1, cols=1, groupflags=c4d.BORDER_GROUP_IN)
buttonIDCount = 3000
buttonIDList = []
self.AddButton(2000, c4d.BFH_CENTER, 200, 20, "buttonName")
self.GroupEnd()
self.LayoutChanged(2)
Is it not something I can do after the dialog window is built?