Page 1 of 1

[SOLVED]AttributeError: 'StoreModule' object has no attribute 'init'

Posted: Sun Feb 04, 2018 10:43 pm
by AlcottFury
Hi, I was working on a game, and I was planning to release it over Google Play Store. I was using a 64-bit PC, but the JDK needed 32-bit so I switched to another PC. However, the game that was running smoothly in the other PC ran into a problem I don't know how to fix.

This is traceback of the issue I am getting:
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/gui.rpy", line 11, in script
init python:
File "game/gui.rpy", line 12, in <module>
gui.init(1280, 720)
AttributeError: 'StoreModule' object has no attribute 'init'

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

Full traceback:
File "game/gui.rpy", line 11, in script
init python:
File "C:\Users\Julz-Dei\Documents\game\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\Julz-Dei\Documents\game\renpy-6.99.10-sdk\renpy\python.py", line 1577, in py_exec_bytecode
exec bytecode in globals, locals
File "game/gui.rpy", line 12, in <module>
gui.init(1280, 720)
AttributeError: 'StoreModule' object has no attribute 'init'

Windows-7-6.1.7600
Ren'Py 6.99.10.1227
This doesn't appear in my other PC. I looked through other threads with similar issues but found nothing that could help me. Can someone guide me into fixing this? Thank you.

Re: AttributeError: 'StoreModule' object has no attribute 'init'

Posted: Mon Feb 05, 2018 12:13 am
by PyTom
You're on an very old version of Ren'Py.

Re: [SOLVED]AttributeError: 'StoreModule' object has no attribute 'init'

Posted: Mon Feb 05, 2018 5:21 pm
by AlcottFury
Thanks.