Page 1 of 1

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

Posted: Wed Jun 29, 2016 5:46 am
by pratomoastan
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

Re: Error When Compile To Windows ?

Posted: Wed Jun 29, 2016 5:51 am
by pratomoastan
>> 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 ><

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

Posted: Wed Jun 29, 2016 11:12 am
by IrinaLazareva

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

Posted: Wed Jun 29, 2016 11:34 am
by pratomoastan
i delete the previous icon and re make using gimp still the same

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

Posted: Wed Jun 29, 2016 12:08 pm
by IrinaLazareva
pratomoastan wrote: i delete the previous icon and re make using gimp still the same
and without icon.ico compiler is work?

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

Posted: Wed Jun 29, 2016 1:56 pm
by pratomoastan
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