-
Notifications
You must be signed in to change notification settings - Fork 8
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
gi.repository.GLib.Error: rsvg-error-quark: Error displaying image #12
Comments
There's a typo in the PATH constant, not sure if that contributes to the issue. pukllanapac/PukllanapacActivity.py Line 45 in cef6373
|
Hey, @shaansubbaiah Thanks for noticing! :) |
Something I found out during GCI, might be useful
I have not seen the code now, in case someone would like to start debugging on the same |
@Saumya-Mishra9129 can't reproduce the error on #13, did you get the error there? ;
I did not receive any tracebacks in the logs though |
I havent tested yet, but this was the way I get on master-
|
@srevinsaju I agree with you. This is what I found earlier after searching on google. This is also what I get msys2/MINGW-packages#818 |
@Saumya-Mishra9129 Yes I can reproduce the error on #13 @srevinsaju For your reference try clicking on the game which is selected in this screenshot. If this works for you, then this error may actually be related to rsvg packaging on different linux systems. I had found something related to this while googling, I can't traceback the exact link at the moment. Also, it is likely that I may have misinterpreted the information.
Thanks! While debugging, I checked the file path argument is correct. |
In both cases #10 and #13 there is a commit of running [EDIT]; Related to #12 (comment) For me everything works perfectly except a few
Great @JuiP. This is also seen in sugarlabs/fractionbounce#16, sugarlabs/fractionbounce#15 where similar errors and differences in the tracebacks in mine and @quozl 's might be due to the same reason. Need to bring it to other's view too. Thanks for a possible explanation. On FractionBounce, I was not able to load custom image during GCI and while creating a flatpak due to the same reason; For some reason I were having the same errors, which caused me to hardcode the image binary into the svg file so that that there is no |
@JuiP @Saumya-Mishra9129 Can you tell me if you have the executable rsvg-convert -v |
Thanks, that's interesting. We saw
You might downgrade LibRsvg to check. If you really can't figure it out, then using |
You might also separate the problem from the activity. At the point of the traceback, use a debugger or print to check |
@quozl I tested with debian live build 0.116, both the activities do not work. I am building |
@Saumya-Mishra9129 wow! As mentioned in #12 (comment); it has turned out to be
I am curious about what happens in FractionBounce though, need to check if the same error exists there too. Thanks |
Yeah This helped. Thanks |
Thanks! tested @Saumya-Mishra9129 , it works! ^_^ |
@JuiP in normal cases, open the svg in inkscape, save it, take the diff. The diff will help to find out what change was made by inkscape and will give some clue on how to fix the error. |
Well yes I did the exact same thing before asking about her process, however my git diff didnot show me a change in width like in the commit 46a08e0. Nevermind, the commit works perfectly! |
@JuiP I am not sure if @Saumya-Mishra9129 found the error using inkscape, but this is my diff https://www.diffchecker.com/HQCBo8ab You can see how the width |
It does say |
Hmm, Interestingly, librsvg 2.48 fixed this parsing error, and hence works on |
Yes, that is interesting. It suggests faults in LibRsvg are driving us to make changes. 😁 That's why it is important to get to the bottom of why something doesn't work; don't just accept the behaviour or a fix that seems to work. |
😀 I'm glad my research on the error helped slightly figure out the cause! I was looking at the bugs reported in rsvg packages, the link is for an older version. One such bug reports also mentioned that other person could not reproduce the error, he used a different linux distros and LibRsvg version which I related it with you not being able to reproduce the same error. For your interest, you might have a look at this too |
Today was indeed a |
https://gitlab.gnome.org/GNOME/librsvg may also help, by speed-reading commits between two version tags. |
Getting this error while closing the activity and only after selecting hexagon game. Nothing is displayed after selecting hexagon game and when we click stop it shows keep error.
#11 is a part of this error. We get both error together. It is also mentioned in #10 anyone want to work on issue must look at that pull request first.
The text was updated successfully, but these errors were encountered: