Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC channel, and Discord (new).
Activation problem? Email pytom@bishoujo.us.
It is currently Wed Mar 29, 2017 11:07 am

All times are UTC - 5 hours [ DST ]


Forum rules


This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like, and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.



Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
PostPosted: Fri Feb 17, 2017 8:18 am 
Newbie

Joined: Thu Feb 16, 2017 9:07 pm
Posts: 15
Tumblr: petrichorstudent
Deviantart: killingoneafterone
itch.io: owl.child
I keep getting this error and I'm very confused.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 17, in script
    $ povname = renpy.input(_("What is your name?"))
  File "game/script.rpy", line 17, in <module>
    $ povname = renpy.input(_("What is your name?"))
  File "game/screens.rpy", line 170, in execute
    screen input(prompt):
  File "game/screens.rpy", line 170, in execute
    screen input(prompt):
  File "game/screens.rpy", line 173, in execute
    window:
  File "game/screens.rpy", line 175, in execute
    vbox:
  File "game/screens.rpy", line 175, in keywords
    vbox:
AttributeError: 'StoreModule' object has no attribute 'dialogue_xalign'

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

Full traceback:
  File "game/script.rpy", line 17, in script
    $ povname = renpy.input(_("What is your name?"))
  File "C:\Users\carm1\Downloads\renpy-6.99.12.3-sdk\renpy\ast.py", line 814, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\carm1\Downloads\renpy-6.99.12.3-sdk\renpy\python.py", line 1715, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/script.rpy", line 17, in <module>
    $ povname = renpy.input(_("What is your name?"))
  File "C:\Users\carm1\Downloads\renpy-6.99.12.3-sdk\renpy\exports.py", line 797, in input
    rv = renpy.ui.interact(mouse='prompt', type="input", roll_forward=roll_forward)
  File "C:\Users\carm1\Downloads\renpy-6.99.12.3-sdk\renpy\ui.py", line 285, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\carm1\Downloads\renpy-6.99.12.3-sdk\renpy\display\core.py", line 2519, in interact
    scene_lists.replace_transient()
  File "C:\Users\carm1\Downloads\renpy-6.99.12.3-sdk\renpy\display\core.py", line 822, in replace_transient
    self.remove(layer, tag)
  File "C:\Users\carm1\Downloads\renpy-6.99.12.3-sdk\renpy\display\core.py", line 1107, in remove
    self.hide_or_replace(layer, remove_index, "hide")
  File "C:\Users\carm1\Downloads\renpy-6.99.12.3-sdk\renpy\display\core.py", line 1031, in hide_or_replace
    d = oldsle.displayable._hide(now - st, now - at, prefix)
  File "C:\Users\carm1\Downloads\renpy-6.99.12.3-sdk\renpy\display\screen.py", line 443, in _hide
    self.update()
  File "C:\Users\carm1\Downloads\renpy-6.99.12.3-sdk\renpy\display\screen.py", line 578, in update
    self.screen.function(**self.scope)
  File "game/screens.rpy", line 170, in execute
    screen input(prompt):
  File "game/screens.rpy", line 170, in execute
    screen input(prompt):
  File "game/screens.rpy", line 173, in execute
    window:
  File "game/screens.rpy", line 175, in execute
    vbox:
  File "game/screens.rpy", line 175, in keywords
    vbox:
  File "<screen language>", line 177, in <module>
AttributeError: 'StoreModule' object has no attribute 'dialogue_xalign'

Windows-8-6.2.9200
Ren'Py 6.99.12.3.2123
Notomorii 1.0


Top
 Profile Send private message  
 
PostPosted: Fri Feb 17, 2017 9:17 am 
Veteran
User avatar

Joined: Sun Jun 05, 2016 8:29 pm
Posts: 345
Projects: The Falconers: Moonlight
Organization: Bionic Penguin
itch.io: bionicpenguin
"gui.dialogue_xalign" seem to be missing for some reason. Add the following line after "gui.dialogue_ypos = 50" in "gui.rpy":
Code:
define gui.dialogue_xalign = 0


It should look like:
Code:
## The placement of dialogue relative to the textbox. These can be a whole
## number of pixels relative to the left or top side of the textbox, or 0.5 to
## center.
define gui.dialogue_xpos = 268
define gui.dialogue_ypos = 50
define gui.dialogue_xalign = 0

_________________
Work in Progress:
Image


Top
 Profile Send private message  
 
PostPosted: Fri Feb 17, 2017 9:38 am 
Newbie

Joined: Thu Feb 16, 2017 9:07 pm
Posts: 15
Tumblr: petrichorstudent
Deviantart: killingoneafterone
itch.io: owl.child
Divona wrote:
"gui.dialogue_xalign" seem to be missing for some reason. Add the following line after "gui.dialogue_ypos = 50" in "gui.rpy":
Code:
define gui.dialogue_xalign = 0


It should look like:
Code:
## The placement of dialogue relative to the textbox. These can be a whole
## number of pixels relative to the left or top side of the textbox, or 0.5 to
## center.
define gui.dialogue_xpos = 268
define gui.dialogue_ypos = 50
define gui.dialogue_xalign = 0



