incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #6553 Fix taskd error logging
Date Mon, 12 Aug 2013 19:31:12 GMT


** [tickets:#6553] Fix taskd error logging**

**Status:** in-progress
**Created:** Mon Aug 12, 2013 07:31 PM UTC by Dave Brondsema
**Last Updated:** Mon Aug 12, 2013 07:31 PM UTC
**Owner:** Dave Brondsema

In [2b7892] and [dbffe3] I tried to fix up the taskd error logging.  See those commits for
details on previous changes.

After those changes, we're still getting incorrect logging.  The first error here is a correct
error, but the 2nd (broken pipe) shouldn't be here:

18:28:38,518 ERROR [taskd:allura.tasks.repo_tasks.refresh:52092952ea406b0d7dffdf99:allura.model.monq_model]
Error "'ascii' codec can't encode characters in position 6-7: ordinal not in range(128)" on
job <MonQTask 52092952ea406b0d7dffdf99 (busy) P:10 allura.tasks.repo_tasks.refresh
pid 1327 project:/p/acbr/ app:code user:*anonymous>
Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/model/", line 256, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/var/local/allura/Allura/allura/tasks/", line 77, in refresh
  File "/var/local/allura/Allura/allura/model/", line 514, in refresh
    refresh_repo(self, all_commits, notify, new_clone)
  File "/var/local/allura/Allura/allura/model/", line 146, in refresh_repo
    send_notifications(repo, commit_ids)
  File "/var/local/allura/Allura/allura/model/", line 426, in send_notifications
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-7: ordinal not in
18:28:38,524 ERROR [allura.command] taskd error [Errno 32] Broken pipe; pausing for 10s before
taking more tasks
Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/command/", line 142, in worker
    list(wsgi_app(r.environ, start_response))
  File "/var/local/env-allura/lib/python2.7/site-packages/WebError-0.10.3_20130423-py2.7.egg/weberror/",
line 255, in next
    exc_info, self.environ)
  File "/var/local/env-allura/lib/python2.7/site-packages/WebError-0.10.3_20130423-py2.7.egg/weberror/",
line 206, in exception_handler
  File "/var/local/env-allura/lib/python2.7/site-packages/WebError-0.10.3_20130423-py2.7.egg/weberror/",
line 415, in handle_exception
    exc_data.exception_type, exc_data.exception_value))
IOError: [Errno 32] Broken pipe


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