So, I think I know what the problem was, and I think this may help others.
In an app like this:
Shoes.app do
stack do
image "http://example.com/garbage.png"
click { info 'cliqued !' }
end
para "This won't show up!"
end
wherein, for whatever reason the image fails to load (in this case,
it's not a real png), not only does the click listener not work, but
the application stops rendering. This only happens the first time you
run the app, because next time the URL will be in the shoes image
cache database (even though no file will be), and the image will just
fail to load properly.
On Fri, Nov 14, 2008 at 15:38, Alexander Rakoczy <[EMAIL PROTECTED]> wrote:
> Hello,
> I seem to be experiencing a problem in shoes (raisins and HEAD from
> github). If an invalid image is loaded (say from a URL that points to
> an image that doesn't exist, or something of the sort), and it is
> invalid, shoes correctly raises the error "Couldn't Load
> /tmp/blah.jpg, is the file a valid .jpg?" error. Unfortunately, it
> seems to completely halt rendering at that point, which isn't so
> great.
>
> In my terminal (not the shoes log) I see a lot of "Cairo is unhappy:
> invalid matrix (not invertible)" messages. Is this from the shoes
> blank image not being a valid cairo surface?
>
> Is there a workaround I can do for this?
>
> Thanks a lot,
> Alex
>
> --
> alexander rakoczy | jerkface extraordinaire | http://www.arakoczy.com
>
--
alexander rakoczy | jerkface extraordinaire | http://www.arakoczy.com