Hello!

I found a couple of bugs in 3.14.5.
First: If I try to run solfege from the command line and try to list the
options, like this: "./solfege.py -h", I get an error message. This is
because the file /src/optionparser.py is missing an "import sys" statement.
(It tries to assign sys.stdout)

Second: Using the option "have_music_displayer" in the header of an element
builder lesson file is not really working, it displays the music no matter
what. The only thing that the option affects is whether the music is
displayed in the main windows or in a pop-up window. I managed to fix it by
replacing in the file /src/elembuilder.py two instances of a call
"self.show_answer()" with "if
self.m_t.m_P.header.have_music_displayer:self.run_exception_handled(self.show_answer)".
I copied this solution from the idbyname module that is working correctly.

Tommi
------------------------------------------------------------------------------
_______________________________________________
Solfege-devel mailing list
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe", or visit
https://lists.sourceforge.net/lists/listinfo/solfege-devel

Reply via email to