deathgothic

Newbie
May 18, 2018
54
22
59
trying to launch the game from the Ren'Py sdk, but right now all i get is this random error

Code:
While running game code:
  File "game/code/styles.rpy", line 63, in script
    style paging_green_button_left:
  File "game/code/styles.rpy", line 63, in script
    style paging_green_button_left:
  File "game/code/styles.rpy", line 66, in <module>
    background Frame(interfacebuttons + "arrow_left.png")
NameError: name 'interfacebuttons' is not defined
 

Ardlan

Newbie
Mar 29, 2018
36
33
203
trying to launch the game from the Ren'Py sdk, but right now all i get is this random error

Code:
While running game code:
  File "game/code/styles.rpy", line 63, in script
    style paging_green_button_left:
  File "game/code/styles.rpy", line 63, in script
    style paging_green_button_left:
  File "game/code/styles.rpy", line 66, in <module>
    background Frame(interfacebuttons + "arrow_left.png")
NameError: name 'interfacebuttons' is not defined
tbh the first question coming to mind is why even bothering and trying to run it through the SDK instead of exe or shell script?
Since both work just fine.

The next question would be which version of the SDK are you using?
The game was build with the SDK version 7.2.2 which works just fine. The current SDK version with python 2 compatibility would be 7.7.3 which also works fine. The current SDK version with python 3 compatibility (8.2.3) throws errors but not the one you have there. Maybe after fixing those, one get the error you have there but that's beyond my motivation ;)

Now to the error at hand the game basically tells that the variable "interfacebuttons" is not defined, code-wise it should be set in "initialization.rpy". Considering the information provided I don't know why it happen for you but it's most likely do to the use of the wrong SDK version.
 
  • Like
Reactions: Komodia

deathgothic

Newbie
May 18, 2018
54
22
59
tbh the first question coming to mind is why even bothering and trying to run it through the SDK instead of exe or shell script?
Since both work just fine.

The next question would be which version of the SDK are you using?
The game was build with the SDK version 7.2.2 which works just fine. The current SDK version with python 2 compatibility would be 7.7.3 which also works fine. The current SDK version with python 3 compatibility (8.2.3) throws errors but not the one you have there. Maybe after fixing those, one get the error you have there but that's beyond my motivation ;)

Now to the error at hand the game basically tells that the variable "interfacebuttons" is not defined, code-wise it should be set in "initialization.rpy". Considering the information provided I don't know why it happen for you but it's most likely do to the use of the wrong SDK version.
1) Neither exe nor the Shell version works for me for some reason hence the sdk

2)latest with python 3
 

BlackDahliaStudios

Active Member
Game Developer
Nov 18, 2020
543
888
177
trying to launch the game from the Ren'Py sdk, but right now all i get is this random error

Code:
While running game code:
  File "game/code/styles.rpy", line 63, in script
    style paging_green_button_left:
  File "game/code/styles.rpy", line 63, in script
    style paging_green_button_left:
  File "game/code/styles.rpy", line 66, in <module>
    background Frame(interfacebuttons + "arrow_left.png")
NameError: name 'interfacebuttons' is not defined
It's probably assigning a value to a global variable inside a local function without the global interfacebuttons statement. That's usually what causes this error for me.
 

fgh24

Active Member
Feb 8, 2019
858
484
210
Thanks, I searched the Github and found the sdk version. I do have medium level proficiency in Programming so I am going to understand how its done and hopefully continue it. No promises though
sounds good hope to see it continue with more content but i hope it will be better than before like marriage system and other things that could make the experiece easier for new players if you get it going again
 
4.50 star(s) 2 Votes