Author Topic: planeshift-updater crashes everytime !  (Read 1234 times)

salade.verte

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
planeshift-updater crashes everytime !
« 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.

salade.verte

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Re: planeshift-updater crashes everytime !
« Reply #1 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.