Share

The Emu Speech Database System

Tracker: Bugs

5 Problem saving labels using Write Emulabels in Praat on Os X - ID: 2864004
Last Update: Attachment added ( rasnatty )

Version 2.2.4

After opening a file in Praat from dbemu and modifying the annotations it
is now not possible to save the changes back to Emu using the "Write
Emulabels" script found under the file menu in the edit window.

The script starts but then another instance of dbemu is opened and the
script stalls.


Hywel Stoakes ( hywelms ) - 2009-09-22 04:20

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comments ( 2 )

Date: 2009-11-03 14:13
Sender: rasnattyProject Admin

thank you stagesam - modifcations are added to CVS and are attached below.

Copy the atteached file to /Emu.app/Contents/Resources/Scripts to make it
work.


Date: 2009-11-03 07:56
Sender: stageasam

Solution!

Diagnosed that the problem did not exist in version 2.2.2, so after some
extensive diff work I traced it back to
/Emu.app/Contents/Resources/Scripts/AppMain.tcl

Simply replace the version 2.2.4 copy with the 2.2.2 copy to resolve this
issue. The actual changes to the file that are of concern is the removal
of these lines:

if {[string equal "-sourcefiles" [lindex $argv 0]]} {
set argv [lrange $argv 1 end]
foreach f $argv {
source $f
}
exit
} else {
## open the console for error output.
## comment out when about to ship
## console show

Hope this helps, and makes its way as a patch back into 2.2.4


Attached File ( 1 )

Filename Description Download
AppMain.tcl Download

Changes ( 5 )

Field Old Value Date By
File Added 349368: AppMain.tcl 2009-11-03 14:14 rasnatty
close_date - 2009-11-03 14:13 rasnatty
allow_comments 1 2009-11-03 14:13 rasnatty
resolution_id None 2009-11-03 14:13 rasnatty
status_id Open 2009-11-03 14:13 rasnatty