/home/duan/anaconda3/envs/venv/lib/python2.7/site-packages/qdarkstyle/init.py:181: FutureWarning: load_stylesheet() will not receive pyside parameter in version 3. Set QtPy environment variable to specify the Qt binding insteady.
FutureWarning
Traceback (most recent call last):
File "/home/duan/pix2vox/ui/gui_main.py", line 115, in
slider.valueChanged.connect(lambda value, j=int(index): self.opt_engine.set_label(float(value)/100, j))
File "/home/duan/pix2vox/opt/constrained_opt.py", line 59, in set_label
self.update_voxel_model()
File "/home/duan/pix2vox/opt/constrained_opt.py", line 42, in update_voxel_model
self.preprocess_constraints()
File "/home/duan/pix2vox/opt/constrained_opt.py", line 35, in preprocess_constraints
color_old, edge_old = self.constraints
TypeError: 'NoneType' object is not iterable
I don‘t know whether it is caused by the data?
/home/duan/anaconda3/envs/venv/lib/python2.7/site-packages/qdarkstyle/init.py:181: FutureWarning: load_stylesheet() will not receive pyside parameter in version 3. Set QtPy environment variable to specify the Qt binding insteady.
FutureWarning
Traceback (most recent call last):
File "/home/duan/pix2vox/ui/gui_main.py", line 115, in
slider.valueChanged.connect(lambda value, j=int(index): self.opt_engine.set_label(float(value)/100, j))
File "/home/duan/pix2vox/opt/constrained_opt.py", line 59, in set_label
self.update_voxel_model()
File "/home/duan/pix2vox/opt/constrained_opt.py", line 42, in update_voxel_model
self.preprocess_constraints()
File "/home/duan/pix2vox/opt/constrained_opt.py", line 35, in preprocess_constraints
color_old, edge_old = self.constraints
TypeError: 'NoneType' object is not iterable
I don‘t know whether it is caused by the data?