Can't import JSON icomoon session files in new app?

2,056 views
Skip to first unread message

inge...@gmail.com

unread,
Oct 17, 2013, 4:30:45 AM10/17/13
to ico...@googlegroups.com
Since today, with the new app, it seems I can't import the JSON session files anymore! I'm getting the message "Please select IcoMoon project files (JSON)."

Is this a bug?

Keyamoon

unread,
Oct 17, 2013, 4:34:29 AM10/17/13
to ico...@googlegroups.com
It's not a bug. Old session files are not compatible with new ones. But you can always import SVG fonts (or SVG images) exported from the old version of the app.

inge...@gmail.com

unread,
Oct 17, 2013, 4:47:57 AM10/17/13
to ico...@googlegroups.com
Ok. Good to know I can also import all the data from the SVG.
I always used the session file. Why should we store session files anyway, what are the benefits?

stou...@gmail.com

unread,
Oct 17, 2013, 5:53:50 AM10/17/13
to ico...@googlegroups.com
... But when I try to import a session-file from the old app, the popup says "Please select IsoMoon project files (JSON)"?
It would be nice to have this feature working, so all mapping etc. will be transferred to the new, shiny version!

Keyamoon

unread,
Oct 17, 2013, 5:56:16 AM10/17/13
to ico...@googlegroups.com
Yeah, that refers to JSONs generated by the new version. The format has changed so much that it's not very easy to accept/parse old json files.

ar...@thinglink.com

unread,
Oct 17, 2013, 8:08:18 AM10/17/13
to ico...@googlegroups.com
If you guys changed to the new format then, well, we'll adapt to change, thanks for the service anyway.

If would still be nice to figure how to transit from the old way. We have a font with about a hundred glyphs. We can import then to the new app using SVG font, that seems to work, but then.. all the class names are lost.

Is the only way to get them back to manually type them again hoping for no errors? Or is there an easier way?

ge...@finalist.com

unread,
Oct 17, 2013, 9:02:24 AM10/17/13
to ico...@googlegroups.com
Too bad there is no built-in migration for the old format. We keep the JSON file under version control to ensure all developers work with the same base icon set when adding new icons. This is actually the most important feature of Icomoon in my opinion. I'm just going to manually re-select the icon set again, hoping no class names will break. It's actually a good moment to remove any unused icons.

Keyamoon

unread,
Oct 17, 2013, 12:02:11 PM10/17/13
to ico...@googlegroups.com
To migrate, try this:

  1. Download the font pack from the old version and unzip.
  2. There must be a file ending with dev.svg in the fonts folder (of the unzipped pack). Import it to the new version of the app.

karlh...@gmail.com

unread,
Oct 18, 2013, 3:33:31 AM10/18/13
to ico...@googlegroups.com
Puah it took me loads of time to make the new icon set from the dev.svg
Finally I found no solution to save/export the icons.
Now after little surfing and downloading the font my set is clean again.
It's very hard to work with the new one.

That project managing tool is nice but I actually didn't find out how to save etc.

Is there any documetray how to manage the projects?


osman ozdemir

unread,
Oct 18, 2013, 11:48:26 AM10/18/13
to ico...@googlegroups.com
I don't know if anybody else is having trouble with this but new JSON files do not work with the new app either. When I tried to upload, it gave me the same error as old JSON files. I think there is a bug there.

Thx for this great tool btw! :)

Keyamoon

unread,
Oct 18, 2013, 12:20:40 PM10/18/13
to ico...@googlegroups.com
Can you attach or email the JSON from the new version which you're having problem importing? Is it a selection.json file? You need to use the red button for importing those. It's not a project file.

osman ozdemir

unread,
Oct 18, 2013, 1:00:32 PM10/18/13
to ico...@googlegroups.com
It is a selection.json file. I tried to upload it through the red import icons button but it asked for an svg or json again. So i tried using the project import but that also didn't work.
selection.json

Keyamoon

