November 13, 20187 yr When I register and run just the ChooseFolder( startingPath ; prompt ) function…all is good. But if I register a "few" more functions, the choosefolder freezes and quits FM. This is with FM 15, 16, 17 and Mac or PC. SM4.43 doesn't not have any problem. Seems a memory issue. Anyone else seeing this? I've loaded up a file that you can edit and test. Thanks. directory test.fmp12 Edited November 13, 20187 yr by Bailey Kessing
November 13, 20187 yr Hi Bailey, I am not able to reproduce this issue with your example file in Mac High Sierra with FileMaker 17 and ScriptMaster 5.1. I ran the "Register ScriptMaster and Java functions" script after I uncommented a bunch of modules. I then ran the "Choose Folder" script and the file chooser window opened and I was able to select a folder and it's path showed in the Folder text field. What versions of Mac OS/Windows did you test on?
November 13, 20187 yr Author Thanks Ryan. It is strange. Alot of my users are seeing this. I am using the exact same set up as you seemingly but also see it with 15, 16 too. If I register JUST that function all is OK. I did notice that at one point it was only a problem after the first call. Could it be a memory issue? Could it be what Java we have installed? Java 8 191. I should also mention that we work for the fed. gov. and there are all sorts of virus scanning programs on our computer etc. Maybe a confounding variable?
November 13, 20187 yr ScriptMaster 5.X will not use system Java. On its first init it will download a sandboxed JRE that only runs when the plugin is enabled. Could be a memory issue, I just checked and I didn't realize it but I do have 512 MB memory allocated over the default 96. Try allocating more memory and see if it clears the issue (instructions here). If it doesn't, please email your logs to our support system at [email protected] and reference this thread. When sending the logs, make sure to reproduce and then send the logs before restarting FileMaker as restarting will overwrite the logs.
November 13, 20187 yr Author OK. I created the directory (under user) and used the 512 file. Restarted FM and it didn't help. Was hopeful. Where so I find he logs you want? Edited November 13, 20187 yr by Bailey Kessing
November 13, 20187 yr Apologies, forgot to add that link in previous post. Log locations can be found here.
November 13, 20187 yr Author Thank you so much. I sent two. Really sorry for the hassles!!! my email was [email protected]
November 13, 20187 yr Bailey... beachballs straight away on mine MBP17" 10.12.6 FMP 17.0.2 and latest SM Over the years the Swing stuff has given the most problems, apart from some of the really edge case stuff I have done...
November 14, 20187 yr Bailey and John, Just to cover any possibility, have you made sure the file chooser window isn't going behind other windows?
November 14, 20187 yr Ryan changed the default memory size to 512 and it has worked 3 times and then crashed on the 4th....
November 14, 20187 yr John, can you put an SMReset at the beginning of the script and see if you get a different result?
November 14, 20187 yr Pseudo code:: SM Reset Register Groovy Set $var to ChooseFolder Ran once, behind the FM window - I think I reported this previously - and then beachballed next time
November 15, 20187 yr Author I have no ideal why but it is suddenly working for me. Very confused. It has never worked before this many times. UGH. I have attached the log file 360Plugins_FMAdvanced.log
Create an account or sign in to comment