Closed shula closed 3 months ago
Thanks for reporting this; looks like some recent changes introduced issues in this example app.
For the time being, if you run git checkout v0.4.5
, the example apps should run without error.
To be clear - are you using Toga 0.4.5, or the current main branch? We've recently made some fairly major changes to dialogs, and the example code on main has been updated to use the new APIs; but the new API won't work with the current 0.4.5 release. The .dialog
attribute is the new API.
You need to install the version of Toga that matches the example code you're running. If you select the 0.4.5 branch in GitHub, you can see the older dialog example code; or, you can follow the instructions in the developer guide for how to install the development version.
ah, of course...in my case, anyway, I thought I had editable versions of Toga installed....but I did not; so, -r
strikes again :)
ah, of course...in my case, anyway, I thought I had editable versions of Toga installed....but I did not; so,
-r
strikes again :)
i don't understand your reply (it's sounds interesting, but i guess it's off topic).
@freakboy3742
you're right: my bug report wasn't accurate;
apparently i got the examples out of the main branch,
but I installed via pip (which got me v0.4.5)
Describe the bug
trying to run the dialog example , almost all of the events there throw this exception (even Close, File > close)
Steps to reproduce
main window is showing, so far.
Expected behavior
run without exceptions :)
Screenshots
No response
Environment
Logs
Additional context
No response