Add the following lines at 346 in api_errors:
                       elif isinstance(err, RuntimeError):
                               s += _("    %(o)s: %(msg)s\n" % \
                                   { 'o':auth["origin"], 'msg':str(err)})
The error message may get tweaked slightly in the future, but the basics should remain.

Brock


Padraig O'Briain wrote:
Brock,

I do not see the message you see

bash-3.2$ pkg search -s http://ipkg.sfbay:40123/ -s http://osol-re.sfbay.sun.com:80/ "<info.classification:games>"
PACKAGE
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg:/[email protected]
pkg: Some servers failed to respond appropriately:



Padraig

On 03/06/09 21:55, Brock Pytlik wrote:
Padraig O'Briain wrote:
When I get the exception ProblematicSearchServers
I just get the message "Some servers failed to respond appropriately:"

Should I get more?
Yep, this is what I get when I run it with the CLI:
pkg: Some servers failed to respond appropriately:
   http://localhost:10000/: Connection refused

Have you tried that? What's the output when you try it on the CLI?
Brock

Padraig

On 03/06/09 05:32, Brock Pytlik wrote:
New version at:
http://cr.opensolaris.org/~bpytlik/prelim_search_v1_v6/

This has been resynced to the gate and the bug with 4048_2 has been fixed. Also, a first pass at lint cleanup and dead code removal has been made. Comments appreciated.

Thanks,
Brock

[snip]

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to