unread,
Oct 18, 2013, 1:23:25 PM10/18/13
to ico...@googlegroups.com
Are you importing it to the old version? :/  It worked fine for me when I imported it to the new version. Again, JSON files from the old and new version are not compatible with each other.

osman ozdemir

unread,
Oct 18, 2013, 3:51:17 PM10/18/13
to ico...@googlegroups.com
No, I was using the new app but now I had switch to the old one. The icon set I was trying to upload has like 20 icons we made and uploaded. Maybe there is a problem with that?
Also, for how long are you going to keep the old app?

Thanks!

andrew...@homes.com

unread,
Oct 18, 2013, 4:04:08 PM10/18/13
to ico...@googlegroups.com
This is happening for me as well, since the update I've been unable to import .json session files. At first I thought that maybe I simply needed to generate a new session file, and that the old ones no longer worked. However, newly generated session files don't seem to work either.

This is what I did:

1) Went to "Manage Projects"
2) Clicked "Download" to the right of my project
3) Clicked "Import Project", and selected the JSON file that just downloaded
4) The message "Please select IcoMoon project files (JSON)" appears

Keyamoon

unread,
Oct 18, 2013, 5:06:38 PM10/18/13
to ico...@googlegroups.com
It must be fixed now. Please try again.

andrew...@homes.com

unread,
Oct 18, 2013, 5:23:04 PM10/18/13
to ico...@googlegroups.com
It works now, thanks. I love the new look btw, great job

lid...@gmail.com

unread,
Oct 20, 2013, 8:39:38 AM10/20/13
to ico...@googlegroups.com
Hi,

I also am experiencing issues with the new app. I lost everything I was working on: the loaded libraries, and the selected icons (and their order and hex code).

How am I supposed to get everything back in order?