Thank you so much!!!!!!!!


Top
 Profile Send private message  
 
PostPosted: Fri Feb 17, 2017 10:36 pm 
Regular
User avatar

Joined: Fri Feb 17, 2017 11:58 am
Posts: 44
I get a similar error...

_______________________________________________________________________-
I'm sorry, but an uncaught exception occurred.

After initialization, but before game start.
File "renpy/common/00start.rpy", line 76, in _init_language
renpy.change_language(language)
File "game/screens.rpy", line 13, in <module>
properties gui.text_properties()
AttributeError: 'StoreModule' object has no attribute 'text_properties'

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

Full traceback:
File "C:\Users\Jared\Desktop\XFer\renpy-6.99.12.2\renpy\bootstrap.py", line 290, in bootstrap
renpy.main.main()
File "C:\Users\Jared\Desktop\XFer\renpy-6.99.12.2\renpy\main.py", line 487, in main
run(restart)
File "C:\Users\Jared\Desktop\XFer\renpy-6.99.12.2\renpy\main.py", line 69, in run
renpy.translation.init_translation()
File "C:\Users\Jared\Desktop\XFer\renpy-6.99.12.2\renpy\translation\__init__.py", line 506, in init_translation
renpy.store._init_language() # @UndefinedVariable
File "renpy/common/00start.rpy", line 76, in _init_language
renpy.change_language(language)
File "C:\Users\Jared\Desktop\XFer\renpy-6.99.12.2\renpy\translation\__init__.py", line 583, in change_language
new_change_language(tl, language)
File "C:\Users\Jared\Desktop\XFer\renpy-6.99.12.2\renpy\translation\__init__.py", line 553, in new_change_language
i.apply()
File "C:\Users\Jared\Desktop\XFer\renpy-6.99.12.2\renpy\ast.py", line 2224, in apply
value = renpy.python.py_eval(expr)
File "C:\Users\Jared\Desktop\XFer\renpy-6.99.12.2\renpy\python.py", line 1725, in py_eval
return py_eval_bytecode(code, globals, locals)
File "C:\Users\Jared\Desktop\XFer\renpy-6.99.12.2\renpy\python.py", line 1719, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/screens.rpy", line 13, in <module>
properties gui.text_properties()
AttributeError: 'StoreModule' object has no attribute 'text_properties'

Windows-7-6.1.7601-SP1
Ren'Py 6.99.12.2.2029
Interactive Director Test Game 1.1
______________________________________________________________________________-

The above fix made this list shorter, but a problem remains.
Any help would... help.
:)


Top
 Profile Send private message  
 
PostPosted: Sat Feb 18, 2017 3:21 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 14562
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Twitter: @renpytom
Github: renpytom
itch.io: renpytom
It looks like you're trying to use a game that requires 6.99.12.3 with 6.99.12.2.

_________________
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Code > Drama


Top
 Profile Send private message  
 
PostPosted: Sat Feb 18, 2017 3:26 am 
Regular
User avatar

Joined: Fri Feb 17, 2017 11:58 am
Posts: 44
It's the Interactive Director 2000 thingy.
That did the trick.

Thanks!


Top
 Profile Send private message  
 
PostPosted: Mon Feb 27, 2017 9:36 am 
Regular
User avatar

Joined: Wed Sep 21, 2016 4:15 pm
Posts: 105
Location: Georgia
Projects: End of Summer, Pinewood Island (previously Trust&Murder)
Organization: Scribble Games
Twitter: @wafflesrthebest
Deviantart: breakfastdoodles
itch.io: scribbles
this is the error I've started getting too! I deleted renpy, reinstalled it, and started a brand new game with *only* the user input code and it pops up > < it's been driving me crazy.

Code:
screen input(prompt):
    style_prefix "input"

    window:

        vbox:
            xpos gui.dialogue_xpos
            xanchor gui.dialogue_xalign
            ypos gui.dialogue_ypos
            xsize gui.dialogue_width

            text prompt style "input_prompt"
            input id "input"


style input_prompt is say_dialogue

style input_prompt:
    properties gui.text_properties("input_prompt")
    xmaximum gui.dialogue_width

style input:
    xmaximum gui.dialogue_width


That's the code it takes me too, why aren't the xpos and so on defined?

oh and this is the code that I put in:

Code:
define pov = Character("[povname]")

default povname = "Pat Smith"

label start:
    $ povname = renpy.input("What is your name?")
    $ povname = povname.strip()

    if not povname:
         $povname = "Pat Smith"

pov "My name is [povname]!"

return

_________________
Image


Top
 Profile Send private message  
 
PostPosted: Mon Feb 27, 2017 10:41 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 14562
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Twitter: @renpytom
Github: renpytom
itch.io: renpytom
"An Exception has occurred" is the generic start of most errors Ren'Py produces. Scribbles, there's an issue with new games that caused your problems that's been fixed in 6.99.12.4.

I'm going to lock this thread now so it doesn't become a magnet for a ton of unrelated errors.

_________________
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Code > Drama


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: SuperbowserX


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group