Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Annotating fails when '@' is first character #59

Open
VxJasonxV opened this Issue · 1 comment

1 participant

Jason Salaz
Jason Salaz

I had a script in use for years that would record data from Last.fm, and build an image out of various song information.

Some time ago, on the order of months, this script would keep showing the current song being played, but would simply stop working when showing historical playback data.

After poking around, it appears that this was due to a leading @ character when using the annotate method. The rest of the data following the at-symbol does not appear to have any affect.

When invoked, Ruby would return this information:

bin/lastfmsig.rb:14:in `annotate': no text (ArgumentError)
        from bin/lastfmsig.rb:14:in `text'
        from bin/lastfmsig.rb:42
        from bin/lastfmsig.rb:37:in `each'
        from bin/lastfmsig.rb:37

shell returned 1

Changing the first three characters to be " @ " (space-at-space, really any character leading besides @) appears to have fixed this issue.

Jason Salaz

This is running on a 64-bit Gentoo Virtual Server.

RMagick is version 2.13.1
ImageMagick is version 6.7.8

Benjamin Fleischer bf4 referenced this issue in gemhome/rmagick
Open

Annotating fails when '@' is first character #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.