Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » getting sendpraat to work on Mac

getting sendpraat to work on Mac

Up one level

getting sendpraat to work on Mac

Posted by Rsinger at 2011-02-14 12:59  

Hi, I am trying to get Praat and Elan connected on a recent mac (10.6.4, snow leopard). I have downloaded the sendpraat executable called sendpraat_intel. and put it into the same folder as Praat. But when Elan asks for the sendpraat executable and I choose the file sendpraat_intel. the program simply asks for the same thing again - it doesn't seem to recognise the executable file.

Is there something I need to do with the executable file to open it or run it? Or is it ready as it is (never had a program file with a name that ended in a full stop, but who knows...)

Or should I try Claire Bowern's compilation of sendpraat? http://anggarrgoon.wordpress.com/?s=sendpraat

Maybe the next version of Elan could include a built-in sendpraat? Add it to the wishlist perhaps?

Re: getting sendpraat to work on Mac

Posted by Rap at 2011-02-17 16:06  

I am having exactly the same problem on a 10.5.8 Mac....

Re: Re: getting sendpraat to work on Mac

Posted by hasloe at 2011-03-03 15:31  

When a file has been downloaded or copied from somewhere the file permission sometimes get lost. As a result "sendpraat" is no longer "executable". To check if this is the case and to change this one can try the following:
- open a Terminal window (/Applications/Utilities/Terminal)
- type "cd " (without the quotes) and in the Finder drag the folder in which sendpraat resides into the terminal window. The path to the folder is copied, press enter with the Terminal window active.
- type "ls -l sendpraat" (without the quotes) and press enter
- if the first part of the output (e.g. -rw-r--r--@) does not contain any "x" characters typ "chmod 557 sendpraat" (without the quotes) and press enter. Check with "ls- l" whether the file is now indeed executable.


-Han

Re: Re: Re: getting sendpraat to work on Mac

Posted by eric at 2011-03-04 17:17  
hasloe-2011-03-03 15:31:50
- if the first part of the output (e.g. -rw-r--r--@) does not contain any "x" characters typ "chmod 557 sendpraat" (without the quotes) and press enter. Check with "ls- l" whether the file is now indeed executable.
That should probably be "chmod ugo+x sendpraat" (and not "chmod 557 sendpraat" or ... 755 ...) but the general suggestion exactly hits the point: When you download a file directly, it is initially not executable on Linux or MacOS. When you download an archive or similar installer, execute rights are often set for you while unpacking / installing. Eric

Re: Re: Re: Re: getting sendpraat to work on Mac

Posted by riessler at 2012-03-29 17:02  

The explanation at http://www.fon.hum.uva.nl/praat/sendpraat.html does not really help me, unfortunately. I simply do not understand what it means to "use it as a subroutine in your own C programs" or how to use sendpraat from the MacOS X command line or how to compile it myself. I tried this "chmod 777 sendpraat" with the terminal (as well as the other other versions around). Finder lists Sendpraat as an "Unix executable" now, but it
is still not running with the right mouse click from ELAN. What I noted is that the downloaded sendpraat script file is
not encoded in UTF-8. Should it be this way? What else could be wrong? I
appreciate your help.<br><br>Michael (OSX 10.7.3, Praat 5.1.26, ELAN 4.2.0)<br>

 

Powered by Plone

This site conforms to the following standards: