PlaneShift

Support => Linux Specific Issues => Topic started by: salade.verte on May 12, 2008, 11:36:37 pm

Title: planeshift-updater crashes everytime !
Post by: salade.verte on May 12, 2008, 11:36:37 pm
Hi everybody,

I'm trying to install PlaneShift on ArchLinux. It works fine, except when I try to update PS. Each time, I get this :

Code: [Select]
[alexandre@hp ~]$ planeshift-updater
Checking for updates:
Checking for updates to the updater: No updates needed!
Checking for updates to all files: Updates Available!
Downloading update file..

0%
0% ---- 25% ---- 50% ---- 75% ---- 100%
!!! INVALID source file too short -17712 !!! : Patching file art/things/items.zip: Failed!
Attempting to download full version of art/things/items.zip:
0%
0% ---- 25% ---- 50% ---- 75% --- 100%
Done!
Erreur de segmentation

I don't know why ! Any idea ? Thanks.
Title: Re: planeshift-updater crashes everytime !
Post by: salade.verte on May 13, 2008, 02:41:51 am
After a long time, I tried to reinstall PlaneShift.
And so, when I ran planeshift-updater for the first time on a clean install, it works fine.
Code: [Select]
[alexandre@hp ~]$ planeshift-updater
chmod: modification des permissions de `psupdater.bin': Opération non permise
Checking for updates:
Checking for updates to the updater: Update Available!
Beginning self update!

0% ---- 25% ---- 50% ---- 75% --- 100%
[alexandre@hp ~]$
Cleaning up!
Checking for updates:
Checking for updates to the updater: No updates needed!
Checking for updates to all files: Updates Available!
Downloading update file..

0% ---- 25% ---- 50% ---- 75% ---- 100%
Patching file art/things/items.zip: Done!
Checking for correct md5sum: Success!

But if I run planeshift-updater twice or more :

Code: [Select]
[alexandre@hp ~]$ planeshift-updater
Checking for updates:
Checking for updates to the updater: No updates needed!
Checking for updates to all files: Updates Available!
Downloading update file..

0%
0% ---- 25% ---- 50% ---- 75% ---- 100%
!!! INVALID source file too short -17712 !!! : Patching file art/things/items.zip: Failed!
Attempting to download full version of art/things/items.zip:
0%
0% ---- 25% ---- 50% ---- 75% --- 100%
Done!
Erreur de segmentation

So, I think it's a bug, because the second time, items.zip is already up-to-date, however the updater says, once more, "Updates Available!" and crashes.