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

Bug #4069 pear list-all -c <ChannelAlias> does not work
Submitted: 2005-04-05 23:07 UTC
From: schst Assigned: cellog
Status: Closed Package: PEAR
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-04-05 23:07 UTC] schst
Description: ------------ To list all packages of a channel, you cannot use the channel alias, but must use the URI. It would be nice to be able to use the channel as well. Reproduce code: --------------- $ pear channel-discover pear.php-tools.net $ pear list-all -c pat Expected result: ---------------- All packages: ============= Package Latest Local pat/patBBCode 1.0.0beta Versatile BBCode parser. pat/patConfiguration 2.0.0b2 Interface for configuration files. pat/patError 1.1.0 Simple and powerful error management package. pat/patPortal MVC-driven framework pat/patTemplate 3.1.0a1 Powerful templating engine. Actual result: -------------- xml_rpc_client: Connection to RPC server pat:80 failed. Success

Comments

 [2005-04-06 00:59 UTC] cellog
not a feature request - this is a bug
 [2005-04-06 01:10 UTC] cellog
I can't reproduce this with 1.4.0a9 - can you double check to make sure there isn't a pat.reg file in your .channels dir from an earlier PEAR 1.4.0 version? If so, please delete the pat.reg file and bogusify this one
 [2005-04-06 07:57 UTC] schst
Hi, This is in my channels dir: schst@rot3:.channels> ls -al total 36 drwxr-xr-x 3 root root 4096 2005-03-17 12:19 . drwxr-xr-x 30 root root 4096 2005-04-02 19:15 .. drwxr-xr-x 2 root root 102 2005-03-17 12:19 .alias -rw-r--r-- 1 root root 1309 2005-02-27 12:51 pear.chiaraquartet.net.reg -rw-r--r-- 1 root root 1350 2005-03-17 12:18 pear.crtx.org.reg -rw-r--r-- 1 root root 1377 2005-03-17 12:19 pearified.com.reg -rw-r--r-- 1 root root 1025 2005-02-27 12:50 pear.php.net.reg -rw-r--r-- 1 root root 1221 2005-04-02 19:10 pear.php-tools.net.reg -rw-r--r-- 1 root root 1016 2005-02-27 12:50 pecl.php.net.reg -rw-r--r-- 1 root root 295 2005-02-27 12:50 __uri.reg I'm experiencing the problem on several servers with several installations (all are the latest alpha9)
 [2005-04-06 13:25 UTC] cellog
please $ pear channel-update pear.php-tools.net and try again. If it works, bogusify :)
 [2005-04-06 13:32 UTC] schst
New message, but still the same problem. I upgraded to PEAR1.4.0a10 schst@rot3:.channels> sudo pear5 channel-update pear.php-tools.net Password: Retrieving channel.xml from remote server Channel pear.php-tools.net channel.xml is up to date schst@rot3:.channels> pear5 list-all -c pat PEAR_Remote::call: fsockopen(`pat', 80) failed
 [2005-04-06 20:52 UTC] cellog
sigh... What's the output of "pear channel-info pat" Greg
 [2005-04-07 18:58 UTC] schst
schst@rot3:htdoc> pear5 channel-info pat Channel pear.php-tools.net Information: ======================================= Name and Server pear.php-tools.net Alias pat Summary PHP Application Tools Channel Validation Package Name PEAR_Validate Validation Package default Version Server Capabilities =================== Type Version Function Name URI xmlrpc 1.0 logintest xmlrpc 1.0 package.listLatestReleases xmlrpc 1.0 package.listAll xmlrpc 1.0 package.info xmlrpc 1.0 package.getDownloadURL xmlrpc 1.1 package.getDownloadURL xmlrpc 1.0 package.getDepDownloadURL xmlrpc 1.1 package.getDepDownloadURL xmlrpc 1.0 package.search xmlrpc 1.0 channel.listAll
 [2005-04-15 04:47 UTC] cellog
I don't know what to tell you - the best I can suggest is to add a debug_print_backtrace() into the PEAR_Error handler in pearcmd.php and show me the output.
 [2005-04-17 10:35 UTC] schst
You can find the foll debug output at: http://pear.php-tools.net/bug-reports/pear-bug-4069-output.txt Would it help to get you shell access? Stephan
 [2005-04-19 15:08 UTC] schst
Just to keep you informed: I upgraded to PEAR 1.4.0a11 and I still get the same error message... schst@rot3:schst> pear5 list-all -c pat PEAR_Remote::call: fsockopen(`pat', 80) failed
 [2005-04-22 23:42 UTC] cellog
Stephan: yes that would be useful
 [2005-04-24 22:07 UTC] cellog
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. got it :)