Skip Menu |

This queue is for tickets about the Term-Menus CPAN distribution.

Report information
The Basics
Id: 84173
Status: resolved
Worked: 4 hours (240 min)
Priority: 0/
Queue: Term-Menus

People
Owner: Brian.Kelly [...] fullautosoftware.net
Requestors: 2jb [...] gmx.de
Cc:
AdminCc:

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



Subject: critical bug
Date: Sun, 24 Mar 2013 06:07:02 +0100 (CET)
To: bug-Term-Menus [...] rt.cpan.org
From: "Jürgen Brunk" <2jb [...] gmx.de>
Hi Brian
 
First I want to thank you for your work on this great module Term::Menus.
It think I've run in the same error like discripted in reported bug #72041 and, sorry for that, still can't find a solution. 
 
Problem:  Got a "FATAL ERROR" when try to run a subroutine from a Result statement.
 
Code:
%Menu_4 = (       Label    => 'Menu_4',       Item_1   => {       Text     =>       ']Previous[: ]Convey[',       Convey   =>       [ &get_all_emerg_tasks() ],       Result   =>       "&do_deployment(  ]Previous[{Menu_1},  ]P[,  ]Selected[  )",    },
   Banner   => '   Please select a emergency task:' );
 
 sub do_deployment {    print "We will deploy $_[0], $_[1] to $_[2]\n" }
 
Error Message:
Hexadecimal number > 0xffffffff non-portable at (eval 122) line 1. Bareword found where operator expected at (eval 122) line 1, near "0x7fc5ca97bb::do_deployment"     (Missing operator before ::do_deployment?) Bareword found where operator expected at (eval 122) line 1, near "]Previous"     (Missing operator before Previous?) Bareword found where operator expected at (eval 122) line 1, near "]P"     (Missing operator before P?) Bareword found where operator expected at (eval 122) line 1, near "]Selected"     (Missing operator before Selected?)
       FATAL ERROR! - The Local System harley.fritz.box Conveyed               the Following Unrecoverable Error Condition :
       Undefined subroutine &Net::FullAuto::FA_Core::handle_error called at /....../perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/Menus.pm line 4903.
       line 4922 at /......../perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/Menus.pm line 4935.
 
Environment:
Term::Menu Version 2.25
perl-5.10.1 on OSX (10.8.2)
Many thanks in advance for you effort and patient.
 
