Copy link to clipboard
Copied
There are two scripts that I am in dire need of for my current project in ID 2025.
Both are from very professional script writers (they are commercial), and they say that their scripts have been tested on many machines and systems with no trouble. But when I run them, they crash ID and have to exit via task manager.
Is there some way to debug these scripts on my machine to grasp which part of the code is causing the issues?
Very frustrated.....
Thank you, and have a good day!
Susan Flamingo
Hi @SuzzyFlamingo ,
I would ask the script writers to provide you with a version of a script that will write something like a log file that monitors the script and helps to find the cause of the crashes.
Hm. In case the script let InDesign "hang" so you have to terminate InDesign with the Task Manager I would try to create a new User on your machine and run InDesign and the script through the new user account.
Regards,
Uwe Laubender
( Adobe Community Expert )
I created a new user account, and it worked. Very annoying having to switch between users all the time. On the previous user account, I uninstalled everything, used Adocbe CC cleaner too, and reinstalled everything, and it still explodes ID. I sent all the logs to the developer (EM SOFTWARE WORD FLOW) and he says it is my user configuration. But doesn't know where and why.
Sighhh
Let me clear up some confusion, as the vendor in question (Em Software, using our plugin WordsFlow).
WordsFlow is a C++-based plugin, not a script, but a deep and complex product with many aspects.
The crashes in question were caused by an InDesign bug handling localization in the Links panel, and really nothing to do with WordsFlow. (We do add information columns to the Links panel, and it's possible one of those was hitting some untested localization paths in InDesign.)
I hope this is a helpfu
...Copy link to clipboard
Copied
Hi Susan,
Are you patched up to 20.5?
Have you crashed in only one document or in any/all documents?
Copy link to clipboard
Copied
Yes, i installed that patch.
It is crashing also in a new doc, so corruption cannot be the issue
Copy link to clipboard
Copied
Just for the record, we're working with Susan as we speak to figure this out...
Copy link to clipboard
Copied
Hi @SuzzyFlamingo ,
I would ask the script writers to provide you with a version of a script that will write something like a log file that monitors the script and helps to find the cause of the crashes.
Hm. In case the script let InDesign "hang" so you have to terminate InDesign with the Task Manager I would try to create a new User on your machine and run InDesign and the script through the new user account.
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
One script hangs and the other crashes. What exactly shoul i tell the hanger? The crasher is a major software company (EM software testing the link to Word docs). What can I say to them that they haven't thought about?
A new user? really?! Why would this help?
Your concern is appreciated!
SF
Copy link to clipboard
Copied
The crasher is a major software company (EM software testing the link to Word docs). What can I say to them that they haven't thought about?
By @SuzzyFlamingo
Basically, an infinite amount of things.
If you're in communication with the developers, they need to ask you the right questions and you need to send them the right answers. Provided it's covered by your support agreement.
Copy link to clipboard
Copied
I see ID is crashing a lot on other things besides scripts. How can i totally uninstall everything and make a new, clean install (but not lose my scripts) . I originally installed using the CC app.
Thank you
SF
Copy link to clipboard
Copied
How can i totally uninstall everything and make a new, clean install (but not lose my scripts) . I
By @SuzzyFlamingo
Creative Cloud Cleaner Tool:
https://helpx.adobe.com/creative-cloud/kb/cc-cleaner-tool-installation-problems.html
You'll need to back up your scripts first, then reinstall.
Copy link to clipboard
Copied
"A new user? really?! Why would this help?"
It's a good idea! In my experience, this often helps solve problems, and not only with scripts. It's easy to temporarily create a new account, try it, and if it doesn't help, remove it. If it works, it means something is wrong with the InDesign installation, prefs, etc. -- not the script.
Also, you'll get a 'clean' InDesign version for a new user account: no need to reinstall it.
Are these scripts in binary format? If not, you can install VSCode (Mac & Windows) or ESTK (only Windows), and try running the script line-by-line from there to pinpoint the place in the code where it hangs/crashes.
Ideally, in such a situation, if the developer would debug scripts locally on your computer via TeamViewer.
Also, can you try running it in the save version but on another computer?
Did you try trashing prefs in InDesign?
Copy link to clipboard
Copied
I created a new user account, and it worked. Very annoying having to switch between users all the time. On the previous user account, I uninstalled everything, used Adocbe CC cleaner too, and reinstalled everything, and it still explodes ID. I sent all the logs to the developer (EM SOFTWARE WORD FLOW) and he says it is my user configuration. But doesn't know where and why.
Sighhh
Copy link to clipboard
Copied
Well the just sent me that their technician says that the plugin is having difficulty creating the interface and I should check my language setting. I checked the string of which language to use for non Unicode programs and after changing it to eng usa IT WORKED. All very strange to me, but all's well that ends well ...no have to get back to the hard word and not waisting time on tech gliches
Copy link to clipboard
Copied
Is it a UXP plugin? In your original post, you mentioned scripts.
Copy link to clipboard
Copied
Yes this is a plugin (don't know what uxp is) that explodes ID but there was a script also that causes ID to freeze
Copy link to clipboard
Copied
Let me clear up some confusion, as the vendor in question (Em Software, using our plugin WordsFlow).
WordsFlow is a C++-based plugin, not a script, but a deep and complex product with many aspects.
The crashes in question were caused by an InDesign bug handling localization in the Links panel, and really nothing to do with WordsFlow. (We do add information columns to the Links panel, and it's possible one of those was hitting some untested localization paths in InDesign.)
I hope this is a helpful clarification.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now