Page 1 of 1

Updater Error

Posted: Sun Sep 15, 2013 11:44 pm
by rinrin
I can't seem to get the updater to work properly. It checks for updates and starts downloading, but then this happens every time:
screenshot0002.png
Any ideas?

Re: Updater Error

Posted: Mon Sep 16, 2013 12:26 am
by PyTom
Can you post the updater log? It's in the updates directory.

It's possible your server doesn't support range downloads.

Re: Updater Error

Posted: Mon Sep 16, 2013 12:26 am
by PyTom
Can you post the updater log? It's in the updates directory.

It's possible your server doesn't support range downloads.

Re: Updater Error

Posted: Mon Sep 16, 2013 1:13 am
by rinrin
I sent the log by PM.
PyTom wrote:It's possible your server doesn't support range downloads.
Is there something I can do about that?

Re: Updater Error

Posted: Mon Sep 16, 2013 1:22 am
by PyTom
It looks like zsync doesn't like the space in the filename.

Re: Updater Error

Posted: Mon Sep 16, 2013 1:29 am
by rinrin
I never noticed there's a space there... :oops:
Where does it take the name from, the name of the folder? Or somewhere in options.rpy?

In any case, I'll fix that and try again :)
Thank you!

Re: Updater Error

Posted: Mon Sep 16, 2013 2:12 am
by rinrin
I edited build.directory_name (since that's where the update builder seems to be getting the name from) and even build.executable_name. All names are now now space-free.

I'm getting a different error now. The updater actually progresses to this point:
screenshot0003.png
screenshot0003.png (9.96 KiB) Viewed 1358 times
But then I get this error:
screenshot0001.png
Edit: added log

Code: Select all

failed to retrieve from no-spaces-in-this-name1.0-win.update.gz
Aborting, download available in ...1.0-win\update\win.update.new.part
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
Traceback (most recent call last):
  File "renpy/common/00updater.rpy", line 288, in run
    self.update()
  File "renpy/common/00updater.rpy", line 380, in update
    self.download(i)
  File "renpy/common/00updater.rpy", line 910, in download
    raise UpdateError("The update file does not have the correct digest - it may have been corrupted.")
UpdateError: The update file does not have the correct digest - it may have been corrupted.

Re: Updater Error

Posted: Thu Sep 19, 2013 3:23 am
by rinrin

Code: Select all

UpdateError: The update file does not have the correct digest - it may have been corrupted.
I tried again with a new project (clean file, also no spaces in filenames) and different domain (same server) and I got this error again. So it's not something in the code - it must be the server.
PyTom wrote: It's possible your server doesn't support range downloads.
How can I check this?