Jürgen B.
Subject: Re: [rt.cpan.org #84173] critical bug
Date: Sun, 24 Mar 2013 10:30:55 -0500 (GMT-05:00)
To: bug-Term-Menus [...] rt.cpan.org, undisclosed-recipients [...] null, null [...] null
From: Brian Kelly <reedfish [...] ix.netcom.com>
Hello Jürgen, Thank you for the postive feedback. I'm glad the module is useful to you. Try putting escaped quotes around the macros you are using as the &do_deployment parameters. Result => "&do_deployment( \"]Previous[{Menu_1}\", \"]P[\", \"]Selected[\" )", Let me know if that works for you? Thank you, Brian Kelly Show quoted text
-----Original Message-----
>From: Jürgen Brunk via RT <bug-Term-Menus@rt.cpan.org> >Sent: Mar 24, 2013 12:07 AM >To: undisclosed-recipients@null, null@null >Subject: [rt.cpan.org #84173] critical bug > >Sun Mar 24 01:07:15 2013: Request 84173 was acted upon. >Transaction: Ticket created by 2jb@gmx.de > Queue: Term-Menus > Subject: critical bug > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: 2jb@gmx.de > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=84173 > > > >Hi Brian First I want to thank you for your work on this great module >Term::Menus.It think I've run in the same error like discripted in reported bug >#72041 and, sorry for that, still can't find a solution. Problem: Got a "FATAL >ERROR" when try to run a subroutine from a Result statement. Code:%Menu_4 = ( >Label => 'Menu_4', >Item_1 => { >Text => ']Previous[: ]Convey[', >Convey => [ &get_all_emerg_tasks() ], >Result => "&do_deployment( ]Previous[{Menu_1}, ]P[, ]Selected[ )", >}, Banner => ' Please select a emergency task:' >); sub do_deployment { >print "We will deploy $_[0], $_[1] to $_[2]\n" >} Error Message:Hexadecimal number > 0xffffffff non-portable at (eval 122) line >1. >Bareword found where operator expected at (eval 122) line 1, near >"0x7fc5ca97bb::do_deployment" >(Missing operator before ::do_deployment?) >Bareword found where operator expected at (eval 122) line 1, near "]Previous" >(Missing operator before Previous?) >Bareword found where operator expected at (eval 122) line 1, near "]P" >(Missing operator before P?) >Bareword found where operator expected at (eval 122) line 1, near "]Selected" >(Missing operator before Selected?) FATAL ERROR! - The Local System >harley.fritz.box Conveyed >the Following Unrecoverable Error Condition : Undefined subroutine >&Net::FullAuto::FA_Core::handle_error called at >/....../perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/Menus.pm >line 4903. line 4922 at >/......../perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/Menus.pm >line 4935. Environment:Term::Menu Version 2.25perl-5.10.1 on OSX (10.8.2) >Many thanks in advance for you effort and patient. Jürgen B. >
Subject: Re: [rt.cpan.org #84173] critical bug
Date: Sun, 24 Mar 2013 17:18:00 +0000
To: "bug-Term-Menus [...] rt.cpan.org" <bug-Term-Menus [...] rt.cpan.org>
From: Juergen Brunk <Juergen.Brunk [...] osys.ch>
Hi Brian Many thanks for you fast response Š but unfortunately it doesn't work. See the error below: Error: Hexadecimal number > 0xffffffff non-portable at (eval 122) line 1. Bareword found where operator expected at (eval 122) line 1, near "0x7fa32097e7::do_deployment" (Missing operator before ::do_deployment?) FATAL ERROR! - The Local System harley.fritz.box Conveyed the Following Unrecoverable Error Condition : Undefined subroutine &Net::FullAuto::FA_Core::handle_error called at /Users/jbrunk/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/Me nus.pm line 4903. line 4922 at /Users/jbrunk/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/Me nus.pm line 4935. ------------ I really appreciate your support and your effort Š hope you have another idea what the root cause could be. Kind Regards Jürgen Am 24.03.13 16:31 schrieb "Brian Kelly via RT" unter <bug-Term-Menus@rt.cpan.org>: Show quoted text
><URL: https://rt.cpan.org/Ticket/Display.html?id=84173 > > >Hello Jürgen, > >Thank you for the postive feedback. I'm glad the module is useful to you. > >Try putting escaped quotes around the macros you are using as the >&do_deployment parameters. > > Result => "&do_deployment( \"]Previous[{Menu_1}\", \"]P[\", >\"]Selected[\" )", > >Let me know if that works for you? > >Thank you, >Brian Kelly > > >-----Original Message-----
>>From: Jürgen Brunk via RT <bug-Term-Menus@rt.cpan.org> >>Sent: Mar 24, 2013 12:07 AM >>To: undisclosed-recipients@null, null@null >>Subject: [rt.cpan.org #84173] critical bug >> >>Sun Mar 24 01:07:15 2013: Request 84173 was acted upon. >>Transaction: Ticket created by 2jb@gmx.de >> Queue: Term-Menus >> Subject: critical bug >> Broken in: (no value) >> Severity: (no value) >> Owner: Nobody >> Requestors: 2jb@gmx.de >> Status: new >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=84173 > >> >> >>Hi Brian First I want to thank you for your work on this great module >>Term::Menus.It think I've run in the same error like discripted in >>reported bug >>#72041 and, sorry for that, still can't find a solution. Problem: Got a >>"FATAL >>ERROR" when try to run a subroutine from a Result statement. >>Code:%Menu_4 = ( >>Label => 'Menu_4', >>Item_1 => { >>Text => ']Previous[: ]Convey[', >>Convey => [ &get_all_emerg_tasks() ], >>Result => "&do_deployment( ]Previous[{Menu_1}, ]P[, ]Selected[ )", >>}, Banner => ' Please select a emergency task:' >>); sub do_deployment { >>print "We will deploy $_[0], $_[1] to $_[2]\n" >>} Error Message:Hexadecimal number > 0xffffffff non-portable at (eval >>122) line >>1. >>Bareword found where operator expected at (eval 122) line 1, near >>"0x7fc5ca97bb::do_deployment" >>(Missing operator before ::do_deployment?) >>Bareword found where operator expected at (eval 122) line 1, near >>"]Previous" >>(Missing operator before Previous?) >>Bareword found where operator expected at (eval 122) line 1, near "]P" >>(Missing operator before P?) >>Bareword found where operator expected at (eval 122) line 1, near >>"]Selected" >>(Missing operator before Selected?) FATAL ERROR! - The Local System >>harley.fritz.box Conveyed >>the Following Unrecoverable Error Condition : Undefined subroutine >>&Net::FullAuto::FA_Core::handle_error called at >>/....../perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/Menus. >>pm >>line 4903. line 4922 at >>/......../perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/Menu >>s.pm >>line 4935. Environment:Term::Menu Version 2.25perl-5.10.1 on OSX (10.8.2) >>Many thanks in advance for you effort and patient. Jürgen B. >>
> >
Subject: Re: [rt.cpan.org #84173] critical bug
Date: Thu, 28 Mar 2013 17:46:25 +0000
To: "bug-Term-Menus [...] rt.cpan.org" <bug-Term-Menus [...] rt.cpan.org>
From: Juergen Brunk <Juergen.Brunk [...] osys.ch>
Hi Brian Sorry for annoying ... but any News in this case? Looking forward to hear from you. Kind Regards Jürgen Am 24.03.13 18:18 schrieb "Juergen Brunk via RT" unter <bug-Term-Menus@rt.cpan.org>: Show quoted text
><URL: https://rt.cpan.org/Ticket/Display.html?id=84173 > > >Hi Brian > >Many thanks for you fast response Š but unfortunately it doesn't work. See >the error below: > >Error: >Hexadecimal number > 0xffffffff non-portable at (eval 122) line 1. >Bareword found where operator expected at (eval 122) line 1, near >"0x7fa32097e7::do_deployment" > (Missing operator before ::do_deployment?) > > FATAL ERROR! - The Local System harley.fritz.box Conveyed > the Following Unrecoverable Error Condition : > > Undefined subroutine &Net::FullAuto::FA_Core::handle_error called >at >/Users/jbrunk/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/M >e >nus.pm line 4903. > > line 4922 at >/Users/jbrunk/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/M >e >nus.pm line 4935. >------------ > > >I really appreciate your support and your effort Š hope you have another >idea what the root cause could be. > >Kind Regards >Jürgen > > > > >Am 24.03.13 16:31 schrieb "Brian Kelly via RT" unter ><bug-Term-Menus@rt.cpan.org>: >
>><URL: https://rt.cpan.org/Ticket/Display.html?id=84173 > >> >>Hello Jürgen, >> >>Thank you for the postive feedback. I'm glad the module is useful to you. >> >>Try putting escaped quotes around the macros you are using as the >>&do_deployment parameters. >> >> Result => "&do_deployment( \"]Previous[{Menu_1}\", \"]P[\", >>\"]Selected[\" )", >> >>Let me know if that works for you? >> >>Thank you, >>Brian Kelly >> >> >>-----Original Message-----
>>>From: Jürgen Brunk via RT <bug-Term-Menus@rt.cpan.org> >>>Sent: Mar 24, 2013 12:07 AM >>>To: undisclosed-recipients@null, null@null >>>Subject: [rt.cpan.org #84173] critical bug >>> >>>Sun Mar 24 01:07:15 2013: Request 84173 was acted upon. >>>Transaction: Ticket created by 2jb@gmx.de >>> Queue: Term-Menus >>> Subject: critical bug >>> Broken in: (no value) >>> Severity: (no value) >>> Owner: Nobody >>> Requestors: 2jb@gmx.de >>> Status: new >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=84173 > >>> >>> >>>Hi Brian First I want to thank you for your work on this great module >>>Term::Menus.It think I've run in the same error like discripted in >>>reported bug >>>#72041 and, sorry for that, still can't find a solution. Problem: Got a >>>"FATAL >>>ERROR" when try to run a subroutine from a Result statement. >>>Code:%Menu_4 = ( >>>Label => 'Menu_4', >>>Item_1 => { >>>Text => ']Previous[: ]Convey[', >>>Convey => [ &get_all_emerg_tasks() ], >>>Result => "&do_deployment( ]Previous[{Menu_1}, ]P[, ]Selected[ )", >>>}, Banner => ' Please select a emergency task:' >>>); sub do_deployment { >>>print "We will deploy $_[0], $_[1] to $_[2]\n" >>>} Error Message:Hexadecimal number > 0xffffffff non-portable at (eval >>>122) line >>>1. >>>Bareword found where operator expected at (eval 122) line 1, near >>>"0x7fc5ca97bb::do_deployment" >>>(Missing operator before ::do_deployment?) >>>Bareword found where operator expected at (eval 122) line 1, near >>>"]Previous" >>>(Missing operator before Previous?) >>>Bareword found where operator expected at (eval 122) line 1, near "]P" >>>(Missing operator before P?) >>>Bareword found where operator expected at (eval 122) line 1, near >>>"]Selected" >>>(Missing operator before Selected?) FATAL ERROR! - The Local System >>>harley.fritz.box Conveyed >>>the Following Unrecoverable Error Condition : Undefined subroutine >>>&Net::FullAuto::FA_Core::handle_error called at >>>/....../perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/Menus >>>. >>>pm >>>line 4903. line 4922 at >>>/......../perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Term/Men >>>u >>>s.pm >>>line 4935. Environment:Term::Menu Version 2.25perl-5.10.1 on OSX >>>(10.8.2) >>>Many thanks in advance for you effort and patient. Jürgen B. >>>
>> >>
> >
This is resolved. Thank you for your ticket submission.