2012/1/30 Martin Gillard <[email protected]>

>
>   Hi!
>
> Here are the messages I get when I try to launch the GNU Solfege software:
>
> "No module named _solfege_c_midi
> Vous devriez configurer le son depuis l'onglet 'Configuration du son' de
> la fenêtre des préférences et essayez d'utiliser un lecteur midi externe.
> Sinon essayez de recompiler le programme en vérifiant les éventuelles
> erreurs pour comprendre pourquoi ce module n'est pas fabriqué."
>

You get rid of the above message by selecting another way to play sounds in
the preferences window. Ctrl-F12 from
inside the program. I have changed the default config in a later release to
use a config that works for more people.


>
>
> "Traceback (most recent call last):
>   File "/usr/share/solfege/solfege/startup.py", line 160, in start_gui
>     solfege.win.load_frontpage()
>   File "/usr/share/solfege/solfege/mainwin.py", line 206, in load_frontpage
>     self.display_frontpage()
>   File "/usr/share/solfege/solfege/mainwin.py", line 616, in
> display_frontpage
>     self.get_view().display_data(data, show_topics=show_topics)
>   File "/usr/share/solfege/solfege/esel.py", line 332, in display_data
>     show_topics)
>   File "/usr/share/solfege/solfege/esel.py", line 270, in _display_data
>     self.adjust_scrolledwin_size()
>   File "/usr/share/solfege/solfege/esel.py", line 126, in
> adjust_scrolledwin_size
>     self.set_size_request(w, h if h > self.m_min_height else
> self.m_min_height)
> TypeError: integer argument expected, got float"
>

Are you running linux mint 12, you too? I see lots of people email me about
this. Does mint linux get this package from Ubuntu universe?

Below is a patch that fixes the problem. As you see, you must find the file
esel.py and change one line.
Tom Cato

=== modified file 'solfege/esel.py'
--- solfege/esel.py    2011-05-13 07:51:52 +0000
+++ solfege/esel.py    2011-05-14 17:02:46 +0000
@@ -121,7 +121,7 @@
         # ubuntu 10.04 and +4 on MS Windows XP.
         h = self.g_box.size_request()[1] + 4
         if h > gtk.gdk.screen_height() * 0.8:
-            h = gtk.gdk.screen_height() *0.8
+            h = int(gtk.gdk.screen_height() *0.8)
         self.set_size_request(w, h if h > self.m_min_height else
self.m_min_height)
         # Then we check if we have to move the app window higher up on the
         # screen so that the whole window is visible.


>
>
> Could you please help me out with this?
>
>
> Thanks,
>
> Martin.
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> 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
>
>


-- 
Tom Cato Amundsen <[email protected]>                 http://www.solfege.org/
GNU Solfege - free ear training    http://www.gnu.org/software/solfege/
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
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