[SOLVED]Webupdater "Could not read control file"

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
Iovita
Newbie
Posts: 16
Joined: Thu Mar 23, 2017 12:44 pm
Projects: Full Hearts, Ambassador of Sieubia, Stars Dawn
Github: WaifuForHire
Soundcloud: mbsiovita
Contact:

[SOLVED]Webupdater "Could not read control file"

#1 Post by Iovita »

I've had the web updater working in the past, however suddenly it now says that the update could not be downloaded. The only thing I've changed about it is having the button to start the update appear based on conditions in an if statement.
The log file says this:

Code: Select all

running ['E:\\Full Hearts\\lib\\windows-i686\\zsync.exe', '-o', 'E:\\Full Hearts\\update\\win.update.new', '-k', 'E:\\Full Hearts\\update\\win.zsync', '-i', 'E:\\Full Hearts\\update\\win.update', 'http://updater:pTe56S8oivkH@musicboxstudioswebserver.890m.com/updates/FullHeartsDemo3.5-win.zsync']
updater: No such file or directory
failed on url http://updater:pTe56S8oivkH@musicboxstudioswebserver.890m.com/updates/FullHeartsDemo3.5-win.zsync
could not read control file from URL http://updater:pTe56S8oivkH@musicboxstudioswebserver.890m.com/updates/FullHeartsDemo3.5-win.zsync
running ['E:\\Full Hearts\\lib\\windows-i686\\zsync.exe', '-o', 'E:\\Full Hearts\\update\\win.update.new', 'http://updater:pTe56S8oivkH@musicboxstudioswebserver.890m.com/updates/FullHeartsDemo3.5-win.zsync']
updater: Invalid argument
failed on url http://updater:pTe56S8oivkH@musicboxstudioswebserver.890m.com/updates/FullHeartsDemo3.5-win.zsync
could not read control file from URL http://updater:pTe56S8oivkH@musicboxstudioswebserver.890m.com/updates/FullHeartsDemo3.5-win.zsync
Traceback (most recent call last):
  File "renpy/common/00updater.rpy", line 329, in run
    self.update()
  File "renpy/common/00updater.rpy", line 436, in update
    self.download(i, standalone=True)
  File "renpy/common/00updater.rpy", line 981, in download
    raise UpdateError(_("The update file was not downloaded."))
UpdateError: The update file was not downloaded.
Last edited by Iovita on Sun Sep 17, 2017 12:34 am, edited 3 times in total.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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: Webupdater "Could not read control file"

#2 Post by PyTom »

Supplying a username and password like that isn't supported by zsync. (It can take them in a different way, but Ren'Py can't supply that argument.)

I was able to experimentally verify that's the problem.
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

Iovita
Newbie
Posts: 16
Joined: Thu Mar 23, 2017 12:44 pm
Projects: Full Hearts, Ambassador of Sieubia, Stars Dawn
Github: WaifuForHire
Soundcloud: mbsiovita
Contact:

Re: Webupdater "Could not read control file"

#3 Post by Iovita »

Should I straight up remove the username and password then or is there another way that Ren'Py could access it while keeping the directory password protected?

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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: Webupdater "Could not read control file"

#4 Post by PyTom »

I'd suggest just removing it. It doesn't really add any security.
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

Post Reply

Who is online

Users browsing this forum: Google [Bot]