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

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
AlcottFury
Newbie
Posts: 6
Joined: Thu Mar 09, 2017 11:09 pm
Projects: Luger's Prison Palace
Tumblr: reialdark
Contact:

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

#1 Post by AlcottFury » Sun Feb 04, 2018 10:43 pm

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.
Last edited by AlcottFury on Mon Feb 05, 2018 5:21 pm, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: AttributeError: 'StoreModule' object has no attribute 'init'

#2 Post by PyTom » Mon Feb 05, 2018 12:13 am

You're on an very old version of Ren'Py.
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

AlcottFury
Newbie
Posts: 6
Joined: Thu Mar 09, 2017 11:09 pm
Projects: Luger's Prison Palace
Tumblr: reialdark
Contact:

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

#3 Post by AlcottFury » Mon Feb 05, 2018 5:21 pm

Thanks.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]