From nobody@digitalkingdom.org Tue Apr 17 19:41:33 2007 Received: with ECARTIS (v1.0.0; list lojban-beginners); Tue, 17 Apr 2007 19:41:33 -0700 (PDT) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.63) (envelope-from ) id 1He06u-0006eQ-Pr for lojban-beginners-real@lojban.org; Tue, 17 Apr 2007 19:41:33 -0700 Received: from ug-out-1314.google.com ([66.249.92.169]) by chain.digitalkingdom.org with esmtp (Exim 4.63) (envelope-from ) id 1He06p-0006eH-KB for lojban-beginners@lojban.org; Tue, 17 Apr 2007 19:41:32 -0700 Received: by ug-out-1314.google.com with SMTP id 32so285494ugm for ; Tue, 17 Apr 2007 19:41:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=EbJLCZMV1UOQQ+tlOJYPNfJ0oO/MlR0aXRNd7UC/K8H8x106YgKt8mPTsAt7GUMNqAHOM94hq21D3Gngd8+ONrF6qxuHlr/HipuwVBRUdAYlJYTKmtJSXsKY7kZa/G2KwLdmEypeTj2S93Fxic5PWYr79nlejzZwxU5wB5O3dgA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=efJaYi2ICjcd76rdtUe1ul1gtfCddzpK7wIKR1byXJB/aYI7vCYGpQEI4q2zWZLfQ3ZQzVG79ol6HaT2552JHg4omNVQuyL/9dNF4zM+SiABbx5WazGwnWGlOwROLg2wmgFlhfvbCz/PSLBF1qjOTrVLHotz6gDcjbfXTYJouQ0= Received: by 10.82.191.3 with SMTP id o3mr44062buf.1176864085463; Tue, 17 Apr 2007 19:41:25 -0700 (PDT) Received: by 10.82.105.2 with HTTP; Tue, 17 Apr 2007 19:41:25 -0700 (PDT) Message-ID: <702226df0704171941l594330cel5f19d45baa9a579d@mail.gmail.com> Date: Tue, 17 Apr 2007 20:41:25 -0600 From: "Jon \"Top Hat\" Jones" To: lojban-beginners@lojban.org Subject: [lojban-beginners] Re: Now what? In-Reply-To: <623C7547-38DC-4480-A4BC-F7FC247232F3@umich.edu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_893_550429.1176864085348" References: <23dc8c770704110631y7f854a50w1c5f7f79b53e929b@mail.gmail.com> <1189A858F8918F43BE3F9C7603C73FB4031E7C8B@0456-its-exmp01.us.saic.com> <702226df0704170715w7d3b9f4et364ad45230bf299a@mail.gmail.com> <068F3D55-EC7C-4255-A42C-CEAC606CB921@umich.edu> <702226df0704170956h69729522w9c175271a9674fb@mail.gmail.com> <623C7547-38DC-4480-A4BC-F7FC247232F3@umich.edu> X-Spam-Score: -2.4 X-Spam-Score-Int: -23 X-Spam-Bar: -- X-archive-position: 4290 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-beginners-bounce@lojban.org Errors-to: lojban-beginners-bounce@lojban.org X-original-sender: eyeonus@gmail.com Precedence: bulk Reply-to: lojban-beginners@lojban.org X-list: lojban-beginners ------=_Part_893_550429.1176864085348 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I have both python and pygame installed already- I checked that before I downloaded the program. The program seems to run, but I can only get one of the 'levels' to load, and it searches for *.wav files when I press 'hear', but I downloaded the *.ogg ones. Also, "Lojban Pronunciation.txt" (level 0) causes fatal error. Here's the output of a sample run, first running level 0 (pronunciation), then level 1: ____________________________________________________ eyeonus@panther:/home/Shared/lojban$ python parallel03.py open /dev/sequencer: No such file or directory Traceback (most recent call last): File "parallel03.py", line 373, in ? main() File "parallel03.py", line 269, in main storage,level=store() File "parallel03.py", line 231, in store if el[1]=="+": IndexError: string index out of range eyeonus@panther:/home/Shared/lojban$ python parallel03.py open /dev/sequencer: No such file or directory Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. File not found: 'Lojban_001/0001.wav' Failed to open Lojban_001/0001.wav Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. File not found: 'Lojban_001/0002.wav' Failed to open Lojban_001/0002.wav On 4/17/07, Alex Martini wrote: > > Here's what you should check that you have installed -- > python -- probably need version 2.5 or so > pygame library for python -- this gives you graphics, or in this case > colored text > > Then check if you have a command called realplay. If not, edit parellel.pyand change it to a command that will play a sound file as an argument given > to it on the command line. Without this, you get no sound. It might cause a > fatal error too. > > Judging from some other python learning tools (like LearnFast) it is > possible to use pygame's mixer to play the sound files as well, but I'm not > sure (a) how to do it or (b) how to adjust the part of parellel.py that > makes it wait until the sound finished. > > mu'o mi'e .aleks. > > On Apr 17, 2007, at 12:56 PM, Jon Top Hat Jones wrote: > > Linux version, running on Ubuntu Linux 6.10 LTS. > > On 4/17/07, Alex Martini wrote: > > > > On Apr 17, 2007, at 10:15 AM, Jon Top Hat Jones wrote: > > > > > [li'o] Speaking of which, I can't get Parallel to work. > > > > > > mu'o mi'e .topy'at. > > > > > > Come to the Dot Side! > > > > Are you using the Windows or Linux version? The Windows version > > worked straight away after I un-zipped it for me. The Linux (python > > with pyGame) worked on my Mac, but took some tweaking since I don't > > have realplay installed. > > > > > > > > > > > > -- -Jon mu'o mi'e .topy'at. Come to the Dot Side! ------=_Part_893_550429.1176864085348 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have both python and pygame installed already- I checked that before I downloaded the program. The program seems to run, but I can only get one of the 'levels' to load, and it searches for *.wav files when I press 'hear', but I downloaded the *.ogg ones.

