Image Location Picker Error

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
Duchess
Regular
Posts: 59
Joined: Sat Aug 08, 2015 7:26 pm
Projects: Garden of Seif; Old Lucid9 Creative; Content Writer for VN Game Den
Organization: Foxdrift Studios
itch: foxdrift-studios
Location: Las Vegas
Contact:

Image Location Picker Error

#1 Post by Duchess » Wed Oct 06, 2021 5:56 pm

Hi!

This is my first time posting my Ren'py issues, I generally lurk and try to figure it out on my own, but this one is a headscratcher.

I get this error message when trying to use the image location picker (Shift +D)

I was using the recommended build for Ren'py, and just updated it this week. I got this error and decided to take a leap of faith and update to the nightly build yesterday. Still getting this error. Not sure if it's related or if it's something I did.

Code: Select all

```
I'm sorry, but an uncaught exception occurred.

While running game code:
Exception: Invalid key specifier input_jump_word_left

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

Full traceback:
  File "renpy/common/_developer/developer.rpym", line 536, in script
    python hide:
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/ast.py", line 928, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/python.py", line 2245, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/_developer/developer.rpym", line 536, in <module>
    python hide:
  File "renpy/common/_developer/developer.rpym", line 559, in _execute_python_hide
    rv = renpy.call_screen("_image_location_picker", image_files=image_files)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/exports.py", line 3134, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/ui.py", line 298, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/core.py", line 3315, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/core.py", line 4151, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/layout.py", line 1100, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/transition.py", line 48, in event
    return self.new_widget.event(ev, x, y, st) # E1101
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/layout.py", line 1100, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/layout.py", line 1100, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/screen.py", line 727, in event
    rv = self.child.event(ev, x, y, st)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/layout.py", line 1100, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/layout.py", line 1313, in event
    rv = super(Window, self).event(ev, x, y, st)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/layout.py", line 273, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/layout.py", line 273, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/layout.py", line 1100, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/layout.py", line 1100, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/behavior.py", line 1385, in event
    map_event(ev, "input_jump_word_left"),
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/behavior.py", line 232, in map_event
    check_code = eval("lambda ev : " + compile_event(keysym, True), globals())
  File "D:\Renpy\renpy-7.2.1-sdk/renpy/display/behavior.py", line 148, in compile_event
    raise Exception("Invalid key specifier %s" % key)
Exception: Invalid key specifier input_jump_word_left

Windows-10-10.0.19041
Ren'Py 7.4.9.2138n
Garden of Seif 1.3
Wed Oct  6 14:48:56 2021
```
Duchess aka Suna back in the olden days.
https://foxdrift-studios.itch.io/garden-of-seif Just Making a visual novel about romance, assassins, a badass MC, and an anti-fairy godmother.

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: Image Location Picker Error

#2 Post by PyTom » Thu Oct 07, 2021 9:46 am

Are you setting config.keymap yourself? It looks like something that's required to be there isn't present.
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

User avatar
Duchess
Regular
Posts: 59
Joined: Sat Aug 08, 2015 7:26 pm
Projects: Garden of Seif; Old Lucid9 Creative; Content Writer for VN Game Den
Organization: Foxdrift Studios
itch: foxdrift-studios
Location: Las Vegas
Contact:

Re: Image Location Picker Error

#3 Post by Duchess » Thu Oct 07, 2021 8:32 pm

Okay, the gears started moving in my head and I investigated my build files. I compared my keymap to the new update keymap. Mine was from 2019... I replaced it with the new one and it's functional now.
Duchess aka Suna back in the olden days.
https://foxdrift-studios.itch.io/garden-of-seif Just Making a visual novel about romance, assassins, a badass MC, and an anti-fairy godmother.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]