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.
-
AuthorPosts
-
August 18, 2016 at 8:18 am #3161
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.
August 19, 2016 at 1:21 am #3197This 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.
August 19, 2016 at 3:06 am #3201Ok, 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.
August 19, 2016 at 9:02 am #3215The 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]Monkey123456789101112[crayon-5cba16a882b47431998264 inline="true" ]Method RequestFile:String( title:String,path:String,save:Bool )Local future:=New Future<String>App.Idle+=Lambda()'future.Set( requesters.RequestFile( "Save As","",True ) )future.Set(requesters.RequestFile(title, path, save))EndReturn future.Get()End“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…
August 19, 2016 at 9:24 am #3216August 19, 2016 at 11:45 am #3225no crashes anymore, no crashes similar to gcmartijn neither.
thx impixi, did pull request your code! it worked nice for me.
-
AuthorPosts
You must be logged in to reply to this topic.