Exception to Publish as Parcel and Missing sources?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception to Publish as Parcel and Missing sources?

Jindrich Bucha
I have two problems. (In next mail, I’ll describe the second one.) The first: I’m trying to Publish as Parcel (or to FileOut) my bundle and I’m obtaining an exception with the notifier window Unhandled exception: no text found (the Stack is below). It seems it has connection with somehow changed sources. For example:
·         Many methods I can see in Browser only as decompiled – missing sources. (It seems that they are older methods I haven’t been changing for some time.)
·         However, when I use Browse Method Changes then their sources are available.
·         Similarly (?), many comments of my classes disappeared (an example is indicated in the Stack for my class Ps.PSEpisodes).
I’ve experienced this already, but repaired it semi-manually by providing sources from archived copies.
Any advice?
Jindrich Bucha
P.S. I’m using VW NC, 7.7.1, Windows Vista Home Premium SP2.

Stack:
Unhandled exception: no text found
XMLSourceFileFormat(Object)>>error:
optimized [] in XMLSourceFileFormat>>embeddedStringAt:in:
BlockClosure>>on:do:
XMLSourceFileFormat>>embeddedStringAt:in:
XMLSourceFileFormat>>documentationAt:in:
optimized [] in SourceFileManager>>retrieveStringAt:using:format:ifAbsent:
BlockClosure>>on:do:
SourceFileManager>>retrieveStringAt:using:format:ifAbsent:
SourceFileManager>>documentationAt:ifAbsent:
Ps.PSEpisodes class(ClassDescription)>>stDocumentation
Ps.PSEpisodes class(ClassDescription)>>fileOutCommentOn:if:
Ps.PSEpisodes class(ClassDescription)>>fileOutCommentOn:
CodeWriter>>storeDefinitionsAndCommentsFor:commentHolder:
optimized [] in CodeWriter>>storeDefinitionsAndComments
OrderedCollection>>do:
CodeWriter>>storeDefinitionsAndComments
CodeWriter>>storePackage
[] in CodeWriter>>writeToParcelFileNamed:sourceFileNamed:oldSourceIndex:hideSource:republish:backup:
BlockClosure>>ensure:
CodeWriter>>writeToParcelFileNamed:sourceFileNamed:oldSourceIndex:hideSource:republish:backup:
optimized [] in CodeComponent>>parcelOutTo:sourceFileName:parcelOptions:
BlockClosure>>on:do:
Store.BundleModel(CodeComponent)>>parcelOutTo:sourceFileName:parcelOptions:
optimized [] in Store.BundleModel>>saveAsParcel:saveStructure:saveLinks:parcelOptions:
BlockClosure>>ensure:
Store.BundleModel>>saveAsParcel:saveStructure:saveLinks:parcelOptions:
Store.PublishAsParcelDialog class>>publishAsParcel:
Refactory.Browser.BrowserNavigator>>storePublishAsParcel
Refactory.Browser.RBCommand>>perform:on:
Refactory.Browser.RBCommand>>performWith:
Refactory.Browser.BrowserNavigator(Refactory.Browser.BrowserApplicationModel)>>performAction:
Refactory.Browser.BrowserNavigator(Refactory.Browser.BrowserApplicationModel)>>action:
optimized [] in Refactory.Browser.BrowserApplicationModel>>createActionMenuItemFrom:
MultiSequenceTreeController(SequenceController)>>dispatchBlockClosure:
MultiSequenceTreeController(TreeController)>>dispatchMenuSelection:
MultiSequenceTreeController(ControllerWithMenu)>>processMenu:at:centered:
MultiSequenceTreeController(ControllerWithMenu)>>processMenuAt:centered:
MultiSequenceTreeController(ControllerWithMenu)>>yellowButtonPressedEvent:
MultiSequenceTreeController(SequenceController)>>yellowButtonPressedEvent:
YellowButtonPressedEvent>>dispatchTo:
MultiSequenceTreeController(ControllerWithMenu)>>handleEvent:
EventDispatcher>>dispatch:to:
EventDispatcher>>dispatchEvent:
YellowButtonPressedEvent(Event)>>dispatch
YellowButtonPressedEvent(Event)>>dispatchForWindowManager:
optimized [] in WindowManager>>safelyDispatchForWindowManager:
BlockClosure>>on:do:
WindowManager>>safelyDispatchForWindowManager:
WindowManager>>processNextEvent
optimized [] in [] in WindowManager>>newProcess
BlockClosure>>on:do:
optimized [] in WindowManager>>newProcess
BlockClosure>>on:do:
optimized [] in Process class>>forBlock:priority:
 
----------------------------------------------------------------------
XMLSourceFileFormat(Object)>>error:
Receiver:
                a XMLSourceFileFormat
Instance Variables:
                objectProperties = a Dictionary[0]
                methodProperties = nil
                state = #fragment
                docName = 'st-source'
                cachedFile = nil
                cachedParser = nil
