Inform Error

I hope this is the right place to ask this. Just installed the latest version of Inform 7 (10.1.2) and when I hit the go button, I get this error:

An internal error has occurred: no declension table terminated. The error was detected at line 133 of “services/inflections-module/Chapter 3/Declensions.w”. This should never happen, and I am now halting in abject failure.

Please advise.

1 Like

What is your code? Did you hit Go with an empty project?

That’s not the error message you get for that.

You’d most likely need to post your code here that’s causing this error so it can be looked into.

I coped the text straight out the manual:

The wood-slatted crate is in the Gazebo. The crate is a container.

Also got the same thing with an empty project.

In that case you’ll need to add a room first. See §1.4. The Go! button.

Not sure why you’re getting that error though for that. That’s a low level error.

Changed it to The Gazebo is a room. and still got the same error.

That works for me. I can’t reproduce that error. Feels like a corrupted installation. Maybe try reinstalling Inform?

Tried that with no improvement. Also, when I go to index tab, there is nothing there in any of the categories. It feels like a bad install, but I have no idea how to correct it.

That’s normal. You won’t get anything show up here until you get a successful first compilation.

Another thought, where are you installing it from? Also, what OS?

I downloaded from: https://github.com/ganelson/inform/releases/download/v10.1.2/Inform_10_1_2_Windows.zip
unzipped the contents and then ran the exe.

Have you tried copying the entire code from an example (not just part of it)? Those are created to compile as-is. Otherwise, I’m deferring to @climbingstars as they likely have more experience than I do.

This might be worth a try. Go to the “Edit” tab, select “preferences”, then choose the “advanced tab”, then tick “Show debugging log and Inform 6 intermediate code”.

Run the code again, then see what the “debugging” tab (in between progress and reports) on the results “Results” tab says.

Bear in mind I’m using the linux IDE, so your mileage may vary on Windows, but it should be similar.

2 Likes

I figured it out. I had some parentheses in my byline which I guess isn’t allowed. Removed them and it works fine now. Thanks, everyone. I appreciate all the advice.

2 Likes

Aha!

If this hasn’t already been reported on the official repo, it should be, because compiler errors like this should never happen.

2 Likes

Ok, I submitted the bug report on Jira. Thanks.

3 Likes