-
Notifications
You must be signed in to change notification settings - Fork 26
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/09-toolbar.raku failed and 11,15,16 also #112
Comments
Hi @vincentaxhe . GTK is very sensitive to the OS you are using. Are you using a Linux OS or Windows? |
TL;DR This commit changed an element of this package's API and broke the example which relied on the API as it had been. Disclaimer: I barely know anything about this module beyond that it exists, that I recall paying attention to it once or twice over the last 8 years, and that I have just read the code relevant to the back trace of the error message provided by @vincentaxhe. I have not looked at the other examples. I have not run any code. I think, and am confident that:
According to GH's Blame feature, this code from the example:
was written 8 years ago. That code is guaranteed to generate an error with a message along the lines shown by @vincentaxhe if run using this repo's The code to "blame" is this commit made 2 years ago ("Make the Hash checking logic work again for %hashes"). It changed the More specifically, the commit added another
Next, this code from the same
executes the
which fails to spot that Hence the error message. PS. I suggest opening a new issue saying something like the following as part of closing this issue:
|
I'm using arch package 'gtk3 1:3.24.43-4' |
@vincentaxhe Thank you for clarifying. @raiph ++++ for the analysis. I will look to fix the problem, and see how to add the examples to an |
one more thing about limitations, hope to expound the gap and why, and further plan, it's a bit vague, one may wonder is it better implemented by python or not. Or raku indeed have an advantage to wrap libs. |
@vincentaxhe The limitations are due to (a) the number of people working on this module, (b) the existence of GTK-4. Its probably more productive to get a GTK-4 version working, with more automatic wrapping of the underlying widgets. The people who have worked on this module, like myself (I took over the maintenance), have extended it to their own needs, rather than creating an exhaustive implementation |
Preamble and ApologyAs the author of the offending commit, I apologize for this unexpected outcome. I actually spent a fair amount of time around that commit ensuring that the GH Actions were working properly, so I feel fairly confident in saying that I wouldn't have merged that change if this example (or an equivalent usaged) had been part of the test suite. That doesn't undo the damage of mismatched expectations.
|
@ab5tract I was just coming back to look at this code, so I think it is almost a miracle you appeared in time to fix it. |
Happy to know the developers of this project face up to the future development, hope there will be a Raku's way. |
@finalist Thank you for mentioning it: "A sort of halfway-point exists in @MARTIMM's incredibly comprehensive Gnome-Gtk3 bindings, which are as noteworthy for their wide coverage of GTK3 as they are for also being hand-rolled.". The distros are partially generated from the C-sources of Gnome and then adjusted by hand for code, tests, and documentation. The distros are now tagged with |
error log
The text was updated successfully, but these errors were encountered: