incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cory Johns" <>
Subject [allura:tickets] #6728 Trac importer gets internal timeouts
Date Mon, 07 Oct 2013 19:53:23 GMT
- **QA**: Cory Johns


** [tickets:#6728] Trac importer gets internal timeouts**

**Status:** code-review
**Labels:** trac import 
**Created:** Wed Oct 02, 2013 04:28 PM UTC by Dave Brondsema
**Last Updated:** Fri Oct 04, 2013 05:05 PM UTC
**Owner:** Tim Van Steenburgh

We need to avoid internal timeouts like this.  Perhaps bumping a timeout value in the connection
would help, but it seems a better fix would be for internal work like this to just run the
ticket importer API controller (or model) directly instead of going through HTTP.

Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/model/", line 258, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/var/local/forge-classic/sfx/importers/trac/", line 18, in import_tool
    importer.import_tool(c.project, c.user, **kw)
  File "/var/local/allura/ForgeImporters/forgeimporters/trac/", line 146, in import_tool
    export_string, validate=False)
  File "/var/local/allura/ForgeTracker/forgetracker/scripts/", line 62, in
    res =, doc=json.dumps(doc_import), options=json.dumps(import_options))
  File "/var/local/allura/Allura/allura/lib/", line 56, in call
    result = urllib2.urlopen(url, urllib.urlencode(params))
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/",
line 121, in __call__
    return self.run_and_log(self._inner, None, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/",
line 126, in run_and_log
    return func(*args, **kwargs)
  File "/usr/lib64/python2.7/", line 126, in urlopen
    return, data, timeout)
  File "/usr/lib64/python2.7/", line 400, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.7/", line 418, in _open
    '_open', req)
  File "/usr/lib64/python2.7/", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/", line 1207, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.7/", line 1180, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib64/python2.7/", line 1030, in getresponse
  File "/usr/lib64/python2.7/", line 407, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python2.7/", line 365, in _read_status
    line = self.fp.readline()
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/",
line 117, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/",
line 126, in run_and_log
    return func(*args, **kwargs)
  File "/usr/lib64/python2.7/", line 447, in readline
    data = self._sock.recv(self._rbufsize)
timeout: timed out


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message