local variable 'infoButton' referenced before assignment

KrOoS99

Level 1
Katılım
26 Tem 2019
Konular
5
Mesajlar
34
Online süresi
1g 68401s
Reaksiyon Skoru
1
Altın Konu
0
Başarım Puanı
52
TM Yaşı
6 Yıl 9 Ay
MmoLira
807
DevLira
0

Metin2 EP, Valorant VP dahil tüm oyun ürünlerini en uygun fiyatlarla bulabilir, Item ve Karakterlerinizi hızlıca satabilirsiniz. HEMEN TIKLA!

Hey there is an error message

0222 17:12:16669 :: Traceback (most recent call last):

0222 17:12:16670 :: File "networkModule.py", line 286, in SetGamePhase

0222 17:12:16670 :: File "game.py", line 160, in __init__

0222 17:12:16670 :: File "uiTarget.py", line 669, in __init__

0222 17:12:16670 :: UnboundLocalError
0222 17:12:16670 :: :
0222 17:12:16670 :: local variable 'infoButton' referenced before assignment
0222 17:12:16670 ::

In line 669 uitarget.py

and i send u the attachment file
 

Ekli dosyalar

  • uitarget.py
    43.9 KB · Görüntüleme: 0
Hmm give me a minute I'll check it out
 
We will try to empty the variable before using it can you try this

find:
if app.ENABLE_SEND_TARGET_INFO:
infoButton = ui.Button()

add on top:
infoButton = None
 
We will try to empty the variable before using it can you try this

find:
if app.ENABLE_SEND_TARGET_INFO:
infoButton = ui.Button()

add on top:
infoButton = None
not work error i try it
 

Şu an konuyu görüntüleyenler (Toplam : 1, Üye: 0, Misafir: 1)