Description of problem: If pup is started and the network conenction is inactive. Pup crashes almost instantly. An error message briefly appears on the screen and then pup and the error message disappear. Version-Release number of selected component (if applicable): How reproducible: Every time. Steps to Reproduce: 1. Network conenction is inactive (for any reason). 2. Start pup. 3. It "barfs". Actual results: Expected results: I'd expect an informative error message and for it not to just "abort". I should have been able to activate my network connection and then jsut tell pup to retry. Additional info:
Can you give the error message you receive? Running from a terminal might help to keep the error persistent. Also, what version of pup is installed?
The error is constant if you attempt to run pup (Software Updater) with no network / internet connectivity. Below is an error dump from pup when this is the case. // Starts Component: Software Updater Summary: TB86fdcb55 repos.py:431:check:RepoError: Cannot find a valid baseurl for repo: development Traceback (most recent call last): File "/usr/sbin/pup", line 356, in ? main() File "/usr/sbin/pup", line 352, in main pup.run() File "/usr/sbin/pup", line 328, in run self.doRefresh() File "/usr/sbin/pup", line 160, in doRefresh self.reposSetup(pbar) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 131, in reposSetup self.doRepoSetup() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 244, in doRepoSetup repo.baseurlSetup() File "/usr/lib/python2.4/site-packages/yum/repos.py", line 550, in baseurlSetup self.check() File "/usr/lib/python2.4/site-packages/yum/repos.py", line 431, in check raise Errors.RepoError, \ RepoError: Cannot find a valid baseurl for repo: development Local variables in innermost frame: self: development // Ends Pup should ideally handle a lack of network / internet connectivity far more elegantly.
Fixed in CVS
*** Bug 183077 has been marked as a duplicate of this bug. ***
*** Bug 182548 has been marked as a duplicate of this bug. ***
*** Bug 184497 has been marked as a duplicate of this bug. ***
Moving component to pirut. Sorry for the spam.