LearningRegistry/LearningRegistry — Issue #164: Missing import or syntax error in change monitor
Author: jimklo
Created: 2012-01-12 01:01:36+00:00
State: open
Labels: P2 Critical, S1 Distribute

The following error is flooding the logs:

00:46:39,097 ERROR [lr.lib.couch_change_monitor.change_monitor] [MainThread] Cannot run handler >
00:46:39,097 ERROR [lr.lib.couch_change_monitor.change_monitor] [MainThread] global name 'pprint' is not defined
Traceback (most recent call last):
File "./lr/lib/couch_change_monitor/change_monitor.py", line 102, in _handleChange
handler.handle(change, self._database)
File "./lr/lib/couch_change_monitor/base_change_threshold_handler.py", line 48, in handle
self._handle(change, database)
File "./lr/model/resource_data_monitor/distribute_threshold_handler.py", line 34, in _handle
log.debug(pprint.pformat(request))
NameError: global name 'pprint' is not defined

It's unclear whether there are any adverse effects because of this.