Page MenuHomePhabricator

morebots depends on parameter "enable_twitter" having been set
Closed, InvalidPublic

Description

labs-logbot.err:

DEBUG:root:'labs-logbot' got '!log tools tools-login: Disabled crontab and pkill -HUP -u fatemi127'; Attempting to log.
ERROR:root:Failed to log message
Traceback (most recent call last):
File "/usr/lib/adminbot/adminlogbot.py", line 247, in on_pubmsg
adminlog.log(self.config, message, project, author)
File "/usr/lib/adminbot/adminlog.py", line 67, in log
if config.enable_twitter:
AttributeError: 'module' object has no attribute 'enable_twitter'

Version: unspecified
Severity: normal

Details

Reference
bz61554

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:06 AM
bzimport set Reference to bz61554.
bzimport added a subscriber: Unknown Object (MLST).

Worked around by adding "enable_twitter=False" to confs/labs-logbot.py and restarting labs-morebots.

Aklapper subscribed.
bd808 subscribed.

Stashbot's twitter support is per channel and defaults to being off: rLTSTbaea6e4a4bca: Add support for tweeting !log messages