Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0RC2

Bug #14465 warning if files (which are registered as installed) are missing
Submitted: 2008-08-06 23:59 UTC
From: berdir Assigned: kguest
Status: Closed Package: PEAR_Size (version 0.1.5)
PHP Version: 5.2.6 OS: Linux (Ubuntu)
Roadmaps: 0.1.7    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 45 + 26 = ?

 
 [2008-08-06 23:59 UTC] berdir (Sascha Grossenbacher)
Description: ------------ If there are files missing but are registered as installed (which for example seems to be the case if pear was installed by the ubuntu intrepid .deb), a warnig message is printed. The package should probably check if the file really exists, just the be sure as printing php warnings is not nice :) Test script: --------------- pear size -a Expected result: ---------------- Total: 23.97 MB pear.php.net: ============= Total: 23.97 MB +--------------------------------------------+-----------+ | Archive_Tar | 59.71 KB | | Auth | 265.31 KB | | Cache_Lite | 105.61 KB | | Console_Getargs | 84.16 KB ... Actual result: -------------- Warning: filesize(): stat failed for /usr/share/php/doc/Archive_Tar/docs/Archive_Tar.txt in /usr/share/php/PEAR/Size.php on line 274 Call Stack: 0.0017 374616 1. {main}() /usr/share/php/pearcmd.php:0 0.1071 5006576 2. PEAR_Command_Common->run() /usr/share/php/pearcmd.php:312 0.1071 5006576 3. PEAR_Command_Size->doSize() /usr/share/php/PEAR/Command/Common.php:285 0.1071 5006688 4. PEAR_Size_CLI->run() /usr/share/php/PEAR/Command/Size.php:119 0.1286 7207272 5. PEAR_Size->analyse() /usr/share/php/PEAR/Size/CLI.php:224 0.1295 7224032 6. PEAR_Size->_analysePackages() /usr/share/php/PEAR/Size.php:630 0.1490 8218312 7. filesize() /usr/share/php/PEAR/Size.php:274

Comments

 [2008-08-07 00:43 UTC] kguest (Ken Guest)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/PEAR_Size fixed this, first in cvs just after the report came in, and now in new release 0.1.6