Hi all,
I'm receiving this output when trying to run the Export Current Font to UFO macro:
Traceback (most recent call last):
File "<string>", line 9, in <module>
ImportError: No module named robofab.interface.all.dialogs
I recenty installed all latest versions of RF, Fonttools, Dialoguekit and Vanilla.
Thanks for any help.
Artur
Comments
did you try http://blog.fontlab.com/font-utility/vfb2ufo/ ?
Best,
Christoph
Looks like just what I need.
I install once, then copy the library to all the versions of Python found in your /Library/Python folder. Put the what Robofab installs in each site-packages folder.
Or, as Christoph says, the vfb2ufo utility.
I installed the github version of RF for Python 2.7, which I believe is the one FL 5.1.4 uses, but still get this error message.
Best,
Artur
If your robofab is compiled against a specific version of python, you might need to change the symbolic link /System/Library/Frameworks/Python.framework/Versions/Current to point to a different one than the default (probably 2.7 - earlier ones like 2.6, 2.5, 2.3 are offered in some versions of os X). But that's a hairy step I don't recommend as it might break something else.
Try the following command in the FL macro window:
That should tell you what version of Python FontLab is using.
Then go to /Library/Python/ and look for the folder with that specific version number. In there should be another folder called "site-packages".
Check in "site-packages" if there is a file called "robofab.pth", and if that file contains the correct path to your Robofab folder.
If this is not correct, then you should re-install Robofab. If your version of Python is 2.7 for instance, then you can also force Robofab to install for that particular version by using:
Hope this helps, otherwise let me know!
Thanks for helping. The .pth file was missing, forced it with the sudo command.
Other error messages emerge now though.
Will contact you 1 on 1.
Thanks,
Artur