[PD] close all patches on quit sourceforge patch

Ivica Ico Bukvic ico at vt.edu
Thu Nov 8 08:54:29 CET 2012


Many thanks for sharing this, IOhannes! I've embellished your patch a bit
and added it to pd-l2ork.

Best wishes,

Ico

> -----Original Message-----
> From: pd-list-bounces at iem.at [mailto:pd-list-bounces at iem.at] On Behalf Of
> IOhannes m zmoelnig
> Sent: Thursday, October 25, 2012 10:31 AM
> To: pd-list at iem.at
> Subject: Re: [PD] close all patches on quit sourceforge patch
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 2012-10-25 06:18, Hans-Christoph Steiner wrote:
> >
> > yup:
> >
> > hans at palatschinken bin $ dpkg -l tkpng
> > Desired=Unknown/Install/Remove/Purge/Hold |
> > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tri
> > g-pend
> >
> >
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> > ||/ Name             Version          Description
> > +++-================-================-
> ================================
> > +++================
> >
> >
> ii  tkpng            0.9-1ubuntu1     PNG photo image support to Tcl/Tk
> >
> >
> > Does it not work with Tcl/Tk 8.5?
> >
> > hans at palatschinken bin $ tclsh % info patchlevel 8.5.11
> 
> works here:
> 
> zmoelnig at ferrari:~$ tclsh
> % info patchlevel
> 8.5.11
> zmoelnig at ferrari:~$ dpkg -l tkpng
> ii  tkpng   0.9-1 i386   PNG photo image support to Tcl/Tk
> 
> 
> originally i had the same problem:
> $ ./pd-l2ork
> tcl: /tmp/pd-l2ork/bin/pd.tk: can't open script
> pd: exiting
> 
> 
> but indeed i was missing tkpng first. i discovered this by directly
running
> (after making pd.tk executable) $ ./pd.tk which initially threw an error
"Error
> in startup script: can't find package tkpng".
> 
> so the "can't open script" error is a bit misleading (or generic).
> 
> attached is a small patch that prints the full error message of the Tcl-
> Interpreter.
> 
> fgmasdr
> IOhannes
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAlCJTRYACgkQkX2Xpv6ydvRuzgCgwy8NkGHXHgWqK/kLgY2a7f
> Uh
> fVEAn3mn9prk3dEVd9ut/JGJN7tufk2h
> =SSeI
> -----END PGP SIGNATURE-----




More information about the Pd-list mailing list