Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4715 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

Posted

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.

  • 1 month later...
Posted

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...
Posted

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

This topic is 4715 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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