[Solved] Wep 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
Goha
Newbie
Posts: 7
Joined: Fri Jun 22, 2018 9:06 am
Contact:

[Solved] Wep Updater error

#1 Post by Goha » Sun May 16, 2021 7:10 am

I'm trying to use web updater and I don't know much about ftp or web hosting.

My update file was uploaded to the Amazon web server. All files uploaded to AWS are public and can be read by anyone.

When I turn on the game and run the updater, I get an error message saying 'The update file was not downloaded.'
There is no problem checking the updated version. The problem occurs at the stage of downloading the update file.

What's wrong with this? I want to know how to solve this problem.
Last edited by Goha on Mon May 24, 2021 9:05 am, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 15642
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: [Help] Wep Updater error

#2 Post by PyTom » Mon May 17, 2021 7:06 pm

Can you post the log from the update directory?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Goha
Newbie
Posts: 7
Joined: Fri Jun 22, 2018 9:06 am
Contact:

Re: [Help] Wep Updater error

#3 Post by Goha » Fri May 21, 2021 7:41 am

running ['E:\\zeus_Test-3.10-pc\\lib\\windows-i686\\zsync.exe', '-o', 'E:\\zeus_Test-3.10-pc\\update\\pc.update.new', '-k', 'E:\\zeus_Test-3.10-pc\\update\\pc.zsync', '-i', 'E:\\zeus_Test-3.10-pc\\update\\pc.update', 'https://zeustestko.s3.ap-northeast-2.am ... 1-pc.zsync']
failed on url https://zeustestko.s3.ap-northeast-2.am ... 1-pc.zsync
could not read control file from URL https://zeustestko.s3.ap-northeast-2.am ... 1-pc.zsync
running ['E:\\zeus_Test-3.10-pc\\lib\\windows-i686\\zsync.exe', '-o', 'E:\\zeus_Test-3.10-pc\\update\\pc.update.new', 'https://zeustestko.s3.ap-northeast-2.am ... 1-pc.zsync']
failed on url https://zeustestko.s3.ap-northeast-2.am ... 1-pc.zsync
could not read control file from URL https://zeustestko.s3.ap-northeast-2.am ... 1-pc.zsync
Traceback (most recent call last):
File "renpy/common/00updater.rpy", line 334, in run
self.update()
File "renpy/common/00updater.rpy", line 441, in update
self.download(i, standalone=True)
File "renpy/common/00updater.rpy", line 1006, in download
raise UpdateError(_("The update file was not downloaded."))
UpdateError: The update file was not downloaded.


This is my log. It may have changed from the original line because I added some print functions.
Thank you for your kindness.

User avatar
PyTom
Ren'Py Creator
Posts: 15642
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: [Help] Wep Updater error

#4 Post by PyTom » Fri May 21, 2021 6:52 pm

Ah, the updater doesn't support https.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Goha
Newbie
Posts: 7
Joined: Fri Jun 22, 2018 9:06 am
Contact:

Re: [Help] Wep Updater error

#5 Post by Goha » Sat May 22, 2021 10:13 am

Thank you very much! The update proceeds successfully.
But there is another problem... When I restart the program after the update, an exception is thrown.
Attach a trackback.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00updater.rpy", line 23, in script
    init -1500 python in updater:
  File "renpy/common/00updater.rpy", line 120, in <module>
    process_deferred()
  File "renpy/common/00updater.rpy", line 103, in process_deferred
    l = l.decode("utf-8")
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 10: invalid start byte

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00updater.rpy", line 23, in script
    init -1500 python in updater:
  File "E:\zeus_Test-3.10-pc\renpy\ast.py", line 914, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\zeus_Test-3.10-pc\renpy\python.py", line 2028, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/00updater.rpy", line 120, in <module>
    process_deferred()
  File "renpy/common/00updater.rpy", line 103, in process_deferred
    l = l.decode("utf-8")
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 10: invalid start byte

Windows-8-6.2.9200
Ren'Py 7.3.5.606
 
Sat May 22 23:12:52 2021

User avatar
PyTom
Ren'Py Creator
Posts: 15642
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: [Help] Wep Updater error

#6 Post by PyTom » Sat May 22, 2021 8:16 pm

I believe that error was fixed at some point during the 7.4 series.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Goha
Newbie
Posts: 7
Joined: Fri Jun 22, 2018 9:06 am
Contact:

Re: [Help] Wep Updater error

#7 Post by Goha » Mon May 24, 2021 9:03 am

Oh, thank you very much. I solved all the problems in the updater. Thank you so much for your kind answer.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]