You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running CommandBox 4.7 on Ubuntu 19.04. I get the same output on an older Ubuntu machine which is also running CommandBox 4.7 from the apt repository.
I created a CFC component for testing purposes:
component {}
When running cfformat test.cfc, I get the following output:
CommandBox> cfformat Application.cfc
ERROR (4.7.0+00026) Error invoking external process
/home/mark/.CommandBox/cfml/modules/commandbox-cfformat/bin/v0.7.0/cftokens_osx: 1: /home/mark/.CommandBox/cfml/modules/commandbox-cfformat/bin/v0.7.0/cftokens_osx: Syntax error: ")" unexpected
/home/mark/.CommandBox/cfml/modules/commandbox-cfformat/models/CFFormat.cfc: line 185
183: function tokenizeFile(fullFilePath) {
184: var tokens = '';
185: cfexecute(name=executable arguments="""#fullFilePath#""" variable="tokens" timeout=10);
186: if (!isJSON(tokens)) {
187: throw(tokens);
called from /home/mark/.CommandBox/cfml/modules/commandbox-cfformat/models/CFFormat.cfc: line 76
called from /home/mark/.CommandBox/cfml/modules/commandbox-cfformat/commands/cfformat.cfc: line 284
called from /home/mark/.CommandBox/cfml/modules/commandbox-cfformat/commands/cfformat.cfc: line 128
called from /home/mark/.CommandBox/cfml/system/services/CommandService.cfc: line 342
called from /home/mark/.CommandBox/cfml/system/services/CommandService.cfc: line 138
called from /home/mark/.CommandBox/cfml/system/Shell.cfc: line 758
called from /home/mark/.CommandBox/cfml/system/Shell.cfc: line 578
called from /home/mark/.CommandBox/cfml/system/Bootstrap.cfm: line 145
lucee.runtime.exp.ApplicationException: Error invoking external process
at lucee.runtime.tag.Execute.doEndTag(Execute.java:258)
at modules.commandbox_cfformat495.models.cfformat_cfc$cf.udfCall2(/commandbox/modules/commandbox-cfformat/models/CFFormat.cfc:185)
at modules.commandbox_cfformat495.models.cfformat_cfc$cf.udfCall(/commandbox/modules/commandbox-cfformat/models/CFFormat.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1718)
at modules.commandbox_cfformat495.models.cfformat_cfc$cf.udfCall1(/commandbox/modules/commandbox-cfformat/models/CFFormat.cfc:76)
at modules.commandbox_cfformat495.models.cfformat_cfc$cf.udfCall(/commandbox/modules/commandbox-cfformat/models/CFFormat.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:693)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1997)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1718)
at modules.commandbox_cfformat495.commands.cfformat_cfc$cf.udfCall2(/commandbox/modules/commandbox-cfformat/commands/cfformat.cfc:284)
at modules.commandbox_cfformat495.commands.cfformat_cfc$cf.udfCall(/commandbox/modules/commandbox-cfformat/commands/cfformat.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1718)
at modules.commandbox_cfformat495.commands.cfformat_cfc$cf.udfCall1(/commandbox/modules/commandbox-cfformat/commands/cfformat.cfc:128)
at modules.commandbox_cfformat495.commands.cfformat_cfc$cf.udfCall(/commandbox/modules/commandbox-cfformat/commands/cfformat.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:695)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2014)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1737)
at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/services/CommandService.cfc:342)
at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/services/CommandService.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:812)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1737)
at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/services/CommandService.cfc:138)
at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/services/CommandService.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:693)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1997)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1718)
at system.shell_cfc$cf.udfCall4(/commandbox/system/Shell.cfc:758)
at system.shell_cfc$cf.udfCall(/commandbox/system/Shell.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:812)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1737)
at system.shell_cfc$cf.udfCall3(/commandbox/system/Shell.cfc:578)
at system.shell_cfc$cf.udfCall(/commandbox/system/Shell.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:695)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2014)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1737)
at mark._commandbox46.cfml.system.bootstrap_cfm$cf.call(/__commandbox_root/mark/.CommandBox/cfml/system/Bootstrap.cfm:145)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:933)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:823)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:805)
at g6u3r6cj3p08.call(Unknown Source)
at lucee.runtime.compiler.Renderer.tag(Renderer.java:113)
at lucee.runtime.compiler.Renderer.script(Renderer.java:101)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:64)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:199)
at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:285)
at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:152)
at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:509)
The text was updated successfully, but these errors were encountered:
I'm running CommandBox 4.7 on Ubuntu 19.04. I get the same output on an older Ubuntu machine which is also running CommandBox 4.7 from the apt repository.
I created a CFC component for testing purposes:
When running
cfformat test.cfc
, I get the following output:The text was updated successfully, but these errors were encountered: