Skip Menu |

This queue is for tickets about the Graphics-Framebuffer CPAN distribution.

Report information
The Basics
Id: 106307
Status: resolved
Worked: 45 min
Priority: 0/
Queue: Graphics-Framebuffer

People
Owner: RKELSCH [...] cpan.org
Requestors: patricia-88 [...] hotmail.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 5.07



Subject: sub load_image
Date: Sat, 8 Aug 2015 18:08:43 +0200
To: "bug-Graphics-Framebuffer [...] rt.cpan.org" <bug-graphics-framebuffer [...] rt.cpan.org>
From: Patricia Bauer <patricia-88 [...] hotmail.de>
Hello, i have a little problem with the load_image function when i want to use. Can't call method "read" on an undefined value at /usr/local/share/perl/5.14.2/Graphics/Framebuffer.pm line 3609. #!/usr/bin/perl use strict; use warnings; use Graphics::Framebuffer; my $fb = Graphics::Framebuffer->new('SPLASH' => 0); $fb->load_image( { 'x' => 20, 'y' => 20, 'width' => 1920, # optional 'height' => 1080, # optional 'file' => '/root/Mystery.jpg' # Needs full path } ); Location of the file must be right . pwd Mystery.jpg shows : /root what I`m doing wrong ??
Subject: Re: [rt.cpan.org #106307] sub load_image
Date: Sat, 8 Aug 2015 10:40:05 -0600
To: bug-Graphics-Framebuffer [...] rt.cpan.org
From: Richard Kelsch <rich [...] rk-internet.com>
Hi Patricia! It has been a while since I have touched that part of the code. Let me see what the problem is, and if it needs a fix, I'll send it to you. Rich On 8/8/15 10:08 AM, Patricia Bauer via RT wrote: Show quoted text
> Sat Aug 08 12:08:53 2015: Request 106307 was acted upon. > Transaction: Ticket created by patricia-88@hotmail.de > Queue: Graphics-Framebuffer > Subject: sub load_image > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: patricia-88@hotmail.de > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > > > > Hello, > > i have a little problem with the load_image function when i want to use. > > Can't call method "read" on an undefined value at /usr/local/share/perl/5.14.2/Graphics/Framebuffer.pm line 3609. > > #!/usr/bin/perl > use strict; > use warnings; > use Graphics::Framebuffer; > > > my $fb = Graphics::Framebuffer->new('SPLASH' => 0); > > > $fb->load_image( > { > 'x' => 20, > 'y' => 20, > 'width' => 1920, # optional > 'height' => 1080, # optional > 'file' => '/root/Mystery.jpg' # Needs full path > } > ); > > > Location of the file must be right . > > > > pwd Mystery.jpg shows : > > /root > > what I`m doing wrong ?? > > >
Version 5.05 should fix this issue. On Sat Aug 08 12:08:53 2015, patricia-88@hotmail.de wrote: Show quoted text
> Hello, > > i have a little problem with the load_image function when i want to > use. > > Can't call method "read" on an undefined value at > /usr/local/share/perl/5.14.2/Graphics/Framebuffer.pm line 3609. > > #!/usr/bin/perl > use strict; > use warnings; > use Graphics::Framebuffer; > > > my $fb = Graphics::Framebuffer->new('SPLASH' => 0); > > > $fb->load_image( > { > 'x' => 20, > 'y' => 20, > 'width' => 1920, # optional > 'height' => 1080, # optional > 'file' => '/root/Mystery.jpg' # Needs full path > } > ); > > > Location of the file must be right . > > > > pwd Mystery.jpg shows : > > /root > > what I`m doing wrong ?? > > >
Subject: AW: [rt.cpan.org #106307] sub load_image
Date: Sat, 8 Aug 2015 21:08:37 +0200
To: <bug-Graphics-Framebuffer [...] rt.cpan.org>
From: Patricia Bauer <patricia-88 [...] hotmail.de>
The error is now disappeared, but it show's no picture on the display. Show quoted text
--- Ursprüngliche Nachricht --- Von: "Richard Kelsch via RT" <bug-Graphics-Framebuffer@rt.cpan.org> Gesendet: 8. August 2015 20:20 An: patricia-88@hotmail.de Betreff: [rt.cpan.org #106307] sub load_image <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > Version 5.05 should fix this issue. On Sat Aug 08 12:08:53 2015, patricia-88@hotmail.de wrote:
> Hello, > > i have a little problem with the load_image function when i want to > use. > > Can't call method "read" on an undefined value at > /usr/local/share/perl/5.14.2/Graphics/Framebuffer.pm line 3609. > > #!/usr/bin/perl > use strict; > use warnings; > use Graphics::Framebuffer; > > > my $fb = Graphics::Framebuffer->new('SPLASH' => 0); > > > $fb->load_image( > { > 'x' => 20, > 'y' => 20, > 'width' => 1920, # optional > 'height' => 1080, # optional > 'file' => '/root/Mystery.jpg' # Needs full path > } > ); > > > Location of the file must be right . > > > > pwd Mystery.jpg shows : > > /root > > what I`m doing wrong ?? > > >
Subject: Re: AW: [rt.cpan.org #106307] sub load_image
Date: Sat, 8 Aug 2015 13:18:10 -0600
To: bug-Graphics-Framebuffer [...] rt.cpan.org
From: Richard Kelsch <rich [...] rk-internet.com>
Try this: $fb->blit_write( $fb->load_image( { 'x' => 0, 'y' => 0, 'file' => '/root/Mystery.jpg' } ) ); On 8/8/15 1:15 PM, Patricia Bauer via RT wrote: Show quoted text
> Queue: Graphics-Framebuffer > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > > > The error is now disappeared, but it show's no picture on the display. > > --- Ursprüngliche Nachricht --- > > Von: "Richard Kelsch via RT" <bug-Graphics-Framebuffer@rt.cpan.org> > Gesendet: 8. August 2015 20:20 > An: patricia-88@hotmail.de > Betreff: [rt.cpan.org #106307] sub load_image > > <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > > > Version 5.05 should fix this issue. > > On Sat Aug 08 12:08:53 2015, patricia-88@hotmail.de wrote:
>> Hello, >> >> i have a little problem with the load_image function when i want to >> use. >> >> Can't call method "read" on an undefined value at >> /usr/local/share/perl/5.14.2/Graphics/Framebuffer.pm line 3609. >> >> #!/usr/bin/perl >> use strict; >> use warnings; >> use Graphics::Framebuffer; >> >> >> my $fb = Graphics::Framebuffer->new('SPLASH' => 0); >> >> >> $fb->load_image( >> { >> 'x' => 20, >> 'y' => 20, >> 'width' => 1920, # optional >> 'height' => 1080, # optional >> 'file' => '/root/Mystery.jpg' # Needs full path >> } >> ); >> >> >> Location of the file must be right . >> >> >> >> pwd Mystery.jpg shows : >> >> /root >> >> what I`m doing wrong ?? >> >> >>
> >
Subject: RE: AW: [rt.cpan.org #106307] sub load_image
Date: Sat, 8 Aug 2015 21:50:22 +0200
To: "bug-Graphics-Framebuffer [...] rt.cpan.org" <bug-graphics-framebuffer [...] rt.cpan.org>
From: Patricia Bauer <patricia-88 [...] hotmail.de>
Thanks a lot for your work , now it shows a picture but its distorted . I use a ssd1331 oled with 16 bits could this be a problem ? Show quoted text
> Subject: Re: AW: [rt.cpan.org #106307] sub load_image > From: bug-Graphics-Framebuffer@rt.cpan.org > To: patricia-88@hotmail.de > Date: Sat, 8 Aug 2015 15:18:32 -0400 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > > > Try this: > > $fb->blit_write( > $fb->load_image( > { > 'x' => 0, > 'y' => 0, > 'file' => '/root/Mystery.jpg' > } > ) > ); > > > > On 8/8/15 1:15 PM, Patricia Bauer via RT wrote:
> > Queue: Graphics-Framebuffer > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > > > > > The error is now disappeared, but it show's no picture on the display. > > > > --- Ursprüngliche Nachricht --- > > > > Von: "Richard Kelsch via RT" <bug-Graphics-Framebuffer@rt.cpan.org> > > Gesendet: 8. August 2015 20:20 > > An: patricia-88@hotmail.de > > Betreff: [rt.cpan.org #106307] sub load_image > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > > > > > Version 5.05 should fix this issue. > > > > On Sat Aug 08 12:08:53 2015, patricia-88@hotmail.de wrote:
> >> Hello, > >> > >> i have a little problem with the load_image function when i want to > >> use. > >> > >> Can't call method "read" on an undefined value at > >> /usr/local/share/perl/5.14.2/Graphics/Framebuffer.pm line 3609. > >> > >> #!/usr/bin/perl > >> use strict; > >> use warnings; > >> use Graphics::Framebuffer; > >> > >> > >> my $fb = Graphics::Framebuffer->new('SPLASH' => 0); > >> > >> > >> $fb->load_image( > >> { > >> 'x' => 20, > >> 'y' => 20, > >> 'width' => 1920, # optional > >> 'height' => 1080, # optional > >> 'file' => '/root/Mystery.jpg' # Needs full path > >> } > >> ); > >> > >> > >> Location of the file must be right . > >> > >> > >> > >> pwd Mystery.jpg shows : > >> > >> /root > >> > >> what I`m doing wrong ?? > >> > >> > >>
> > > >
> >
Download Riddle.zip
application/zip 3.7m

Message body not shown because it is not plain text.

Subject: Re: AW: [rt.cpan.org #106307] sub load_image
Date: Sat, 8 Aug 2015 13:52:57 -0600
To: bug-Graphics-Framebuffer [...] rt.cpan.org
From: Richard Kelsch <rich [...] rk-internet.com>
AAAH!! 16 bits... Give me some more time. I only fixed the 32 bit stuff. I'll have it working for you soon. On 8/8/15 1:51 PM, Patricia Bauer via RT wrote: Show quoted text
> Queue: Graphics-Framebuffer > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > > > Thanks a lot for your work , now it shows a picture but its distorted . > > I use a ssd1331 oled with 16 bits could this be a problem ? >
>> Subject: Re: AW: [rt.cpan.org #106307] sub load_image >> From: bug-Graphics-Framebuffer@rt.cpan.org >> To: patricia-88@hotmail.de >> Date: Sat, 8 Aug 2015 15:18:32 -0400 >> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > >> >> Try this: >> >> $fb->blit_write( >> $fb->load_image( >> { >> 'x' => 0, >> 'y' => 0, >> 'file' => '/root/Mystery.jpg' >> } >> ) >> ); >> >> >> >> On 8/8/15 1:15 PM, Patricia Bauer via RT wrote:
>>> Queue: Graphics-Framebuffer >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > >>> >>> The error is now disappeared, but it show's no picture on the display. >>> >>> --- Ursprüngliche Nachricht --- >>> >>> Von: "Richard Kelsch via RT" <bug-Graphics-Framebuffer@rt.cpan.org> >>> Gesendet: 8. August 2015 20:20 >>> An: patricia-88@hotmail.de >>> Betreff: [rt.cpan.org #106307] sub load_image >>> >>> <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > >>> >>> Version 5.05 should fix this issue. >>> >>> On Sat Aug 08 12:08:53 2015, patricia-88@hotmail.de wrote:
>>>> Hello, >>>> >>>> i have a little problem with the load_image function when i want to >>>> use. >>>> >>>> Can't call method "read" on an undefined value at >>>> /usr/local/share/perl/5.14.2/Graphics/Framebuffer.pm line 3609. >>>> >>>> #!/usr/bin/perl >>>> use strict; >>>> use warnings; >>>> use Graphics::Framebuffer; >>>> >>>> >>>> my $fb = Graphics::Framebuffer->new('SPLASH' => 0); >>>> >>>> >>>> $fb->load_image( >>>> { >>>> 'x' => 20, >>>> 'y' => 20, >>>> 'width' => 1920, # optional >>>> 'height' => 1080, # optional >>>> 'file' => '/root/Mystery.jpg' # Needs full path >>>> } >>>> ); >>>> >>>> >>>> Location of the file must be right . >>>> >>>> >>>> >>>> pwd Mystery.jpg shows : >>>> >>>> /root >>>> >>>> what I`m doing wrong ?? >>>> >>>> >>>>
>>>
>>
>
Subject: Re: AW: [rt.cpan.org #106307] sub load_image
Date: Sat, 8 Aug 2015 15:41:33 -0600
To: bug-Graphics-Framebuffer [...] rt.cpan.org
From: Richard Kelsch <rich [...] rk-internet.com>
Version 5.07 should work for you now. On 8/8/15 1:53 PM, Richard Kelsch via RT wrote: Show quoted text
> Queue: Graphics-Framebuffer > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > > > AAAH!! 16 bits... Give me some more time. I only fixed the 32 bit > stuff. I'll have it working for you soon. > > > On 8/8/15 1:51 PM, Patricia Bauer via RT wrote:
>> Queue: Graphics-Framebuffer >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > >> >> Thanks a lot for your work , now it shows a picture but its distorted . >> >> I use a ssd1331 oled with 16 bits could this be a problem ? >>
>>> Subject: Re: AW: [rt.cpan.org #106307] sub load_image >>> From: bug-Graphics-Framebuffer@rt.cpan.org >>> To: patricia-88@hotmail.de >>> Date: Sat, 8 Aug 2015 15:18:32 -0400 >>> >>> <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > >>> >>> Try this: >>> >>> $fb->blit_write( >>> $fb->load_image( >>> { >>> 'x' => 0, >>> 'y' => 0, >>> 'file' => '/root/Mystery.jpg' >>> } >>> ) >>> ); >>> >>> >>> >>> On 8/8/15 1:15 PM, Patricia Bauer via RT wrote:
>>>> Queue: Graphics-Framebuffer >>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > >>>> >>>> The error is now disappeared, but it show's no picture on the display. >>>> >>>> --- Ursprüngliche Nachricht --- >>>> >>>> Von: "Richard Kelsch via RT" <bug-Graphics-Framebuffer@rt.cpan.org> >>>> Gesendet: 8. August 2015 20:20 >>>> An: patricia-88@hotmail.de >>>> Betreff: [rt.cpan.org #106307] sub load_image >>>> >>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=106307 > >>>> >>>> Version 5.05 should fix this issue. >>>> >>>> On Sat Aug 08 12:08:53 2015, patricia-88@hotmail.de wrote:
>>>>> Hello, >>>>> >>>>> i have a little problem with the load_image function when i want to >>>>> use. >>>>> >>>>> Can't call method "read" on an undefined value at >>>>> /usr/local/share/perl/5.14.2/Graphics/Framebuffer.pm line 3609. >>>>> >>>>> #!/usr/bin/perl >>>>> use strict; >>>>> use warnings; >>>>> use Graphics::Framebuffer; >>>>> >>>>> >>>>> my $fb = Graphics::Framebuffer->new('SPLASH' => 0); >>>>> >>>>> >>>>> $fb->load_image( >>>>> { >>>>> 'x' => 20, >>>>> 'y' => 20, >>>>> 'width' => 1920, # optional >>>>> 'height' => 1080, # optional >>>>> 'file' => '/root/Mystery.jpg' # Needs full path >>>>> } >>>>> ); >>>>> >>>>> >>>>> Location of the file must be right . >>>>> >>>>> >>>>> >>>>> pwd Mystery.jpg shows : >>>>> >>>>> /root >>>>> >>>>> what I`m doing wrong ?? >>>>> >>>>> >>>>>
>>
>
Fixed back in 5.07.