*Problemă/Întrebare: Problema client
Tipologie server: Pvm
*Resursă folosită: sursa/letters-event-t90403.html
*ServerFiles utilizat: serverfiles/serverfiles-complet-surs-t83151.html
*Syserr: 0502 22:39:20392 ::
uieveniment.py(line:54) LoadWindow
ui.py(line:4266) LoadScriptFile
ui.py(line:4500) LoadChildren
ui.py(line:4459) LoadChildren
ui.py(line:3030) __init__
eventlitere.LoadWindow.LoadObject - <type 'exceptions.TypeError'>:__init__() takes exactly 1 argument (2 given)
0502 22:39:20393 :: ============================================================================================================
0502 22:39:20393 :: Abort!!!!
0502 22:39:20393 :: Exception
0502 22:39:20393 :: AttributeError
0502 22:39:20393 :: :
0502 22:39:20393 :: "'BorderA' object has no attribute 'hWnd'"
0502 22:39:20393 :: in
0502 22:39:20393 :: <bound method BorderA.__del__ of <ui.BorderA object at 0x1E2C04F0>>
0502 22:39:20393 :: ignored
Poză:
*Detalii suplimentare: Am adaugat evenimentul de litere dar imi da aceasta eroare, cred ca e din cauza ca nu am in folderul etc din client ymir work si am pus direct asa https://prnt.sc/s9tcz6
Problema eveniment litere
- [Pablo]
-

- Mesaje: 170
- Membru din: 26 Mar 2020, 19:11
- Server: In curand
- Regat: Jinno
- Aprecieri: 38
- Mulţumiri: 85
- Discord: Copiază ID
T/C
Am pus din greseala de 2 ori
class BorderB(Board):
CORNER_WIDTH = 16
CORNER_HEIGHT = 16
LINE_WIDTH = 16
LINE_HEIGHT = 16
BASE_PATH = "d:/ymir work/ui/pattern"
IMAGES = {
'CORNER' : {
0 : "border_b_left_top",
1 : "border_b_left_bottom",
2 : "border_b_right_top",
3 : "border_b_right_bottom"
},
'BAR' : {
0 : "border_b_left",
1 : "border_b_right",
2 : "border_b_top",
3 : "border_b_bottom"
},
'FILL' : "border_b_center"
}
def __init__(self):
Board.__init__(self)
def __del__(self):
Board.__del__(self)
def SetSize(self, width, height):
Board.SetSize(self, width, height)
Am pus din greseala de 2 ori
class BorderB(Board):
CORNER_WIDTH = 16
CORNER_HEIGHT = 16
LINE_WIDTH = 16
LINE_HEIGHT = 16
BASE_PATH = "d:/ymir work/ui/pattern"
IMAGES = {
'CORNER' : {
0 : "border_b_left_top",
1 : "border_b_left_bottom",
2 : "border_b_right_top",
3 : "border_b_right_bottom"
},
'BAR' : {
0 : "border_b_left",
1 : "border_b_right",
2 : "border_b_top",
3 : "border_b_bottom"
},
'FILL' : "border_b_center"
}
def __init__(self):
Board.__init__(self)
def __del__(self):
Board.__del__(self)
def SetSize(self, width, height):
Board.SetSize(self, width, height)
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 31 vizitatori

