Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Scriptmaster Lion compatibility

Featured Replies

Hi guys,

today I've got a new issue with script master.

I make a plugin for my solution with script master for run shellscript. i tried also with script master and no plugin, but make no differences.

On a mac pro running 10.6.8 is ok, but on my macbook pro (10.7.1), i receive random error when i send the same script to shell.

Always in different point of the script, with errors, on debug or normal use.

e.g. invoking which command or else.

is it compatible on lion?

Generally i send a command like this run shellscript($variable; "true";30) could be correct? have you got something to suggest me?

My solution is running on a mac server with FMPRO SERVER ADV latest version.

Client FMPRO ADV 11 last version.

best

Corrado

I just tested the module that comes with the ScriptMaster demo and it didn't give me any errors. If you have a short script that's giving you errors would you be able to send that along with an error log (Report a Bug in the plugin's configuration dialogue) so we have both the context for the error and a way to check for the error itself.

  • Author

i sent you a report bug with error log, hope can help.

do you need the script?

Got it. Thanks. If it's just a short script then yes, please. It would make it easier to troubleshoot.

  • Author

ok but I'm not able to export script as file, i can attach a png, if can help.

FM Script.jpg

Well I think I see where you're going to run into issues here. You are only giving it 3 seconds to perform the action. I would bump it up to something like 300 seconds or something a good bit longer than just 3.

  • Author

i try ;), before was 30 seconds with no success.

now i tried with 300, same.

  • 1 month later...

The errors you are getting in the log are from the timeout happening before your commands return anything I recommend trying these functions on in terminal to make sure that they properly exit on their own within the three seconds (or however long) you are giving them. It looks like one of your commands is for encoding audio, which may take a little while, or the application you're using may not exit on its own after finishing the encoding.

  • 4 months later...
  • Author

Hi David, here i moved to lion, but seems not working with a library (eyeD3) that i used to tag my mp3.

on terminal it work perfect, but not thru FMP advanced, here the console messages received:

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: 4-mar-2012 16.29.28 com.prosc.fmkit.Plugin setLastError

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: GRAVE: PluginFunction com.prosc.beanshell.CompiledFunction@16921fd got an error with converted args [/usr/local/bin/eyeD3 -2 -a caz -t frango '/ITF110700008_Frango_Assado.mp3', true, 3000]

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: java.lang.RuntimeException: Traceback (most recent call last):

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: File "/usr/local/bin/eyeD3", line 32, in <module>

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: from eyeD3 import *;

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: ImportError: No module named eyeD3

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at scriptmaster.Module_LTU2NTgzOTc1MgXX.run(scriptmaster.Module_LTU2NTgzOTc1MgXX.script:70)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at com.prosc.beanshell.GroovyFunction.invoke(GroovyFunction.java:110)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at com.prosc.beanshell.CompiledFunction.invoke(CompiledFunction.java:78)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at com.prosc.fmkit.Plugin.invokeFunction(Plugin.java:333)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at com.prosc.fmkit.RegisterablePlugin.invokeFunction(RegisterablePlugin.java:77)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at com.prosc.fmkit.Plugin.invokeFunctionNoErrors(Plugin.java:314)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at com.prosc.fmkit.PluginBridge$3.run(PluginBridge.java:1053)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at com.prosc.fmkit.PluginBridge.runTask(PluginBridge.java:1262)

04/03/12 16:29:28,270 [0x0-0x4b04b].com.filemaker.client.advanced: at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:1067)

04/03/12 16:29:28,271 [0x0-0x4b04b].com.filemaker.client.advanced: 4-mar-2012 16.29.28 com.prosc.beanshell.BeanShellPlugin setLastError

04/03/12 16:29:28,271 [0x0-0x4b04b].com.filemaker.client.advanced: GRAVE: ScriptMaster bound variables: Parameters:

04/03/12 16:29:28,271 [0x0-0x4b04b].com.filemaker.client.advanced: {}

any suggest how can i proceed? on snow leopard my script seems working fine.

seems not find eyeD3, but on terminal it works

best

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.