Page 1 of 1

Bug's with Image Location Picker

Posted: Tue Aug 15, 2017 12:21 am
by Catyih1997
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! :(

Re: Bug's with Image Location Picker

Posted: Wed Aug 16, 2017 12:19 am
by skyeworks
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.)

Re: Bug's with Image Location Picker

Posted: Thu Aug 17, 2017 1:05 pm
by Taleweaver
Ren'Py questions should be posted in the Ren'Py Questions forum.

Thread moved.