On Tue, 2009-06-30 at 10:29 -0700, Brock Pytlik wrote: > Joanmarie Diggs wrote: > > On Tue, 2009-06-30 at 09:48 -0700, Brock Pytlik wrote: > > > >> To help determine where the problem lies, could you please try 'pkg > >> search gnome' and 'pkg search python' from the command line and see what > >> happens? > >> > >> Thanks, > >> Brock > >> > > > > I'm doing 'pkg search gnome' at the moment. It's still cranking away -- > > my timeout is now set to 300. :-) BUT, pkg is displaying things and > > started doing so almost immediately. For what it's worth, as an > > end-user, the experience with the command line feels better: At least I > > know it's doing *something*. With the current gui implementation, the > > results list is blank for an awfully long time -- and comes up empty > > without an extremely long timeout. Perhaps packagemanager could display > > results along the way? > > > > Given the timeout issue, would it make sense to add an option to the > > packagemanager Preferences dialog through which users could increase the > > value of PKG_CLIENT_TIMEOUT? > > > > The other thing I'm wondering is if you all could be persuaded to > > re-enable offline/local searching in packagemanager. Perhaps not by > > default -- maybe it could be a setting in Preferences? Or perhaps in the > > instance of a timeout, search could fall back on a local search?? > > > > At the risk of sounding nonconstructive, which I really don't want to > > sound, packagemanager search used to be a useful tool to me. It's > > feeling far less so with these recent changes. (Sorry!) > > > > Thanks for the explanations and help! Take care. > > --joanie > > > > > I'll admit I'm confused about why changing the timeout makes a > difference here.
That's my bad. I was confused. Sorry! > If you have a chance, could you put it back to its > previous value (or delete it from your environment) and try 'pkg search > gnome' I just confirmed PKG_CLIENT_TIMEOUT is not set. I also just confirmed that packagemanager, launched from the same terminal is reliably timing out after 30 seconds. 'pkg search gnome' launched from the same terminal is working as it was before, namely displaying results as it goes and terminating without any error message. > and perhaps 'pkg search /usr/bin > /dev/null' on the command line It has not timed out. > again? I'd like to figure out whether the timeout is happening because > of the search API or the packagemanager. Because the way the api works > (reading things from the server dynamically), in general it shouldn't > time out even when thousands of results are coming back. Basically, > whether or not you can reproduce the timeout behavior on the command > line will point to where we need to fix the problem. The timeout seems limited to the gui. HTH. --joanie _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
