incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cory Johns" <masterbunn...@users.sf.net>
Subject [allura:tickets] #6553 Fix taskd error logging
Date Tue, 13 Aug 2013 21:16:53 GMT
- **status**: code-review --> closed



---

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

**Status:** closed
**Created:** Mon Aug 12, 2013 07:31 PM UTC by Dave Brondsema
**Last Updated:** Tue Aug 13, 2013 07:49 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 sfs-alluradaemon-1.v29.ch3.sourceforge.com
pid 1327 project:/p/acbr/ app:code user:*anonymous>
Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/model/monq_model.py", line 256, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/var/local/allura/Allura/allura/tasks/repo_tasks.py", line 77, in refresh
    c.app.repo.refresh()
  File "/var/local/allura/Allura/allura/model/repository.py", line 514, in refresh
    refresh_repo(self, all_commits, notify, new_clone)
  File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 146, in refresh_repo
    send_notifications(repo, commit_ids)
  File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 426, in send_notifications
    summary)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-7: ordinal not in
range(128)
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/taskd.py", 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/errormiddleware.py",
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/errormiddleware.py",
line 206, in exception_handler
    reporters=self.reporters)
  File "/var/local/env-allura/lib/python2.7/site-packages/WebError-0.10.3_20130423-py2.7.egg/weberror/errormiddleware.py",
line 415, in handle_exception
    exc_data.exception_type, exc_data.exception_value))
IOError: [Errno 32] Broken pipe
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

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