Solved: Web Updater error: update file was not downloaded

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
Steamgirl
Veteran
Posts: 322
Joined: Sat Jul 28, 2012 4:39 am
Completed: My Cup of Coffee, Queen at Arms (co-wrote a battle scene)
Projects: Stranded Hearts, Emma: A Lady's Maid
Deviantart: steamgirlgame
Contact:

Solved: Web Updater error: update file was not downloaded

#1 Post by Steamgirl »

Halp! :oops:

I'm testing the web updater functionality and I *think* I've got everything set up correctly.

I used textbutton _("Update") action updater.Update("http://dreamgategames.com/emma/emma_upd ... dates.json") in my main menu - it seems to call the updater correctly.

When I click "Update" it says "Emma the Maid is available. Do you want to install it?" with a Proceed/Cancel prompt.

It then goes to preparing the updates (which works fine). But then downloading the updates doesn't and it results in the error "The update file was not downloaded".

What am I doing wrong? I tried to search for "range query" online to figure out what it was just in case my host needs some settings tweaking, but no luck?
Should I be popping in an htacces file to compensate?

Any help would be much appreciated. :)

Best,

Steamgirl
Last edited by Steamgirl on Mon Feb 03, 2014 2:39 pm, edited 1 time in total.

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Web Updater error: The update file was not downloaded

#2 Post by Asceai »

I just tested using wget and your site supports range queries just fine. I don't know what the problem is, but that's not it.

User avatar
Steamgirl
Veteran
Posts: 322
Joined: Sat Jul 28, 2012 4:39 am
Completed: My Cup of Coffee, Queen at Arms (co-wrote a battle scene)
Projects: Stranded Hearts, Emma: A Lady's Maid
Deviantart: steamgirlgame
Contact:

Re: Web Updater error: The update file was not downloaded

#3 Post by Steamgirl »

Asceai - thanks so much for looking that up!!! I am relieved to hear that's not it - though also puzzled!

I just created a small test case project which ended up working fine. I wonder if it's because I incremented the version number when I built the distribution? Something I'll try later today on my other project (when I'm at home).

Will post if that's the solution since I figure it might be useful for other people to know. :)

Thanks again!

User avatar
Steamgirl
Veteran
Posts: 322
Joined: Sat Jul 28, 2012 4:39 am
Completed: My Cup of Coffee, Queen at Arms (co-wrote a battle scene)
Projects: Stranded Hearts, Emma: A Lady's Maid
Deviantart: steamgirlgame
Contact:

Re: Web Updater error: The update file was not downloaded

#4 Post by Steamgirl »

Ok after some further examination, it appears I must be doing something wrong but I don't know what. Is it because I'm using dse? When I set up a plain project the download updated fine, but when I use a more complex one it doesn't work even if I use the same steps as I did for the simple one.

Things I tried but weren't it:
- Incrementing the debug version number
- Incrementing the version number in the title
- Tested the download from two different PCs in two different locations

If anyone would be so kind as to have a look at it?
The wip project is available here: http://dreamgategames.com/emma/Emma%20t ... .0-all.zip

The update button from the main menu should update the game to 1.1 - only it doesn't.

Thanks in advance!

Tsapas
Regular
Posts: 69
Joined: Mon Oct 14, 2013 8:18 am
Contact:

Re: Web Updater error: The update file was not downloaded

#5 Post by Tsapas »

Tried this now and it fails as well. Log says it failed to get the zsync file.

Code: Select all

failed on url http://dreamgategames.com/emma/emma_updates/Emma the Maid-1.1-all.zsync
could not read control file from URL http://dreamgategames.com/emma/emma_updates/Emma the Maid-1.1-all.zsync
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 892, in download
    raise UpdateError("The update file was not downloaded.")
UpdateError: The update file was not downloaded.
Maybe eliminate the spaces from the zsync path in your updates.json file (and rename the zsync file appropriately)?

User avatar
Steamgirl
Veteran
Posts: 322
Joined: Sat Jul 28, 2012 4:39 am
Completed: My Cup of Coffee, Queen at Arms (co-wrote a battle scene)
Projects: Stranded Hearts, Emma: A Lady's Maid
Deviantart: steamgirlgame
Contact:

Re: Web Updater error: The update file was not downloaded

#6 Post by Steamgirl »

OMG it works! I could kiss you right now!!!! Thanks so much for looking into it! I was tearing hairs out and everything!
Thank youuuuuuuuuuuuuuuu! So happy!

Post Reply

Who is online

Users browsing this forum: No registered users