Pyfa icon indicating copy to clipboard operation
Pyfa copied to clipboard

(Likely Bug) Character window & Change or Fetch skills broken in Mac binaries

Open zanglebert opened this issue 11 years ago • 4 comments

Latest Mac build (binaries).

  • [x] Open character window => Not able to close it again, i.e. pressing "Ok" doesn't do anything
  • [x] Cannot fetch skills via API => empty error message
  • [x] Cannot save manually changed skills => probably due to (1) above

zanglebert avatar Nov 03 '15 15:11 zanglebert

Haven't tested 2 or 3, but I had the first issue. Latest build (1.16.0) for Windows installed via the Windows installer.

An additional bit of behaviour I've noticed: The Character Editor correctly acts as a modal window until the first time you attempt to close it. At that point, it just acts like another window that stays on top. You can also open additional character editor windows once you have tried to close the existing one.

dachucky avatar Nov 03 '15 17:11 dachucky

Traceback when running from source:

Traceback (most recent call last):
  File "gui\characterEditor.py", line 203, in closeEvent
    wx.PostEvent(self.mainFrame, GE.CharListUpdated())
AttributeError: 'CharacterEditor' object has no attribute 'mainFrame'

dachucky avatar Nov 03 '15 18:11 dachucky

This appears to be caused by c436e0e669bc16fa59defa848d0a40d9edcc6880 which removes the line

self.mainFrame = parent

from gui/characterEditor.py in addition some other lines which the author intended to remove.

This appears to be a trivial mistake that prevents the character editor window from closing (due to causing the above error). Reinserting said line resolves the issue for me (on Linux).

petertdavies avatar Nov 03 '15 22:11 petertdavies

Aye, that was a mistake. I put the override toggle in the character editor during development and seemed to have removed the mainframe pointer by mistake. This should be fixed in the repo.

I'm not sure about 2) and 3) yet

EDIT: just checked, and I can fetch my api and save skills. So hopefully it was all due to that one line.

blitzmann avatar Nov 04 '15 00:11 blitzmann