google / AEUX

Editable After Effects layers from Sketch artboards
Apache License 2.0
502 stars 55 forks source link

Figma doesn't send compositions to AE #183

Open juanmr8 opened 11 months ago

juanmr8 commented 11 months ago

Describe the bug When I click on "Share to AE" from Figma, AEUX generates the assets in the right path defined in AE, but never sends/generate any composition in AE.

To Reproduce

  1. I define the assets path on AE
  2. I go to Figma and select my composition
  3. I click on "Send selection to AE"
  4. The assets are generated in the right path
  5. The plugin in Figma is stuck in sharing
  6. The console in Figma (screenshot attached) shows "aeuxData done"

Video attached: https://www.dropbox.com/scl/fi/l8lmnxvvhiy9n863rhdsw/2023-07-19-17-25-12.mov?rlkey=0lmwivcwxqhjj6x1r4yma1m1b&dl=0

Expected behavior From what I have seen, the composition to be generated in AE.

Screenshots

Screenshot 2023-07-19 at 10 56 10

Desktop (please complete the following information):

Additional context I tried with different versions of AE but got the same result.

uishohid commented 11 months ago

Screenshot 2023-07-26 at 2 05 31 PM

Plugin Error: Error: in postMessage: Cannot unwrap symbol Swap Open

juanmr8 commented 11 months ago

Hey @adamplouff

I understand you're probably busy and this is not actively maintained but I'd really appreciate it if you give some thoughts of what might be causing the issue I described. I am pretty desperate at this point, I've tried different versions (23 and 22) and even different computers (both Apple but on silicon and other intel).

I always get the same behavior: the assets from Figma are exported to wherever I point from After Effects but the compositions are never created.

Another thing I see on the Figma console is this flag:

Access to fetch at 'https://api.sprig.com/sdk/1/visitors/5f735553-2722-4604-996d-016e5aa3bc85/events' from origin 'https://sprig.figma.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. sh

If you have any thoughts of where could look I'd be very thankful.

Best, Juan

vmedium commented 11 months ago

There’s probably a problem with the frames and contents of the frames. Can you draw a new frame, draw one rectangle inside it. And try importing that?

On Wed, Aug 2, 2023 at 12:35 PM juanmr8 @.***> wrote:

Hey @adamplouff https://github.com/adamplouff

I understand you're probably busy and this is not actively maintained but I'd really appreciate it if you give some thoughts of what might be causing the issue I described. I am pretty desperate at this point, I've tried different versions (23 and 22) and even different computers (both Apple but on silicon and other intel).

I always get the same behavior: the assets from Figma are exported to wherever I point from After Effects but the compositions are never created.

If you have any thoughts of where could look I'd be very thankful.

Best, Juan

— Reply to this email directly, view it on GitHub https://github.com/google/AEUX/issues/183#issuecomment-1662863969, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALNXMZIG3VKYBMS5SBG7KDXTKTWPANCNFSM6AAAAAA2P7ORI4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

juanmr8 commented 11 months ago

Hey @vmedium thanks for the comment. I tried just a square and it didn't work either.

To provide more context, I also gave all the apps full disk access in case there was something blocking and restarted every time as per the guide's instructions.

vmedium commented 11 months ago

I watched your video.

1) in AE click the X in the path to delete it. This should prompt you to save any images it generates.

2) you aren’t just having a problem making the composition. It just isn’t importing anything at all. Something is failing.

3) In your video your frame was in a group. That might have broken things (I don’t think so but just trying to think of everything). It’s important to select one frame that lives on the main canvas. That is how AEUX knows the comp size to make.

4) I know you said you did this. But just to be super sure. Record another video of you making a single frame, and then a rectangle in that frame. Then Select the frame, and then send to AEUX.

5) if you really really can’t get around this you can export PDFs (shout out to Homer)

That’s all I got as far as ideas.

On Wed, Aug 2, 2023 at 4:17 PM juanmr8 @.***> wrote:

Hey @vmedium https://github.com/vmedium thanks for the comment. I tried just a square and it didn't work either.

To provide more context, I also gave all the apps full disk access in case there was something blocking and restarted every time as per the guide's instructions.

— Reply to this email directly, view it on GitHub https://github.com/google/AEUX/issues/183#issuecomment-1663087197, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALNXM4NBQOVG362FQLHNVTXTLNYVANCNFSM6AAAAAA2P7ORI4 . You are receiving this because you were mentioned.Message ID: @.***>

juanmr8 commented 11 months ago

Hey @vmedium

Thanks for the tips. I recorded myself doing both 1) and 4) – You'll see that if I remove the path in AE, Figma will ask me for a path. But in the end, nothing happens. So frustrating!

I've tried to uninstall all but that didn't do either. About the PDFs you mention in 5) is there any way to make the on a PDF exported from Figma editable in AE?

https://github.com/google/AEUX/assets/76969526/38177125-eda0-413b-b102-b348190152dd

vmedium commented 11 months ago

I'm not sure how/why it is failing for you and I understand it's frustrating!

Debugging ideas:

PDF Route

On Thu, Aug 3, 2023 at 4:42 AM juanmr8 @.***> wrote:

Hey @vmedium https://github.com/vmedium

Thanks for the tips. I recorded myself doing both 1) and 4) – You'll see that if I remove the path in AE, Figma will ask me for a path. But in the end, nothing happens. So frustrating!

I've tried to uninstall all but that didn't do either. About the PDFs you mention in 5) is there any way to make the on a PDF exported from Figma editable in AE?

https://github.com/google/AEUX/assets/76969526/38177125-eda0-413b-b102-b348190152dd

