gregpriday / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

Warning on pear install #218

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
$ sudo pear install phpquery/phpQuery 

Warning: Illegal string offset 'p' in PEAR/REST/10.php on line 320
PHP Warning:  Illegal string offset 'p' in 
/opt/local/lib/php/pear/PEAR/REST/10.php on line 320
PHP Stack trace:
PHP   1. {main}() /opt/local/lib/php/pear/pearcmd.php:0
PHP   2. PEAR_Command_Common->run() /opt/local/lib/php/pear/pearcmd.php:305
PHP   3. PEAR_Command_Install->doInstall() 
/opt/local/lib/php/pear/PEAR/Command/Common.php:271
PHP   4. PEAR_Downloader->download() 
/opt/local/lib/php/pear/PEAR/Command/Install.php:661
PHP   5. PEAR_Downloader_Package->initialize() 
/opt/local/lib/php/pear/PEAR/Downloader.php:279
PHP   6. PEAR_Downloader_Package->_fromString() 
/opt/local/lib/php/pear/PEAR/Downloader/Package.php:190
PHP   7. PEAR_Downloader->_getPackageDownloadUrl() 
/opt/local/lib/php/pear/PEAR/Downloader/Package.php:1713
PHP   8. PEAR_REST_13->getDownloadURL() 
/opt/local/lib/php/pear/PEAR/Downloader.php:850
PHP   9. PEAR_REST_10->_returnDownloadURL() 
/opt/local/lib/php/pear/PEAR/REST/13.php:142

Warning: Illegal string offset 'p' in /opt/local/lib/php/pear/PEAR/REST/10.php 
on line 320

Call Stack:
    0.0010     348456   1. {main}() /opt/local/lib/php/pear/pearcmd.php:0
    0.0498    2493240   2. PEAR_Command_Common->run() /opt/local/lib/php/pear/pearcmd.php:305
    0.0499    2493392   3. PEAR_Command_Install->doInstall() /opt/local/lib/php/pear/PEAR/Command/Common.php:271
    0.0653    4582208   4. PEAR_Downloader->download() /opt/local/lib/php/pear/PEAR/Command/Install.php:661
    0.0683    5032328   5. PEAR_Downloader_Package->initialize() /opt/local/lib/php/pear/PEAR/Downloader.php:279
    0.0685    5035136   6. PEAR_Downloader_Package->_fromString() /opt/local/lib/php/pear/PEAR/Downloader/Package.php:190
    0.0694    5042392   7. PEAR_Downloader->_getPackageDownloadUrl() /opt/local/lib/php/pear/PEAR/Downloader/Package.php:1713
    0.0734    5424344   8. PEAR_REST_13->getDownloadURL() /opt/local/lib/php/pear/PEAR/Downloader.php:850
    0.0736    5431032   9. PEAR_REST_10->_returnDownloadURL() /opt/local/lib/php/pear/PEAR/REST/13.php:142

Warning: Illegal string offset 'c' in PEAR/REST/10.php on line 321
PHP Warning:  Illegal string offset 'c' in 
/opt/local/lib/php/pear/PEAR/REST/10.php on line 321
PHP Stack trace:
PHP   1. {main}() /opt/local/lib/php/pear/pearcmd.php:0
PHP   2. PEAR_Command_Common->run() /opt/local/lib/php/pear/pearcmd.php:305
PHP   3. PEAR_Command_Install->doInstall() 
/opt/local/lib/php/pear/PEAR/Command/Common.php:271
PHP   4. PEAR_Downloader->download() 
/opt/local/lib/php/pear/PEAR/Command/Install.php:661
PHP   5. PEAR_Downloader_Package->initialize() 
/opt/local/lib/php/pear/PEAR/Downloader.php:279
PHP   6. PEAR_Downloader_Package->_fromString() 
/opt/local/lib/php/pear/PEAR/Downloader/Package.php:190
PHP   7. PEAR_Downloader->_getPackageDownloadUrl() 
/opt/local/lib/php/pear/PEAR/Downloader/Package.php:1713
PHP   8. PEAR_REST_13->getDownloadURL() 
/opt/local/lib/php/pear/PEAR/Downloader.php:850
PHP   9. PEAR_REST_10->_returnDownloadURL() 
/opt/local/lib/php/pear/PEAR/REST/13.php:142

