Find and Replace Components doesn't work

mekkablue’s script Find and Replace Components doesn’t work. It worked three days ago. :smiling_face_with_tear:

The result in macro panel keep saying that it replaced 0 components, even though I correctly specified the name of the component that should be replaced.

I downgraded Glyphs3 Version 3.2(3234) to 3.1.2(3151) but still not working. macOS 12.5.1.

I tested the same file in Glyphs2 and it worked. Still not working in Glyph3

We made some major changes in the code base and a few scripts are malfunctioning. However, this script works fine for me. Consider uninstalling and reinstalling the mekkablue scripts in Window > Plugin Manager > Scripts, then reloading scripts.

Can you post the error message you get in the Macro window?

Problem solved. It was the cloud backup server sync, not the Glyphs issue. Thanks for the reply though.

1 Like

Hey, this is happening to me after upgrading to Glyphs 3.5.
Can you please have a look? I am in a stage where I need this script so bad.

It works for me. I did however make some small changes so the window can be more compact.

Make sure you have the latest version of the scripts, and the correct version of Python selected in Glyphs > Settings > Addons. If it occurs again, let me know what the script reports in Macro Window.

1 Like

thank you so much for looking into it. I get this when I run the updated version. still does not do anything for me.

I have all the modules installed, and my Python version is 3.11.9 (Glyphs)

Why do you run the script from the macro window?

I thought maybe something different could have happened. But still the same error.

  1. Don’t run the script from the macro window, run it from the script menu.
  2. Reinstall the modules.
  3. Restart the app. And try again.

Hello @zarin,

Did you try the steps described above?
How exactly are you running the script?
Which exact error do you get?
Which is your selected Python in Glyphs > Settings > Addons?