Re: PEAR cache mistakes on windows

From: Date: Sat, 17 Dec 2011 12:03:43 +0000
Subject: Re: PEAR cache mistakes on windows
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-54637@lists.php.net to get a copy of this message
Le 17/12/2011 12:57, Daniel O'Connor a écrit :
On Sat, Dec 17, 2011 at 10:19 PM, Daniel O'Connor <daniel.oconnor@gmail.com <mailto:daniel.oconnor@gmail.com>> wrote:
    On Sat, Dec 17, 2011 at 9:36 PM, Laurent Laville
    <pear@laurent-laville.org <mailto:pear@laurent-laville.org>> wrote:
        Hello,
        With PEAR 1.9.4 installed on my local Windows platform, I've
        some problem with PEAR cache
        Remember
        http://old.nabble.com/SECURITY-ERROR-on-cacheid-files---need-explains-td32082888.html
    I had it too:
    http://pear.php.net/bugs/bug.php?id=18834
        Now today, while I try to test new incoming version of
        PHP_CompatInfo 2.2.0 on all my PHP versions (5.2, 5.3,
        5.4.0RC3) I got a strange behaviour.
        With a local PEAR copy and a package version of PHP_CompatInfo
        2.2.0 (snapshot), I try to upgrade for the second times, I
        have such output :
        Trying to install the version with pear channel
        Then I choose to clear my cache, and all goes fines
        See all details below
        Laurent Laville
        C:\UwAmp\bin\php\php-5.4.0RC3>pear -c pear.ini upgrade -f
        \home\pear\packages\PHP_CompatInfo-2.2.0.tgz
        WARNING: failed to download pear.php.net/PHP_CompatInfo
        <http://pear.php.net/PHP_CompatInfo>, version "2.2.0", will
        instead download version 1.9.0,
         stability "stable"
        Did not download optional dependencies: phpunit/PHPUnit,
        pear/XML_Util, pear/XML_Beautifier, pear/Console_Prog
        ressBar, pear/Var_Dump, pear/HTML_Table, use --alldeps to
        download automatically
        Did not download optional dependencies: pear/Console_Color,
        use --alldeps to download automatically
        pear/PHP_CompatInfo can optionally use package
        "pear/XML_Beautifier" (version >= 1.1)
        pear/PHP_CompatInfo can optionally use package
        "pear/Console_ProgressBar" (version >= 0.5.2beta)
        pear/PHP_CompatInfo can optionally use package "pear/Var_Dump"
        (version >= 1.0.3)
        pear/PHP_CompatInfo can optionally use package
        "pear/HTML_Table" (version >= 1.8.2)
        pear/Console_Table can optionally use package
        "pear/Console_Color" (version >= 0.0.4)
        downloading PHP_CompatInfo-1.9.0.tgz ...
        Starting to download PHP_CompatInfo-1.9.0.tgz (180,340 bytes)
        ......................................done: 180,340 bytes
        downloading Console_Table-1.1.4.tgz ...
        Starting to download Console_Table-1.1.4.tgz (9,369 bytes)
        ...done: 9,369 bytes
        downloading Console_Getargs-1.3.5.tgz ...
        Starting to download Console_Getargs-1.3.5.tgz (18,207 bytes)
        ...done: 18,207 bytes
        Unable to open
        C:\UwAmp\bin\php\php-5.4.0RC3\tmp\pea129.tmp/package.xml
    I suspect I may have made a simple, tired mistake when packaging
    up a QA release of console_getargs
... or not. I've got a 1.3.6 release prepared but not yet out.
No I dont think it's a problem with Console_getargs, because I got only this error once ! While my PHP 5.2 , PHP 5.3 and PHP 5.4 have the same configuration and package installed I should got have the same problem at least 2 more times. But, since I got every times the SECURITY ERROR, I almost clear cache before to do any install or upgrade operation, and sometimes too I forgot it, so I see such error

« previous php.pear.dev (#54637) next »