[issue8580] Problem urllib2.URLError

Jorge Bosch report at bugs.python.org
Fri Apr 30 22:13:56 CEST 2010


New submission from Jorge Bosch <jorgebosch86 at gmail.com>:

hello. Im new on this kind of programation. Well it could sound newbie...but I have this error and I dont know how to fix it.

Well its related with an AutoUpdater for a Online Game (GTLegends, Altbierbude software) but no one manage to solve it..

Here is the Log of the error:

Traceback (most recent call last):
  File "C:\Download\AutoUpdate\altbierbude_en.pyw", line 134, in <module>
    main()
  File "C:\Download\AutoUpdate\altbierbude_en.pyw", line 93, in main
    the_app.myconfig = GetAppConfig(source_url, config_filename)
  File "C:\Download\AutoUpdate\altbierbude_en.pyw", line 52, in GetAppConfig
    cfg_data = GetUrlData(url+filename)
  File "C:\Download\AutoUpdate\altbierbude_en.pyw", line 31, in GetUrlData
    url_handle = opener.open( url )
  File "C:\Python26\lib\urllib2.py", line 389, in open
    response = self._open(req, data)
  File "C:\Python26\lib\urllib2.py", line 407, in _open
    '_open', req)
  File "C:\Python26\lib\urllib2.py", line 367, in _call_chain
    result = func(*args)
  File "C:\Python26\lib\urllib2.py", line 1146, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "C:\Python26\lib\urllib2.py", line 1121, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 10061] No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión>

----------
messages: 104661
nosy: m_enanos
priority: normal
severity: normal
status: open
title: Problem urllib2.URLError
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8580>
_______________________________________


More information about the Python-bugs-list mailing list