Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Trouble importing/updating
New Topic New Poll Post Reply
Poster Message
Dragon Fogel
Level: Smitemaster
Rank Points: 2435
Registered: 06-21-2014
IP: Logged
icon Trouble importing/updating (+1)  
Every so often I have trouble updating Entry Point. Today I finally tracked down the drod.err file in hopes that it might shed light on why and here's what it said:

Import Parse Error: no element found at line 1:0
Assertion error in line 1303 of DbXML.cpp: "ImportXML(info.exportedDemos) == MID_ImportSuccessful"
Import Parse Error: no element found at line 1:0
Assertion error in line 1308 of DbXML.cpp: "ImportXML(info.exportedSavedGames) == MID_ImportSuccessful"

I have no idea what this means but maybe someone who's actually worked on the code does.
08-28-2023 at 04:53 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
hyperme
Level: Smitemaster
Avatar
Rank Points: 1073
Registered: 06-23-2006
IP: Logged
icon Re: Trouble importing/updating (+1)  
I think this is fixed in the latest RC, looking at the errors. The game is trying to import an empty string, and the xml parser really doesn't like that. I added some checks to prevent that from happening. (Should be in any build where the final part part of the version number is >507)

This stops updates because the databases get rolled back if something fails during an import. Unsure why this happens overall as the import code is quite self-referential.

____________________________
[Insert witty comment here]
Qzvlkx?
08-28-2023 at 05:23 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Dragon Fogel
Level: Smitemaster
Rank Points: 2435
Registered: 06-21-2014
IP: Logged
icon Re: Trouble importing/updating (+1)  
Tried updating in .533 (latest version in the update thread) and it crashes a few seconds into the attempt with nothing written to the error file.

The previously-reported error was happening on Steam; in the build I tested, I have no save progress for Entry Point, in case that turns out to be relevant somehow.
08-28-2023 at 08:00 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Dragon Fogel
Level: Smitemaster
Rank Points: 2435
Registered: 06-21-2014
IP: Logged
icon Re: Trouble importing/updating (+1)  
Going back to the Steam build, I deleted all demos in the hold and the update worked. Most likely there was a specific demo causing the problem. It may also have been an issue of total number of demos.

If there's an underlying issue that needs to be fixed and not just worked around, that may be important to finding it?
08-28-2023 at 08:11 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Kalin
Level: Master Delver
Avatar
Rank Points: 194
Registered: 01-25-2016
IP: Logged
icon Re: Trouble importing/updating (+1)  
I've had problems updating holds too. It happened with the challenge contest compilation (can't remember what version I was on then) and recently with One-Tide Shoreline. I was using the non-Steam version of TSS (I only use Steam for official holds).

In both cases it warned me it would delete incompatible demos, and when I confirmed it reverted to the old version. And so I deleted the hold and imported the new version.

If I see it again, I'll try exporting demos, deleting them, then importing them one at a time.
08-28-2023 at 09:59 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
hyperme
Level: Smitemaster
Avatar
Rank Points: 1073
Registered: 06-23-2006
IP: Logged
icon Re: Trouble importing/updating (+1)  
Since there have been a number of fixes related to hold importing, please include the specific version number you are have trouble with.

You should also check to see if drod.err contains any related lines, and post some of them if it does. Dragon Fogel's first post in the thread shows the kind of messages that you should be looking for.

____________________________
[Insert witty comment here]
Qzvlkx?
08-30-2023 at 08:09 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Kalin
Level: Master Delver
Avatar
Rank Points: 194
Registered: 01-25-2016
IP: Logged
icon Re: Trouble importing/updating (+1)  
Part of my point was that hold updating has never worked for me.

Non-Steam version 5.1.1.533

And DROD.err says... (I can never remember which one goes with which install... okay, it's the ProgramData one)

Click here to view the secret text

08-30-2023 at 01:19 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
hyperme
Level: Smitemaster
Avatar
Rank Points: 1073
Registered: 06-23-2006
IP: Logged
icon Re: Trouble importing/updating (+1)  
Not liking the look of those asserts. Are these the first holds you are importing in a session? (that is, you open DROD, import a hold and it doesn't work)

Either way there is definitely something dubious going on and I don't like it.

____________________________
[Insert witty comment here]
Qzvlkx?
08-30-2023 at 02:53 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5064
Registered: 02-04-2003
IP: Logged
icon Re: Trouble importing/updating (0)  
PR
(thanks, hyperme!)

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
09-06-2023 at 01:28 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Dragon Fogel
Level: Smitemaster
Rank Points: 2435
Registered: 06-21-2014
IP: Logged
icon Re: Trouble importing/updating (+2)  
Still having trouble. Unfortunately, this time nothing is getting written to drod.err so there's much less to go on.

On attempting to update a hold (specifically Entry Point), I get to the step "Importing data" and then I get told "This application has requested the Runtime to terminate it in an unusual way." I tried deleting my demos and it hasn't helped. I had this happen on both TSS and Gunthro Steam. In addition, I get a similar crash when trying to export my player file to retain saves and see if it works any better after deleting the hold.

I have also tried importing it on a non-Steam build where I don't have the hold installed already, and that keeps crashing with no message and not writing anything to drod.err.
12-24-2023 at 01:25 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Trouble importing/updating
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.