©2003 Kåre Sjölander and Jonas Beskow
Introduction Download Documentation Links Forum
WaveSurfer user forum

FAQ  FAQ
Search  Search
Memberlist  Memberlist
Register  Register
Profile  Profile
Login  Login

A Mac OSX problem

 
Post new topic   Reply to topic    www.speech.kth.se/wavesurfer Forum Index -> WaveSurfer
View previous topic :: View next topic  
Author Message
Keith_Johnson



Joined: 07 Sep 2004
Posts: 2

PostPosted: Tue Sep 07, 2004 12:41 pm    Post subject: A Mac OSX problem Reply with quote

Thanks to the KTH for all the work to make WaveSurfer available (and the ESPS sources!). Using Mac OS X 10.3.5, I was playing with the configuration options, quit the application - all is fine. Then subsequent launch of the application aborts. I tried a command line start with this line:

gvl236030:~/Desktop/WaveSurfer-1.7.1/Contents keithjohnson$ ./MacOS/Wishkit

I don't know if this is even legal, but the error message may be useful - it seems to be looking for a nonexistent configuration file - and perhaps choking on the first <space> in the file name? The full Error report is below.

Thanks,
Keith

---------------------------------------------------
Error in startup script: couldn't read file "/Users/keithjohnson/Desktop/WaveSurfer-1.7.1/Contents/Resources/Scripts/wsurf1.7/configurations/Speech": no such file or directory
while executing
"_source /Users/keithjohnson/Desktop/WaveSurfer-1.7.1/Contents/Resources/Scripts/wsurf1.7/configurations/Speech"
("uplevel" body line 1)
invoked from within
"uplevel _source [list $file]"
(procedure "source" line 5)
invoked from within
"source $conf"
(procedure "applyConfiguration" line 11)
invoked from within
"applyConfiguration $w $d(configuration)"
("-configuration" arm line 3)
invoked from within
"switch -- $opt {
-background -
-foreground -
-troughcolor -
-cursorcolor {
$wid(wavebar) configure $opt $val
}
-icons {

}
..."
(procedure "wsurf::configure" line 10)
invoked from within
"wsurf::configure .x.s1 -configuration /Users/keithjohnson/Desktop/WaveSurfer-1.7.1/Contents/Resources/Scripts/wsurf1.7/configurations/Speech"
("eval" body line 1)
invoked from within
"eval wsurf::$cmd .x.s1 $args"
(procedure ".x.s1" line 1)
invoked from within
"$w configure -configuration [lindex $surf(conf) 0]"
invoked from within
"if {[llength $surf(filelist)] == 0} {
# no files given on command line, pack an empty widget
set w [wsurf .x.s[incr surf(count)] -messageproc setMs..."
(file "/Users/keithjohnson/Desktop/WaveSurfer-1.7.1/Contents/Resources/Scripts/AppMain.tcl" line 3040)
Back to top
View users profile Send private message Send email
kare



Joined: 16 Aug 2002
Posts: 371
Location: KTH, Centre for Speech Technology

PostPosted: Tue Sep 07, 2004 1:54 pm    Post subject: Reply with quote

There are many ways of starting the binary WaveSurfer fro MacOSX from the command line. for example

~/Desktop/WaveSurfer-1.7.1/Contents/MacOS/Wishkit

~/Desktop/WaveSurfer-1.7.1/Contents/Resources/Scripts/AppMain.tcl

wish ~/Desktop/WaveSurfer-1.7.1/Contents/Resources/Scripts/AppMain.tcl

I can't immediately say what's wrong but try deleting this file before starting WaveSurfer

~/.wavesurfer/1.7/preferences

It seems very likely that your guess about <space> in a file name being relevant, can't say how though...

If you can manage to get a crash after some more play, please try to specify exactly what you did, so I can re-create the crash.

Thanks for your report!

Kåre
Back to top
View users profile Send private message Visit posters website
Keith_Johnson



Joined: 07 Sep 2004
Posts: 2

PostPosted: Tue Sep 07, 2004 3:06 pm    Post subject: Reply with quote

Thanks. Deleting the preferences file solved the problem.

I can recreate the problem by choosing a configuration in the preferences dialog box. If the name of the configuration has a <space> in it wavesurfer crashes on the next launch of the application (Speech analysis, IPA transcription, etc.) If the name does not contain a <space> all is well (Spectrogram, Waveform, Transcription, etc.). Evidently, the string gets cut at white space at some point in reading or using the preferences file.

best,
Keith
Back to top
View users profile Send private message Send email
kare



Joined: 16 Aug 2002
Posts: 371
Location: KTH, Centre for Speech Technology

PostPosted: Tue Sep 07, 2004 3:35 pm    Post subject: Reply with quote

Thanks, I'll have a look at this tomorrow when I can get my hands on a Mac.

Kåre
Back to top
View users profile Send private message Visit posters website
kare



Joined: 16 Aug 2002
Posts: 371
Location: KTH, Centre for Speech Technology

PostPosted: Wed Sep 08, 2004 2:17 pm    Post subject: Reply with quote

I can't reproduce the error. I even tried inserting a <space> as in "../Wave Surfer-1.7.1/.." still worked fine (has been problematic earlier).

I tried both command line and clicking the icon on the desktop- When I download I end up with the application /Users/kare/Desktop/WaveSurfer-1.7.1/

Kåre
Back to top
View users profile Send private message Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    www.speech.kth.se/wavesurfer Forum Index -> WaveSurfer All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.1 © 2001, 2002 phpBB Group