Anonymous | Login | 02-25-2021 06:04 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0002380 | [Squeak] Files | minor | always | 12-18-05 21:05 | 12-18-05 22:38 | |||||||
Reporter | Eddie Cottongim | View Status | public | |||||||||
Assigned To | cdegroot | |||||||||||
Priority | normal | Resolution | open | |||||||||
Status | assigned | Product Version | 3.9 | |||||||||
Summary | 0002380: [BUG] [in 6905] Can't open Read Only MIDIs from File List | |||||||||||
Description |
I wasn't sure about the category for this one... Opening read-only midis fails from the file list, apparently because StandardFileStream oldFileNamed: returns nil. This in turns seems to be because oldFileNamed: tries to assert write access to the file. The file list is using the ScorePlayerMorph>>playMidiFile: class method. This alternative snippet does work to open a midi score: (ScorePlayerMorph onMIDIFileNamed: 'C:\explode\cd archive June 11 1999\media\midi\ilr6.mid') openInWorld I'm not sure where the fault lies here. |
|||||||||||
Additional Information |
UndefinedObject(Object)>>doesNotUnderstand: #binary [] in ScorePlayerMorph class>>playMidiFile: {[:midiReader | f := (FileStream oldFileNamed: fullName) binary. score := (...]} SystemDictionary(Dictionary)>>at:ifPresent: ScorePlayerMorph class>>playMidiFile: SimpleServiceEntry>>performServiceFor: [] in MenuItemMorph>>invokeWithEvent: {[(selArgCount := selector numArgs) = 0 ifTrue: [target perform: selector] ...]} BlockContext>>ensure: CursorWithMask(Cursor)>>showWhile: MenuItemMorph>>invokeWithEvent: MenuItemMorph>>mouseUp: MenuItemMorph>>handleMouseUp: MouseButtonEvent>>sentTo: MenuItemMorph(Morph)>>handleEvent: MorphicEventDispatcher>>dispatchDefault:with: MorphicEventDispatcher>>dispatchEvent:with: MenuItemMorph(Morph)>>processEvent:using: MorphicEventDispatcher>>dispatch:toSubmorphsOf: MorphicEventDispatcher>>dispatchDefault:with: MorphicEventDispatcher>>dispatchEvent:with: MenuMorph(Morph)>>processEvent:using: |
|||||||||||
Attached Files | ||||||||||||
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
34 total queries executed. 29 unique queries executed. |