-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyfa crashes when I open character editor. #441
Comments
error log is empty.... |
pyfa 1.16.2 stable - paralax 1.1 |
Can you be more descriptive? Crashes how? Does the program close or just become unresponsive? Can you exit out of character editor and continue to use pyfa? Check Also, with the binary upgrades we defaulted to with this version, the old directory structure is now invalid and can cause problems. Usually pyfa won't even start in this case, but to be on the safe side I would uninstall pyfa and delete the directory it was installed in, and reinstall. |
Do you mind sending me your |
I have received the database, but it is empty. I assume you have not used pyfa before. Honestly I am not sure what the problem is. Did you use the installer or did you download the zip? Do previous versions work? Can you try v1.15 zipfiles? |
I installed the latest versions a few days ago. I used the installer. I had a previous version installed but I did not used it. I used eft ( :-p) until now and I was thinking of switching. Also tried the 1.16 zip ... same thing.. ..but the 1.15 zip is working. I will try some things maybe I can figure it out and let you know. |
Does it work otherwise? Is it just the character editor that freezes? That is so strange and I don't really have an idea at the moment <_< But the fact that 1.15 works makes me think this is a wx3 compatibility issue. Can you try the 1.15-wx3 build and see if you have the same issue vs the regular 1.15 build? |
I made a change, wondering if you could test it out with this test build and see if you still experience the crash: |
I tested the files you sent me. same thing. I also installed the latest release.. same thing. Below is what I see when the app crashes. Sorry I did not see this sooner. It was under a dropdown and I did not push the button until now. Could this be of any help to you: Problem signature: |
Hmm, I have no idea then. Previous APPCRASH issues were solved by turning off automatic HTML export in the preferences. You could try that, but I highly doubt it's related as this happens with the character editor. I will look into it. I may have you run pyfa through an interpreter if I can't find any solutions and see if it happen then as well./ If it comes to that, I will explain it in great detail. |
I would like to add my pyfa also crashes on the character editor. It was working fine with 1.15 but 1.16 and yesterday release are both crashing? Can I help you with anything |
Could you guys download the 1.15 |
same here. |
any news or something we can do to help? |
StackHash_xxxx is not a real module. It's Windows' way of labeling the issue when it's happening outside of any known module. xxxx is a stamp of what that thread's stack looked like when the problem happened. It's only useful to see that two different people are getting the same hash. It is probably triggering the Windows "DEP". Troubleshooting can involve trying to find the offending library that is wandering out of it's space, but could also include temporarily disabling DEP in Windows or temporarily disabling anti-virus (because they can actually insert code). |
Thanks for the info @thorr18. I'm still not sure how to proceed. It's complicated by the fact that I cannot duplicate the issue myself. I will put together a character editor file with some logging to figure out where it dies. Does it crash immediately after opening? When does it happen? |
When you go to Window->character editor the character editor window opens. After that the window freezes, just like on the screenshot above. Other aspect of the program work fine. |
Yes as soon as you open a second later it crashes you don't even touch anything |
Can you guys add I'm probably going to need to send files for you guys to test, and it will just be slow going through this. |
I will do so I would also grant you remote access via team viewer at that time. thank you |
Can you guys open You may have to copy the file out of the zip first, replace the contents save it, then copy it back into the zip overwriting the old one. And then run pyfa again with debug and post output of the log file |
how do you run it with debug? |
Sorry, thought it was already explained in this thread. Run the exe like |
I might be just plain stupid or I am missing something, So I set my launch options like this "C:\whaterver\pyfa.exe" -d Then just open pyfa? crash it? then where do I find the log file? or must I do something else before I crash it ? can't seem to find the log file |
The log file should be |
Ok so all I did on todays date was open it and crashed it log file attached. 2016-01-11 08:05:18,522 gui.characterEditor DEBUG ========== Character Editor ========== |
Did it again same LOG also attached |
With the "Real skills in notebook", can you give me the log output and let me know if you can see the skill groups on the GUI (or screenshot)? Also, try these now. With these I'm trying to see if the number of tree elements has anything to do with it, or if it's more: 2 dummies, skills loaded: http://pastebin.com/KVJ5CC9Y This is getting ridiculous. But I'm really thinking it's a wxPython bug of some sort, one that we won't be able to overcome properly with the current binaries (still want to try building on a Win 7 machine and having you try that, hopefully I can get that done soonish. bear with me =) |
Seems its Number of skills related. 2 dummies, skills loaded: Works 100% Lots of dummies, skills loaded: Crashes as I open Character Editor. LOG: http://pastebin.com/w0ajx0Yk Screen shot :http://i.snag.gy/4RtDE.jpg Limited skills: Works 100% All skills: Crashes as I open Character Editor. LOG: http://pastebin.com/e4Hd7X0S Screen: http://i.snag.gy/vWGDa.jpg Real skills in notebook. LOG and screen shot that you asked for. http://i.snag.gy/b4ByC.jpg http://pastebin.com/yAiuL7pq I hope the logs on paste bin is fine for you I rather do it that way then uploading logs. Just leaving this here %userprofile%/.pyfa/log.txt Keep needing to scroll up to find it lol |
OK so note |
OK solved it got my pyfa to work 100% now http://i.snag.gy/9n73V.jpg so I changed line 60 |
Please test with 1.18.0 |
Didn't crash for me. |
While I am ecstatic that you figured out a fix, I am completely baffled. That does not make any sense to me. What you changed is essentially the border width of the character drop down. Considering the fact that we stripped all the extra bits and it still crashed when in a notebook and loaded with more than 6 items, I am not sure if this is actually fixing it or somehow masking it. Perhaps it's an issue with the Notebook widget itself.. Did you play with any other bits? If so, what were the results? A problem with this particular fix is that it will probably break if you try to make a new character or rename. Can I have you try this: http://pastebin.com/vHUVgyaY This replaces the built-in notebook with pyfa's custom ChromeTabs notebook. If it's a problem with the notebook, this shouldn't crash (and allows us to keep sane border levels). But, if all else fails, at least we have a fix (the borders of which we can probably tweak) |
Will try yours, but I have added new characters, renamed characters, deleted characters and readded them to test the fix. No crashes. |
Do I replace the same gui/charactereditor.py file with the one you linked? |
I will test it . And yes I have done everything with my char editor. New,edit delete import. I tested all the stuff I can it worked 100% not one crash, I will update as soon as I used the one you linked |
This http://pastebin.com/vHUVgyaY crashes 100% the same way: I will test some other thing today. |
This is getting odder. Frame without additional styles and min size: http://pastebin.com/LWXGnksw @DTBA, gonna ask a favor from you. If you're uncomfortable installing additional software, I understand, don't feel obligated. I want you to install the python interpreter and see if this issue happen when running pyfa via source. Hopefully this can tell me if it's an issue with our binaries (which I've tried to re-generate on Windows 7, but have run into trouble) Download python 2.7.11 from here: https://www.python.org/ftp/python/2.7.11/python-2.7.11.msi Install with default options (it will install into Then download wxPython 3.0 from here: http://sourceforge.net/projects/wxpython/files/wxPython/3.0.2.0/wxPython3.0-win32-3.0.2.0-py27.exe/download Install that as well with default options (it should find the python install directory) With command prompt, do the following steps (change directory if you used different install directory)
This will install the dependencies that pyfa requires to run Next, download the source release of pyfa (https://github.com/DarkFenX/Pyfa/releases/download/v1.18.0/pyfa-1.18.0-yc_118.1-1.0-linux.zip) and extract somewhere. Run pyfa with You should have pyfa working from the source now (with the exception of graph support, but that's not a concern for this) Then try to replicate the issue. You should be able to uninstall all this by running the python .msi file again and choosing to remove it (then deleting the install directory if it still exists). Keep it around for now tho, might come in handy |
will do and test it tomorrows :D bed time for me here! thanks for still trying to solve this bug |
@DTBA Any luck with those test files? |
Sorry for the long wait. Had some family issues. Frame without additional styles and min size:This worked 100% |
Excellent. Something tangible. Seems it's an issue with the way the Frame is rendered then with some of the styles (or setting a minimum size). So very very odd, but I've never really understood why the character editor was a Frame rather than a Dialog anyway. I'll make the switch and do some testing, watch this space for a hopefully finalized version. Hope everything is well with you and yours, btw. I also had some family issues this weekend =( |
Every is ok now . Thanks for the updateing and good luck with your fam. Btw Wanted to ask I have not see the char https://github.com/blitzmann log on eve yet or we missing each other everytime |
Nope, you haven't missed me. I haven't really logged in since the holidays due to school / work / life / Steam winter sale. Hopefully soonish I'll get back in the game |
Hey guys, try this: http://eve-files.com/dl/276772 |
@DTBA Can you try these files as well: SetMinSize w/o styles: http://pastebin.com/8ZCWbZW5 If both those work, wonderful (make sure that you cannot reduce the size more than the default). If it doesn't work, then use the one with styles and try to delete styles of the frame one by one (the pipe character I did switch to a dialog which resolves this issue, however it spawned another issue in Linux and possible OS X. So if we can get it to work with a Frame it would be best, otherwise I'll have to go digging into why Linux and OSX are having fits. |
@DTBA @negatif-negatif @makenshine, any news with the new test files noted in previous comment? |
Sorry man. Been a busy week on the farm for me. So I am going to make time today and test them for you and get back to you! |
SetMinSize w/o styles: Works but if you start resizing it draging it around it crashes pyfa.(making it bigger) SetMinSize w/ styles: This one works 100% but as soon as you close pyfa it said pyfa stopped working. Nothing makes sense anymore :( |
My thoughts exactly. I dunno if this is a manifastation of one bug or several bugs intertwines, but it's definitely a wxPython/wxWidget issue. I'll have to compile all this info at some point and get some outside help - it bothers me not know what exactly is happening lol There is a style that we may be able to use called wx.RESIZE_BORDER, which if we remove this style from the Frame it will refuse to resize. Please try it: If that works, it's what I will go with. Otherwise, I think we will go with the no min size change, but that will be odd as you can then shrink the frame to practically nothing. |
^above one worked 100% for me |
I just installed the latest version on win 7 ultimate edition and it crashes when I open the character editor.
The text was updated successfully, but these errors were encountered: