Skip to content

Cant get demo to run #343

@arminposchmann

Description

@arminposchmann

Hi all,
i stumbled about this project when looking for a way to sort PysimpleGui Tables and have a headings marker for the sorting. Then i tried the version 2.3.0 of this project and could only get the Restaurant demo to run. All the Fruit examples fail with
Traceback (most recent call last):
File "/home/ap/pydev/testpy/testfiles/fruit4.py", line 20, in
ss.record(table, 'name', label='Fruit Name'), # pysimplesql.record() convenience function for easy record creation!
File "/home/ap/.local/lib/python3.10/site-packages/pysimplesql/pysimplesql.py", line 2392, in record
label_text = query_info.split('.')[1].replace('fk', '').replace('_', ' ').capitalize() + ':'
IndexError: list index out of range

Is there a way to get a demo that works with a sg.Table and is able to sort ?
I tried with PySimpleGUI 4.6.1 and with PySimpleGUI 5.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions