Halp!
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
Solved: Web Updater error: update file was not downloaded
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.
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.
- 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
Last edited by Steamgirl on Mon Feb 03, 2014 2:39 pm, edited 1 time in total.
Hobby Projects: Stranded Hearts | Emma: A Lady's Maid | My Cup of Coffee: The Trouble with Earl Grey
-
- 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
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.
- 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
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!
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!
Hobby Projects: Stranded Hearts | Emma: A Lady's Maid | My Cup of Coffee: The Trouble with Earl Grey
- 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
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!
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!
Hobby Projects: Stranded Hearts | Emma: A Lady's Maid | My Cup of Coffee: The Trouble with Earl Grey
Re: Web Updater error: The update file was not downloaded
Tried this now and it fails as well. Log says it failed to get the zsync file.
Maybe eliminate the spaces from the zsync path in your updates.json file (and rename the zsync file appropriately)?
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.
- 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
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!
Thank youuuuuuuuuuuuuuuu! So happy!
Hobby Projects: Stranded Hearts | Emma: A Lady's Maid | My Cup of Coffee: The Trouble with Earl Grey
Who is online
Users browsing this forum: No registered users