Unknown error

Questions, skill improvement, and respectful critique involving game writing.
Post Reply
Message
Author
User avatar
mokcie15
Newbie
Posts: 3
Joined: Wed Jun 04, 2025 12:50 pm
Projects: Below the surface
Tumblr: mokcie15
Deviantart: mokcie15
itch: mokcie15
Discord: @mokcie15
Contact:

Unknown error

#1 Post by mokcie15 »

Hi so i am new to coding and i curently have this error and i have no idea how to fix it, can someone help?

error:

Code: Select all

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

While running game code:
  File "game/routes/after_kitchen.rpy", line 18, in script call
    call qte_car
  File "game/qte_events/qte_car.rpy", line 35, in script
    $ slider_bar_size = (int(100 / 2, int (70 / 2)))
  File "game/qte_events/qte_car.rpy", line 35, in <module>
    $ slider_bar_size = (int(100 / 2, int (70 / 2)))
TypeError: int() can't convert non-string with explicit base

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

Full traceback:
  File "game/routes/after_kitchen.rpy", line 18, in script call
    call qte_car
  File "game/qte_events/qte_car.rpy", line 35, in script
    $ slider_bar_size = (int(100 / 2, int (70 / 2)))
  File "D:\renpy\renpy-8.3.7-sdk\renpy\ast.py", line 834, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\renpy\renpy-8.3.7-sdk\renpy\python.py", line 1187, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/qte_events/qte_car.rpy", line 35, in <module>
    $ slider_bar_size = (int(100 / 2, int (70 / 2)))
TypeError: int() can't convert non-string with explicit base

Windows-10-10.0.26100 AMD64
Ren'Py 8.3.7.25031702
Below the surface 1.0
Tue Jun 10 12:35:40 2025
```

giorgi1111
Veteran
Posts: 359
Joined: Sat May 04, 2024 10:40 pm
Contact:

Re: Unknown error

#2 Post by giorgi1111 »

$ slider_bar_size = (int(100 / 2), int(70 / 2))

Post Reply