Robofab/ FL > Export Current Font to UFO error
Artur Schmal
Posts: 74
Hi all,
I'm receiving this output when trying to run the Export Current Font to UFO macro:
I recenty installed all latest versions of RF, Fonttools, Dialoguekit and Vanilla.
Thanks for any help.
Artur
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
0
Comments
-
1
-
Thanks Christoph,
Looks like just what I need.0 -
The github version, which is the most current (download link here: https://github.com/robofab-developers/robofab/archive/master.zip) will solve this, but know that you need to be sure that you install it for the version of python that FontLab is using (not always the command line version of python).
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.0 -
Hi Ben,
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
0 -
If you do "python -v anything", it would tell you where python is scanning for library files. You need to make it agree with where you put robofab files. The "anything" at the end is just there to stop python going into interactive prompt mode, and just quit when it cannot find "anything".
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.0 -
Hi Artur,
Try the following command in the FL macro window:import sys
print sys.versionThat 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:
sudo python2.7 install.py
Hope this helps, otherwise let me know!
1 -
Hi Paul,
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
1
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 803 Font Technology
- 1K Technique and Theory
- 620 Type Business
- 444 Type Design Critiques
- 542 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 484 Typography
- 302 History of Typography
- 114 Education
- 68 Resources
- 499 Announcements
- 80 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 270 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports