<?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[Skateboard issue – designspace loading as noneType]]></title><description><![CDATA[<p dir="auto">I've just gotten Skateboard 1.0 and opened it up, and I'm having an error when I try to load a designspace file by clicking the "open" button. Here's what I get in the Output Window:</p>
<pre><code class="language-console">Traceback (most recent call last):
  File "lib/doodleDelegate.pyc", line 97, in sendEvent_
  File "/Applications/RoboFontBeta3.2b.app/Contents/Resources/lib/python3.6/vanilla/vanillaWindows.py", line 496, in windowDidBecomeMain_
    self._alertBindings("became main")
  File "/Applications/RoboFontBeta3.2b.app/Contents/Resources/lib/python3.6/vanilla/vanillaWindows.py", line 467, in _alertBindings
    return callback(self)
  File "skateboard.py", line 2992, in mainWindow_becameMain
  File "skateboard.py", line 2762, in document_updateCurrentDesignSpace
  File "skateboard.py", line 2877, in document_checkFonts
  File "genericpath.pyc", line 19, in exists
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
</code></pre>
<p dir="auto">I've also received this similar error:</p>
<pre><code class="language-console">Skateboard: Failed to open the document /Users/stephennixon/type-repos/route-project/route.designspace
Traceback (most recent call last):
  File "skateboard.py", line 4574, in mainWindow_openDocumentWithPath
  File "skateboard.py", line 2877, in document_checkFonts
  File "genericpath.pyc", line 19, in exists
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
</code></pre>
<p dir="auto">That's all in the Output Window. If I try to click the "Debugs" button of Skateboard, nothing happens, but I get this in the Output Window:</p>
<pre><code class="language-console">Skateboard: Ironically, can't open the debug window because of a problem. Traceback (most recent call last):
  File "skateboard.py", line 2961, in debug_makeObjectBrowserCallback
  File "skateboard.py", line 2961, in &lt;listcomp&gt;
AttributeError: 'NoneType' object has no attribute 'path'
</code></pre>
<p dir="auto">I like the humor in the last error message, at least. :D</p>
<p dir="auto">It doesn't really affect things if I restart RoboFont, and it doesn't have any affect if I edit the designspace file.</p>
<p dir="auto">If there's anything I should try, I'd appreciate any pointers. (And actually, I'll take a couple minutes to restart my computer right now, then report back if that changes anything...).</p>
<p dir="auto">Update: I've restarted my computer. No luck.</p>
<hr />
<p dir="auto"><strong>Extra Context:</strong></p>
<p dir="auto">macOS Mojave v 10.14.2</p>
<p dir="auto">RoboFont Version 3.2b (built 1809041630)</p>
<p dir="auto"><em>Note:</em> I have recently been fixing some issues with how I set up my local python3 and pip, so there's a possibility that is part of this problem ... but I'm not sure whether that is interacting with RoboFont/Skateboard. I did also have an issue calling defcon from glyphsLib earlier in the day, so there may be bigger problems afoot. However, I have also been fine in installing and working with several things, so my python isn't completely hosed. I just didn't want to leave out that potential context in case it could be relevant, as my issue might be some kind of edge case.</p>
]]></description><link>https://forum.robofont.com/topic/575/skateboard-issue-designspace-loading-as-nonetype</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 10:48:30 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/575.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 31 Jan 2019 20:08:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Skateboard issue – designspace loading as noneType on Thu, 31 Jan 2019 23:34:18 GMT]]></title><description><![CDATA[<p dir="auto">I've just gotten Skateboard 1.0 and opened it up, and I'm having an error when I try to load a designspace file by clicking the "open" button. Here's what I get in the Output Window:</p>
<pre><code class="language-console">Traceback (most recent call last):
  File "lib/doodleDelegate.pyc", line 97, in sendEvent_
  File "/Applications/RoboFontBeta3.2b.app/Contents/Resources/lib/python3.6/vanilla/vanillaWindows.py", line 496, in windowDidBecomeMain_
    self._alertBindings("became main")
  File "/Applications/RoboFontBeta3.2b.app/Contents/Resources/lib/python3.6/vanilla/vanillaWindows.py", line 467, in _alertBindings
    return callback(self)
  File "skateboard.py", line 2992, in mainWindow_becameMain
  File "skateboard.py", line 2762, in document_updateCurrentDesignSpace
  File "skateboard.py", line 2877, in document_checkFonts
  File "genericpath.pyc", line 19, in exists
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
</code></pre>
<p dir="auto">I've also received this similar error:</p>
<pre><code class="language-console">Skateboard: Failed to open the document /Users/stephennixon/type-repos/route-project/route.designspace
Traceback (most recent call last):
  File "skateboard.py", line 4574, in mainWindow_openDocumentWithPath
  File "skateboard.py", line 2877, in document_checkFonts
  File "genericpath.pyc", line 19, in exists
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
</code></pre>
<p dir="auto">That's all in the Output Window. If I try to click the "Debugs" button of Skateboard, nothing happens, but I get this in the Output Window:</p>
<pre><code class="language-console">Skateboard: Ironically, can't open the debug window because of a problem. Traceback (most recent call last):
  File "skateboard.py", line 2961, in debug_makeObjectBrowserCallback
  File "skateboard.py", line 2961, in &lt;listcomp&gt;
AttributeError: 'NoneType' object has no attribute 'path'
</code></pre>
<p dir="auto">I like the humor in the last error message, at least. :D</p>
<p dir="auto">It doesn't really affect things if I restart RoboFont, and it doesn't have any affect if I edit the designspace file.</p>
<p dir="auto">If there's anything I should try, I'd appreciate any pointers. (And actually, I'll take a couple minutes to restart my computer right now, then report back if that changes anything...).</p>
<p dir="auto">Update: I've restarted my computer. No luck.</p>
<hr />
<p dir="auto"><strong>Extra Context:</strong></p>
<p dir="auto">macOS Mojave v 10.14.2</p>
<p dir="auto">RoboFont Version 3.2b (built 1809041630)</p>
<p dir="auto"><em>Note:</em> I have recently been fixing some issues with how I set up my local python3 and pip, so there's a possibility that is part of this problem ... but I'm not sure whether that is interacting with RoboFont/Skateboard. I did also have an issue calling defcon from glyphsLib earlier in the day, so there may be bigger problems afoot. However, I have also been fine in installing and working with several things, so my python isn't completely hosed. I just didn't want to leave out that potential context in case it could be relevant, as my issue might be some kind of edge case.</p>
]]></description><link>https://forum.robofont.com/post/1982</link><guid isPermaLink="true">https://forum.robofont.com/post/1982</guid><dc:creator><![CDATA[StephenNixon]]></dc:creator><pubDate>Thu, 31 Jan 2019 23:34:18 GMT</pubDate></item><item><title><![CDATA[Reply to Skateboard issue – designspace loading as noneType on Thu, 31 Jan 2019 20:42:05 GMT]]></title><description><![CDATA[<p dir="auto">@ThunderNixon Looks like one of the masters ends up without a path. From that line I'm afraid I can't tell how that happened. Are all masters in the right place? Can you open the masters in RF?</p>
]]></description><link>https://forum.robofont.com/post/1984</link><guid isPermaLink="true">https://forum.robofont.com/post/1984</guid><dc:creator><![CDATA[erik]]></dc:creator><pubDate>Thu, 31 Jan 2019 20:42:05 GMT</pubDate></item><item><title><![CDATA[Reply to Skateboard issue – designspace loading as noneType on Thu, 31 Jan 2019 21:55:47 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for such a speedy reply, <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/20">@erik</a>!</p>
<p dir="auto">I mistakenly took the error message to mean that the <code>.designspace</code> path couldn't be resolved, but your comment made me open another designspace (IBM Plex Sans) to check how things were looking. Sure enough, that worked perfectly.</p>
<p dir="auto">I compared the syntax of the two designspaces ... and sure enough, I had messed mine up: In the <code>&lt;instance&gt;</code> element, I had a <code>file</code> attribute – <strong>rather than the necessary <code>filename</code> attribute.</strong></p>
<p dir="auto">I had straight-up misread the spec on GitHub (<a href="https://github.com/LettError/designSpaceDocument#3-source-element" rel="nofollow">LettError/designSpaceDocument</a>).</p>
<p dir="auto">A small question this leads me to ... is there any good "boilerplate" designspace doc I could grab to start the next project from? I realize the challenge there might be including everything that different people wanted to include, but even so, if there were a simple example complete with an axis, two sources, and three instances, it might be a nice starter to copy-paste from, and help people avoid future syntax issues.</p>
<p dir="auto">Of course, I could just make this as a GitHub Gist, too, if you don't know of something like that off-hand.</p>
]]></description><link>https://forum.robofont.com/post/1985</link><guid isPermaLink="true">https://forum.robofont.com/post/1985</guid><dc:creator><![CDATA[StephenNixon]]></dc:creator><pubDate>Thu, 31 Jan 2019 21:55:47 GMT</pubDate></item><item><title><![CDATA[Reply to Skateboard issue – designspace loading as noneType on Thu, 31 Jan 2019 22:11:10 GMT]]></title><description><![CDATA[<p dir="auto">@ThunderNixon I'm happy to hear you found the problem. Skateboard doesn't validate the XML (yet - maybe it should, I'll make a note). Please note the designspace file spec moved to the fonttools. You can find it <a href="https://github.com/fonttools/fonttools/tree/master/Doc/source/designspaceLib" rel="nofollow">fonttools/Doc/source/designspaceLib/</a></p>
<p dir="auto">Personally I try to avoid writing the xml by hand (situation, preference and external factors permitting of course) and prefer to write small scripts using designspacelib or <a href="https://github.com/LettError/ufoProcessor" rel="nofollow">ufoprocessor</a>. While the script might be just as verbose as the resulting xml, I find a script to be more explicit. <a href="https://github.com/fonttools/fonttools/blob/master/Doc/source/designspaceLib/scripting.rst" rel="nofollow">Here's a page on scripting designspace files</a></p>
]]></description><link>https://forum.robofont.com/post/1986</link><guid isPermaLink="true">https://forum.robofont.com/post/1986</guid><dc:creator><![CDATA[erik]]></dc:creator><pubDate>Thu, 31 Jan 2019 22:11:10 GMT</pubDate></item></channel></rss>