[SOLVED] Compile To Windows ? // Array Index Out Of Range

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
pratomoastan
Regular
Posts: 39
Joined: Fri Mar 11, 2016 11:39 am
Projects: My High School Life
Organization: After School Things
Deviantart: pratomoastan
Location: Indonesia
Contact:

[SOLVED] Compile To Windows ? // Array Index Out Of Range

#1 Post by pratomoastan » Wed Jun 29, 2016 5:46 am

Hi i got error when compile to windows >< :
but game is working fine if i just launch the project

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/distribute.rpy", line 1180, in script
  File "game/distribute.rpy", line 1187, in <module>
  File "game/distribute.rpy", line 465, in __init__
  File "game/distribute.rpy", line 822, in add_windows_files
IndexError: array index out of range

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

Full traceback:
  File "game/distribute.rpy", line 1180, in script
  File "C:\Users\Pratomo Asta N\Downloads\Programs\renpy-6.99.10-sdk\renpy\ast.py", line 806, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Pratomo Asta N\Downloads\Programs\renpy-6.99.10-sdk\renpy\python.py", line 1577, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/distribute.rpy", line 1187, in <module>
  File "game/distribute.rpy", line 465, in __init__
  File "game/distribute.rpy", line 822, in add_windows_files
  File "change_icon.py", line 303, in change_icons
  File "change_icon.py", line 257, in load_icon
  File "change_icon.py", line 43, in u32
IndexError: array index out of range

Windows-8-6.2.9200
Ren'Py 6.99.10.1227
Ren'Py Launcher 6.99.10.1227
Last edited by pratomoastan on Sun Jul 03, 2016 11:57 am, edited 3 times in total.
~ Sempai !!!

User avatar
pratomoastan
Regular
Posts: 39
Joined: Fri Mar 11, 2016 11:39 am
Projects: My High School Life
Organization: After School Things
Deviantart: pratomoastan
Location: Indonesia
Contact:

Re: Error When Compile To Windows ?

#2 Post by pratomoastan » Wed Jun 29, 2016 5:51 am

>> IndexError: array index out of range <<
is it someting wrong with my icon ? change_icon.py <<<
any help ?

i think the ico is already in the correct state because i made it using gimp
32x32 resolution and export in in png ><
Last edited by pratomoastan on Wed Jun 29, 2016 11:33 am, edited 1 time in total.
~ Sempai !!!

User avatar
IrinaLazareva
Veteran
Posts: 399
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy
Organization: SunShI
Location: St.Petersburg, Russia
Contact:

Re: Error When Compile To Windows ? // Array Index Out Of Ra

#3 Post by IrinaLazareva » Wed Jun 29, 2016 11:12 am


User avatar
pratomoastan
Regular
Posts: 39
Joined: Fri Mar 11, 2016 11:39 am
Projects: My High School Life
Organization: After School Things
Deviantart: pratomoastan
Location: Indonesia
Contact:

Re: Error When Compile To Windows ? // Array Index Out Of Ra

#4 Post by pratomoastan » Wed Jun 29, 2016 11:34 am

i delete the previous icon and re make using gimp still the same
~ Sempai !!!

User avatar
IrinaLazareva
Veteran
Posts: 399
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy
Organization: SunShI
Location: St.Petersburg, Russia
Contact:

Re: Error When Compile To Windows ? // Array Index Out Of Ra

#5 Post by IrinaLazareva » Wed Jun 29, 2016 12:08 pm

pratomoastan wrote: i delete the previous icon and re make using gimp still the same
and without icon.ico compiler is work?

User avatar
pratomoastan
Regular
Posts: 39
Joined: Fri Mar 11, 2016 11:39 am
Projects: My High School Life
Organization: After School Things
Deviantart: pratomoastan
Location: Indonesia
Contact:

Re: Error When Compile To Windows ? // Array Index Out Of Ra

#6 Post by pratomoastan » Wed Jun 29, 2016 1:56 pm

IrinaLazareva wrote:
pratomoastan wrote: i delete the previous icon and re make using gimp still the same
and without icon.ico compiler is work?
nvm >< i already fix it thanks
my icon.ico is corrupted
~ Sempai !!!

Post Reply

Who is online

Users browsing this forum: Google [Bot]