# Freemix scripts not working with 4.2 (4204)

**URL:** <https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649>\
**Category:** Glyphs\
**Created:** [November 18, 2026, 10:38am UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649 "2026-11-18T10:38:26Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebsan](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/sebsan/32/45_2.png) [@sebsan](https://forum.glyphsapp.com/u/sebsan)\
**Post date:** [November 18, 2026, 10:38am UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/1 "2026-11-18T10:38:26Z")

</div>

Adopt Background and Make Backup Layer from Freemix stopped working with the update to 4.2 (4204)

Actually doesn’t work anymore with the stable version either 4.2 (4202)

But it still works in 3.4.1 (3436)

---

<div class="post-metadata">

**Author:** ![SCarewe](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/scarewe/32/18952_2.png) [@SCarewe](https://forum.glyphsapp.com/u/SCarewe)\
**Post date:** [November 18, 2026, 10:47am UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/2 "2026-11-18T10:47:23Z")

</div>

You already pointed this out:

> [@Glyphs 4: Freemix: Adopt Background](https://forum.glyphsapp.com/t/glyphs-4-freemix-adopt-background/36963):
>
> script doesn’t seem to work on G4 any tips to go about fixing it ?

---

<div class="post-metadata">

**Author:** ![sebsan](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/sebsan/32/45_2.png) [@sebsan](https://forum.glyphsapp.com/u/sebsan)\
**Post date:** [November 18, 2026, 10:52am UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/3 "2026-11-18T10:52:19Z")

</div>

It worked for a while after my previous post

---

<div class="post-metadata">

**Author:** ![SCarewe](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/scarewe/32/18952_2.png) [@SCarewe](https://forum.glyphsapp.com/u/SCarewe)\
**Post date:** [November 18, 2026, 11:09am UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/4 "2026-11-18T11:09:47Z")

</div>

Yes, the script resets to the old code and deletes your edits. It’s very annoying.

Maybe @TimAhrens could update the imports, so the scripts work in G4?

---

<div class="post-metadata">

**Author:** ![sebsan](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/sebsan/32/45_2.png) [@sebsan](https://forum.glyphsapp.com/u/sebsan)\
**Post date:** [November 18, 2026, 11:12am UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/5 "2026-11-18T11:12:05Z")

</div>

Oh I see why you pointed to my previous post  
thanks for insisting 🙂

---

<div class="post-metadata">

**Author:** ![SCarewe](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/scarewe/32/18952_2.png) [@SCarewe](https://forum.glyphsapp.com/u/SCarewe)\
**Post date:** [November 18, 2026, 11:56am UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/6 "2026-11-18T11:56:31Z")

</div>

@TimAhrens I opened a pull request that adds the explicit imports for G4 compatibility:

> <https://github.com/justanotherfoundry/freemix-glyphsapp/pull/61>
>
> Also fix FMXpoint.alignedTo in Symmetrify Terminal, which returned a tuple built… from undefined x/y for horizontal/vertical vectors.

There’s also a pull request addressing Expand Kerning (#60).

Could you please merge at least #61, so that these scripts can finally work in G4? Thanks!

---

<div class="post-metadata">

**Author:** ![SCarewe](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/scarewe/32/18952_2.png) [@SCarewe](https://forum.glyphsapp.com/u/SCarewe)\
**Post date:** [November 18, 2026, 12:30pm UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/7 "2026-11-18T12:30:52Z")

</div>

@sebsan Tim just merged this pull request, so you should see the update in Glyphs 4 soon. Restart Glyphs, you might have to click “Reload Scripts” (hold Option to make this appear).

---

<div class="post-metadata">

**Author:** ![sebsan](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/sebsan/32/45_2.png) [@sebsan](https://forum.glyphsapp.com/u/sebsan)\
**Post date:** [November 18, 2026, 12:32pm UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/8 "2026-11-18T12:32:08Z")

</div>

Awesome, thanks!

---

<div class="post-metadata">

**Author:** ![TimAhrens](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/timahrens/32/4309_2.png) [@TimAhrens](https://forum.glyphsapp.com/u/TimAhrens)\
**Post date:** [November 18, 2026, 12:56pm UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/9 "2026-11-18T12:56:32Z")

</div>

@SCarewe I trust you did some basic testing to check whether your changes break anything?

---

<div class="post-metadata">

**Author:** ![SCarewe](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/scarewe/32/18952_2.png) [@SCarewe](https://forum.glyphsapp.com/u/SCarewe)\
**Post date:** [November 18, 2026, 1:01pm UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/10 "2026-11-18T13:01:50Z")

</div>

Concerning which part? The imports and the erroneous dictionary building? Yes, using pyflakes.  
Expand Kerning: Yes, I tested the new logic in Glyphs 3 and Glyphs 4.

---

<div class="post-metadata">

**Author:** ![TimAhrens](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/timahrens/32/4309_2.png) [@TimAhrens](https://forum.glyphsapp.com/u/TimAhrens)\
**Post date:** [November 18, 2026, 1:24pm UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/11 "2026-11-18T13:24:17Z")

</div>

For example, simply running the script once in a real-world scenario would be a very simple, minimum test that could reveal certain errors.

---

<div class="post-metadata">

**Author:** ![SCarewe](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/scarewe/32/18952_2.png) [@SCarewe](https://forum.glyphsapp.com/u/SCarewe)\
**Post date:** [November 18, 2026, 1:35pm UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/12 "2026-11-18T13:35:18Z")

</div>

That’s what I did. Did you do the same and get errors?

---

<div class="post-metadata">

**Author:** ![TimAhrens](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/timahrens/32/4309_2.png) [@TimAhrens](https://forum.glyphsapp.com/u/TimAhrens)\
**Post date:** [November 18, 2026, 8:39pm UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/13 "2026-11-18T20:39:45Z")

</div>

No, I didn’t get any errors.

---

<div class="post-metadata">

**Author:** ![sebsan](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/sebsan/32/45_2.png) [@sebsan](https://forum.glyphsapp.com/u/sebsan)\
**Post date:** [November 19, 2026, 6:52pm UTC](https://forum.glyphsapp.com/t/freemix-scripts-not-working-with-4-2-4204/37649/14 "2026-11-19T18:52:13Z")

</div>

(post deleted by author)
