error message that prevents saving

XanMag
09 Feb 2016, 12:55
Quite frequently now, I get an error message that pops up while using the GUI:

...and I thought I copy-pasted but my last copy copied over the error message. :lol:

Anyway... the error message tells me that I am trying to begin another action before another is completed. No matter what I do next, that message will pop-up again. This forces me to shut down Quest and reopen. I cannot save in this state so when I reopen Quest, I must redo everything since my last save.

It's not a huge problem because I now save very frequently while working, but it is an inconvenience.

Anyone else have this issue and what advise do you have?

Alex
09 Feb 2016, 14:39
That error usually only occurs if a different error happened first. So the source of the problem is the first error message you see, then Quest is left in a bad state which is why you see the second error about a previous transaction not finishing.

Report the first error, then it can be fixed and you won't see the second one.

jaynabonne
10 Feb 2016, 15:40
Save often! (I know, I know...) :)

XanMag
10 Feb 2016, 22:39
It seems it happens maybe after I change a room name? Would that make sense? Here was an error message after I had changed a room name.

System.Collections.Generic.KeyNotFoundException: Element not found: 'commands objects' ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at TextAdventures.Quest.Elements.Get(String key)
--- End of inner exception stack trace ---
at TextAdventures.Quest.Elements.Get(String key)

Then... the second message I get is the one from my previous post.

Typically I do not change room names once they are made, but with the tutorial I am working on I occasionally do because I want the name of the room better reflect the purpose of it.

Also... there is a tiny typo in the error message box. I don't recall it exactly, but it's in the first line after the printed error message. I think the word "think" was accidentally omitted? =)

jaynabonne
11 Feb 2016, 12:14
Make sure when you rename a room that you change all references to it, especially if you do it outside the GUI (e.g. in code view - not saying you are, but it's more likely to happen). I'm not sure, as I haven't tried, but I don't know what would happen if things like exits still point to the old room name.