Warning: Illegal string offset 'c' in /opt/local/lib/php/pear/PEAR/REST/10.php 
on line 321

Call Stack:
    0.0010     348456   1. {main}() /opt/local/lib/php/pear/pearcmd.php:0
    0.0498    2493240   2. PEAR_Command_Common->run() /opt/local/lib/php/pear/pearcmd.php:305
    0.0499    2493392   3. PEAR_Command_Install->doInstall() /opt/local/lib/php/pear/PEAR/Command/Common.php:271
    0.0653    4582208   4. PEAR_Downloader->download() /opt/local/lib/php/pear/PEAR/Command/Install.php:661
    0.0683    5032328   5. PEAR_Downloader_Package->initialize() /opt/local/lib/php/pear/PEAR/Downloader.php:279
    0.0685    5035136   6. PEAR_Downloader_Package->_fromString() /opt/local/lib/php/pear/PEAR/Downloader/Package.php:190
    0.0694    5042392   7. PEAR_Downloader->_getPackageDownloadUrl() /opt/local/lib/php/pear/PEAR/Downloader/Package.php:1713
    0.0734    5424344   8. PEAR_REST_13->getDownloadURL() /opt/local/lib/php/pear/PEAR/Downloader.php:850
    0.0736    5431032   9. PEAR_REST_10->_returnDownloadURL() /opt/local/lib/php/pear/PEAR/REST/13.php:142

Warning: Illegal string offset 'min' in PEAR/REST/10.php on line 322
PHP Warning:  Illegal string offset 'min' in 
/opt/local/lib/php/pear/PEAR/REST/10.php on line 322
PHP Stack trace:
PHP   1. {main}() /opt/local/lib/php/pear/pearcmd.php:0
PHP   2. PEAR_Command_Common->run() /opt/local/lib/php/pear/pearcmd.php:305
PHP   3. PEAR_Command_Install->doInstall() 
/opt/local/lib/php/pear/PEAR/Command/Common.php:271
PHP   4. PEAR_Downloader->download() 
/opt/local/lib/php/pear/PEAR/Command/Install.php:661
PHP   5. PEAR_Downloader_Package->initialize() 
/opt/local/lib/php/pear/PEAR/Downloader.php:279
PHP   6. PEAR_Downloader_Package->_fromString() 
/opt/local/lib/php/pear/PEAR/Downloader/Package.php:190
PHP   7. PEAR_Downloader->_getPackageDownloadUrl() 
/opt/local/lib/php/pear/PEAR/Downloader/Package.php:1713
PHP   8. PEAR_REST_13->getDownloadURL() 
/opt/local/lib/php/pear/PEAR/Downloader.php:850
PHP   9. PEAR_REST_10->_returnDownloadURL() 
/opt/local/lib/php/pear/PEAR/REST/13.php:142

Warning: Illegal string offset 'min' in 
/opt/local/lib/php/pear/PEAR/REST/10.php on line 322

