Skip to content
Tcl Source Code Artifact [0e697c86e2]
Login

Artifact [0e697c86e2]

Artifact 0e697c86e291709f8ca61f4ad3388be2f804c276:

Ticket change [0e697c86e2] - New ticket [cb62320163a541a5|cb62320163] <i>two errors moving from itcl 4.0.3 to itcl 4.0.4</i>. by bennron on 2016-04-11 15:08:03.
D 2016-04-11T15:08:03.118
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Apr\s11,\s2016\r\nRonald\sBenn\r\nQ.W.Page\sAssociates\sInc.\r\[email protected]\r\n\r\nMoving\sfrom\stcl\s8.6.4\sand\sitcl\s4.0.3\sto\stcl\s8.6.5\sand\sitcl\s4.0.4\r\n\r\nTwo\serrors\soccur\sand\sboth\sare\sdescribed\shere.\sBoth\sprevent\sthe\screation\sof\siWidgets\swhich\sare\sin\sturn\sbased\son\sthe\sitk\slibrary.\sMy\scode\sfailed\screating\sa\stoplevel\siWidget\sbut\sprobably\screating\sany\siWidget\swill\sexpose\sthe\sproblems.\sThe\serrors\swere\s(1)\sand\s(2)\sbelow:\r\n\r\n(1)\sinvalid\scommand\sname\s".itk.dialog1.info.list"\r\n\r\nThe\sworkaround\sto\s(1)\sis\sin\sitk4.0/Archetype.tcl.\sLine\s(a)\sbelow\shas\sto\sbe\schanged\sto\sline\s(b)\r\n\r\n\s\s\s\s\s\s\s\s(a)\s::rename\s$itk_component(hull)\s$_path\r\n\r\n\s\s\s\s\s\s\s\s(b)\s::uplevel\s#0\s::rename\s$itk_component(hull)\s$_path\r\n\s\r\n(2)\s"bad\soption\s"_option_add":\sshould\sbe\sone\sof\s..."\r\n\r\nThe\sworkaround\sto\s(2)\sis\salso\sin\sitk4.0/Archetype.tcl.\sLine\s(c)\sbelow\shas\sto\sbe\schanged\sto\sline\s(d)\r\n\r\n\s\s\s\s\s\s\s\s(c)\sprivate\s_option_add\s{list}\s{\r\n\r\n\s\s\s\s\s\s\s\s(d)\sprotected\smethod\s_option_add\s{list}\s{\r\n\r\nBoth\sworkarounds\sindicate\sthe\schange\sfrom\stcl\s8.6.4\sto\stcl\s8.6.5\sand\sitcl\s4.0.3\sto\sitcl\s4.0.4\sinvolve\simplementation\sof\snamespaces\sand\sa\ssubtle\sdifference\shas\soccurred.\sFor\serror\s(1)\sit\sis\sprobable\sthat\sthe\scommand\sis\srenamed\sto\sa\scommand\swithin\sthe\snamespace\sof\sthe\sitk\swidget\sinstead\sof\sin\sthe\sglobal\snamespace\sand\sthe\suplevel\s#0\sworkaround\sdeals\swith\sthis.\sThe\scause\sof\serror\s(2)\sis\sunknown\sbut\sseems\sto\sbe\sa\sproblem\swith\sthe\simplementation\sof\sprivate\sversus\sprotected\sand\smay\salso\sbe\snamespace-related.\r\n\r\n\r\nIt\swould\sseem\sthat\siWidgets\swill\snot\swork\sin\sitcl\s4.0.4\sand\sthis\sis\spretty\sserious.\sIt\scost\sme\sa\scouple\sof\sdays\sto\sisolate\sthe\sproblem.\sAlso\snote\sthat\smoving\sto\sitcl\s4.0.4.\sis\salso\scritical\sas\sitcl\s4.0.4\sfixes\sa\sbug\sthat\smade\sitcl\s4.0\sseveral\sorders\sof\smagnitude\s(depending\son\sthe\stest)\sslower\sthan\sitcl\s3.4.\sI\sam\sup\sand\sworking\swith\sthe\sworkarounds\sbut\sI\sthink\sthese\sissues\sshould\sbe\saddressed.
J foundin tcl\s8.6.5\sitcl\s4.0.4
J is_private 0
J login bennron
J priority 5\sMedium
J private_contact 265d4f5d7c80223f93178459dda260259b0ea86f
J resolution None
J severity Critical
J status Open
J submitter bennron
J subsystem -\sNew\sBuiltin\sObject\sTypes
J title two\serrors\smoving\sfrom\sitcl\s4.0.3\sto\sitcl\s4.0.4
J type Bug
K cb62320163a541a573763f3c0fcaf6cb4ce561cb
U bennron
Z 81a7ad7b920223e624c77f5497b7f6a4