- Status Closed
- Percent Complete
- Task Type Bug Report
- Category
-
Assigned To
Mike Gist - Operating System
- Severity High
- Priority
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: PlaneShift
Opened by Caarrie - 31.05.2008
Last edited by Mike Gist - 02.06.2008
Opened by Caarrie - 31.05.2008
Last edited by Mike Gist - 02.06.2008
FS#1635 - psupdater fails to run correctly
when running psupdater it starts to update renames updaterinfo.xml to updaterinfo.xml.bak then stops, on the next attempt to run the updater you are unable to as it cant find updaterinfo.xml but it only tells the user that it cant find the root node in the file. I am not sure what is going on this is with what i think is the most updated psupdater there is in svn
./psupdater
PlaneShift Updater Version 5 for linux32.
Checking for updates:
./psupdater
PlaneShift Updater Version 5 for linux32.
Checking for updates:
Couldn't open xml file '/this/updaterinfo.xml'!
Unable to get root node
SCF WARNING: 1 unreleased instances of class crystalspace.kernel.vfs!
Closed by Mike Gist
02.06.2008 20:35
Reason for closing:
Additional comments about closing:
02.06.2008 20:35
Reason for closing:
Additional comments about closing:
Closing, I'm pretty sure it's fixed.
I'll need to know the output of the 'stopped' update. The updater has code to handle this which I'm pretty sure works correctly.
that is all that i see nothing more nothing less
Xordan means the output of the first update where the updaterinfo.xml got renamed to updaterinfo.xml.bak, but not back again.
Or do all updater calls now forget to rename the file back or create a new version, no matter how successful the update was?
http://www.pastebin.ca/1035739
I've fixed that crash to fail cleanly instead. It's supposed to fail in that case, so not a bug.
now it fails cleanly but still does not restore the updaterinfo.xml file
Yes it does. Try again.
./psupdater
PlaneShift Updater Version 5 for linux32.
Checking for updates:
./psupdater
PlaneShift Updater Version 5 for linux32.
Checking for updates:
Couldn't open xml file '/this/updaterinfo.xml'!
Unable to get root node
SCF WARNING: 1 unreleased instances of class crystalspace.kernel.vfs!
Okay, I've tested it myself and fixed a few bugs. It should work fine now :)
I just got this:
PlaneShift Updater Version 5 for win32.
Checking for updates:
This updaterinfo.xml file is marked as inactive and will not work. Please get an
other one.
SCF WARNING: 1 unreleased instances of class crystalspace.kernel.vfs!
Updater finished, press enter to exit.
edit: will retest with latest code
edit2: still happening.
Looks fine to me :)
That's fine? Okay then.