Skip Menu |

This queue is for tickets about the MMS-Parser CPAN distribution.

Report information
The Basics
Id: 91668
Status: rejected
Priority: 0/
Queue: MMS-Parser

People
Owner: Nobody in particular
Requestors: christian [...] solvare.se
Cc:
AdminCc:

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



Subject: Cannot parse message from modem
Date: Thu, 26 Dec 2013 11:28:42 +0100
To: bug-MMS-Parser [...] rt.cpan.org
From: Christian Huldt <christian [...] solvare.se>
I'm trying to dechiffre a message from a modem (expecting to get a URL or something) like this: ############# use MMS::Parser; use Data::Dumper; my $message = <>; my $parser = MMS::Parser->create(); my $parsed = $parser->CONTENT($message); Dumper($parsed); ############## but only get this: Unknown starting rule (Parse::RecDescent::MMS::Parser::WorkHorse::CONTENT) called message id this (I believe): @¥)>òÇùÅÆ6iFé#?m?/l9#feÑ0pÖ4k6.K6efMØv,?@£Ç>%X1@@øébøC.?24lÖ?SFø?6b¡1sØø55jP;ì #HÇ1@ÖBFM?hXÇ#Fø?7ÜPJé*QßP?5rè¡%'o¡P$æ@ì"#GÅÆæ/ÜD9#FØ?5ÖH£c%øÆ/Z5?eÑ0pJ9?ìÄ7cBQKvMÄß4lÖ?SFø?6b¡1sØø55jP; -- Christian Huldt +46704612207
Subject: Re: [rt.cpan.org #91668] Cannot parse message from modem
Date: Thu, 26 Dec 2013 11:56:48 +0100
To: bug-MMS-Parser [...] rt.cpan.org
From: Flavio Poletti <polettix [...] gmail.com>
Uhm, I think that the example in the SYNOPSIS isn't the most clear or correct... Try to restart from message-structure.pl in the "eg" directory (you can also find it here: https://metacpan.org/source/POLETTIX/MMS-Parser-0.1.4/eg/message-structure.pl) - that SHOULD work! Ciao, Flavio. On Thu, Dec 26, 2013 at 11:29 AM, Christian Huldt via RT < bug-MMS-Parser@rt.cpan.org> wrote: Show quoted text
> Thu Dec 26 05:29:28 2013: Request 91668 was acted upon. > Transaction: Ticket created by christian@solvare.se > Queue: MMS-Parser > Subject: Cannot parse message from modem > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: christian@solvare.se > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=91668 > > > > I'm trying to dechiffre a message from a modem (expecting to get a URL > or something) like this: > ############# > use MMS::Parser; > use Data::Dumper; > > my $message = <>; > > my $parser = MMS::Parser->create(); > my $parsed = $parser->CONTENT($message); > > Dumper($parsed); > ############## > > but only get this: > Unknown starting rule > (Parse::RecDescent::MMS::Parser::WorkHorse::CONTENT) called > > message id this (I believe): > @¥)>òÇùÅÆ6iFé#?m?/l9#feÑ0pÖ4k6.K6efMØv,?@£Ç>%X1@ > @øébøC.?24lÖ?SFø?6b¡1sØø55jP;ì > #HÇ1@ÖBFM > ?hXÇ#Fø?7ÜPJé*QßP?5rè¡%'o¡P$æ@ì"#GÅÆæ/ÜD9#FØ?5ÖH£c%øÆ/Z5?eÑ0pJ9?ìÄ7cBQKvMÄß4lÖ?SFø?6b¡1sØø55jP; > -- > Christian Huldt > +46704612207 > >
How dumb are automatic links? The correct link is: https://metacpan.org/source/POLETTIX/MMS-Parser-0.1.4/eg/message-structure.pl Ciao, Flavio. Il Gio 26 Dic 2013 05:57:19, polettix@gmail.com ha scritto: Show quoted text
> Uhm, I think that the example in the SYNOPSIS isn't the most clear or > correct... > > Try to restart from message-structure.pl in the "eg" directory (you > can > also find it here: > https://metacpan.org/source/POLETTIX/MMS-Parser-0.1.4/eg/message- > structure.pl) > - that SHOULD work! > > Ciao, > > Flavio. > > > > On Thu, Dec 26, 2013 at 11:29 AM, Christian Huldt via RT < > bug-MMS-Parser@rt.cpan.org> wrote: >
> > Thu Dec 26 05:29:28 2013: Request 91668 was acted upon. > > Transaction: Ticket created by christian@solvare.se > > Queue: MMS-Parser > > Subject: Cannot parse message from modem > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: christian@solvare.se > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=91668 > > > > > > > I'm trying to dechiffre a message from a modem (expecting to get a > > URL > > or something) like this: > > ############# > > use MMS::Parser; > > use Data::Dumper; > > > > my $message = <>; > > > > my $parser = MMS::Parser->create(); > > my $parsed = $parser->CONTENT($message); > > > > Dumper($parsed); > > ############## > > > > but only get this: > > Unknown starting rule > > (Parse::RecDescent::MMS::Parser::WorkHorse::CONTENT) called > > > > message id this (I believe): > > @¥)>òÇùÅÆ6iFé#?m?/l9#feÑ0pÖ4k6.K6efMØv,?@£Ç>%X1@ > > @øébøC.?24lÖ?SFø?6b¡1sØø55jP;ì > > #HÇ1@ÖBFM > > ?hXÇ#Fø?7ÜPJé*QßP?5rè¡%'o¡P$æ@ì"#GÅÆæ/ÜD9#FØ?5ÖH£c%øÆ/Z5?eÑ0pJ9?ìÄ7cBQKvMÄß4lÖ?SFø?6b¡1sØø55jP; > > -- > > Christian Huldt > > +46704612207 > > > >
Subject: Re: [rt.cpan.org #91668] Cannot parse message from modem
Date: Thu, 26 Dec 2013 13:41:35 +0100
To: bug-MMS-Parser [...] rt.cpan.org
From: Christian Huldt <christian [...] solvare.se>
Thanks! I'm trying to read it from a option gsm modem, and the raw result looks nothing like the example mms in the eg directory, so it is no real surprise that it cannot be parsed. Flavio Poletti via RT skrev 2013-12-26 12:06: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=91668 > > > How dumb are automatic links? The correct link is: > > https://metacpan.org/source/POLETTIX/MMS-Parser-0.1.4/eg/message-structure.pl > > Ciao, > > Flavio. > > > Il Gio 26 Dic 2013 05:57:19, polettix@gmail.com ha scritto:
>> Uhm, I think that the example in the SYNOPSIS isn't the most clear or >> correct... >> >> Try to restart from message-structure.pl in the "eg" directory (you >> can >> also find it here: >> https://metacpan.org/source/POLETTIX/MMS-Parser-0.1.4/eg/message- >> structure.pl) >> - that SHOULD work! >> >> Ciao, >> >> Flavio. >> >> >> >> On Thu, Dec 26, 2013 at 11:29 AM, Christian Huldt via RT < >> bug-MMS-Parser@rt.cpan.org> wrote: >>
>>> Thu Dec 26 05:29:28 2013: Request 91668 was acted upon. >>> Transaction: Ticket created by christian@solvare.se >>> Queue: MMS-Parser >>> Subject: Cannot parse message from modem >>> Broken in: (no value) >>> Severity: (no value) >>> Owner: Nobody >>> Requestors: christian@solvare.se >>> Status: new >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=91668 > >>> >>> >>> I'm trying to dechiffre a message from a modem (expecting to get a >>> URL >>> or something) like this: >>> ############# >>> use MMS::Parser; >>> use Data::Dumper; >>> >>> my $message = <>; >>> >>> my $parser = MMS::Parser->create(); >>> my $parsed = $parser->CONTENT($message); >>> >>> Dumper($parsed); >>> ############## >>> >>> but only get this: >>> Unknown starting rule >>> (Parse::RecDescent::MMS::Parser::WorkHorse::CONTENT) called >>> >>> message id this (I believe): >>> @¥)>òÇùÅÆ6iFé#?m?/l9#feÑ0pÖ4k6.K6efMØv,?@£Ç>%X1@ >>> @øébøC.?24lÖ?SFø?6b¡1sØø55jP;ì >>> #HÇ1@ÖBFM >>> ?hXÇ#Fø?7ÜPJé*QßP?5rè¡%'o¡P$æ@ì"#GÅÆæ/ÜD9#FØ?5ÖH£c%øÆ/Z5?eÑ0pJ9?ìÄ7cBQKvMÄß4lÖ?SFø?6b¡1sØø55jP; >>> -- >>> Christian Huldt >>> +46704612207 >>> >>>
> >
-- Christian Huldt +46704612207
... at this point I'm assuming this is not a bug in the distribution.