There is a similar issue for nodeFetch and some release of axios, downgrading your package can (sometime) fix the issue as stated earlyer
Example of installation : npm i axios@0.27.2
Search found 38 matches
- Tue Apr 30, 2024 10:47 am
- Forum: Node.js scripting
- Topic: Error in Node.js Scripting within Switch
- Replies: 2
- Views: 776
- Thu Apr 18, 2024 4:39 pm
- Forum: Flows
- Topic: Rush job not working
- Replies: 3
- Views: 806
Re: Rush job not working
Hi, If the other files are still "processing" while you hit the rush job, they still need to finish their actual step before leaving place to another one. Rush job, just allow a max priority to a job. Quotation from Switch documentation : The Switch job scheduler has the following (sometim...
Re: OpenAI
Hi stano,
Sorry for the late reply (not checking the forum as much as i want/should).
Do not hesitate to send us your flow via appstore@bluewest.fr, and we could take a look with you
Sorry for the late reply (not checking the forum as much as i want/should).
Do not hesitate to send us your flow via appstore@bluewest.fr, and we could take a look with you
- Mon Apr 08, 2024 1:06 pm
- Forum: Node.js scripting
- Topic: Using imagemagick in script under Mac
- Replies: 5
- Views: 534
Re: Using imagemagick in script under Mac
Hi, c
Instead of using "child_process" alongside promisify, i could suggest you tu use library cross-spawn (https://www.npmjs.com/package/cross-spawn)
The command is quite simple :
Instead of using "child_process" alongside promisify, i could suggest you tu use library cross-spawn (https://www.npmjs.com/package/cross-spawn)
The command is quite simple :
Code: Select all
const args:string[] = [...]
const result = spawn.sync('magick', args, { stdio: 'inherit' });
- Tue Mar 12, 2024 8:31 am
- Forum: Flows
- Topic: EMFILE: too many open files ..main.js
- Replies: 26
- Views: 7664
Re: EMFILE: too many open files ..main.js
Hi, I had a talk with Enfocus support about it, and they confirmed that it's tied to something not closing the file properly. For tmp, you "should" use the optional "discard descriptor" propertie : async function createTmpFile(content: string | Buffer | Uint8Array, prefix: string...
- Fri Jan 12, 2024 7:57 am
- Forum: Node.js scripting
- Topic: NPM package for generating XML
- Replies: 3
- Views: 61272
Re: NPM package for generating XML
Here we use this one, and it work like a charm!
- Thu Jan 04, 2024 8:23 am
- Forum: LEGACY scripting
- Topic: calculate all pagesizes in one job
- Replies: 2
- Views: 16049
Re: calculate all pagesizes in one job
Hi, Is there a reason behind the legacy usage? Dismantler The documentation of scripting 2023 fall give a pretty nice example to loop trough PDF pages : https://www.enfocus.com/manuals/DeveloperGuide/SW/23.1/home.html#en-us/common/swscr/reference/re_swscr_pdfpage_methods.html It will look like somet...
- Thu Dec 14, 2023 6:59 pm
- Forum: Appstore
- Topic: Error message: Unarchiving of the job to the temporary folder was unsuccessful.`
- Replies: 1
- Views: 46043
Re: Error message: Unarchiving of the job to the temporary folder was unsuccessful.`
Hi, The Portal App is no longer maintained and utilizes outdated technology, which may result in files becoming "stuck" in the system, thereby blocking the entire channel. To resolve this issue, you must manually clean up a specific folder to restore the app's functionality. Navigate to a ...
- Fri Jul 21, 2023 3:55 pm
- Forum: Forum Guidelines / Forum Feature requests / Forum Bug reports?
- Topic: Bot spamming suspicious link
- Replies: 0
- Views: 111535
Bot spamming suspicious link
Since few weeks, i noticed that an account respond to threads with very suspicious message. They seems to be generated proceduraly or with an IA, and always include a link (which you should not click...) Some example : https://forum.enfocus.com/search.php?author_id=4076&sr=posts Could moderator ...
- Tue Jul 11, 2023 2:05 pm
- Forum: FastLane
- Topic: have you already experienced the FastLane for preflighting files?
- Replies: 1
- Views: 29648
Re: have you already experienced the FastLane for preflighting files?
Hi Loïc, Fast lane will be a real game changer when we need to process loads of PDF, or file that can create some troubles for PitStop Server (high number of nodes for example) The app itself is pretty straightforwards. One small note, the link to fastlane documentation is not working on the App PDF...
- Tue Jul 11, 2023 1:52 pm
- Forum: Switch
- Topic: How to get file from root folder
- Replies: 4
- Views: 14116
Re: How to get file from root folder
Hi, as Laurent said, inject Wildcard have every tool you need for this purpose (and several option to achieve it) Maybe you could try something like this : job repository : //nordsign.local/dfs/Orders/Print Republic/ Inject : File only Injected jobs name filter : *.pdf (or something from your xml) H...
- Thu Jul 06, 2023 11:41 am
- Forum: Flows
- Topic: Building an archive structure by file names
- Replies: 3
- Views: 12719
Re: Building an archive structure by file names
Hi, Effectively, for file under the range index number of digits (4) and above 9, some problem can happen. For example with 00000999 : the regex part will give 00000 the calculation part will give 0, and that's not the wanted number of digits. Another solution, if you have the last version of switch...
- Sun Jul 02, 2023 8:51 pm
- Forum: Flows
- Topic: Building an archive structure by file names
- Replies: 3
- Views: 12719
Re: Building an archive structure by file names
Hi Peter, Just put the following variables in a "Set hiearchy path" and here you are : [Job.NameProper:Search="^[0]+"][Switch.Calculation:Expression="round(([job.NameProper]/2000)-0.5)*2000"]-[Job.NameProper:Search="^[0]+"][Switch.Calculation:Expression="...
- Tue Jun 27, 2023 10:56 pm
- Forum: Switch
- Topic: Printing spreadsheet (Excel), Powerpoint and other files
- Replies: 4
- Views: 10836
Re: Printing spreadsheet (Excel), Powerpoint and other files
Here we use Sumatra PDF :
https://www.sumatrapdfreader.org/docs/C ... -arguments
-print-to-default -print-settings fit "%1"
https://www.sumatrapdfreader.org/docs/C ... -arguments
-print-to-default -print-settings fit "%1"
- Fri Jun 23, 2023 4:22 pm
- Forum: Node.js scripting
- Topic: Remove part of private data
- Replies: 2
- Views: 12734
Re: Remove part of private data
Hi Arsen, Hope you are well ? Your code work great, but it will return an array with the ".toString()" which is not the same format as the one prompted in the first place. Since i think you want a concatenate string as the one in the private data, you need to use "join(" ;")...