bugGNU Solfege - Bugs: bug #57497, Statistics for "Sing...

 
 

bug #57497: Statistics for "Sing Intervals - 2 to 10" don't seem to work

Submitter:  None
Submitted:  Sun 29 Dec 2019 09:44:30 AM UTC
   
 
Category:  None Severity:  3 - Normal
Status:  Fixed Privacy:  Public
Assigned to:  jose1711 Open/Closed:  Closed
Release:  3.23.4
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 21 Jun 2021 12:56:11 PM UTC, comment #1: 

Thank you for the bug report. Fix is pushed to master.

Jose Riha <jose1711>
Group Member
Sun 29 Dec 2019 09:44:30 AM UTC, original submission:  

I installed GNU Solfège recently and tried it. While I worked on the exercise "Sing intervals - 2 to 9" (in German: "Intervalle singen - Sekunde bis Dezime"), I wanted to check on my progress in the statistics. There, the following error message appeared, with the plea to submit it:


Traceback (most recent call last):
  File "/usr/share/solfege/solfege/abstract.py", line 698, in on_switch_page
    self.g_statview.update()
  File "/usr/share/solfege/solfege/statisticsviewer.py", line 236, in update
    self.g_p = PercentagesTable(self.m_statistics)
  File "/usr/share/solfege/solfege/statisticsviewer.py", line 169, in _init_
    self.update(statistics)
  File "/usr/share/solfege/solfege/statisticsviewer.py", line 187, in update
    for k in statistics.get_keys(True):
  File "/usr/share/solfege/solfege/statistics.py", line 818, in get_keys
    v = AbstractStatistics.get_keys(self, all_keys)
  File "/usr/share/solfege/solfege/statistics.py", line 570, in get_keys
    v.sort()
TypeError: '<' not supported between instances of 'str' and 'int'


I tried it several times, it just doesn't seem to work: After deleting the statistics and trying it again, even after I reinstalled Solfège. I'm on Ubuntu 19.10 with Python 2.7.17. Sorry, I'm not a coder and cannot interpret the error message. Thank you for your great work and have a nice day.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jose1711 (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-21 jose1711 StatusNone Fixed
        Assigned toNone jose1711
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code