id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 3298,Bug when testing if environment needs upgrade,anderson@…,Alec Thomas,"Hi, I detected an bug when the plug-in tests if the environment needs upgrade. It counts how much items there are on the table votes. But, at least on MySQL, if there is no records, it don´t returns nothing. So commented the line above and everything worked great. If don´t do it, the trac always says that the database needs an upgrade. Just one line commented on __init__.py: def environment_needs_upgrade(self, db): cursor = db.cursor() try: cursor.execute(""SELECT COUNT(*) FROM votes"") #cursor.fetchone() return False except: return True",defect,closed,high,VotePlugin,blocker,fixed,,Ryan J Ollos,0.11