KmolYuan / Pyslvs-UI

An open source planar linkage mechanism simulation and mechanical synthesis system.
https://pyslvs-ui.readthedocs.io
GNU Affero General Public License v3.0
194 stars 37 forks source link

[BUG] Slider Lifter example gives an error #29

Closed gbrault closed 5 years ago

gbrault commented 5 years ago

Loading the example slider lifter gives the following error

Pyslvs 19.10.0.post0 OS Type: Linux 4.19.0-6-cloud-amd64 [x86_64] Python Version: 3.7.3(final) Python Compiler: GCC 7.3.0 Qt wrapper: PyQt5 5.13.2 Qt Version: 5.13.2

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-jovyan' Connect to GUI console. Traceback (most recent call last): File "/opt/conda/lib/python3.7/site-packages/pyslvs_ui/widgets/canvas_base.py", line 501, in paintEvent self.__draw_path() File "/opt/conda/lib/python3.7/site-packages/pyslvs_ui/widgets/canvas_base.py", line 319, in __draw_path elif self.vpoints[i].color is None: IndexError: list index out of range Aborted