Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Feb 2006 19:00:05 +1100
From:      Robert Jenssen <robertjenssen@ozemail.com.au>
To:        ports@FreeBSD.org
Subject:   solfege port
Message-ID:  <1139126405.44622.5.camel@kraken>

next in thread | raw e-mail | index | archive | help
Hi,

Thanks for porting the solfege ear trainer. I am using


uname -a
FreeBSD kraken 5.4-RELEASE-p11 FreeBSD 5.4-RELEASE-p11 #1: Thu Feb  2
15:11:34 EST 2006  robj@kraken:/usr/obj/usr/src/sys/KRAKEN  i386

solfege -v
GNU Solfege 2.4.0
This is free software. It is covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. Invoke as `solfege --warranty` for more information.

Copyright \uffff\uffff 1999-2005 Tom Cato Amundsen <tca@gnu.org>

python
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
robj@kraken$ python
Python 2.4 (#2, Apr  3 2005, 22:24:02)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "credits" or "license" for more information.
>>>


I've made the following patch to avoid an OSError message from os.wait()

Best wishes,

Rob Jenssen



*** soundcard/midifilesynth.py  Mon Apr 25 21:26:49 2005
--- /usr/X11R6/share/gnome/solfege/soundcard/midifilesynth.py   Sun Feb
5 18:58:49 2006
***************
*** 77,81 ****
              except OSError:
                  pass
!             os.wait()
              self.__child_pid = None
          pid = os.fork()
--- 77,84 ----
              except OSError:
                  pass
!             try:
!                 os.wait()
!             except OSError:
!                 pass
              self.__child_pid = None
          pid = os.fork()




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1139126405.44622.5.camel>