Jump to content
  • 0
Sign in to follow this  
birender

open local variable 'board' referenced before assignment

Question

Hi I have installed shop decoration on Ken Offline Shop System.

Shop Decoration System works but I get syserror on client.I tried some solutions but it didnt work

The error is given below.I need help Plz.I have attached my game.py and interfacemodule.py

0805 19:39:04977 ::   File "game.py", line 2359, in BINARY_OfflineShop_Appear

0805 19:39:04977 ::   File "interfaceModule.py", line 1530, in AppearOfflineShop

0805 19:39:04977 :: UnboundLocalError
0805 19:39:04977 :: : 
0805 19:39:04977 :: local variable 'board' referenced before assignment
0805 19:39:04977 :: 

 

 

game.py

interfacemodule.py

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

You are calling local variable somewhere. Specify variable board as global . Also we cant see your python files.

  • Love 1

Share this post


Link to post
  • 0

It doesnt help but I fixed it by removing some comments from function 

def AppearOfflineShop(self, vid, text):

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.