UFO not saving all changes



  • I've been having an issue where after saving the UFO only some of the changes are kept. Occasionally I've been able to salvage the changes glyphs from auto saved files but it's really frustrating and hard to keep track of. I'm on 3.2b.


  • admin

    hello Dave,

    this issue has been reported by other users, I know @frederik has been looking into it. but it’s hard to reproduce.

    does it happen always, with all fonts? or is it a problem with one font only?

    thanks!



  • @gferreira Thanks for looking into it. And yes, it's hard to reproduce as there seems to be few patterns and can happen with any font.



  • I don't know if this is the same issue or even related but I thought I'd post it in case. I don't get anything like this when I commonly try to save a file and the changes don't get saved, but I noticed this when opening an old file recently. My output window was full of these errors:

    Could not save glyph 'nacute.pl' in layer 'background'
    Traceback (most recent call last):
      File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/ufoLib/glifLib.py", line 268, in getGLIF
    FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/c0/7gbjzbk144z__1c_9qk0xx340000gn/T/tmp1n8i660s/temp.ufo/glyphs.background/nacute.pl.glif'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "lib/fontObjects/doodleLayer.pyc", line 238, in saveGlyph
      File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/defcon/objects/layer.py", line 578, in saveGlyph
      File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/defcon/objects/layer.py", line 592, in _stampGlyphDataState
      File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/ufoLib/glifLib.py", line 282, in getGLIFModificationTime
      File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/ufoLib/glifLib.py", line 272, in getGLIF
    KeyError: 'nacute.pl'
    


  • One other thing that might be worth investigating is whether toggling auto saving in preferences reduces the amount it happens (I think it has for me)


Log in to reply
 

Looks like your connection to RoboFont ● Forum was lost, please wait while we try to reconnect.