Arguments:
                aStringOrMessage = an UserMessage('no text found', #NoTextFound, #dialogs)
Context PC = 6
 
----------------------------------------------------------------------
optimized [] in XMLSourceFileFormat>>embeddedStringAt:in:
Receiver:
                an UndefinedObject
Temporaries:
                element = <super>Ps.PSSuperTestCase</super>
                t = a TextStream
                count = 0
                .file = an EncodedStream on an ExternalReadStream on 'd:\vw771nc\j\PSolv.pst' with an UTF8StreamEncoder
                .position = 44136
                .self = a XMLSourceFileFormat
Context PC = 65
 
----------------------------------------------------------------------
BlockClosure>>on:do:
Receiver:
                a BlockClosure
Instance Variables:
                method = CompiledBlock [] in XMLSourceFileFormat>>embeddedStringAt:in:
                outerContext = nil
                copiedValues = an Array[3]
Arguments:
                anExceptionSelector = XML.SAXException
                handlerBlock = BlockClosure [] in XMLSourceFileFormat>>embeddedStringAt:in:
Context PC = 18
 
----------------------------------------------------------------------
XMLSourceFileFormat>>embeddedStringAt:in:
Receiver:
                a XMLSourceFileFormat
Instance Variables:
                objectProperties = a Dictionary[0]
                methodProperties = nil
                state = #fragment
                docName = 'st-source'
                cachedFile = nil
                cachedParser = nil
Arguments:
                position = 44136
                file = an EncodedStream on an ExternalReadStream on 'd:\vw771nc\j\PSolv.pst' with an UTF8StreamEncoder
Context PC = 11
 
----------------------------------------------------------------------
XMLSourceFileFormat>>documentationAt:in:
Receiver:
                a XMLSourceFileFormat
Instance Variables:
                objectProperties = a Dictionary[0]
                methodProperties = nil
                state = #fragment
                docName = 'st-source'
                cachedFile = nil
                cachedParser = nil
Arguments:
                position = 44136
                file = an EncodedStream on an ExternalReadStream on 'd:\vw771nc\j\PSolv.pst' with an UTF8StreamEncoder
Temporaries:
                sub = #notDocumentation
                s = nil
Context PC = 23
 
----------------------------------------------------------------------
optimized [] in SourceFileManager>>retrieveStringAt:using:format:ifAbsent:
Receiver:
                an UndefinedObject
Temporaries:
                source = nil
                file = an EncodedStream on an ExternalReadStream on 'd:\vw771nc\j\PSolv.pst' with an UTF8StreamEncoder
                .self = a SourceFileManager
                .fileIndex = 7
                .selector = #documentationAt:in:
                .filePosition = 44136
                .aBlock = BlockClosure [] in ClassDescription>>stDocumentation
Context PC = 17
 
----------------------------------------------------------------------
BlockClosure>>on:do:
Receiver:
                a BlockClosure
Instance Variables:
                method = CompiledBlock [] in SourceFileManager>>retrieveStringAt:using:format:ifAbsent:
                outerContext = nil
                copiedValues = an Array[5]
Arguments:
                anExceptionSelector = OsError
                handlerBlock = BlockClosure [] in SourceFileManager>>retrieveStringAt:using:format:ifAbsent:
Context PC = 18
 
----------------------------------------------------------------------
SourceFileManager>>retrieveStringAt:using:format:ifAbsent:
Receiver:
                a SourceFileManager
Instance Variables:
                files = an IdentityDictionary[4]
                names = a LargeArray[8192]
                writableIndices = a Set[1]
                openIndices = an OrderedCollection[4]
                currentTarget = 2
                isPadding = false
                sourceFormatters = a LargeArray[8192]
                sourceToCopy = nil
Arguments:
                aKey = 22597657
                selector = #documentationAt:in:
                formatBlock = BlockClosure [] in SourceFileManager>>documentationAt:ifAbsent:
                aBlock = BlockClosure [] in ClassDescription>>stDocumentation
Temporaries:
                fileIndex = 7
                filePosition = 44136
Context PC = 131
 
----------------------------------------------------------------------
SourceFileManager>>documentationAt:ifAbsent:
Receiver:
                a SourceFileManager
Instance Variables:
                files = an IdentityDictionary[4]
                names = a LargeArray[8192]
                writableIndices = a Set[1]
                openIndices = an OrderedCollection[4]
                currentTarget = 2
                isPadding = false
                sourceFormatters = a LargeArray[8192]
                sourceToCopy = nil
Arguments:
                aKey = 22597657
                aBlock = BlockClosure [] in ClassDescription>>stDocumentation
Context PC = 8
 
----------------------------------------------------------------------
Ps.PSEpisodes class(ClassDescription)>>stDocumentation
Receiver:
                a Ps.PSEpisodes class
Instance Variables:
                superclass = Object
                methodDict = a MethodDictionary[0]
                format = 16384
                subclasses = nil
                instanceVariables = an Array[0]
                organization =
                name = #PSEpisodes
                classPool = a NameSpaceOfClass[0]
                environment = a NameSpace[167]
Context PC = 17
 
----------------------------------------------------------------------
Ps.PSEpisodes class(ClassDescription)>>fileOutCommentOn:if:
Receiver:
                a Ps.PSEpisodes class
Instance Variables:
                superclass = Object
                methodDict = a MethodDictionary[0]
                format = 16384
                subclasses = nil
                instanceVariables = an Array[0]
                organization =
                name = #PSEpisodes
                classPool = a NameSpaceOfClass[0]
                environment = a NameSpace[167]
Arguments:
                aSourceFileManager = a SourceCodeStream
                aBlock = BlockClosure [] in ClassDescription>>fileOutCommentOn:
Temporaries:
                docAddress = nil
                docString = nil
                ref = 22597657
Context PC = 19
 
----------------------------------------------------------------------
Ps.PSEpisodes class(ClassDescription)>>fileOutCommentOn:
Receiver:
                a Ps.PSEpisodes class
Instance Variables:
                superclass = Object
                methodDict = a MethodDictionary[0]
                format = 16384
                subclasses = nil
                instanceVariables = an Array[0]
                organization =
                name = #PSEpisodes
                classPool = a NameSpaceOfClass[0]
                environment = a NameSpace[167]
Arguments:
                aSourceFileManager = a SourceCodeStream
Context PC = 6
 
----------------------------------------------------------------------
CodeWriter>>storeDefinitionsAndCommentsFor:commentHolder:
Receiver:
                a CodeWriter
Instance Variables:
                registry = an IdentityDictionary[24607]
                nilTraced = false
                definedObjects = an OrderedCollection[1]
                classes = an OrderedCollection[146]
                extendedClasses = nil
                extensionMethods = an OrderedCollection[62]
                exclusionset = an IdentityDictionary[15]
                definedBindings = an IdentityDictionary[19]
                scopeZones = a Dictionary[139]
                currentClass = nil
                objectSpace = an Array[25302]
                analysisTracer = a CodeWriteAnalysisTracer
                symbolNum = 2413
                stringNum = 3057
                byteArrayNum = 3814
                floatNum = 391
                doubleNum = 0
                largePositiveNum = 565
                largeNegativeNum = 0
                mclassNum = 36
                mclassclassNum = 0
                refNamObjNum = 2
                scopeZonesNum = 139
                defObjOrganizerNum = 1
                classOrganizerNum = 292
                arbObjectNum = 13741
                arbClassNum = 16
                stream = an InternalCodeWriterStream
                sourceStream = a SourceCodeStream
                sourceName = 'PSolv.pst'
                hideOnLoad = false
                pointer = 10282
                currentKey = 25303
                properties = an IdentityDictionary[8]
                prerequisites = an Array[6]
                namedObjects = nil
                newSourceKeys = an IdentityDictionary[105]
                dateString = 'January 16, 2011'
                timeString = '10:32:40 AM'
                scratchDictionary = an IdentityDictionary[206]
                codeComponent = {PSolv}
Arguments:
                anObject = Ps.PSEpisodes
                commentHolder =
Temporaries:
                ptr = nil
Context PC = 9
 
----------------------------------------------------------------------
optimized [] in CodeWriter>>storeDefinitionsAndComments
Receiver:
                an UndefinedObject
Arguments:
                each = Ps.PSEpisodes
Temporaries:
                object = Ps.PSEpisodes
                .self = a CodeWriter
Context PC = 22
 
----------------------------------------------------------------------
OrderedCollection>>do:
Receiver:
                an OrderedCollection
Instance Variables:
                firstIndex = 1
                lastIndex = 146
Arguments:
                aBlock = BlockClosure [] in CodeWriter>>storeDefinitionsAndComments
Temporaries:
                index = 106
Context PC = 17
 
----------------------------------------------------------------------
CodeWriter>>storeDefinitionsAndComments
Receiver:
                a CodeWriter
Instance Variables:
                registry = an IdentityDictionary[24607]
                nilTraced = false
                definedObjects = an OrderedCollection[1]
                classes = an OrderedCollection[146]
                extendedClasses = nil
                extensionMethods = an OrderedCollection[62]
                exclusionset = an IdentityDictionary[15]
                definedBindings = an IdentityDictionary[19]
                scopeZones = a Dictionary[139]
                currentClass = nil
                objectSpace = an Array[25302]
                analysisTracer = a CodeWriteAnalysisTracer
                symbolNum = 2413
                stringNum = 3057
                byteArrayNum = 3814
                floatNum = 391
                doubleNum = 0
                largePositiveNum = 565
                largeNegativeNum = 0
                mclassNum = 36
                mclassclassNum = 0
                refNamObjNum = 2
                scopeZonesNum = 139
                defObjOrganizerNum = 1
                classOrganizerNum = 292
                arbObjectNum = 13741
                arbClassNum = 16
                stream = an InternalCodeWriterStream
                sourceStream = a SourceCodeStream
                sourceName = 'PSolv.pst'
                hideOnLoad = false
                pointer = 10282
                currentKey = 25303
                properties = an IdentityDictionary[8]
                prerequisites = an Array[6]
                namedObjects = nil
                newSourceKeys = an IdentityDictionary[105]
                dateString = 'January 16, 2011'
                timeString = '10:32:40 AM'
                scratchDictionary = an IdentityDictionary[206]
                codeComponent = {PSolv}
Context PC = 30
 
----------------------------------------------------------------------
CodeWriter>>storePackage
Receiver:
                a CodeWriter
Instance Variables:
                registry = an IdentityDictionary[24607]
                nilTraced = false
                definedObjects = an OrderedCollection[1]
                classes = an OrderedCollection[146]
                extendedClasses = nil
                extensionMethods = an OrderedCollection[62]
                exclusionset = an IdentityDictionary[15]
                definedBindings = an IdentityDictionary[19]
                scopeZones = a Dictionary[139]
                currentClass = nil
                objectSpace = an Array[25302]
                analysisTracer = a CodeWriteAnalysisTracer
                symbolNum = 2413
                stringNum = 3057
                byteArrayNum = 3814
                floatNum = 391
                doubleNum = 0
                largePositiveNum = 565
                largeNegativeNum = 0
                mclassNum = 36
                mclassclassNum = 0
                refNamObjNum = 2
                scopeZonesNum = 139
                defObjOrganizerNum = 1
                classOrganizerNum = 292
                arbObjectNum = 13741
                arbClassNum = 16
                stream = an InternalCodeWriterStream
                sourceStream = a SourceCodeStream
                sourceName = 'PSolv.pst'
                hideOnLoad = false
                pointer = 10282
                currentKey = 25303
                properties = an IdentityDictionary[8]
                prerequisites = an Array[6]
                namedObjects = nil
                newSourceKeys = an IdentityDictionary[105]
                dateString = 'January 16, 2011'
                timeString = '10:32:40 AM'
                scratchDictionary = an IdentityDictionary[206]
                codeComponent = {PSolv}
Context PC = 22
 
----------------------------------------------------------------------
[] in CodeWriter>>writeToParcelFileNamed:sourceFileNamed:oldSourceIndex:hideSource:republish:backup:
Receiver:
                a CodeWriter
Instance Variables:
                registry = an IdentityDictionary[24607]
                nilTraced = false
                definedObjects = an OrderedCollection[1]
                classes = an OrderedCollection[146]
                extendedClasses = nil
                extensionMethods = an OrderedCollection[62]
                exclusionset = an IdentityDictionary[15]
                definedBindings = an IdentityDictionary[19]
                scopeZones = a Dictionary[139]
                currentClass = nil
                objectSpace = an Array[25302]
                analysisTracer = a CodeWriteAnalysisTracer
                symbolNum = 2413
                stringNum = 3057
                byteArrayNum = 3814
                floatNum = 391
                doubleNum = 0
                largePositiveNum = 565
                largeNegativeNum = 0
                mclassNum = 36
                mclassclassNum = 0
                refNamObjNum = 2
                scopeZonesNum = 139
                defObjOrganizerNum = 1
                classOrganizerNum = 292
                arbObjectNum = 13741
                arbClassNum = 16
                stream = an InternalCodeWriterStream
                sourceStream = a SourceCodeStream
                sourceName = 'PSolv.pst'
                hideOnLoad = false
                pointer = 10282
                currentKey = 25303
                properties = an IdentityDictionary[8]
                prerequisites = an Array[6]
                namedObjects = nil
                newSourceKeys = an IdentityDictionary[105]
                dateString = 'January 16, 2011'
                timeString = '10:32:40 AM'
                scratchDictionary = an IdentityDictionary[206]
                codeComponent = {PSolv}
Temporaries:
                .self = a CodeWriter
                .republishBoolean = true
                .oldSourceIndex = 7
                .parcelFileName = a LogicalFilename('d:\vw771nc\j\PSolv.pcl')
                .sourceFileName = a LogicalFilename('d:\vw771nc\j\PSolv.pst')
                .backupBoolean = false
Context PC = 12
 
----------------------------------------------------------------------
BlockClosure>>ensure:
Receiver:
                a BlockClosure
Instance Variables:
                method = CompiledBlock [] in CodeWriter>>writeToParcelFileNamed:sourceFileNamed:oldSourceIndex:hideSource:republish:backup:
                outerContext = CodeWriter>>writeToParcelFileNamed:sourceFileNamed:oldSourceIndex:hideSource:republish:backup:
                copiedValues = an Array[6]
Arguments:
                aBlock = BlockClosure [] in CodeWriter>>writeToParcelFileNamed:sourceFileNamed:oldSourceIndex:hideSource:republish:backup:
Temporaries:
                result = nil
Context PC = 4
 
----------------------------------------------------------------------
CodeWriter>>writeToParcelFileNamed:sourceFileNamed:oldSourceIndex:hideSource:republish:backup:
Receiver:
                a CodeWriter
Instance Variables:
                registry = an IdentityDictionary[24607]
                nilTraced = false
                definedObjects = an OrderedCollection[1]
                classes = an OrderedCollection[146]
                extendedClasses = nil
                extensionMethods = an OrderedCollection[62]
                exclusionset = an IdentityDictionary[15]
                definedBindings = an IdentityDictionary[19]
                scopeZones = a Dictionary[139]
                currentClass = nil
                objectSpace = an Array[25302]
                analysisTracer = a CodeWriteAnalysisTracer
                symbolNum = 2413
                stringNum = 3057
                byteArrayNum = 3814
                floatNum = 391
                doubleNum = 0
                largePositiveNum = 565
                largeNegativeNum = 0
                mclassNum = 36
                mclassclassNum = 0
                refNamObjNum = 2
                scopeZonesNum = 139
                defObjOrganizerNum = 1
                classOrganizerNum = 292
                arbObjectNum = 13741
                arbClassNum = 16
                stream = an InternalCodeWriterStream
                sourceStream = a SourceCodeStream
                sourceName = 'PSolv.pst'
                hideOnLoad = false
                pointer = 10282
                currentKey = 25303
                properties = an IdentityDictionary[8]
                prerequisites = an Array[6]
                namedObjects = nil
                newSourceKeys = an IdentityDictionary[105]
                dateString = 'January 16, 2011'
                timeString = '10:32:40 AM'
                scratchDictionary = an IdentityDictionary[206]
                codeComponent = {PSolv}
Arguments:
                parcelFileName = a LogicalFilename('d:\vw771nc\j\PSolv.pcl')
                sourceFileName = a LogicalFilename('d:\vw771nc\j\PSolv.pst')
                oldSourceIndex = 7
                hideBoolean = false
                republishBoolean = true
                backupBoolean = false
Context PC = 74
 
----------------------------------------------------------------------
optimized [] in CodeComponent>>parcelOutTo:sourceFileName:parcelOptions:
Receiver:
                an UndefinedObject
Temporaries:
                .codeWriter = a CodeWriter
                .parcelFileName = 'd:\vw771nc\j\PSolv.pcl'
                .targetSourceFileName = a LogicalFilename('d:\vw771nc\j\PSolv.pst')
                existing = Parcel parcelNamed: 'PSolv'
                .parcelOptions = a Dictionary[10]
Context PC = 29
 
----------------------------------------------------------------------
BlockClosure>>on:do:
Receiver:
                a BlockClosure
Instance Variables:
                method = CompiledBlock [] in CodeComponent>>parcelOutTo:sourceFileName:parcelOptions:
                outerContext = nil
                copiedValues = an Array[5]
Arguments:
                anExceptionSelector = CodeWriter invalidTraceSignal
                handlerBlock = BlockClosure [] in CodeComponent>>parcelOutTo:sourceFileName:parcelOptions:
Context PC = 18
 
----------------------------------------------------------------------
Store.BundleModel(CodeComponent)>>parcelOutTo:sourceFileName:parcelOptions:
Receiver:
                a Store.BundleModel
Instance Variables:
                name = 'PSolv'
                properties = an IdentityDictionary[6]
                dbInfo = an IdentityDictionary[1]
                readonly = nil
Arguments:
                parcelFileName = 'd:\vw771nc\j\PSolv.pcl'
                sourceFileName = 'd:\vw771nc\j\PSolv.pst'
                parcelOptions = a Dictionary[10]
Temporaries:
                codeWriter = a CodeWriter
                existing = Parcel parcelNamed: 'PSolv'
                targetSourceFileName = a LogicalFilename('d:\vw771nc\j\PSolv.pst')
Context PC = 85
 
----------------------------------------------------------------------
optimized [] in Store.BundleModel>>saveAsParcel:saveStructure:saveLinks:parcelOptions:
Receiver:
                an UndefinedObject
Temporaries:
                .self = {PSolv}
                .parcelDirectory = a NTFSFilename('d:\vw771nc\j')
                .parcelName = 'PSolv'
                .aDictionary = a Dictionary[10]
Context PC = 21
 
----------------------------------------------------------------------
BlockClosure>>ensure:
Receiver:
                a BlockClosure
Instance Variables:
                method = CompiledBlock [] in Store.BundleModel>>saveAsParcel:saveStructure:saveLinks:parcelOptions:
                outerContext = nil
                copiedValues = an Array[4]
Arguments:
                aBlock = BlockClosure [] in Store.BundleModel>>saveAsParcel:saveStructure:saveLinks:parcelOptions:
Temporaries:
                result = nil
Context PC = 4
 
----------------------------------------------------------------------
Store.BundleModel>>saveAsParcel:saveStructure:saveLinks:parcelOptions:
Receiver:
                a Store.BundleModel
Instance Variables:
                name = 'PSolv'
                properties = an IdentityDictionary[6]
                dbInfo = an IdentityDictionary[1]
                readonly = nil
Arguments:
                aFilename = a NTFSFilename('PSolv')
                saveStructureBoolean = true
                saveLinksBoolean = false
                aDictionary = a Dictionary[10]
Temporaries:
                parcelDirectory = a NTFSFilename('d:\vw771nc\j')
                shouldSaveLinks = false
                parcelName = 'PSolv'
Context PC = 93
 
----------------------------------------------------------------------
Store.PublishAsParcelDialog class>>publishAsParcel:
Receiver:
                a Store.PublishAsParcelDialog class
Instance Variables:
                superclass = SimpleDialog
                methodDict = a MethodDictionary[24]
                format = 16409
                subclasses = nil
                instanceVariables = an Array[12]
                organization = ('interface opening' #postOpenWith:)
('aspects' #bundleStructure #bundleStructureChanged #databaseLinks #helpAction #parcelBackup #parcelDirectory #parcelHideSource #parcelOverwrite #parcelPadded #parcelRepublish #parcelSave #parcelSaveSource #parcelSaveSourceChanged #parcelSaveSourceDetails #parcelVersionString #pundle: #validateParcelSaveString)
('private' #enableComponentAt:enable: #validateParcelOptions)
('events' #requestForWindowClose)
('accessing' #basePath #options)
('actions' #copyFromPackage)
 
                name = #PublishAsParcelDialog
                classPool = a NameSpaceOfClass[0]
                environment = a NameSpace[313]
                savedWindowInformation = nil
Arguments:
                aPundle = {PSolv}
Temporaries:
                dialog = a Store.PublishAsParcelDialog
                filename = a NTFSFilename('PSolv')
Context PC = 35
 
----------------------------------------------------------------------
Refactory.Browser.BrowserNavigator>>storePublishAsParcel
Receiver:
                a Refactory.Browser.BrowserNavigator
Instance Variables:
                dependents = PSolv
                builder = an UIBuilder
                uiSession = nil
                eventHandlers = nil
                environment =
                state = PSolv
                dispatcher = a Refactory.Browser.RBActionDispatcher
                parts = an OrderedCollection[2]
                partsDictionary = a Dictionary[2]
                menus = a Dictionary[5]
                showOnlyFiltered = true
                windowLabel = 'PSolv'
                cachedSelectors = CompiledMethod Ps.Description>>copy -> SortedCollection (#= #halt #printString #sender)
Context PC = 8
 
----------------------------------------------------------------------
Refactory.Browser.RBCommand>>perform:on:
Receiver:
                a Refactory.Browser.RBCommand
Instance Variables:
                name = an UserMessage('Store Publish Parcel', #StorePublishParcel, #browser)
                description = an UserMessage('Publish the selected item as a parcel', #StorePublishParcelDesc, #browser)
                action = #storePublishAsParcel
                enabled = #isPundleSelected
                receiver = #navigator
Arguments:
                aSymbol = #storePublishAsParcel
                anObject = a Refactory.Browser.BrowserNavigator
Context PC = 9
 
----------------------------------------------------------------------
Refactory.Browser.RBCommand>>performWith:
Receiver:
                a Refactory.Browser.RBCommand
Instance Variables:
                name = an UserMessage('Store Publish Parcel', #StorePublishParcel, #browser)
                description = an UserMessage('Publish the selected item as a parcel', #StorePublishParcelDesc, #browser)
                action = #storePublishAsParcel
                enabled = #isPundleSelected
                receiver = #navigator
Arguments:
                anObject = a Refactory.Browser.RBActionDispatcher
Context PC = 14
 
----------------------------------------------------------------------
Refactory.Browser.BrowserNavigator(Refactory.Browser.BrowserApplicationModel)>>performAction:
Receiver:
                a Refactory.Browser.BrowserNavigator
Instance Variables:
                dependents = PSolv
                builder = an UIBuilder
                uiSession = nil
                eventHandlers = nil
                environment =
                state = PSolv
                dispatcher = a Refactory.Browser.RBActionDispatcher
                parts = an OrderedCollection[2]
                partsDictionary = a Dictionary[2]
                menus = a Dictionary[5]
                showOnlyFiltered = true
                windowLabel = 'PSolv'
                cachedSelectors = CompiledMethod Ps.Description>>copy -> SortedCollection (#= #halt #printString #sender)
Arguments:
                aString = 'Store Publish Parcel'
Temporaries:
                action = Store Publish Parcel
Context PC = 11
 
----------------------------------------------------------------------
Refactory.Browser.BrowserNavigator(Refactory.Browser.BrowserApplicationModel)>>action:
Receiver:
                a Refactory.Browser.BrowserNavigator
Instance Variables:
                dependents = PSolv
                builder = an UIBuilder
                uiSession = nil
                eventHandlers = nil
                environment =
                state = PSolv
                dispatcher = a Refactory.Browser.RBActionDispatcher
                parts = an OrderedCollection[2]
                partsDictionary = a Dictionary[2]
                menus = a Dictionary[5]
                showOnlyFiltered = true
                windowLabel = 'PSolv'
                cachedSelectors = CompiledMethod Ps.Description>>copy -> SortedCollection (#= #halt #printString #sender)
Arguments:
                aMenuItem = a MenuItem 'Publish as Parcel...'
Context PC = 8
 
----------------------------------------------------------------------
optimized [] in Refactory.Browser.BrowserApplicationModel>>createActionMenuItemFrom:
Receiver:
                an UndefinedObject
Temporaries:
                .self = a Refactory.Browser.BrowserNavigator
                .newItem = a MenuItem 'Publish as Parcel...'
Context PC = 7
 
----------------------------------------------------------------------
MultiSequenceTreeController(SequenceController)>>dispatchBlockClosure:
Receiver:
                a MultiSequenceTreeController
Instance Variables:
                model = a ValueHolder on: Refactory.Browser.PackageListTreeModel on: a Refactory.Browser.PackageListRoot (opened: 69)
                view = a MultiSelectionTreeView
                sensor = a TranslatingSensor
                menuHolder = a Menu
                performer = a Refactory.Browser.PundleNavigatorPart
                outside = false
                searchString = nil
                keyboardHook = nil
                doStringSearching = true
                dispatcher = an UIDispatcher
                dragDropCallbacks = a WidgetDragDropCallbacks
                selectOnDownWithDrag = true
                autoSelect = true
                useModifierKeys = true
                inPlaceEditor = nil
                composite = a CompositePart
Arguments:
                aBlock = BlockClosure [] in Refactory.Browser.BrowserApplicationModel>>createActionMenuItemFrom:
Temporaries:
                na = 0
Context PC = 11
 
----------------------------------------------------------------------
MultiSequenceTreeController(TreeController)>>dispatchMenuSelection:
Receiver:
                a MultiSequenceTreeController
Instance Variables:
                model = a ValueHolder on: Refactory.Browser.PackageListTreeModel on: a Refactory.Browser.PackageListRoot (opened: 69)
                view = a MultiSelectionTreeView
                sensor = a TranslatingSensor
                menuHolder = a Menu
                performer = a Refactory.Browser.PundleNavigatorPart
                outside = false
                searchString = nil
                keyboardHook = nil
                doStringSearching = true
                dispatcher = an UIDispatcher
                dragDropCallbacks = a WidgetDragDropCallbacks
                selectOnDownWithDrag = true
                autoSelect = true
                useModifierKeys = true
                inPlaceEditor = nil
                composite = a CompositePart
Arguments:
                menuSelection = BlockClosure [] in Refactory.Browser.BrowserApplicationModel>>createActionMenuItemFrom:
Context PC = 24
 
----------------------------------------------------------------------
MultiSequenceTreeController(ControllerWithMenu)>>processMenu:at:centered:
Receiver:
                a MultiSequenceTreeController
Instance Variables:
                model = a ValueHolder on: Refactory.Browser.PackageListTreeModel on: a Refactory.Browser.PackageListRoot (opened: 69)
                view = a MultiSelectionTreeView
                sensor = a TranslatingSensor
                menuHolder = a Menu
                performer = a Refactory.Browser.PundleNavigatorPart
                outside = false
                searchString = nil
                keyboardHook = nil
                doStringSearching = true
                dispatcher = an UIDispatcher
                dragDropCallbacks = a WidgetDragDropCallbacks
                selectOnDownWithDrag = true
                autoSelect = true
                useModifierKeys = true
                inPlaceEditor = nil
                composite = a CompositePart
Arguments:
                aMenu = a Menu
                aPoint = 38 @ 164
                centered = true
Temporaries:
                valueResult = a MenuItem 'Publish as Parcel...'
Context PC = 41
 
----------------------------------------------------------------------
MultiSequenceTreeController(ControllerWithMenu)>>processMenuAt:centered:
Receiver:
                a MultiSequenceTreeController
Instance Variables:
                model = a ValueHolder on: Refactory.Browser.PackageListTreeModel on: a Refactory.Browser.PackageListRoot (opened: 69)
                view = a MultiSelectionTreeView
                sensor = a TranslatingSensor
                menuHolder = a Menu
                performer = a Refactory.Browser.PundleNavigatorPart
                outside = false
                searchString = nil
                keyboardHook = nil
                doStringSearching = true
                dispatcher = an UIDispatcher
                dragDropCallbacks = a WidgetDragDropCallbacks
                selectOnDownWithDrag = true
                autoSelect = true
                useModifierKeys = true
                inPlaceEditor = nil
                composite = a CompositePart
Arguments:
                aPoint = 38 @ 164
                centered = true
Context PC = 9
 
----------------------------------------------------------------------
MultiSequenceTreeController(ControllerWithMenu)>>yellowButtonPressedEvent:
Receiver:
                a MultiSequenceTreeController
Instance Variables:
                model = a ValueHolder on: Refactory.Browser.PackageListTreeModel on: a Refactory.Browser.PackageListRoot (opened: 69)
                view = a MultiSelectionTreeView
                sensor = a TranslatingSensor
                menuHolder = a Menu
                performer = a Refactory.Browser.PundleNavigatorPart
                outside = false
                searchString = nil
                keyboardHook = nil
                doStringSearching = true
                dispatcher = an UIDispatcher
                dragDropCallbacks = a WidgetDragDropCallbacks
                selectOnDownWithDrag = true
                autoSelect = true
                useModifierKeys = true
                inPlaceEditor = nil
                composite = a CompositePart
Arguments:
                event = a YellowButtonPressedEvent
Context PC = 13
 
----------------------------------------------------------------------
MultiSequenceTreeController(SequenceController)>>yellowButtonPressedEvent:
Receiver:
                a MultiSequenceTreeController
Instance Variables:
                model = a ValueHolder on: Refactory.Browser.PackageListTreeModel on: a Refactory.Browser.PackageListRoot (opened: 69)
                view = a MultiSelectionTreeView
                sensor = a TranslatingSensor
                menuHolder = a Menu
                performer = a Refactory.Browser.PundleNavigatorPart
                outside = false
                searchString = nil
                keyboardHook = nil
                doStringSearching = true
                dispatcher = an UIDispatcher
                dragDropCallbacks = a WidgetDragDropCallbacks
                selectOnDownWithDrag = true
                autoSelect = true
                useModifierKeys = true
                inPlaceEditor = nil
                composite = a CompositePart
Arguments:
                event = a YellowButtonPressedEvent
Temporaries:
                point = 28 @ 56
                index = 4
Context PC = 44
 
----------------------------------------------------------------------
YellowButtonPressedEvent>>dispatchTo:
Receiver:
                a YellowButtonPressedEvent
Instance Variables:
                time = 1472580891
                initiator = an EventDispatcher
                window = a ScheduledWindow 28
                state = 2
                x = 30
                y = 136
                gx = 38
                gy = 164
                buttonNumber = 2
Arguments:
                anObject = a MultiSequenceTreeController
Context PC = 4
 
----------------------------------------------------------------------
MultiSequenceTreeController(ControllerWithMenu)>>handleEvent:
Receiver:
                a MultiSequenceTreeController
Instance Variables:
                model = a ValueHolder on: Refactory.Browser.PackageListTreeModel on: a Refactory.Browser.PackageListRoot (opened: 69)
                view = a MultiSelectionTreeView
                sensor = a TranslatingSensor
                menuHolder = a Menu
                performer = a Refactory.Browser.PundleNavigatorPart
                outside = false
                searchString = nil
                keyboardHook = nil
                doStringSearching = true
                dispatcher = an UIDispatcher
                dragDropCallbacks = a WidgetDragDropCallbacks
                selectOnDownWithDrag = true
                autoSelect = true
                useModifierKeys = true
                inPlaceEditor = nil
                composite = a CompositePart
Arguments:
                anEvent = a YellowButtonPressedEvent
Context PC = 38
 
----------------------------------------------------------------------
EventDispatcher>>dispatch:to:
Receiver:
                an EventDispatcher
Instance Variables:
                windowController = an ApplicationStandardSystemController
                currentMouseConsumer = nil
                grabbingMouse = false
                lastControlObject = nil
                trapList = nil
                state = nil
                repairDamageWhenDebugging = true
                flushQueueAfterError = true
                distributeEventsWhenDebugging = true
                dragDropInProgress = false
                dragDropTracker = nil
                dispatchUnknownEvents = false
Arguments:
                event = a YellowButtonPressedEvent
                object = a MultiSequenceTreeController
Temporaries:
                tmp = nil
Context PC = 10
 
----------------------------------------------------------------------
EventDispatcher>>dispatchEvent:
Receiver:
                an EventDispatcher
Instance Variables:
                windowController = an ApplicationStandardSystemController
                currentMouseConsumer = nil
                grabbingMouse = false
                lastControlObject = nil
                trapList = nil
                state = nil
                repairDamageWhenDebugging = true
                flushQueueAfterError = true
                distributeEventsWhenDebugging = true
                dragDropInProgress = false
                dragDropTracker = nil
                dispatchUnknownEvents = false
Arguments:
                event = a YellowButtonPressedEvent
Temporaries:
                objectWantingControl = a MultiSequenceTreeController
                targetKeyboardProcessor = nil
Context PC = 122
 
----------------------------------------------------------------------
YellowButtonPressedEvent(Event)>>dispatch
Receiver:
                a YellowButtonPressedEvent
Instance Variables:
                time = 1472580891
                initiator = an EventDispatcher
                window = a ScheduledWindow 28
                state = 2
                x = 30
                y = 136
                gx = 38
                gy = 164
                buttonNumber = 2
Context PC = 16
 
----------------------------------------------------------------------
YellowButtonPressedEvent(Event)>>dispatchForWindowManager:
Receiver:
                a YellowButtonPressedEvent
Instance Variables:
                time = 1472580891
                initiator = an EventDispatcher
                window = a ScheduledWindow 28
                state = 2
                x = 30
                y = 136
                gx = 38
                gy = 164
                buttonNumber = 2
Arguments:
                aWinMgr = a WindowManager
Context PC = 4
 
----------------------------------------------------------------------
optimized [] in WindowManager>>safelyDispatchForWindowManager:
Receiver:
                an UndefinedObject
Temporaries:
                .event = a YellowButtonPressedEvent
                .self = a WindowManager
Context PC = 6
 
----------------------------------------------------------------------
BlockClosure>>on:do:
Receiver:
                a BlockClosure
Instance Variables:
                method = CompiledBlock [] in WindowManager>>safelyDispatchForWindowManager:
                outerContext = nil
                copiedValues = an Array[2]
Arguments:
                anExceptionSelector = BadControllerError
                handlerBlock = BlockClosure [] in WindowManager>>safelyDispatchForWindowManager:
Context PC = 18
 
----------------------------------------------------------------------
WindowManager>>safelyDispatchForWindowManager:
Receiver:
                a WindowManager
Instance Variables:
                windows = an OrderedCollection[3]
                activeController = nil
                interruptLock = false
                outstandingMetaOrDamage = false
                openInProgress = false
                eventQueue = an EventQueue
                baseProcess = a Process in Semaphore>>waitIfCurtailedSignal
                dontFilterEvents = false
Arguments:
                event = a YellowButtonPressedEvent
Context PC = 13
 
----------------------------------------------------------------------
WindowManager>>processNextEvent
Receiver:
                a WindowManager
Instance Variables:
                windows = an OrderedCollection[3]
                activeController = nil
                interruptLock = false
                outstandingMetaOrDamage = false
                openInProgress = false
                eventQueue = an EventQueue
                baseProcess = a Process in Semaphore>>waitIfCurtailedSignal
                dontFilterEvents = false
Temporaries:
                event = a YellowButtonPressedEvent
Context PC = 9
 
----------------------------------------------------------------------
optimized [] in [] in WindowManager>>newProcess
Receiver:
                an UndefinedObject
Temporaries:
                .self = a WindowManager
Context PC = 13
 
----------------------------------------------------------------------
BlockClosure>>on:do:
Receiver:
                a BlockClosure
Instance Variables:
                method = CompiledBlock [] in [] in WindowManager>>newProcess
                outerContext = nil
                copiedValues = a WindowManager
Arguments:
                anExceptionSelector = TerminateException
                handlerBlock = BlockClosure [] in [] in WindowManager>>newProcess
Context PC = 18
 
----------------------------------------------------------------------
optimized [] in WindowManager>>newProcess
Receiver:
                an UndefinedObject
Temporaries:
                .self = a WindowManager
Context PC = 15
 
----------------------------------------------------------------------
BlockClosure>>on:do:
Receiver:
                a BlockClosure
Instance Variables:
                method = CompiledBlock [] in WindowManager>>newProcess
                outerContext = nil
                copiedValues = a WindowManager
Arguments:
                anExceptionSelector = TerminateException
                handlerBlock = BlockClosure [] in [] in Process class>>forBlock:priority:
Context PC = 18
 
----------------------------------------------------------------------
optimized [] in Process class>>forBlock:priority:
Receiver:
                an UndefinedObject
Temporaries:
                .aBlock = BlockClosure [] in WindowManager>>newProcess
Context PC = 9

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Exception to Publish as Parcel and Missing sources?

Niall Ross
My answers, like your questions, actually belong on VWNC, not VWDEV.

-------- Original Message --------
Subject: Re: Exception to Publish as Parcel and Missing sources?
Date: Tue, 18 Jan 2011 09:49:24 +0000
From: Niall Ross <[hidden email]>
Organization: Cincom
To: Jindrich Bucha <[hidden email]>
CC: [hidden email]
References: <DA432B57A7C04261A94197E5E9B265E2@Stana>



Dear Jindrich,
   I'd guess both your problems are due to your lack of sources.

The act of publishing moves all the affected sources into the parcel
file so now the SourceFileManager is looking for them in a file that you
have just created.  If you publish, decide the parcel is not quite right
for some reason, so throw it away and try to publish again, that would
lose sources.

There are of course other ways you can lose sources - the above is just
a wild guess based on the fact that you are publishing parcels.  
Apologies if you know it is not so and/or if I am pointing out what is
already very obvious to you.

When I publish parcels, I sometimes save the image, publish the parcels
(e.g. to the image's directory, which is the default),  close without
saving so the old image still has the source in the old location, then
move the parcels to where they are to live and load them in a new image.

HTH
            Yours faithfully
                  Niall Ross

>I have two problems. (In next mail, I'll describe the second one.) The first: I'm trying to Publish as Parcel (or to FileOut) my bundle and I'm obtaining an exception with the notifier window Unhandled exception: no text found (the Stack is below). It seems it has connection with somehow changed sources. For example:
>.         Many methods I can see in Browser only as decompiled - missing sources. (It seems that they are older methods I haven't been changing for some time.)
>.         However, when I use Browse Method Changes then their sources are available.
>.         Similarly (?), many comments of my classes disappeared (an example is indicated in the Stack for my class Ps.PSEpisodes).
>I've experienced this already, but repaired it semi-manually by providing sources from archived copies.
>Any advice?
>Jindrich Bucha
>P.S. I'm using VW NC, 7.7.1, Windows Vista Home Premium SP2.
>



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Exception to Publish as Parcel and Missing sources?

Niall Ross
My answers, like your questions, actually belong on VWNC, not VWDEV.

-------- Original Message --------
Subject: Re: Exception to Publish as Parcel and Missing sources?
Date: Tue, 18 Jan 2011 18:02:03 +0000
From: Niall Ross <[hidden email]>
Organization: Cincom
To: Jindrich Bucha <[hidden email]>
CC: [hidden email]
References: <DA432B57A7C04261A94197E5E9B265E2@Stana>
<[hidden email]> <DB0669E3AEA745D68084FAD10827F617@Stana>



Dear Jindrich,

> Hi Niall,
> Thanks for your explanation (it was not at all obvious to me) and
> advice. Could you possibly recommend how to repair it, how to get
> sources back?

If you saved to Store then you can load your latest version from Store.  
If not, but you have an image you saved before you published the parcel
then it will have sources.  If not, but you have the first version of
the parcel files (e.g. in your waste basket) then you may be able to put
its .pcl and .pst back where the image expects to see them (e.g. in the
same directory as the image if that is where it was published) and so
regain your sources.

If none of the above are available, you may simply have deleted your
sources for this code.

> I don't understand how the second problem could be related to the lack
> of sources but I don't consider it so important.

I don't _know_ that it is, but as the highlighter is attempting to parse
source code and colour it according to type, it would not be too
surprising if a strange source code state were to cause it a problem.  
Generally, I would expect ordinary decompiledCode source to be
highlightable, but if e.g. your image is looking for source in your
final parcel version that was published with invalid source after
deletion of an earlier version of the parcel then it might be returning
something strange.

         Yours faithfully
            Niall Ross



Niall Ross wrote:

>My answers, like your questions, actually belong on VWNC, not VWDEV.
>
>-------- Original Message --------
>Subject: Re: Exception to Publish as Parcel and Missing sources?
>Date: Tue, 18 Jan 2011 09:49:24 +0000
>From: Niall Ross <[hidden email]>
>Organization: Cincom
>To: Jindrich Bucha <[hidden email]>
>CC: [hidden email]
>References: <DA432B57A7C04261A94197E5E9B265E2@Stana>
>
>
>
>Dear Jindrich,
>   I'd guess both your problems are due to your lack of sources.
>
>The act of publishing moves all the affected sources into the parcel
>file so now the SourceFileManager is looking for them in a file that you
>have just created.  If you publish, decide the parcel is not quite right
>for some reason, so throw it away and try to publish again, that would
>lose sources.
>
>There are of course other ways you can lose sources - the above is just
>a wild guess based on the fact that you are publishing parcels.  
>Apologies if you know it is not so and/or if I am pointing out what is
>already very obvious to you.
>
>When I publish parcels, I sometimes save the image, publish the parcels
>(e.g. to the image's directory, which is the default),  close without
>saving so the old image still has the source in the old location, then
>move the parcels to where they are to live and load them in a new image.
>
>HTH
>            Yours faithfully
>                  Niall Ross
>
>  
>
>>I have two problems. (In next mail, I'll describe the second one.) The first: I'm trying to Publish as Parcel (or to FileOut) my bundle and I'm obtaining an exception with the notifier window Unhandled exception: no text found (the Stack is below). It seems it has connection with somehow changed sources. For example:
>>.         Many methods I can see in Browser only as decompiled - missing sources. (It seems that they are older methods I haven't been changing for some time.)
>>.         However, when I use Browse Method Changes then their sources are available.
>>.         Similarly (?), many comments of my classes disappeared (an example is indicated in the Stack for my class Ps.PSEpisodes).
>>I've experienced this already, but repaired it semi-manually by providing sources from archived copies.
>>Any advice?
>>Jindrich Bucha
>>P.S. I'm using VW NC, 7.7.1, Windows Vista Home Premium SP2.
>>
>>    
>>
>
>
>
>_______________________________________________
>vwnc mailing list
>[hidden email]
>http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>
>  
>


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Exception to Publish as Parcel and Missing sources?

mkobetic
In reply to this post by Jindrich Bucha
"Niall Ross"<[hidden email]> wrote:
> The act of publishing moves all the affected sources into the parcel
> file so now the SourceFileManager is looking for them in a file that you
> have just created.  If you publish, decide the parcel is not quite right
> for some reason, so throw it away and try to publish again, that would
> lose sources.

This behavior is controlled by the 'Republish' option in the Publish as parcel... dialog. I would have thought it's unchecked by default, but maybe not.

HTH,

Martin

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Exception to Publish as Parcel and Missing sources?

jarober
In reply to this post by Jindrich Bucha
On the source loss, did you save to the parcel multiple times?  If so, then that's probably the issue.  On the bundle structure, that's actually an option when you save the parcel (not that it helps now :) )

Additionally, there's the Change tool:


You'll have to use the options to go past the last save if you have saved the image, but all of your sources can be found there.  It can be a bit tedious, but it will work


On Jan 19, 2011, at 4:25 AM, Jindrich Bucha wrote:

Hi Niall and James,
I still somehow hesitate:
Niall: I have an archived copy of my image, but since the time of its creation, November, I’ve  made many changes and in the Change list, the oldest changes I can see are from December. ...?
James: If ''Attempting to file-in parcel imports.  Choose terminate or close'' exception you understand as the mentioned warning, then it works. But still, there remain two problems, i.e., there are some sources in .pst, but not all, and it doesn’t preserve the bundle structure (this second one is not so serious).
Jindrich Bucha
 
 
----- Original Message -----
From: "Niall Ross" <[hidden email]>
To: "Jindrich Bucha" <[hidden email]>
Sent: Tuesday, January 18, 2011 7:02 PM
Subject: Re: Exception to Publish as Parcel and Missing sources?

> Dear Jindrich,

> 
>> Hi Niall,
>> Thanks for your explanation (it was not at all obvious to me) and 
>> advice. Could you possibly recommend how to repair it, how to get 
>> sources back? 
> 
> If you saved to Store then you can load your latest version from Store.  
> If not, but you have an image you saved before you published the parcel 
> then it will have sources.  If not, but you have the first version of 
> the parcel files (e.g. in your waste basket) then you may be able to put 
> its .pcl and .pst back where the image expects to see them (e.g. in the 
> same directory as the image if that is where it was published) and so 
> regain your sources.
> 
> If none of the above are available, you may simply have deleted your 
> sources for this code.
> 
>> I don't understand how the second problem could be related to the lack 
>> of sources but I don't consider it so important.
> 
> I don't _know_ that it is, but as the highlighter is attempting to parse 
> source code and colour it according to type, it would not be too 
> surprising if a strange source code state were to cause it a problem.  
> Generally, I would expect ordinary decompiledCode source to be 
> highlightable, but if e.g. your image is looking for source in your 
> final parcel version that was published with invalid source after 
> deletion of an earlier version of the parcel then it might be returning 
> something strange.
> 
>          Yours faithfully
>             Niall Ross
> 
>> Best regards
>> Jindrich Bucha
>>
>>
----- Original Message -----
From: "James Robertson" <[hidden email]>
To: "Jindrich Bucha" <[hidden email]>
Sent: Tuesday, January 18, 2011 5:46 PM
Subject: Re: Exception to Publish as Parcel and Missing sources?

File in the .pst file, just ignore the warning you get at the end

>> ----- Original Message ----- From: "Niall Ross" <
[hidden email]>
>> To: "Jindrich Bucha" <
[hidden email]>
>> Cc: <
[hidden email]>
>> Sent: Tuesday, January 18, 2011 10:49 AM
>> Subject: Re: Exception to Publish as Parcel and Missing sources?
>>
>>
>>> Dear Jindrich,
>>>    I'd guess both your problems are due to your lack of sources.
>>>
>>> The act of publishing moves all the affected sources into the parcel 
>>> file so now the SourceFileManager is looking for them in a file that 
>>> you have just created.  If you publish, decide the parcel is not 
>>> quite right for some reason, so throw it away and try to publish 
>>> again, that would lose sources.
>>>
>>> There are of course other ways you can lose sources - the above is 
>>> just a wild guess based on the fact that you are publishing parcels.  
>>> Apologies if you know it is not so and/or if I am pointing out what 
>>> is already very obvious to you.
>>>
>>> When I publish parcels, I sometimes save the image, publish the 
>>> parcels (e.g. to the image's directory, which is the default),  close 
>>> without saving so the old image still has the source in the old 
>>> location, then move the parcels to where they are to live and load 
>>> them in a new image.
>>>
>>> HTH
>>>             Yours faithfully
>>>                   Niall Ross
>>>
>>>> I have two problems. (In next mail, I'll describe the second one.) 
>>>> The first: I'm trying to Publish as Parcel (or to FileOut) my bundle 
>>>> and I'm obtaining an exception with the notifier window Unhandled 
>>>> exception: no text found (the Stack is below). It seems it has 
>>>> connection with somehow changed sources. For example: .         Many 
>>>> methods I can see in Browser only as decompiled - missing sources. 
>>>> (It seems that they are older methods I haven't been changing for 
>>>> some time.)
>>>> .         However, when I use Browse Method Changes then their 
>>>> sources are available.
>>>> .         Similarly (?), many comments of my classes disappeared (an 
>>>> example is indicated in the Stack for my class Ps.PSEpisodes).
>>>> I've experienced this already, but repaired it semi-manually by 
>>>> providing sources from archived copies.
>>>> Any advice?
>>>> Jindrich Bucha
>>>> P.S. I'm using VW NC, 7.7.1, Windows Vista Home Premium SP2.
>>>>
>>>
>>>
>>
>>
>>
> 
> 
>


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc