[PD] close all patches on quit sourceforge patch

IOhannes m zmoelnig zmoelnig at iem.at
Thu Oct 25 16:30:50 CEST 2012


-----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/Trig-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/kLgY2a7fUh
fVEAn3mn9prk3dEVd9ut/JGJN7tufk2h
=SSeI
-----END PGP SIGNATURE-----


More information about the Pd-list mailing list