Updater Error

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Updater Error

#1 Post 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?

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Updater Error

#2 Post by PyTom »

Can you post the updater log? It's in the updates directory.

It's possible your server doesn't support range downloads.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Updater Error

#3 Post by PyTom »

Can you post the updater log? It's in the updates directory.

It's possible your server doesn't support range downloads.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Re: Updater Error

#4 Post 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?

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Updater Error

#5 Post by PyTom »

It looks like zsync doesn't like the space in the filename.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Re: Updater Error

#6 Post 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!

User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Re: Updater Error

#7 Post 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 1775 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.

User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Re: Updater Error

#8 Post 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?

Post Reply

Who is online

Users browsing this forum: TimmyzFTW