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):
Steps to Reproduce:
1. Network conenction is inactive (for any reason).
2. Start pup.
3. It "barfs".
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
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
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 ?
File "/usr/sbin/pup", line 352, in main
File "/usr/sbin/pup", line 328, in run
File "/usr/sbin/pup", line 160, in doRefresh
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 131, in reposSetup
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 244, in doRepoSetup
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 550, in baseurlSetup
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:
Pup should ideally handle a lack of network / internet connectivity far more
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.