Hey all, Not sure why but I get a Key not found error in my runtime when I evaluate DateAndTime now. It works fine in the dev image. Is there something I need to initialize? Thanks, -Carl ExceptionalEvent>>#signal receiver = Exception: (ExCLDTKeyNotFound) Key not found. [optimized] in KeyedCollection>>#at: [] in EsSmalltalkNamespace>>#at:ifAbsent: receiver = EsSmalltalkNamespace(EpRuntimeStartUp AbtParameterToActionConnection AbtEventConnection AbtEventToActionConnection AbtRunNonVisualApp AbtParameterToCodeHookConnection AbtParameterToAttributeConnection AbtUnaryAndKeywordDirectedMessage AbtAppBldrNonVisual AbtAttributeToCodeHookConnection AbtEventToCodeHookConnection AbtAttributeToAttributeConnection AbtCompositePart CwProgressDialog CwMenuCascadeButton CwFontPrompter CwMessageBoxDialog CwMenuEntry CwObjectList CommonExtendedWidgets CwMenuBar CwTextPrintingManager CwExtendedTextPrompter CwMenu CwHierarchyList CwPasswordPrompter CwListPrompter CwExtendedDialog CwMenuPushButton CwTextUndoManager CwWorkingDialog CwSmalltalkTextSelectionManager CwTextManager CwExtendedPrompter CwMenuSeparator CwMenuToggleButton CwListSelectionPrompter CwTextSearchDialog CwDoubleListPrompter CwTextSelectionManager CwMultiLineTextPrompter CwNullUndoManager CwSash CwDoubleListSelectionPrompter CwTwoButtonPrompter EsPoolDictionary(' Cancel ' 'Proportional' 'untitled' '# = any character, * = any string' 'Ext. Style:' 'Case Sensitive' ' Close ' 'Style:' 'Scaled font' 'Checking font information. Please wait...' 'Replace All' 'Status: Replacing...' 'Status: String Not Found' 'Find:' 'Information Required' 'Select an item' 'Replace With:' 'esta' 'Font Selection' ' oblique' 'Replace Selection' ('english' 'us' 'ansi-ascii') ' italic' ' << ' 'Status: %1 Replacements' 'Family:' 'Fixed width' 'separator' 'The quick brown fox jumped over the lazy sleeping dog' 'Wrap Search' 'Forward' 'Status: Searching...' 'Find/Replace' 'Selection Required' 'Charset:' 'Bitmap font' ('english' 'us' 'ibm-819') false ' reverse oblique' ' OK ' 'Status:' 'Backward' 'Foundry:' 'Status: Replacing (%1)...' ' >> ' 'Size:' false 'Please wait...' 'Select one or more items' 'Direction' 'Find Next' 'Status: Updating Text...' ' reverse italic' 'Replace/Find' ) ...etc...) arg1 = #EsTzFileLoader arg2 = [] in KeyedCollection>>#at: temp1 = EsSmalltalkDictionary(false true false false nil false false false false nil false false false false nil false nil false nil false nil nil false false false nil false false false true false nil nil false nil nil false nil false nil false false nil false false false false false nil true false false EsPoolDictionary('Gold 1' 'Grey 90' 'Peru' 'White' 'Green' 'Medium orchid' 'Turquoise' 'Yellow' 'Pure dark magenta' 'Light blue' 'Azure' 'Aquamarine 2' 'Grey 65' 'Pale green' 'Dark turquoise' 'Magenta' 'Navy' 'Dark salmon' 'Light salmon' 'Lime green' 'Grey 75' 'Dark goldenrod 2' 'Goldenrod' 'Lemon chiffon' 'Medium aquamarine' 'Gold 3' 'Light steel blue' 'Honeydew' 'Black' 'Pure dark cyan' 'Indian red 3' 'Pure dark red' 'Orchid' 'Light coral' 'Thistle' 'Indian red 1' 'Medium sea green' 'Violet red' 'Wheat 1' 'Blue' 'Yellow green' 'Tan' 'Cornflower blue' 'Blue violet' 'Light goldenrod yellow' 'Pure dark grey' 'Cyan' 'Hot pink' 'Chocolate' 'Grey 70' 'Azure 2' 'Gold' 'Cadet blue 2' 'Wheat' 'Purple' 'Grey 55' 'Forest green' 'Pale turquoise' 'Violet' 'Old lace' 'Aquamarine' 'Grey 85' 'Light cyan' 'Light goldenrod' 'Peach puff' 'Light yellow' 'Red' 'Beige' 'Pink' 'Slate grey' 'Grey 80' 'Olive drab' 'Grey 40' 'Brown' 'Gold 4' 'Honeydew 2' 'Medium turquoise' 'Steel blue' 'Pure dark green' 'Medium blue' 'Light sea green' ...etc...) ...etc...) EsSmalltalkDictionary(Dictionary)>>#at:ifAbsent: receiver = EsSmalltalkDictionary(false true false false nil false false false false nil false false false false nil false nil false nil false nil nil false false false nil false false false true false nil nil false nil nil false nil false nil false false nil false false false false false nil true false false EsPoolDictionary('Gold 1' 'Grey 90' 'Peru' 'White' 'Green' 'Medium orchid' 'Turquoise' 'Yellow' 'Pure dark magenta' 'Light blue' 'Azure' 'Aquamarine 2' 'Grey 65' 'Pale green' 'Dark turquoise' 'Magenta' 'Navy' 'Dark salmon' 'Light salmon' 'Lime green' 'Grey 75' 'Dark goldenrod 2' 'Goldenrod' 'Lemon chiffon' 'Medium aquamarine' 'Gold 3' 'Light steel blue' 'Honeydew' 'Black' 'Pure dark cyan' 'Indian red 3' 'Pure dark red' 'Orchid' 'Light coral' 'Thistle' 'Indian red 1' 'Medium sea green' 'Violet red' 'Wheat 1' 'Blue' 'Yellow green' 'Tan' 'Cornflower blue' 'Blue violet' 'Light goldenrod yellow' 'Pure dark grey' 'Cyan' 'Hot pink' 'Chocolate' 'Grey 70' 'Azure 2' 'Gold' 'Cadet blue 2' 'Wheat' 'Purple' 'Grey 55' 'Forest green' 'Pale turquoise' 'Violet' 'Old lace' 'Aquamarine' 'Grey 85' 'Light cyan' 'Light goldenrod' 'Peach puff' 'Light yellow' 'Red' 'Beige' 'Pink' 'Slate grey' 'Grey 80' 'Olive drab' 'Grey 40' 'Brown' 'Gold 4' 'Honeydew 2' 'Medium turquoise' 'Steel blue' 'Pure dark green' 'Medium blue' 'Light sea green' ...etc...) ...etc...) arg1 = #EsTzFileLoader arg2 = [] in EsSmalltalkNamespace>>#at:ifAbsent: temp1 = 466 temp2 = nil temp3 = 1408 temp4 = 466 EsSmalltalkNamespace>>#at:ifAbsent: receiver = EsSmalltalkNamespace(EpRuntimeStartUp AbtParameterToActionConnection AbtEventConnection AbtEventToActionConnection AbtRunNonVisualApp AbtParameterToCodeHookConnection AbtParameterToAttributeConnection AbtUnaryAndKeywordDirectedMessage AbtAppBldrNonVisual AbtAttributeToCodeHookConnection AbtEventToCodeHookConnection AbtAttributeToAttributeConnection AbtCompositePart CwProgressDialog CwMenuCascadeButton CwFontPrompter CwMessageBoxDialog CwMenuEntry CwObjectList CommonExtendedWidgets CwMenuBar CwTextPrintingManager CwExtendedTextPrompter CwMenu CwHierarchyList CwPasswordPrompter CwListPrompter CwExtendedDialog CwMenuPushButton CwTextUndoManager CwWorkingDialog CwSmalltalkTextSelectionManager CwTextManager CwExtendedPrompter CwMenuSeparator CwMenuToggleButton CwListSelectionPrompter CwTextSearchDialog CwDoubleListPrompter CwTextSelectionManager CwMultiLineTextPrompter CwNullUndoManager CwSash CwDoubleListSelectionPrompter CwTwoButtonPrompter EsPoolDictionary(' Cancel ' 'Proportional' 'untitled' '# = any character, * = any string' 'Ext. Style:' 'Case Sensitive' ' Close ' 'Style:' 'Scaled font' 'Checking font information. Please wait...' 'Replace All' 'Status: Replacing...' 'Status: String Not Found' 'Find:' 'Information Required' 'Select an item' 'Replace With:' 'esta' 'Font Selection' ' oblique' 'Replace Selection' ('english' 'us' 'ansi-ascii') ' italic' ' << ' 'Status: %1 Replacements' 'Family:' 'Fixed width' 'separator' 'The quick brown fox jumped over the lazy sleeping dog' 'Wrap Search' 'Forward' 'Status: Searching...' 'Find/Replace' 'Selection Required' 'Charset:' 'Bitmap font' ('english' 'us' 'ibm-819') false ' reverse oblique' ' OK ' 'Status:' 'Backward' 'Foundry:' 'Status: Replacing (%1)...' ' >> ' 'Size:' false 'Please wait...' 'Select one or more items' 'Direction' 'Find Next' 'Status: Updating Text...' ' reverse italic' 'Replace/Find' ) ...etc...) arg1 = #EsTzFileLoader arg2 = [] in KeyedCollection>>#at: temp1 = EsSmalltalkDictionary(false true false false nil false false false false nil false false false false nil false nil false nil false nil nil false false false nil false false false true false nil nil false nil nil false nil false nil false false nil false false false false false nil true false false EsPoolDictionary('Gold 1' 'Grey 90' 'Peru' 'White' 'Green' 'Medium orchid' 'Turquoise' 'Yellow' 'Pure dark magenta' 'Light blue' 'Azure' 'Aquamarine 2' 'Grey 65' 'Pale green' 'Dark turquoise' 'Magenta' 'Navy' 'Dark salmon' 'Light salmon' 'Lime green' 'Grey 75' 'Dark goldenrod 2' 'Goldenrod' 'Lemon chiffon' 'Medium aquamarine' 'Gold 3' 'Light steel blue' 'Honeydew' 'Black' 'Pure dark cyan' 'Indian red 3' 'Pure dark red' 'Orchid' 'Light coral' 'Thistle' 'Indian red 1' 'Medium sea green' 'Violet red' 'Wheat 1' 'Blue' 'Yellow green' 'Tan' 'Cornflower blue' 'Blue violet' 'Light goldenrod yellow' 'Pure dark grey' 'Cyan' 'Hot pink' 'Chocolate' 'Grey 70' 'Azure 2' 'Gold' 'Cadet blue 2' 'Wheat' 'Purple' 'Grey 55' 'Forest green' 'Pale turquoise' 'Violet' 'Old lace' 'Aquamarine' 'Grey 85' 'Light cyan' 'Light goldenrod' 'Peach puff' 'Light yellow' 'Red' 'Beige' 'Pink' 'Slate grey' 'Grey 80' 'Olive drab' 'Grey 40' 'Brown' 'Gold 4' 'Honeydew 2' 'Medium turquoise' 'Steel blue' 'Pure dark green' 'Medium blue' 'Light sea green' ...etc...) ...etc...) EsSmalltalkNamespace(KeyedCollection)>>#at: receiver = EsSmalltalkNamespace(EpRuntimeStartUp AbtParameterToActionConnection AbtEventConnection AbtEventToActionConnection AbtRunNonVisualApp AbtParameterToCodeHookConnection AbtParameterToAttributeConnection AbtUnaryAndKeywordDirectedMessage AbtAppBldrNonVisual AbtAttributeToCodeHookConnection AbtEventToCodeHookConnection AbtAttributeToAttributeConnection AbtCompositePart CwProgressDialog CwMenuCascadeButton CwFontPrompter CwMessageBoxDialog CwMenuEntry CwObjectList CommonExtendedWidgets CwMenuBar CwTextPrintingManager CwExtendedTextPrompter CwMenu CwHierarchyList CwPasswordPrompter CwListPrompter CwExtendedDialog CwMenuPushButton CwTextUndoManager CwWorkingDialog CwSmalltalkTextSelectionManager CwTextManager CwExtendedPrompter CwMenuSeparator CwMenuToggleButton CwListSelectionPrompter CwTextSearchDialog CwDoubleListPrompter CwTextSelectionManager CwMultiLineTextPrompter CwNullUndoManager CwSash CwDoubleListSelectionPrompter CwTwoButtonPrompter EsPoolDictionary(' Cancel ' 'Proportional' 'untitled' '# = any character, * = any string' 'Ext. Style:' 'Case Sensitive' ' Close ' 'Style:' 'Scaled font' 'Checking font information. Please wait...' 'Replace All' 'Status: Replacing...' 'Status: String Not Found' 'Find:' 'Information Required' 'Select an item' 'Replace With:' 'esta' 'Font Selection' ' oblique' 'Replace Selection' ('english' 'us' 'ansi-ascii') ' italic' ' << ' 'Status: %1 Replacements' 'Family:' 'Fixed width' 'separator' 'The quick brown fox jumped over the lazy sleeping dog' 'Wrap Search' 'Forward' 'Status: Searching...' 'Find/Replace' 'Selection Required' 'Charset:' 'Bitmap font' ('english' 'us' 'ibm-819') false ' reverse oblique' ' OK ' 'Status:' 'Backward' 'Foundry:' 'Status: Replacing (%1)...' ' >> ' 'Size:' false 'Please wait...' 'Select one or more items' 'Direction' 'Find Next' 'Status: Updating Text...' ' reverse italic' 'Replace/Find' ) ...etc...) arg1 = #EsTzFileLoader EsTimeZoneDatabase class>>#tzReader receiver = EsTimeZoneDatabase EsTimeZoneDatabase>>#loadDataFrom:prefixPath: receiver = an EsTimeZoneDatabase arg1 = #America/New_York arg2 = 'C:\VA Smalltalk\8.6\zoneinfo\' temp1 = #America/New_York temp2 = nil temp3 = nil EsTimeZoneDatabase>>#timeZoneFor: receiver = an EsTimeZoneDatabase arg1 = #America/New_York temp1 = nil EsTimeZoneDatabase class>>#timeZoneFor: receiver = EsTimeZoneDatabase arg1 = #America/New_York EsTimeZone>>#timeZoneRuleSet receiver = Could not print receiver DateAndTime>>#computeTimeZoneOffset: receiver = Could not print receiver arg1 = 3613048935.048 temp1 = nil temp2 = nil temp3 = nil temp4 = nil temp5 = nil DateAndTime>>#fromMilliseconds:timeZoneRuleSet: receiver = Could not print receiver arg1 = 3613048935048 arg2 = America/New_York LMT temp1 = nil DateAndTime>>#fromMilliseconds: receiver = Could not print receiver arg1 = 3613048935048 DateAndTime class>>#now receiver = DateAndTime temp1 = (6/29/2015 4:42:15 PM) Date class>>#now receiver = Date
-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi Carl,
-- Have you distributed the timezone database normally found in the "...\zoneinfo" folder? Lou On Tuesday, June 30, 2015 at 4:21:16 PM UTC-4, Carl Gundel wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Administrator
|
In reply to this post by Carl Gundel-2
On Tuesday, June 30, 2015 at 1:21:16 PM UTC-7, Carl Gundel wrote:
--
It looks like you excluded something from packaging that was needed. It looks like an indirect class reference. From the walkback: arg1 = #EsTzFileLoader EsTimeZoneDatabase class>>#tzReader #tzReader tried to look up its file loader by name and did not find it.
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
So does everyone solve this via a packaging rule like
aRuleCreationInterface doNotReduceClassNamed: #EsTzFileLoader. ?
-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
And also adding EsTimeZoneApp to the apps being packaged, since absolutely no apps depend on EsTimeZoneApp - which seems funny.
-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
You do need to package EsTimeZoneApp. When I package a small Hello World app in 8.6.3 as a reduced runtime image, EsTimeZoneApp is already in the list of apps to be packaged.
-- If you are (re)using old packaging instructions, you will have to add EsTimeZoneApp. Donald You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |