Print this page
305 http_proxy value needs more checking for valid url syntax
2341 Client should be more conservative about closing sockets
4235 Misleading "node name" unknown messages when http_proxy set incorrectly
4495 Want ability to cancel individual file downloads
8902 Need a transport that downloads files by GET
9508 Captive portal test only run during catalog refresh
9613 Implicit refresh should raise InvalidDepotResponseException
9615 EOL clientside search v0
9629 EOL clientside support for filelist
9630 Hostile depot should live with other depot code
9631 HTTPS transport should be more rigorous in verification
9670 More specific error exceptions requested from search
9686 network operations should use accept-encoding when appropriate
9715 The info() operation should use the activity_lock
@@ -34,11 +34,10 @@
import pango
import datetime
import traceback
import string
from threading import Thread
-from urllib2 import URLError
try:
import gobject
import gtk
import gtk.glade
import pygtk
@@ -50,15 +49,11 @@
import libbe as be
except ImportError:
nobe = True
import pkg.client.progress as progress
import pkg.misc
-from pkg.client.retrieve import ManifestRetrievalError
-from pkg.client.retrieve import DatastreamRetrievalError
-from pkg.client.filelist import FileListRetrievalError
import pkg.client.api_errors as api_errors
-from pkg.misc import TransferTimedOutException, TransportException
import pkg.gui.beadmin as beadm
import pkg.gui.misc as gui_misc
import pkg.gui.enumerations as enumerations
ERROR_FORMAT = "<span color = \"red\">%s</span>"
@@ -432,14 +427,11 @@
"connection.\nIs the repository accessible?")
if e.message and len(e.message) > 0:
msg = e.message
self.__g_error_stage(msg)
return
- except (api_errors.NetworkUnavailableException,
- TransferTimedOutException, TransportException, URLError,
- ManifestRetrievalError, DatastreamRetrievalError,
- FileListRetrievalError), ex:
+ except api_errors.TransportError, ex:
msg = _("Please check the network "
"connection.\nIs the repository accessible?\n\n"
"%s") % str(ex)
self.__g_error_stage(msg)
return