Jump to content

Recommended Posts

Whisper window does not open! The server has "Contact System" the problem would be from uiwhisper.py, but I can not figure out where..

SYSERR:

0810 05:51:28773 :: Unknown Server Command anti_exp 1 | anti_exp
0810 05:51:30096 :: Traceback (most recent call last):

0810 05:51:30096 ::   File "ui.py", line 1358, in CallEvent

0810 05:51:30096 ::   File "ui.py", line 88, in __call__

0810 05:51:30097 ::   File "ui.py", line 70, in __call__

0810 05:51:30097 ::   File "uiTarget.py", line 728, in OnWhisper

0810 05:51:30097 ::   File "ui.py", line 88, in __call__

0810 05:51:30097 ::   File "ui.py", line 79, in __call__

0810 05:51:30097 ::   File "interfaceModule.py", line 2053, in OpenWhisperDialog

0810 05:51:30097 ::   File "interfaceModule.py", line 2240, in __MakeWhisperDialog

0810 05:51:30097 ::   File "uiWhisper.py", line 126, in LoadDialog

0810 05:51:30097 :: AttributeError
0810 05:51:30097 :: : 
0810 05:51:30097 :: 'WhisperDialog' object has no attribute 'closeButton'
0810 05:51:30097 ::

uiwhisper.py:  https://pastebin.com/PpXL5gR8

 
 
 
 
 
94/5000
 
 
 
 
 
 
 
94/5000
 
 
 
 
 
 
 
94/5000
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

The closeButton was not initialized. 
This happened because ENABLE_RENEW_MESSENGER_WHISPER is TRUE, which needs to be FALSE in order to initialize the close button (class attribute).

Spoiler

         if not app.ENABLE_RENEW_MESSENGER_WHISPER:
            self.titleName = GetObject("titlename")
            self.ignoreButton = GetObject("ignorebutton")
            self.reportViolentWhisperButton = GetObject("reportviolentwhisperbutton")
            self.closeButton = GetObject("closebutton")
 
         if app.ENABLE_RENEW_MESSENGER_WHISPER:
            self.titleNameEditBar = GetObject("titlename_editBar")

 

in order to fix this:

app.ENABLE_RENEW_MESSENGER_WHISPER = False

or add the button outside the if condition

example - Line 100

Spoiler

         
          self.closeButton = GetObject("closebutton")
          self.chatLine = GetObject("chatline")
          self.minimizeButton = GetObject("minimizebutton")
          self.acceptButton = GetObject("acceptbutton")
          self.sendButton = GetObject("sendbutton")
          self.board = GetObject("board")
          self.editBar = GetObject("editbar")
          self.gamemasterMark = GetObject("gamemastermark")
          self.acceptButton = GetObject("acceptbutton")

 

 

 

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.