Dear all,
I manage to find out the error part.
self.parallel_config.setValue(int(data.iat[0, 6])) # the program crashed at this point
self.series_config.setValue(int(data.iat[1, 6]))
self.parallel_config.setValue(108)
self.series_config.setValue(3)
# in general
b = 2
c = 3
a = b + c
self.qspinbox.setValue(a) # program will crash
self.qspinbox.setValue(5)
So far my findings are:
1. parallel_config and series_config are QSpinbox.
2. The code will crash when it try to read from data frame or some previous calculation.
3. The code will crash if I setValue to read directly a value but not from calculation or data frame.
The above findings will only valid or occur, when I run parallel with Microsoft Power Point with Empower add-in.
If I run my code without the power point, the program will not crash for both mentioned code above.
The error somehow related to QSpinbox of setValue.
Please give me some hints if possible.
Thanks.