When saving an image the first time after opening it, I get the following notification in the transcript: "Copying fc1.cha to c:\vw\GeoX5_8_0\fc1.cha..."
From time to time after this notification has been displayed, the save crashes with the error included at the bottom of this letter.
Note that in SourceFileManager>>copyChangesTo: variable oldFile is a NTFSFilename(' fc1.cha'), and newFile is a NTFSFilename('c:\vw\GeoX5_8_0\fc1.cha').
I use VisualWorks 7.4 on Windows 2000. To start the image I have a shortcut with the following properties: Target: C:\vw\vw7.4\bin\win\visual.exe c:\vw\GeoX5_8_0\fc1.im Start in: c:\vw\GeoX5_8_0\
Any ideas about what can cause the problem?
Kind regards Runar Jordahl
Unhandled exception: ERROR_ALREADY_EXISTS ("c:\vw\GeoX5_8_0\1792.cha") FileErrorHolder class(OSErrorHolder class)>>reportProceedingOn: FileErrorHolder(OSErrorHolder)>>reportErrorProceeding optimized [] in OSErrorHolder class>>initializeErrorActions SystemError>>handleErrorFor: NTFSFilename(Filename)>>renameToFilename: NTFSFilename(Filename)>>renameTo: optimized [] in SourceFileManager>>copyChangesTo: BlockClosure>>ensure: Cursor>>showWhile: SourceFileManager>>copyChangesTo: Snapshot>>setUpForSnapshot optimized [] in Snapshot>>snapshot BlockClosure>>ensure: Snapshot class>>withSnapshot:do: Snapshot>>snapshot Snapshot>>saveAs:thenQuit: ObjectMemory class>>snapshotAs:thenQuit: ObjectMemory class>>snapshot VisualLauncher>>imageSave optimized [] in ApplicationModel>>actionFor: optimized [] in ToolBar>>newButtonFor: PluggableAdaptor>>setValue: PluggableAdaptor(ValueModel)>>value: Win98ToolbarButtonController(TriggerButtonController)>>pressAction TriggerButtonTracker(BasicButtonTracker)>>finishSelectionFor: TriggerButtonTracker>>finishSelectionFor: TriggerButtonTracker(SelectionTracker)>>redButtonReleasedEvent: RedButtonReleasedEvent>>dispatchTo: TriggerButtonTracker(SelectionTracker)>>handleEvent: EventDispatcher>>dispatch:to: EventDispatcher>>dispatchEvent: RedButtonReleasedEvent(Event)>>dispatch RedButtonReleasedEvent(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:
---------------------------------------------------------------------- FileErrorHolder class(OSErrorHolder class)>>reportProceedingOn: Receiver: a FileErrorHolder class Instance Variables: superclass = OSErrorHolder methodDict = a MethodDictionary[3] format = 16386 subclasses = nil instanceVariables = an Array[1] organization = ('accessing' #errorString #filename #filename:)
name = #FileErrorHolder classPool = a NameSpaceOfClass[0] environment = a NameSpace[103] Arguments: anErrorHolder = a FileErrorHolder(Error: ERROR_ALREADY_EXISTS) Temporaries: errorSignal = OsInvalidArgumentsError Context PC = 31
---------------------------------------------------------------------- FileErrorHolder(OSErrorHolder)>>reportErrorProceeding Receiver: a FileErrorHolder Instance Variables: errorCode = 183 filename = a NTFSFilename('c:\vw\GeoX5_8_0\1792.cha') Context PC = 6
---------------------------------------------------------------------- optimized [] in OSErrorHolder class>>initializeErrorActions Receiver: an UndefinedObject Arguments: err = a SystemError(#'io error',183) arg = a NTFSFilename('c:\vw\GeoX5_8_0\1792.cha') Context PC = 10
---------------------------------------------------------------------- SystemError>>handleErrorFor: Receiver: a SystemError Instance Variables: parameter = 183 name = #'io error' Arguments: contextInformation = a NTFSFilename('c:\vw\GeoX5_8_0\1792.cha') Temporaries: errorBlock = BlockClosure [] in OSErrorHolder class>>initializeErrorActions Context PC = 17
---------------------------------------------------------------------- NTFSFilename(Filename)>>renameToFilename: Receiver: a NTFSFilename Instance Variables: osName = a ByteArray[24] publicName = 'c:\vw\GeoX5_8_0\1792.cha' logicalName = nil Arguments: aFileName = a NTFSFilename('c:\vw\GeoX5_8_0\fc1.cha') Temporaries: error = a SystemError(#'io error',183) Context PC = 26
---------------------------------------------------------------------- NTFSFilename(Filename)>>renameTo: Receiver: a NTFSFilename Instance Variables: osName = a ByteArray[24] publicName = 'c:\vw\GeoX5_8_0\1792.cha' logicalName = nil Arguments: aFileName = a NTFSFilename('c:\vw\GeoX5_8_0\fc1.cha') Context PC = 7
---------------------------------------------------------------------- optimized [] in SourceFileManager>>copyChangesTo: Receiver: an UndefinedObject Temporaries: tempName = ' 1792.cha' tempFile = a NTFSFilename('c:\vw\GeoX5_8_0\1792.cha') .newFile = a NTFSFilename('c:\vw\GeoX5_8_0\fc1.cha') .oldFile = a NTFSFilename(' fc1.cha') Context PC = 43
---------------------------------------------------------------------- BlockClosure>>ensure: Receiver: a BlockClosure Instance Variables: method = CompiledBlock [] in SourceFileManager>>copyChangesTo: outerContext = nil copiedValues = an Array[2] Arguments: aBlock = BlockClosure [] in Cursor>>showWhile: Temporaries: result = nil Context PC = 4
---------------------------------------------------------------------- Cursor>>showWhile: Receiver: a Cursor Instance Variables: errorCode = 0 handle = 4393 image = Depth1Image(extent: 16@16 depth: 1) mask = Depth1Image(extent: 16@16 depth: 1) hotSpot = 0@0 name = 'write' Arguments: aBlock = BlockClosure [] in SourceFileManager>>copyChangesTo: Temporaries: oldcursor = Cursor normal Context PC = 23
---------------------------------------------------------------------- SourceFileManager>>copyChangesTo: Receiver: a SourceFileManager Instance Variables: files = an IdentityDictionary[3] names = a LargeArray[8192] writableIndices = a Set[1] openIndices = an OrderedCollection[3] currentTarget = 2 isPadding = false sourceFormatters = a LargeArray[8192] sourceToCopy = nil Arguments: newFileName = 'c:\vw\GeoX5_8_0\fc1.cha' Temporaries: oldFile = a NTFSFilename(' fc1.cha')
«
Return to VisualWorks
|
1 view|%1 views
|