Call Stack:
    0.0010     348456   1. {main}() /opt/local/lib/php/pear/pearcmd.php:0
    0.0498    2493240   2. PEAR_Command_Common->run() /opt/local/lib/php/pear/pearcmd.php:305
    0.0499    2493392   3. PEAR_Command_Install->doInstall() /opt/local/lib/php/pear/PEAR/Command/Common.php:271
    0.0653    4582208   4. PEAR_Downloader->download() /opt/local/lib/php/pear/PEAR/Command/Install.php:661
    0.0683    5032328   5. PEAR_Downloader_Package->initialize() /opt/local/lib/php/pear/PEAR/Downloader.php:279
    0.0685    5035136   6. PEAR_Downloader_Package->_fromString() /opt/local/lib/php/pear/PEAR/Downloader/Package.php:190
    0.0694    5042392   7. PEAR_Downloader->_getPackageDownloadUrl() /opt/local/lib/php/pear/PEAR/Downloader/Package.php:1713
    0.0734    5424344   8. PEAR_REST_13->getDownloadURL() /opt/local/lib/php/pear/PEAR/Downloader.php:850
    0.0736    5431032   9. PEAR_REST_10->_returnDownloadURL() /opt/local/lib/php/pear/PEAR/REST/13.php:142

Warning: Illegal string offset 'max' in PEAR/REST/10.php on line 323
PHP Warning:  Illegal string offset 'max' in 
/opt/local/lib/php/pear/PEAR/REST/10.php on line 323
PHP Stack trace:
PHP   1. {main}() /opt/local/lib/php/pear/pearcmd.php:0
PHP   2. PEAR_Command_Common->run() /opt/local/lib/php/pear/pearcmd.php:305
PHP   3. PEAR_Command_Install->doInstall() 
/opt/local/lib/php/pear/PEAR/Command/Common.php:271
PHP   4. PEAR_Downloader->download() 
/opt/local/lib/php/pear/PEAR/Command/Install.php:661
PHP   5. PEAR_Downloader_Package->initialize() 
/opt/local/lib/php/pear/PEAR/Downloader.php:279
PHP   6. PEAR_Downloader_Package->_fromString() 
/opt/local/lib/php/pear/PEAR/Downloader/Package.php:190
PHP   7. PEAR_Downloader->_getPackageDownloadUrl() 
/opt/local/lib/php/pear/PEAR/Downloader/Package.php:1713
PHP   8. PEAR_REST_13->getDownloadURL() 
/opt/local/lib/php/pear/PEAR/Downloader.php:850
PHP   9. PEAR_REST_10->_returnDownloadURL() 
/opt/local/lib/php/pear/PEAR/REST/13.php:142

Warning: Illegal string offset 'max' in 
/opt/local/lib/php/pear/PEAR/REST/10.php on line 323

Call Stack:
    0.0010     348456   1. {main}() /opt/local/lib/php/pear/pearcmd.php:0
    0.0498    2493240   2. PEAR_Command_Common->run() /opt/local/lib/php/pear/pearcmd.php:305
    0.0499    2493392   3. PEAR_Command_Install->doInstall() /opt/local/lib/php/pear/PEAR/Command/Common.php:271
    0.0653    4582208   4. PEAR_Downloader->download() /opt/local/lib/php/pear/PEAR/Command/Install.php:661
    0.0683    5032328   5. PEAR_Downloader_Package->initialize() /opt/local/lib/php/pear/PEAR/Downloader.php:279
    0.0685    5035136   6. PEAR_Downloader_Package->_fromString() /opt/local/lib/php/pear/PEAR/Downloader/Package.php:190
    0.0694    5042392   7. PEAR_Downloader->_getPackageDownloadUrl() /opt/local/lib/php/pear/PEAR/Downloader/Package.php:1713
    0.0734    5424344   8. PEAR_REST_13->getDownloadURL() /opt/local/lib/php/pear/PEAR/Downloader.php:850
    0.0736    5431032   9. PEAR_REST_10->_returnDownloadURL() /opt/local/lib/php/pear/PEAR/REST/13.php:142

What is the expected output? What do you see instead?
A clean install, without Warnings.

What version of the product are you using? On what operating system?
$ pear version
PEAR Version: 1.9.4
PHP Version: 5.4.7
Zend Engine Version: 2.4.0
Running on: Darwin robinho.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 
25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64

Original issue reported on code.google.com by robsonpeixoto on 4 Oct 2012 at 4:30