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

Annoying extra output when tests are failing #4978

Open
2 tasks done
Jacalz opened this issue Jun 25, 2024 · 0 comments
Open
2 tasks done

Annoying extra output when tests are failing #4978

Jacalz opened this issue Jun 25, 2024 · 0 comments
Labels
bug Something isn't working testing Issues related to tests and testing.

Comments

@Jacalz
Copy link
Member

Jacalz commented Jun 25, 2024

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

This has been a problem for as long as I can remember but it is time to finally write it down.
When you get a test that fails, you get a lot of other errors that bubble up and make the output more confusing and harder to read. It would be nice if this could be fixed.

2024/06/25 20:28:44 Fyne error:  Missing UpdateCell callback required for List
2024/06/25 20:28:44   At: /var/home/jacob/git/fyne/widget/list.go:686
2024/06/25 20:28:44 Fyne error:  Missing UpdateCell callback required for List
2024/06/25 20:28:44   At: /var/home/jacob/git/fyne/widget/list.go:686
2024/06/25 20:28:44 Fyne error:  Missing UpdateCell callback required for List
2024/06/25 20:28:44   At: /var/home/jacob/git/fyne/widget/list.go:686
2024/06/25 20:28:44 Fyne error:  Missing UpdateCell callback required for List
2024/06/25 20:28:44   At: /var/home/jacob/git/fyne/widget/list.go:686
2024/06/25 20:28:44 Fyne error:  Missing UpdateCell callback required for List
2024/06/25 20:28:44   At: /var/home/jacob/git/fyne/widget/list.go:686
2024/06/25 20:28:44 Fyne error:  Failed to load image
2024/06/25 20:28:44   Cause: open ../../theme/icons/fyne.png: no such file or directory
2024/06/25 20:28:44   At: /var/home/jacob/git/fyne/canvas/image.go:122
2024/06/25 20:28:44 Fyne error:  Failed to load image
2024/06/25 20:28:44   Cause: open ../../theme/icons/fyne.png: no such file or directory
2024/06/25 20:28:44   At: /var/home/jacob/git/fyne/canvas/image.go:122
2024/06/25 20:28:45 Fyne error:  Missing CreateCell callback required for Table
2024/06/25 20:28:45   At: /var/home/jacob/git/fyne/widget/table.go:792
2024/06/25 20:28:45 Fyne error:  Missing Length callback required for Table
2024/06/25 20:28:45   At: /var/home/jacob/git/fyne/widget/table.go:1204
2024/06/25 20:28:45 Fyne error:  Missing UpdateCell callback required for Table
2024/06/25 20:28:45   At: /var/home/jacob/git/fyne/widget/table.go:1268
2024/06/25 20:28:45 Fyne error:  Missing Length callback required for Table
2024/06/25 20:28:45   At: /var/home/jacob/git/fyne/widget/table.go:1204
2024/06/25 20:28:45 Fyne error:  Missing Length callback required for Table
2024/06/25 20:28:45   At: /var/home/jacob/git/fyne/widget/table.go:1204
2024/06/25 20:28:45 Fyne error:  Missing UpdateCell callback required for Table
2024/06/25 20:28:45   At: /var/home/jacob/git/fyne/widget/table.go:1268
2024/06/25 20:28:45 Fyne error:  Missing UpdateCell callback required for Table
2024/06/25 20:28:45   At: /var/home/jacob/git/fyne/widget/table.go:1268
2024/06/25 20:28:48 Fyne error:  Entry cannot wrap single line
2024/06/25 20:28:48   At: /var/home/jacob/git/fyne/widget/entry.go:1467
2024/06/25 20:28:48 Fyne error:  Entry cannot wrap single line
2024/06/25 20:28:48   At: /var/home/jacob/git/fyne/widget/entry.go:1467
2024/06/25 20:28:48 Fyne error:  Entry cannot wrap single line
2024/06/25 20:28:48   At: /var/home/jacob/git/fyne/widget/entry.go:1467

How to reproduce

  1. Make a test fail. Something like images maybe?
  2. Notice many unrelated errors showing up.

Screenshots

No response

Example code

Related to tests. See above.

Fyne version

v2.4.5

Go compiler version

1.22.4

Operating system and version

Fedora Silverblue 40

Additional Information

No response

@Jacalz Jacalz added bug Something isn't working testing Issues related to tests and testing. labels Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing Issues related to tests and testing.
Projects
None yet
Development

No branches or pull requests

1 participant