Great info, thanks!
Enfocus are you planning an update for Inject jobs app?
Great info, thanks!
Or Enfocus could provide a free Switch dev-license for beta testers. To test beta apps on a production system is not fun and very time consuming for us users.JimmyHartington wrote: ↑Tue Apr 16, 2024 10:43 pm It seems like more bugs or regressions has slipped into the app releases lately.
I know the apps are available for beta testing before release. But as I recall it is not possible to run the beta version and a regular version on the same Switch installation.
If that was possible I would be more willing to test the apps before installing them.
Agreed. This could solve it as well.magnussandstrom wrote: ↑Wed Apr 17, 2024 9:19 am Or Enfocus could provide a free Switch dev-license for beta testers. To test beta apps on a production system is not fun and very time consuming for us users.
I'm using "Refresh job info (4.0)" and do not have any EMFILE-issues with that specific app.
This X10000JimmyHartington wrote: ↑Wed Apr 17, 2024 9:23 amAgreed. This could solve it as well.magnussandstrom wrote: ↑Wed Apr 17, 2024 9:19 am Or Enfocus could provide a free Switch dev-license for beta testers. To test beta apps on a production system is not fun and very time consuming for us users.
Code: Select all
External process failed
Flow: Skabertrang - Brandstore output
Flow element: XML pickup
Module: XML pickup
Job:
Time: 2024-04-24 09:18:16
Message: read ECONNRESET
Error: read ECONNRESET
at _0x41b73f.get (C:\Program Files\Enfocus\Enfocus Switch\ScriptExecutor\nodemodules\node_modules\switch-scripting\index.js:1120:27)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async timerFired (C:\Users\flow-admin\AppData\Roaming\Enfocus\SwitchProcessorService\cache\63f2e35b913372b19b6be5adc3c4a84dc53391999d8b9dae4f6c48b54a270fdb\1708687644\main.js:1:8004)
at async _0x12b34a (C:\Program Files\Enfocus\Enfocus Switch\ScriptExecutor\nodemodules\node_modules\switch-scripting\index.js:1331:24)
at async C:\Users\flow-admin\AppData\Roaming\Enfocus\SwitchProcessorService\cache\63f2e35b913372b19b6be5adc3c4a84dc53391999d8b9dae4f6c48b54a270fdb\1708687644\main.js:1:20672
Code: Select all
import * as fs from "fs";
async function jobArrived(s: Switch, flowElement: FlowElement, job: Job) {
let jobPath: string = await job.get(AccessLevel.ReadOnly) as string;
let inputFileText = await fs.readFileSync(jobPath, "utf-8").trim();
let arrData = [];
// await job.log(LogLevel.Info, "Filecontent: " + inputFileText);
arrData = await inputFileText.split("\n");
arrData.length = await 10;
for( var i =0;i < arrData.length; i++) {
// Set to PD
let arrDataLine = [];
arrDataLine = await arrData[i].split(";");
let prefix = await i+1
await job.setPrivateData(prefix+"-strFMDnumber", arrDataLine[0]);
await job.setPrivateData(prefix+"-strBarcodestring", arrDataLine[1]);
await job.setPrivateData(prefix+"-strFMDline01", arrDataLine[2]);
await job.setPrivateData(prefix+"-strFMDline02", arrDataLine[3]);
await job.setPrivateData(prefix+"-strFMDline03", arrDataLine[4]);
await job.setPrivateData(prefix+"-strFMDline04", arrDataLine[5]);
await job.setPrivateData(prefix+"-strFMDline05", arrDataLine[6]);
await job.setPrivateData(prefix+"-strFMDline06", arrDataLine[7]);
// Log PD
await job.log(LogLevel.Info, "PD: " + prefix+ "-strFMDnumber:" + arrDataLine[0]);
await job.log(LogLevel.Info, "PD: " + prefix+ "-strBarcodestring:" + arrDataLine[1]);
await job.log(LogLevel.Info, "PD: " + prefix+ "-strFMDline01:" + arrDataLine[2]);
await job.log(LogLevel.Info, "PD: " + prefix+ "-strFMDline02:" + arrDataLine[3]);
await job.log(LogLevel.Info, "PD: " + prefix+ "-strFMDline03:" + arrDataLine[4]);
await job.log(LogLevel.Info, "PD: " + prefix+ "-strFMDline04:" + arrDataLine[5]);
await job.log(LogLevel.Info, "PD: " + prefix+ "-strFMDline05:" + arrDataLine[6]);
await job.log(LogLevel.Info, "PD: " + prefix+ "-strFMDline06:" + arrDataLine[7]);
}
await job.sendToData(Connection.Level.Success);
}
I just published v8 of PDF Review Module Reporter app, to fix the problem.For us, it was strongly tied to the app "PDF review reporter" with multiple customer for which we created a flow with loop inside switch.
By reducing the frequency of the loop + planned restart, we have diminished the frequency of the problem with our customer.