<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Extension stopped working after upgrade to 4.4]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">please, I have this extension that started to throw an error after upgrade to 4.4</p>
<p dir="auto"><a href="https://github.com/jansindl3r/Scale-absolutely" rel="nofollow">https://github.com/jansindl3r/Scale-absolutely</a></p>
<p dir="auto">and it gives this error</p>
<pre><code>Observer '&lt;__main__.ScaleAbsolutely object at 0x7fc189977b80&gt;' with 'inspectorWindowWillShowDescriptions' failed: 'view'
Traceback (most recent call last):
  File "lib/doodleDelegate.pyc", line 570, in openInspector_
AttributeError: 'DoodleAppDelegate' object has no attribute '_inspectorWindow'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "lib/eventTools/eventManager.pyc", line 165, in callObserver_withMethod_forEvent_withInfo_
  File "scaleAbsolutely.py", line 228, in inspectorWindowWillShowDescriptions
KeyError: 'view'
</code></pre>
<p dir="auto">The function that it's referring to looks like this</p>
<pre><code>def inspectorWindowWillShowDescriptions(self, notification) -&gt; None:
        """
        sets the new checkbox and moves the other a bit away
        """
        for subMenu in notification["descriptions"]:
            if subMenu["label"] == "Transform":
                view = subMenu["view"] # &lt;&lt;&lt; here
                break
        if view:
            self.view = view
            self.additionToGUI_set()
            self.shiftOtherGUI()
            self.additionToGUI_scale()
            self.shiftOtherGUI()

            subMenu["size"] += self.lineGap * 2
</code></pre>
<p dir="auto">it's assigned to a event</p>
<pre><code>        addObserver(
            self,
            "inspectorWindowWillShowDescriptions",
            "inspectorWindowWillShowDescriptions",
        )
</code></pre>
<p dir="auto">Please, could you hint me how to get the view, please? I went through the roboFont files but I am lost. What this function does is it adds this additional inputs to the default transform UI, so it can look like this:</p>
<p dir="auto"><img src="/assets/uploads/files/1714406584313-screenshot-2024-04-29-at-18.03.00.png" alt="Screenshot 2024-04-29 at 18.03.00.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Any hint will be greatly appreciated!!!</p>
]]></description><link>https://forum.robofont.com/topic/1068/extension-stopped-working-after-upgrade-to-4-4</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Apr 2026 03:10:21 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/1068.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Apr 2024 16:04:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Extension stopped working after upgrade to 4.4 on Mon, 29 Apr 2024 16:04:24 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">please, I have this extension that started to throw an error after upgrade to 4.4</p>
<p dir="auto"><a href="https://github.com/jansindl3r/Scale-absolutely" rel="nofollow">https://github.com/jansindl3r/Scale-absolutely</a></p>
<p dir="auto">and it gives this error</p>
<pre><code>Observer '&lt;__main__.ScaleAbsolutely object at 0x7fc189977b80&gt;' with 'inspectorWindowWillShowDescriptions' failed: 'view'
Traceback (most recent call last):
  File "lib/doodleDelegate.pyc", line 570, in openInspector_
AttributeError: 'DoodleAppDelegate' object has no attribute '_inspectorWindow'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "lib/eventTools/eventManager.pyc", line 165, in callObserver_withMethod_forEvent_withInfo_
  File "scaleAbsolutely.py", line 228, in inspectorWindowWillShowDescriptions
KeyError: 'view'
</code></pre>
<p dir="auto">The function that it's referring to looks like this</p>
<pre><code>def inspectorWindowWillShowDescriptions(self, notification) -&gt; None:
        """
        sets the new checkbox and moves the other a bit away
        """
        for subMenu in notification["descriptions"]:
            if subMenu["label"] == "Transform":
                view = subMenu["view"] # &lt;&lt;&lt; here
                break
        if view:
            self.view = view
            self.additionToGUI_set()
            self.shiftOtherGUI()
            self.additionToGUI_scale()
            self.shiftOtherGUI()

            subMenu["size"] += self.lineGap * 2
</code></pre>
<p dir="auto">it's assigned to a event</p>
<pre><code>        addObserver(
            self,
            "inspectorWindowWillShowDescriptions",
            "inspectorWindowWillShowDescriptions",
        )
</code></pre>
<p dir="auto">Please, could you hint me how to get the view, please? I went through the roboFont files but I am lost. What this function does is it adds this additional inputs to the default transform UI, so it can look like this:</p>
<p dir="auto"><img src="/assets/uploads/files/1714406584313-screenshot-2024-04-29-at-18.03.00.png" alt="Screenshot 2024-04-29 at 18.03.00.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Any hint will be greatly appreciated!!!</p>
]]></description><link>https://forum.robofont.com/post/4168</link><guid isPermaLink="true">https://forum.robofont.com/post/4168</guid><dc:creator><![CDATA[jansindl3r]]></dc:creator><pubDate>Mon, 29 Apr 2024 16:04:24 GMT</pubDate></item><item><title><![CDATA[Reply to Extension stopped working after upgrade to 4.4 on Thu, 02 May 2024 19:46:51 GMT]]></title><description><![CDATA[<p dir="auto">Hi Jan,</p>
<p dir="auto">this forum is almost abandoned, I would like to invite you to the open discord group for all your RoboFont related questions!</p>
<p dir="auto">--&gt; <a href="https://discord.gg/M8RySPYE" rel="nofollow">https://discord.gg/M8RySPYE</a></p>
]]></description><link>https://forum.robofont.com/post/4169</link><guid isPermaLink="true">https://forum.robofont.com/post/4169</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Thu, 02 May 2024 19:46:51 GMT</pubDate></item></channel></rss>