halhen/statnot — Issue #4: Arch Linux: AttributeError: 'str' object has no attribute 'splitline'
Author: iv597
Created: 2011-12-03 19:22:12+00:00
State: open

Well, I installed statnot from the AUR (had to slightly modify the PKGBUILD by taking out a line or it wouldn't make, that's another story though) and I get this when trying to run statnot:

Unhandled exception in thread started by
Traceback (most recent call last):
File "/usr/bin/statnot", line 204, in message_thread
update_text(get_statustext(current_notification_text))
File "/usr/bin/statnot", line 58, in update_text
first_line = text.splitline()[:-1]
AttributeError: 'str' object has no attribute 'splitline'

I've read about people having similar errors with the 'split' attribute, and supposedly the 'right' way to do it in that case was to instead import string, and do string.split(var, ) which I believe was the split delimiter. Regardless, statnot doesn't die at this point, it instead hangs and doesn't do anything, even when notify-send is called. I'm on the following:
statnot 0.0.4-1
python2 2.7.2-4

Thanks!