Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002056Mac OS X Inform application[IDEs] User Interfacepublic2018-03-04 16:522019-09-05 14:18
Assigned To 
PlatformMacOSMacOSOS Version10.12.6
Product Version6M62 
Target VersionFixed in Version 
Summary0002056: Runtime error loading external preference file -- I7 build 6M62
DescriptionExample "Alien Invasion Part 23" blows up with runtime error: Error handling external file (P48). This used to work. Cannot find any discussion of this problem at
Minimal Source Text To Reproduce
"Alien Invasion Part 23"
A difficulty is a kind of value. The difficulties are easy, moderate, hard, and fiendish.
Understand "use [difficulty] puzzles" as selecting difficulty. Selecting difficulty is an action 
out of world, applying to one difficulty.
Carry out selecting difficulty: 
    choose row 1 in the Table of Preference Settings; 
    now challenge level entry is difficulty understood; 
    say "Puzzles will be [challenge level entry] from now on."
The File of Preferences is called "prefs".
When play begins: 
    if File of Preferences exists: 
        read File of Preferences into the Table of Preference Settings; 
        choose row 1 in the Table of Preference Settings; 
        say "(The current puzzle difficulty is set to [challenge level entry].)"
Check quitting the game: 
    write File of Preferences from the Table of Preference Settings.
Table of Preference Settings 
challenge level 
The Sewer Junction is a room.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
DavidK (developer)
2018-03-09 01:17

Not reproducible on Windows, so most likely an OSX specific bug.
Juhana (reporter)
2019-09-05 14:18

It'll throw the error if the file was previously written by a project with a different IFID (the file's header is wrong.) This will happen easily at least on Mac because the IDE's interpreter writes the files to the project's parent directory. If you run the example in one project, then create a new project to the same directory and run the example again from there, it won't work anymore because it considers the existing file to belong to the first project.

- Issue History
Date Modified Username Field Change
2018-03-04 16:52 skaufman New Issue
2018-03-09 01:15 DavidK Project IDEs => Mac OS X Inform application
2018-03-09 01:16 DavidK Severity critical => serious
2018-03-09 01:16 DavidK Category Editing => User Interface
2018-03-09 01:16 DavidK Product Version => 6M62
2018-03-09 01:17 DavidK Note Added: 0004764
2019-09-05 14:18 Juhana Note Added: 0004874

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker