Open mordekay-git opened 1 month ago
The export on my end still works as expected. Most likely there is just something different with your design files than with ours and the tool doesn't handle that well.
The ID 64ed51c0a6dcda88890e8a795240d3b1455df4e2/4002:0
looks weird, usually it's only the 4002:0
part. Do you maybe link to a different Figma file?
Would you be able to give me access to a minimal sample project with the issue? Then I can look into it
Hmm, okay. Strange.
Might be that I am using the tool wrong (first time using Figma as well, so I'm not to familiar with how the API works). Do I maybe need to tag/name elements a certain way? Or use a specific type of element?
I've tried to create a reproducible test file, but it seems like I get a different error this time, and the node ID's it tries to fetch, seems to be even more 'incomplete'.
Here is the output from Figex:
💚 | 10:21:45 AM | FigEx | Using cache at /home/mats/.figex 💚 | 10:21:45 AM | FigEx | Key: 2vyv8EHtKdmkyJ4l18vD1F 💚 | 10:21:45 AM | FigEx | Loading Figma file: 💚 | 10:21:47 AM | FigEx | Name: ReproducibleTestFile 💚 | 10:21:47 AM | FigEx | Last modified: 2024-06-25T08:21:46Z 💚 | 10:21:47 AM | FigEx | ❤️ | 10:21:48 AM | HTTP | <== https://api.figma.com/v1/files/2vyv8EHtKdmkyJ4l18vD1F/nodes?ids=1%3A8%2C1%3A9%2C1%3A10%2C1%3A11%2C1%3A12%2C1%3A13%2C1%3A14: Canceled ❤️ | 10:21:48 AM | HTTP | <== https://api.figma.com/v1/files/2vyv8EHtKdmkyJ4l18vD1F/nodes?ids=: Canceled ❤️ | 10:21:49 AM | Main | Uncaught exception
When trying to export this minimal project Figma design file: https://www.figma.com/design/2vyv8EHtKdmkyJ4l18vD1F/ReproducibleTestFile?node-id=0-1&t=9f3JLmcDERIc94TT-1
I'll try and find out why the error is different/smaller than my other design file. Unfortunately I won't be able to share that, since it has sensitive customer information.
Thanks for looking into it!
I'll hear from you if you need any more information.
Just looked into both issues.
The issue with the ReproducibleTestFile
is solved. There was no check for an empty ID list, the file doesn't contain components. After this is fixed, the same issue as originally reported is shown.....so success? I pushed a new version just now
The original issue is still not clear to me, basically the variable id format is not what the tool expects. Our variable IDs are in the format 0000:00
, but yours are xxxxxxxxxxxxxxxxxx/0000:00
. I did not find anything regarding this in the Figma documentation, but to me it looks like you are referencing something external to the document itself.
One of the offending variable references is background
as shown in the screenshot below. Do you know where this is linking to? Is this variable published from a different file? Could e.g 42cf59fa800c5d98f5dc4ba5d5e065ecde3ce7ee
be a file ID?
I did improve the error message, the "ReproducibleTestFile" now fails with:
java.lang.UnsupportedOperationException: References to external libraries are not supported at the moment, see https://github.com/iodigital-com/figex/issues/1
Affected variable: Document -> Page 1 -> ConfirmationPage -> Rectangle 22847 -> VariableID:b2af77ae8fb2124cf64534726a5a9c0543761546/43:7
Ah yes, indeed. It seems to be referencing colors from other files. I did not know about this Figma function. Thanks for the update, the errors message helps a lot!
Great tool, thanks for the swift responses!
Have a great day.
I will see if the tool can load those colors, but I fear the "Enterprise API" is needed for that, but I do not have access to this API
No worries or haste.
The understanding of the linked variables for me, is enough :) Simply copying the project, and un-linking the variables does the trick (for my use case).
Cheers!
I'll keep this open for now :) I might be able to do it via the teams
endpoint
Hello,
I tried to use your software today to export a Figma design, but did not manage to get the Figma nodes to load. I've tried a couple of Figma designs, and all return errors along the lines of:
Then I tried using my IDE integrated plugin to try and load the designs, which also stopped working today! So I took a look at the log files of my IDE, and it looks like the Figma Design API has been altered.
I don't have the exact details on what changed, and unfortunatly do not have the time to look into your source code to try and fix it myself.
If anyone else is also experiencing this issue, would be a great confirmation.
If I find time to dive deeper into this, I will. In the meantime, if you'd know what is wrong, would be awesome if you could let me know :)
If you need more information, log files etc, feel free to ask.
Kind regards.