Bug's with Image Location Picker

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
Catyih1997
Newbie
Posts: 1
Joined: Mon Aug 14, 2017 11:54 pm
Contact:

Bug's with Image Location Picker

#1 Post by Catyih1997 » Tue Aug 15, 2017 12:21 am

Hi there! I'm having issues with Ren'py's Image Location Picker. I'll click on the already made tutorial, click shift D, and use the image location picker with absolutely no problems whatsoever, but when I go to my own personal game project, I click launch project, then shift D, I'll go to the image location picker and the image will show up just fine but when I left click the image to get coordinates, this appears:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
Exception: Character expects its what argument to be a string, got 638.

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

Full traceback:
  File "C:/WINDOWS/System32/_developer/developer.rpymc", line 464, in script
  File "C:\Users\Caty\Downloads\renpy-6.99.12.4-sdk\renpy\ast.py", line 814, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Caty\Downloads\renpy-6.99.12.4-sdk\renpy\python.py", line 1719, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/_developer/developer.rpym", line 489, in <module>
    ui.interact()
  File "C:\Users\Caty\Downloads\renpy-6.99.12.4-sdk\renpy\ui.py", line 285, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\Caty\Downloads\renpy-6.99.12.4-sdk\renpy\display\core.py", line 2526, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "C:\Users\Caty\Downloads\renpy-6.99.12.4-sdk\renpy\display\core.py", line 2883, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "C:\Users\Caty\Downloads\renpy-6.99.12.4-sdk\renpy\display\core.py", line 1955, in draw_screen
    renpy.config.screen_height,
  File "renpy/display/render.pyx", line 427, in renpy.display.render.render_screen (gen\renpy.display.render.c:6806)
    rv = render(root, width, height, 0, 0)
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "C:\Users\Caty\Downloads\renpy-6.99.12.4-sdk\renpy\display\layout.py", line 693, in render
    surf = render(child, width, height, cst, cat)
  File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
    cpdef render(d, object widtho, object heighto, double st, double at):
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "C:\Users\Caty\Downloads\renpy-6.99.12.4-sdk\renpy\display\layout.py", line 693, in render
    surf = render(child, width, height, cst, cat)
  File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
    cpdef render(d, object widtho, object heighto, double st, double at):
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "C:\Users\Caty\Downloads\renpy-6.99.12.4-sdk\renpy\display\layout.py", line 693, in render
    surf = render(child, width, height, cst, cat)
  File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
    cpdef render(d, object widtho, object heighto, double st, double at):
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "renpy/common/_developer/developer.rpym", line 369, in render
    x, y, w, h = self.rectangle()
  File "renpy/common/_developer/developer.rpym", line 339, in rectangle
    x1 = min(x1, width)
  File "C:\Users\Caty\Downloads\renpy-6.99.12.4-sdk\renpy\character.py", line 812, in __call__
    raise Exception("Character expects its what argument to be a string, got %r." % (what,))
Exception: Character expects its what argument to be a string, got 638.

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
The Cold Case of Noella Bejerot 1.0
Please help! :(

User avatar
skyeworks
Regular
Posts: 44
Joined: Thu Jul 27, 2017 11:36 am
Projects: K9-11
itch: skyefrost
Contact:

Re: Bug's with Image Location Picker

#2 Post by skyeworks » Wed Aug 16, 2017 12:19 am

Catyih1997 wrote:
Tue Aug 15, 2017 12:21 am

Please help! :(
I don't know if you're going to get answers (because you posted this in the wrong thread. So I don't think the right people can find this post.) But if you posted in the right thread here. You should be able to get answers! Those people are seriously really nice and informative! (I don't use that feature in renpy so I don't know what's wrong. I usually use photoshop to find coordinates.)
Image

User avatar
Taleweaver
Writing Maniac
Posts: 3369
Joined: Tue Nov 11, 2003 8:51 am
Completed: Metropolitan Blues, The Loyal Kinsman, Daemonophilia, The Dreaming, The Thirteenth Year, Adrift, Bionic Heart 2, Secrets of the Wolf, The Photographer
Projects: The Pilgrim's Path, Elspeth's Garden, Secret Adventure Game!
Organization: Tall Tales Productions
Location: Germany
Contact:

Re: Bug's with Image Location Picker

#3 Post by Taleweaver » Thu Aug 17, 2017 1:05 pm

Ren'Py questions should be posted in the Ren'Py Questions forum.

Thread moved.
Scriptwriter and producer of Metropolitan Blues
Creator of The Loyal Kinsman
Scriptwriter and director of Daemonophilia
Scriptwriter and director of The Dreaming
Scriptwriter of Zenith Chronicles
Scriptwriter and director of The Thirteenth Year
Scriptwriter and director of Romance is Dead
Scriptwriter and producer of Adrift
More about me in my blog
"Adrift - Like Ever17, but without the Deus Ex Machina" - HigurashiKira

Post Reply

Who is online

Users browsing this forum: Google [Bot]