[PD] openpanel crash
Miller Puckette
msp at ucsd.edu
Sat Aug 28 22:57:54 CEST 2010
thanks for the reminder... I still have no way to reproduce this one,
but I saw something to 'improve' in... if you're feeling proactive, try
replacing the pdtk_openpanel and pdtk_savepanel routines in
tcl/wheredoesthisgo.tcl with...
proc pdtk_openpanel {target localdir} {
if {! [file isdirectory $localdir]} {
if { ! [file isdirectory $::fileopendir]} {
set ::fileopendir $::env(HOME)
}
set localdir $::fileopendir
}
set filename [tk_getOpenFile -initialdir $localdir]
if {$filename ne ""} {
set ::fileopendir [file dirname $filename]
pdsend "$target callback [enquote_path $filename]"
}
}
proc pdtk_savepanel {target localdir} {
if {! [file isdirectory $localdir]} {
if { ! [file isdirectory $::filenewdir]} {
set ::filenewdir $::env(HOME)
}
set localdir $::filenewdir
}
set filename [tk_getSaveFile -initialdir $localdir]
if {$filename ne ""} {
pdsend "$target callback [enquote_path $filename]"
}
}
(no recompilation needed) and see if that helps.
cheers
M
On Sat, Aug 28, 2010 at 03:59:05PM -0400, William Brent wrote:
> Just wanted to raise this thread again while there's so much progress
> being made. Sorry if it's already an item on the to do list.
>
> I still get the openpanel crash consistently with OSX 10.6.4 with
> Pd-0.43-0test2 (as well as Pd-0.42-5). As Alexandre said, the only
> fix is to create a new patch with [openpanel] in it, then open the
> patch you actually want to use.
>
>
> William
>
>
>
> On Sat, May 15, 2010 at 11:04 PM, Alexandre Porres <porres at gmail.com> wrote:
> > hey, I am using 10.6.3 as well... damn...
> > well...
> > cheers
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> >
> >
>
>
>
> --
> William Brent
> www.williambrent.com
>
> “Great minds flock together”
> Conflations: conversational idiom for the 21st century
>
> www.conflations.com
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list