this kinda removes an old BUGS line that isn't actually correct for this change, but it was old and fixed a while ago anyway (mostly)
		
			
				
	
	
		
			39 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| dr.botzo --- BUGS
 | |
| 
 | |
|    * probably many, many more
 | |
|    * possible to have not well-formed XML in pywapi.get_weather_from_google:
 | |
|      xml.parsers.expat.ExpatError: not well-formed (invalid token)
 | |
|    * various stuff (or at least !alias list) doesn't get privmsg handling right, and
 | |
|      ends up sending the reply to the bot itself (as that is the target of the incoming
 | |
|      privmsg, same as in a channel, but the bot is supposed to overwrite the nick case
 | |
|      with the sender's)
 | |
|    * if a trigger text replacement happens, the original text is unavailable to modules
 | |
|      f.x., saying (this text will be replaced with a trigger)++ will cause (replacement)++
 | |
|      to be seen by the karma module. fix: pass along the original text as an argument
 | |
|      to modules, and/or have karma look in the events structure for the original text
 | |
|    * this twitter derp:
 | |
|      Unhandled exception in thread started by <bound method Twitter.thread_do of
 | |
|         <modules.Twitter.Twitter object at 0x151ee98c>>
 | |
|      Traceback (most recent call last):
 | |
|         File "/home/bss/bin/dr.botzo/dr.botzo/modules/Twitter.py", line 316, in thread_do
 | |
|           self._check_self_timeline()
 | |
|         File "/home/bss/bin/dr.botzo/dr.botzo/modules/Twitter.py", line 349, in _check_self_timeline
 | |
|           new_since_id = self._get_latest_tweet_id(tweets, new_since_id)
 | |
|      UnboundLocalError: local variable 'new_since_id' referenced before assignment
 | |
|    * Markov (in old codebase, but probably in new too) error:
 | |
|       File "/var/www/drbotzo.incorporeal.org/dr_botzo/dr_botzo/ircbot/Module.py", line 125, in on_pub_or_privmsg
 | |
|         return self.do(connection, event, nick, userhost, what, admin_unlocked)
 | |
|       File "/var/www/drbotzo.incorporeal.org/dr_botzo/dr_botzo/ircbot/modules/Markov.py", line 143, in do
 | |
|         u" ".join(_generate_line(context, topics=topics, max_sentences=1))))
 | |
|       File "../dr_botzo/markov/views.py", line 158, in _generate_line
 | |
|         line += _generate_longish_sentence(context, topics=topics, max_words=max_words)
 | |
|       File "../dr_botzo/markov/views.py", line 141, in _generate_longish_sentence
 | |
|         sent = _generate_sentence(context, topics=topics, max_words=max_words)
 | |
|       File "../dr_botzo/markov/views.py", line 127, in _generate_sentence
 | |
|         words.append(_get_word_out_of_states(new_states))
 | |
|       File "../dr_botzo/markov/views.py", line 180, in _get_word_out_of_states
 | |
|         hit = random.randint(0, count_sum)
 | |
|       File "/usr/lib64/python2.7/random.py", line 242, in randint
 | |
|         return self.randrange(a, b+1)
 | |
|       TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
 |