Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 49981
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: jquelin [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: v0.71.03
Fixed in: (no value)



Subject: UDDI::Lite version not parsable by cpanplus
running "cpanp o" with your module installed gives: [...] 37 Unparsable 0.60 UDDI::Lite BYRNE this is because your version is defined as: $VERSION = $SOAP::Lite::VERSION; and cpanplus only evaluates the line on which $VERSION appears, not the whole file. to fix it, you need to do on one single line: use SOAP::Lite; $VERSION = $SOAP::Lite::VERSION; this way, cpanplus will find the version of your module, and will be able to say when it needs to be upgraded.
Fixed in SVN in rev 335 Thanks, Martin
ermm, no it's not fixed in 0.710.09 you are still using: ====== BEGIN PASTE use SOAP::Lite; $VERSION = $SOAP::Lite::VERSION; ====== END PASTE where you should be using: ====== BEGIN PASTE use SOAP::Lite; $VERSION = $SOAP::Lite::VERSION; ====== END PASTE note that it's on one *single* line, with the usage followed by the assignment. because cpanplus will only evaluate the $VERSION line, not the whole file. so with your version, cpanplus will try to evaluate: "$VERSION = $SOAP::Lite::VERSION;" but SOAP::Lite is not loaded, so the eval will fail and version will be reported as unparsable by cpanplus. btw - this is not only cpanplus, but whole cpan toolchain. look at the file ftp://ftp.cpan.org/pub/CPAN/modules/02packages.details.txt which refers all cpan modules available. you will find this line: UDDI::Lite 0.60 B/BY/BYRNE/SOAP/SOAP-Lite-0.60a.tar.gz this is because the last version of soap-lite with a parsable version of uddi::lite was the 0.60a release. if you update your module with the simple fix already mentioned (joining 2 lines in one), the line for uddi::lite will point to the latest and greatest soap-lite.
Subject: Re: [rt.cpan.org #49981] UDDI::Lite version not parsable by cpanplus
Date: Wed, 30 Sep 2009 20:41:07 +0200
To: bug-SOAP-Lite [...] rt.cpan.org
From: Martin Kutter <martin.kutter [...] fen-net.de>
Oh, yeah, it's newline-sensitive - which is hardly better than whitespace-sensitive, and painfully reminds me of Perl's roots in the last millennium. Well, it should be fixed in 0.710.10 (on its way through pause) - let's see what the CPAN indexer says about it, now... Martin Am Mittwoch, den 30.09.2009, 11:12 -0400 schrieb Jerome Quelin via RT: Show quoted text
> Queue: SOAP-Lite > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=49981 > > > ermm, no it's not fixed in 0.710.09 > > you are still using: > ====== BEGIN PASTE > use SOAP::Lite; > $VERSION = $SOAP::Lite::VERSION; > ====== END PASTE > > where you should be using: > ====== BEGIN PASTE > use SOAP::Lite; $VERSION = $SOAP::Lite::VERSION; > ====== END PASTE > > note that it's on one *single* line, with the usage followed by the > assignment. > > because cpanplus will only evaluate the $VERSION line, not the whole > file. so with your version, cpanplus will try to evaluate: "$VERSION = > $SOAP::Lite::VERSION;" but SOAP::Lite is not loaded, so the eval will > fail and version will be reported as unparsable by cpanplus. > > btw - this is not only cpanplus, but whole cpan toolchain. look at the > file ftp://ftp.cpan.org/pub/CPAN/modules/02packages.details.txt which > refers all cpan modules available. you will find this line: > UDDI::Lite 0.60 B/BY/BYRNE/SOAP/SOAP-Lite-0.60a.tar.gz > > this is because the last version of soap-lite with a parsable version of > uddi::lite was the 0.60a release. > > if you update your module with the simple fix already mentioned (joining > 2 lines in one), the line for uddi::lite will point to the latest and > greatest soap-lite. >
Subject: Re: [rt.cpan.org #49981] UDDI::Lite version not parsable by cpanplus
Date: Wed, 30 Sep 2009 21:02:43 +0200
To: bug-SOAP-Lite [...] rt.cpan.org
From: Martin Kutter <martin.kutter [...] fen-net.de>
Ouch, not very successful. Looks like the use SOAP::Lite; $VERSION = $SOAP::Lite::VERSION; idiom. If this is supposed to work, this is a CPAN indexer bug... ... so it looks like it's not possible to have a master version defined. OK. Maybe SVN can help me out... Am Mittwoch, den 30.09.2009, 14:41 -0400 schrieb Martin Kutter via RT: Show quoted text
> Queue: SOAP-Lite > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=49981 > > > Oh, yeah, it's newline-sensitive - which is hardly better than > whitespace-sensitive, and painfully reminds me of Perl's roots in the > last millennium. > > Well, it should be fixed in 0.710.10 (on its way through pause) - let's > see what the CPAN indexer says about it, now... > > Martin > > Am Mittwoch, den 30.09.2009, 11:12 -0400 schrieb Jerome Quelin via RT:
> > Queue: SOAP-Lite > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=49981 > > > > > ermm, no it's not fixed in 0.710.09 > > > > you are still using: > > ====== BEGIN PASTE > > use SOAP::Lite; > > $VERSION = $SOAP::Lite::VERSION; > > ====== END PASTE > > > > where you should be using: > > ====== BEGIN PASTE > > use SOAP::Lite; $VERSION = $SOAP::Lite::VERSION; > > ====== END PASTE > > > > note that it's on one *single* line, with the usage followed by the > > assignment. > > > > because cpanplus will only evaluate the $VERSION line, not the whole > > file. so with your version, cpanplus will try to evaluate: "$VERSION = > > $SOAP::Lite::VERSION;" but SOAP::Lite is not loaded, so the eval will > > fail and version will be reported as unparsable by cpanplus. > > > > btw - this is not only cpanplus, but whole cpan toolchain. look at the > > file ftp://ftp.cpan.org/pub/CPAN/modules/02packages.details.txt which > > refers all cpan modules available. you will find this line: > > UDDI::Lite 0.60 B/BY/BYRNE/SOAP/SOAP-Lite-0.60a.tar.gz > > > > this is because the last version of soap-lite with a parsable version of > > uddi::lite was the 0.60a release. > > > > if you update your module with the simple fix already mentioned (joining > > 2 lines in one), the line for uddi::lite will point to the latest and > > greatest soap-lite. > >
> > >
Subject: Failed: PAUSE indexer report MKUTTER/SOAP-Lite-0.710.10.tar.gz
Date: Wed, 30 Sep 2009 20:42:04 +0200
To: martin.kutter [...] fen-net.de, andreas.koenig.gmwojprw+pause [...] franz.ak.mind.de
From: PAUSE <upload [...] pause.fiz-chemie.de>

Message body is not shown because it is too large.

Fixed in 0.712