— Reply to this email directly, view it on GitHub https://github.com/google/AEUX/issues/183#issuecomment-1663832115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALNXM77LQJPU5L6LURAO73XTOFEFANCNFSM6AAAAAA2P7ORI4 . You are receiving this because you were mentioned.Message ID: @.***>

juanmr8 commented 11 months ago

@vmedium thanks again for the tips.

You were right about my settings not allowing scripts to write files but clicking on allow didn't do anything.. I restarted and tried again in both computers but it didn't do.

I recorded myself doing it with the console open. Not sure if there's something there.

I also opened AE's console, didn't see anything there.

For now, I guess I'll try exporting as PDFs and cleaning everything up in Illustrator.

https://github.com/google/AEUX/assets/76969526/bebb83c3-0a81-442b-9aa8-ca4175ceae2a

vmedium commented 11 months ago

Do you have your firewall on? Settings > network > firewall? Chat GPT said that could be an issue Do you have any other security related software installed?

You can see in the video. POST ERR_CONNECTION_REFUSED at on message. You can see this at the start of your video. Probably from a previous try that timed out. But you don't see it immediately when you do it after you clear(). Can you click the arrows next to the words to show more info? Maybe there's more info that can help us determine why it's being blocked.

On Thu, Aug 3, 2023 at 3:34 PM juanmr8 @.***> wrote:

@vmedium https://github.com/vmedium thanks again for the tips.

You were right about my settings not allowing scripts to write files but clicking on allow didn't do anything.. I restarted and tried again in both computers but it didn't do.

I recorded myself doing it with the console open. Not sure if there's something there.

I also opened AE's console, didn't see anything there.

For now, I guess I'll try exporting as PDFs and cleaning everything up in Illustrator.

https://github.com/google/AEUX/assets/76969526/bebb83c3-0a81-442b-9aa8-ca4175ceae2a

— Reply to this email directly, view it on GitHub https://github.com/google/AEUX/issues/183#issuecomment-1664723582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALNXMZD6WV7E74U5UZNPXTXTQROTANCNFSM6AAAAAA2P7ORI4 . You are receiving this because you were mentioned.Message ID: @.***>

vmedium commented 11 months ago

Also did you list the version of the AE panel you are using? Also give things a nice restart just for good measure.

On Thu, Aug 3, 2023 at 5:57 PM john dimartile @.***> wrote:

Do you have your firewall on? Settings > network > firewall? Chat GPT said that could be an issue Do you have any other security related software installed?

You can see in the video. POST ERR_CONNECTION_REFUSED at on message. You can see this at the start of your video. Probably from a previous try that timed out. But you don't see it immediately when you do it after you clear(). Can you click the arrows next to the words to show more info? Maybe there's more info that can help us determine why it's being blocked.

On Thu, Aug 3, 2023 at 3:34 PM juanmr8 @.***> wrote:

@vmedium https://github.com/vmedium thanks again for the tips.

You were right about my settings not allowing scripts to write files but clicking on allow didn't do anything.. I restarted and tried again in both computers but it didn't do.

I recorded myself doing it with the console open. Not sure if there's something there.

I also opened AE's console, didn't see anything there.

For now, I guess I'll try exporting as PDFs and cleaning everything up in Illustrator.

https://github.com/google/AEUX/assets/76969526/bebb83c3-0a81-442b-9aa8-ca4175ceae2a

— Reply to this email directly, view it on GitHub https://github.com/google/AEUX/issues/183#issuecomment-1664723582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALNXMZD6WV7E74U5UZNPXTXTQROTANCNFSM6AAAAAA2P7ORI4 . You are receiving this because you were mentioned.Message ID: @.***>

juanmr8 commented 9 months ago

Hey @vmedium – thanks for your help. Leaving here how I sorted it out in case anyone else experiences it.

I was using Dropbox as my backup tool, and what that did is creating copies of my main folders (desktop, downloads, documents etc) as "/dropbox/user/desktop" which were the ones that I was using.

As soon as I stopped that it immediately worked.

vmedium commented 9 months ago

Nice, glad you figured it out!

On Fri, Sep 15, 2023 at 11:04 AM juanmr8 @.***> wrote:

Hey @vmedium https://github.com/vmedium – thanks for your help. Leaving here how I sorted it out in case anyone else experiences it.

I was using Dropbox as my backup tool, and what that did is creating copies of my main folders (desktop, downloads, documents etc) as "/dropbox/user/desktop" which were the ones that I was using.

As soon as I stopped that it immediately worked.

— Reply to this email directly, view it on GitHub https://github.com/google/AEUX/issues/183#issuecomment-1721655377, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALNXM77KWNEKGLC22J5CY3X2SKCPANCNFSM6AAAAAA2P7ORI4 . You are receiving this because you were mentioned.Message ID: @.***>

obaahmesha commented 1 month ago

Hello @juanmr8 please i am experiencing the same issue, i use a mac m1 max.

I do not understand how you said you were able to fix your own issue. Please can you shed more light? I feel very frustrated right now

obaahmesha commented 1 month ago

Hey @vmedium – thanks for your help. Leaving here how I sorted it out in case anyone else experiences it.

I was using Dropbox as my backup tool, and what that did is creating copies of my main folders (desktop, downloads, documents etc) as "/dropbox/user/desktop" which were the ones that I was using.

As soon as I stopped that it immediately worked.

Please shed more light bro on how you did this

juanmr8 commented 1 month ago

hey @obaahmesha - If you're using Dropbox Backup, that's what's probably messing with AEUX. Try to disable it and give it a go.