[Bug 412895] New: Tkined (package: scotty) doesn't save file
https://bugzilla.novell.com/show_bug.cgi?id=412895 User marko.veelma@data.ee added comment https://bugzilla.novell.com/show_bug.cgi?id=412895#c391115 Summary: Tkined (package: scotty) doesn't save file Product: openSUSE 11.0 Version: Final Platform: i386 OS/Version: openSUSE 11.0 Status: NEW Severity: Critical Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: marko.veelma@data.ee QAContact: qa@suse.de Found By: Customer Since Opensuse 11.0 TkInEd does not save file except its header only. In Opensuse 10.3 there was no such problem. In 11.0 Tkined didn't work at the beginning (BUG #391115) but was fixed later. Now when saving its network diagram it saves only header like this: #!/bin/sh ## This file was created by tkined version 1.4.11 >> DO NOT EDIT << ## ## This may look like TCL code but it is definitely not! \ exec tkined "$0" "$@" ined page A4 landscape -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=412895 Marko Veelma <marko.veelma@data.ee> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Normal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=412895 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@novell.com AssignedTo|pth@novell.com |max@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=412895 Reinhard Max <max@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=412895 User marko.veelma@data.ee added comment https://bugzilla.novell.com/show_bug.cgi?id=412895#c1 Marko Veelma <marko.veelma@data.ee> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marko.veelma@data.ee --- Comment #1 from Marko Veelma <marko.veelma@data.ee> 2009-01-07 03:24:38 MST --- After trying different workarounds I finally found a problem which comes from Tcl 8.5 changes already since 2004-11-23 (based their ChangeLog). Code from tclResult.c: void Tcl_AppendResultVA( … /* * Strictly we should call Tcl_GetStringResult(interp) here to make sure * that interp->result is correct according to the old contract, but that * makes the performance of much code (e.g. in Tk) absolutely awful. So we * leave it out; code that really wants interp->result can just insert the * calls to Tcl_GetStringResult() itself. [Patch 1041072 discussion] */ #ifdef USE_DIRECT_INTERP_RESULT_ACCESS /* * Ensure that the interp->result is legal so old Tcl 7.* code still * works. There's still embarrasingly much of it about... */ (void) Tcl_GetStringResult(interp); #endif /* USE_DIRECT_INTERP_RESULT_ACCESS */ It seems that Tcl in old SuSE releases defined "USE_DIRECT_INTERP_RESULT_ACCESS" and then everything worked like before. Anyway I don't think it is good idea to enable this workaround and I did update Tkined package itself with one more patch. After that it does work again with Tcl 8.5. Only caveat is missing ifdefs and therefore it probably doesn't compile with old Tcl any more.. Opensuse 11.0 recompiled packages can be found here: http://www.version6.net/apt/SuSE/11.0-i386/ , patch itself is here: http://www.version6.net/patches/tkined-tcl85.patch Cheers, -- Cougar -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=412895 User marko.veelma@data.ee added comment https://bugzilla.novell.com/show_bug.cgi?id=412895#c2 --- Comment #2 from Marko Veelma <marko.veelma@data.ee> 2009-01-07 03:25:47 MST --- Created an attachment (id=263530) --> (https://bugzilla.novell.com/attachment.cgi?id=263530) Tkined save fix for Tcl 8.5 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com