Project

General

Profile

Anomalie #8317

Maj-Auto : traceback en cas de timed out

Added by Emmanuel GARETTE almost 6 years ago. Updated almost 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
06/20/2014
% Done:

100%

Distribution:
EOLE 2.4

Description

root@amon:~# Maj-Auto -D
Mise à jour le vendredi 06 juin 2014 11:41:32
*** amon 2.4 (000GNU) ***

Configure sources.list
Maj-Auto - L’augmentation du niveau de mise à jour peut poser problème si vous souhaitez revenir à la version stable
Voulez-vous continuer [oui/non]
[non] : o
Configuring Ubuntu with mirror eole.ac-dijon.fr
Maj-Auto - timed out
Traceback (most recent call last):
  File "/usr/bin/Maj-Auto", line 327, in <module>
    main()
  File "/usr/bin/Maj-Auto", line 250, in main
    _configure_sources(PKGMGR, opts, vendor, mirror)
  File "/usr/bin/Maj-Auto", line 174, in _configure_sources
    component=['main', 'universe', 'multiverse', 'restricted'])
  File "/usr/lib/python2.7/dist-packages/pyeole/pkg.py", line 1005, in configure
    component=component)
  File "/usr/lib/python2.7/dist-packages/pyeole/pkg.py", line 955, in _run
    **kwargs))
  File "/usr/lib/python2.7/dist-packages/pyeole/pkg.py", line 420, in _run
    return {u'root': getattr(self, func)(silent=silent, **kwargs)}
  File "/usr/lib/python2.7/dist-packages/pyeole/pkg.py", line 587, in configure
    self._test_mirror(mirror, dist)
  File "/usr/lib/python2.7/dist-packages/pyeole/pkg.py", line 560, in _test_mirror
    if not test_http(release_url, use_proxy=True):
  File "/usr/lib/python2.7/dist-packages/pyeole/diagnose.py", line 162, in test_http
    reponse = urlopen(req)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 400, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 418, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 407, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.7/socket.py", line 447, in readline
    data = self._sock.recv(self._rbufsize)
timeout: timed out

Related issues

Related to creole - Anomalie #8049: Maj-Auto : Traceeback en plus du message si erreur de proxy Fermé 06/20/2014

Associated revisions

Revision a1e57095 (diff)
Added by Emmanuel GARETTE almost 6 years ago

pyeole/diagnose.py : test_http renvoi False en cas de timeout (fixes #8317 @ 30m)

History

#1 Updated by Emmanuel GARETTE almost 6 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#2 Updated by Joël Cuissinat almost 6 years ago

  • Due date set to 06/20/2014
  • Assigned To set to Emmanuel GARETTE
  • Target version set to Eole 2.4.0.1

#3 Updated by Joël Cuissinat almost 6 years ago

  • Status changed from Résolu to Fermé

OK, il ne faut juste pas être pressé (#8473) :

root@amon:~# time Maj-Auto -D
Mise à jour le vendredi 04 juillet 2014 12:20:15
*** amon 2.4.0 (0000a) ***

Configure sources.list
Maj-Auto - L’augmentation du niveau de mise à jour peut poser problème si vous souhaitez revenir à la version stable
Voulez-vous continuer [oui/non]
[non] : o
Maj-Auto - Unable to configure APT sources for Ubuntu

real    1m22.352s
user    0m0.940s
sys    0m0.098s

Also available in: Atom PDF