incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #7142 Better conditional around sending zarkov events
Date Fri, 14 Feb 2014 20:45:57 GMT
- **status**: open --> code-review
- **assigned_to**: Dave Brondsema
- **Milestone**: forge-backlog --> forge-feb-21


** [tickets:#7142] Better conditional around sending zarkov events**

**Status:** code-review
**Labels:** bitesize 
**Created:** Thu Feb 06, 2014 06:38 PM UTC by Dave Brondsema
**Last Updated:** Thu Feb 06, 2014 06:38 PM UTC
**Owner:** Dave Brondsema

Zarkov events are optional, but the code just checks to see if the 'zmq' lib is installed
and it should really be checking to see if is configured.  If zmq is installed
but is not configured (and a zarkov is not listening) then it'll hang as shown
below.  Fix should be around line 338

"/home/jetmind/p/42cc/allura/sourceforge-allura/Allura/allura/", line
464, in install
line 30, in inner
    call_hook(obj, after_meth, *args, **kwargs)
line 16, in call_hook
    getattr(e, hook_name)(*args, **kw)
line 75, in after_flush
    g.zarkov_event('create', extra=obj.index_id())
line 365, in zarkov_event
    self._zarkov.event(event_type, context, extra)
line 38, in event
  File "socket.pyx", line 530, in zmq.core.socket.Socket.send
  File "socket.pyx", line 577, in zmq.core.socket.Socket.send
  File "socket.pyx", line 174, in zmq.core.socket._send_copy
  File "checkrc.pxd", line 11, in zmq.core.checkrc._check_rc
line 21, in thread_interrupt_handler
    prev_handler(signum, frame)


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