Ted2 1.0.3 crashes when trying to open a file on W10 and W7

About Monkey 2 Forums Monkey 2 Development Ted2 1.0.3 crashes when trying to open a file on W10 and W7

This topic contains 5 replies, has 4 voices, and was last updated by  abakobo 2 years, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3161

    abakobo
    Participant

    I can’t open a file with open (file>open or ctrl+o), if I do so I get an instant quit/crash (not even seeing the file selector) with no error notification. I can save_as and I can open files using a project and then selecting the file in the right column.

    It happens on a newly freshly installed fully updated Windows 10 Famille (Home in french) V1607/14393.51 using the master zip git download and ‘i686-5.3.0-posix-dwarf-rt_v4-rev0’ in devtools folder. ther’s nothing installed on that windows_os except for steam and dropbox. It also happens on the same computer with W7 homex64 fully updated.

    Moved from W8.1(steam gaming only) to W10 to get debug working (read in a topic that w10 was the only supported M$ OS for mx2 dev). Debug seems to work (have to learn how to use that so i’m not shure but debug doesnt crash compared to W7).

    If I can help giving some error logs please tell me how to because I have no idea how it can be done.

    #3197

    impixi
    Participant

    This is happening for me too. Latest git master zip. Win10. The recommended compiler installed in monkey2’s devtools folder.

    EDIT: I just tried on another Win10 system and had the same problem.

    The first 1.03 TED2 did function correctly. The following “TED2 tweaks” release, however, did suffer the problem.

    #3201

    Mark Sibly
    Keymaster

    Ok, just pushed a potential fix for this.

    The best way to debug ted2 problems is in ted2 – just run src/ted2/ted2.monkey2 in debug mode.

    #3215

    impixi
    Participant

    The best way to debug ted2 problems is in ted2 – just run src/ted2/ted2.monkey2 in debug mode.

    You’re correct of course. So I tracked down a bug in your “fix”. 🙂

    The RequestFile method in the MainWindowInstance class should be:

    [/crayon]

    “Open” was showing the “Save As” requester.

    I’ve also noticed a bug/issue with the Find dialog when pressing CTRL+F but I’ve run out of time to find it today.

    I suppose I should create a git account and post bug reports and potential fixes the proper way in future…

    #3216

    gcmartijn
    Participant
    #3225

    abakobo
    Participant

    no crashes anymore, no crashes similar to gcmartijn neither.

    thx impixi, did pull request your code! it worked nice for me.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.