Also, "Lojban Pronunciation.txt" (level 0) causes fatal error.

Here's the output of a sample run, first running level 0 (pronunciation), then level 1:
____________________________________________________
eyeonus@panther:/home/Shared/lojban$ python parallel03.py
open /dev/sequencer: No such file or directory
Traceback (most recent call last):
  File "parallel03.py", line 373, in ?
    main()
  File " parallel03.py", line 269, in main
    storage,level=store()
  File "parallel03.py", line 231, in store
    if el[1]=="+":
IndexError: string index out of range
eyeonus@panther:/home/Shared/lojban$ python parallel03.py
open /dev/sequencer: No such file or directory
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
File not found: 'Lojban_001/0001.wav'
Failed to open Lojban_001/0001.wav
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
File not found: 'Lojban_001/0002.wav'
Failed to open Lojban_001/0002.wav


On 4/17/07, Alex Martini <alexjm@umich.edu> wrote:
Here's what you should check that you have installed --

python -- probably need version 2.5 or so
pygame library for python -- this gives you graphics, or in this case colored text

Then check if you have a command called realplay. If not, edit parellel.py and change it to a command that will play a sound file as an argument given to it on the command line. Without this, you get no sound. It might cause a fatal error too.

Judging from some other python learning tools (like LearnFast) it is possible to use pygame's mixer to play the sound files as well, but I'm not sure (a) how to do it or (b) how to adjust the part of parellel.py that makes it wait until the sound finished.

mu'o mi'e .aleks.

On Apr 17, 2007, at 12:56 PM, Jon Top Hat Jones wrote:

Linux version, running on Ubuntu Linux 6.10 LTS.

On 4/17/07, Alex Martini < alexjm@umich.edu> wrote:
On Apr 17, 2007, at 10:15 AM, Jon Top Hat Jones wrote:

> [li'o] Speaking of which, I can't get Parallel to work.
>
> mu'o mi'e .topy'at.
>
> Come to the Dot Side!

Are you using the Windows or Linux version? The Windows version
worked straight away after I un-zipped it for me. The Linux (python
with pyGame) worked on my Mac, but took some tweaking since I don't
have realplay installed.









--
-Jon

mu'o mi'e .topy'at.

Come to the Dot Side! ------=_Part_893_550429.1176864085348--