I tried to import the SVG, but only a few icons were actually imported, including one that I did not know anything about, and many were missing :(

Why on earth did I hit F5 ?? :'(

Keyamoon

unread,
Oct 20, 2013, 1:19:38 PM10/20/13
to ico...@googlegroups.com
Read the blog post on the site. You can still access the old version of the app: http://icomoon.io/app-old

lid...@gmail.com

unread,
Oct 20, 2013, 1:36:26 PM10/20/13
to ico...@googlegroups.com
Thank you!

But I decided earlier to rebuild it from the ground.

It now works well except for antialias that is broken on Windows/Chrome, but I don't care as it is for a web app.

Thanks for this great tool btw!

Keyamoon

unread,
Oct 20, 2013, 1:46:41 PM10/20/13
to ico...@googlegroups.com
The Windows version of Chrome has this anti-aliasing bug when rendering any font; but there are some workarounds for it. If you change your @font-face rule to look for the SVG font before TTF/WOFF, it'll be solved. More info: http://icomoon.io/#post/318

mar.or...@gmail.com

unread,
Oct 21, 2013, 10:16:02 AM10/21/13
to ico...@googlegroups.com
This method still involves massive amounts of manual labour for every icomoon session.

Surely there must be a way to automatically convert the old session format semantics to the new one.

Thomas Link

unread,
Oct 21, 2013, 3:07:36 PM10/21/13
to ico...@googlegroups.com
SVG font import works very well. You have to check if the import contains all icons. 

I had some icons missing eventually due to naming conflicts when using the SVG font.

brian....@gmail.com

unread,
Oct 22, 2013, 11:43:46 AM10/22/13
to ico...@googlegroups.com
I am still having some problems importing my project from the older app. I have tried importing the dev.svg (after downloading and unzipping) via the "import project" link and the JSON file (even though they aren't compatible). Am i missing something?

Keyamoon

unread,
Oct 22, 2013, 11:57:04 AM10/22/13
to ico...@googlegroups.com
Import SVG fonts using the red "Import Icons" button. SVG fonts are not project files.

jay.moo...@gmail.com

unread,
Oct 24, 2013, 5:00:55 PM10/24/13
to ico...@googlegroups.com
How do I upload my selection? I suppose I need to upload the selection.json but what button do I use to do this? Import button seems to be to just import. I want to load a selection.

quim....@augure.com

unread,
Oct 28, 2013, 7:13:41 AM10/28/13
to ico...@googlegroups.com
my vote for a feature that will convert all old .json to the the new format.

anyway!! thanks a lot for your app ;)

mar.or...@gmail.com

unread,
Oct 30, 2013, 7:12:06 AM10/30/13
to ico...@googlegroups.com
+1 .JSON conversion seems like a no-brainer feature.

...if only to minimize the number of older users that get frustrated by the forced busywork and leave for one of the competing solutions out there.

dar...@gmail.com

unread,
Nov 4, 2013, 7:14:52 PM11/4/13
to ico...@googlegroups.com
This is a big PITA. Can't think of any situation where it's okay to wipe out users data and expect everyone to be cool with it.

Keyamoon

unread,
Nov 4, 2013, 7:16:54 PM11/4/13
to ico...@googlegroups.com
Your data was not wiped out, unless you removed it yourself from your browser's cache. You can still see your work in the old version of the app. Read the blog post on the site.

joe...@gmail.com

unread,
Nov 5, 2013, 3:25:06 PM11/5/13
to ico...@googlegroups.com
@Keyamoon that still pretty crappy to basically say old json files are no longer compatible. I am constantly clearing my cache and local storage due to development. Hence, why our company decided to keep a session file in our repo. It allowed us to not worry about losing our session in our browser and it helped with employees who were coming and going. We can simply give them the session json to whom needed to work on the icon set. It was one of the reasons why we went with icomoon.

Now we have to import the svg files and go through them one by one remap all the metadata, since they were in the JSON files and were don't have the dev.svg file. Pretty tedious if I do say so myself. So, does this mean we can't trust the session json file moving forward? If your going to continue changing its output, whats the point in using it? We will have to go through the same exercise every year or two? I could say we could move to the dev.svg file but it looks like you no longer generate this in the new UI of your app.

I understand the need to build bigger faster stronger with less code, I am in the same business. However, how can we adopt something that is a moving target?

Vael Victus

unread,
Nov 5, 2013, 5:18:46 PM11/5/13
to ico...@googlegroups.com
How long will you keep the old app for? This is a vital feature that will take me some time to cope with; the app looks great, though.

Also: how do I export to json in the new app?

Keyamoon

unread,
Nov 6, 2013, 10:40:33 AM11/6/13
to
Exporting your icons from the old app to the new one is as simple as the following:

  1. Go to the old version of the app here: icomoon.io/app-old
  2. Download your font pack
  3. The pack you downloaded should contain a file ending with dev.svg
  4. Import the dev.svg file to the new version of the app
  5. click on the menu at the top right corner of the set that was imported and press “Select All/None”
You only need to do this once. You don't have to import your icons one by one.

My current plan is to keep the old version live indefinitely.

teenuja...@gmail.com

unread,
Nov 7, 2013, 3:40:19 PM11/7/13
to ico...@googlegroups.com
I've done the export from the new and import to the new. But when I export from the new, all class names are changed. Is there a way to preserve them?
Otherwise, I'll have to change all class names where the icon fonts are used. :(

teenuja...@gmail.com

unread,
Nov 7, 2013, 3:41:03 PM11/7/13
to ico...@googlegroups.com
*I mean export from the old...

Keyamoon

unread,
Nov 7, 2013, 4:05:45 PM11/7/13
to ico...@googlegroups.com
Did you select the icons using the menu on top right and then choosing "select all/none"?

vae...@gmail.com

unread,
Nov 8, 2013, 4:59:52 PM11/8/13
to ico...@googlegroups.com
Thank you so much! You might want to update the topic (if you can) or make a new one to show people how to import from the old.

I see you even added the 800 new icons in WebHostingGylphs. You do a real service to developers. I think I'll be purchasing the ultimate pack soon from you... :}

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages