Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples do not support new ListSource APIs #2071

Closed
rmartin16 opened this issue Aug 7, 2023 · 1 comment · Fixed by #2025
Closed

Examples do not support new ListSource APIs #2071

rmartin16 opened this issue Aug 7, 2023 · 1 comment · Fixed by #2025
Labels
bug A crash or error in behavior.

Comments

@rmartin16
Copy link
Member

Describe the bug

Several of the example apps are not updated to support the changes to ListSource APIs and crash at startup or while interacting with them.

beeliza/beeliza/app.py:        self.chat.data.append(
detailedlist/detailedlist/app.py:            self.dl.data.insert(index, **item)
detailedlist/app.py:            self.dl.data.append(**item)
table/app.py:        self.table1.data.insert(0, *choice(bee_movies))
tree/tree/app.py:        self.tree.data.append(root, **item)
tree/tree/app.py:        self.decade_1940s = self.tree.data.append(
tree/tree/app.py:        self.decade_1950s = self.tree.data.append(
tree/tree/app.py:        self.decade_1960s = self.tree.data.append(
tree/tree/app.py:        self.decade_1970s = self.tree.data.append(
tree/tree/app.py:        self.decade_1980s = self.tree.data.append(
tree/tree/app.py:        self.decade_1990s = self.tree.data.append(
tree/tree/app.py:        self.decade_2000s = self.tree.data.append(

Steps to reproduce

Run an affected example app.

Expected behavior

The example apps should run properly.

Screenshots

No response

Environment

  • Operating System: pop os 22.04
  • Python version: 3.10.12
  • Software versions:
    • Briefcase: 0.3.16.dev94+gcd4044e2
    • Toga: 0.3.2.dev745+g9a482d3a9

Logs

No response

Additional context

No response

@rmartin16 rmartin16 added the bug A crash or error in behavior. label Aug 7, 2023
@freakboy3742
Copy link
Member

This should be resolved by #2011, #2017 and #2025.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A crash or error in behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants