Recent Changes - Search:

Get GNU Solfege at SourceForge.net. Fast, secure and Free Open Source software downloads


BugWhenTryingToViewStatistics

bug when trying to view statistics

Submitter: g_koetke ,, yahoo ,, de
Long desciption: i just did some selfmade execises (harmonic intevals of my choice) and after a while i wanted to see my statistics. but i got this error message and no statistics. gnu solfege still runs goog but i cant view statistics. i installed it yesterday, been using it today for the first time on this computer. i formated my hard drive and installed windows just two days ago. i'm musing timidity as an external midi player.

i hope that helps. if you have any questions, feel free to contact me via mail. the bugtracker on your site does not work or i'm too stupid.

regards

Solfege version3.15.2
Bzr revision infobranch_nick: solfege.dev
revno: 1288
revision_id: tca@gnu.org-20090817115051-xeeb2tuk1gfp80w7
clean: False
runtime.use_gtkhtml2False
gtk.pygtk_version(2, 12, 1)
gtk<module 'gtk' from 'C:\Programme\GNU Solfege\python\lib\site-packages\gtk-2.0\gtk\__init__.pyc'>
sys.version_info(2, 5, 4, 'final', 0)
sys.version2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
sys.prefixC:\Programme\GNU Solfege\python
sys.platformwin32
windowsversion(5, 1, 2600, 2, 'Service Pack 2')

Message from stderr:

 
Traceback (most recent call last):
  File "C:\Programme\GNU Solfege\share\solfege\solfege\abstract.py", line 572, in on_switch_page
    self.g_statview.update()
  File "C:\Programme\GNU Solfege\share\solfege\solfege\statisticsviewer.py", line 178, in update
    60*60*24)
  File "C:\Programme\GNU Solfege\share\solfege\solfege\statisticsviewer.py", line 37, in __init__
    st_data = st.get_statistics(seconds)
  File "C:\Programme\GNU Solfege\share\solfege\solfege\statistics.py", line 402, in get_statistics
    q = solfege.db.conn.execute("select answerkey, guessed, sum(count) from sessions where uuid=? and timestamp>? group by answerkey, guessed", (self.m_t.m_P.header.lesson_id, self.m_timestamp - seconds))
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
Traceback (most recent call last):
  File "C:\Programme\GNU Solfege\share\solfege\solfege\abstract.py", line 572, in on_switch_page
    self.g_statview.update()
  File "C:\Programme\GNU Solfege\share\solfege\solfege\statisticsviewer.py", line 178, in update
    60*60*24)
  File "C:\Programme\GNU Solfege\share\solfege\solfege\statisticsviewer.py", line 37, in __init__
    st_data = st.get_statistics(seconds)
  File "C:\Programme\GNU Solfege\share\solfege\solfege\statistics.py", line 402, in get_statistics
    q = solfege.db.conn.execute("select answerkey, guessed, sum(count) from sessions where uuid=? and timestamp>? group by answerkey, guessed", (self.m_t.m_P.header.lesson_id, self.m_timestamp - seconds))
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
Traceback (most recent call last):
  File "C:\Programme\GNU Solfege\share\solfege\solfege\abstract.py", line 572, in on_switch_page
    self.g_statview.update()
  File "C:\Programme\GNU Solfege\share\solfege\solfege\statisticsviewer.py", line 178, in update
    60*60*24)
  File "C:\Programme\GNU Solfege\share\solfege\solfege\statisticsviewer.py", line 37, in __init__
    st_data = st.get_statistics(seconds)
  File "C:\Programme\GNU Solfege\share\solfege\solfege\statistics.py", line 402, in get_statistics
    q = solfege.db.conn.execute("select answerkey, guessed, sum(count) from sessions where uuid=? and timestamp>? group by answerkey, guessed", (self.m_t.m_P.header.lesson_id, self.m_timestamp - seconds))
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
Edit - History - Print - Recent Changes - Search
Page last modified on September 23, 2009, at 09:45 AM