Closed NoFearJoe closed 3 years ago
I'll check it and get back to you tonight.
Try to change batchSize
value from 100 to 20 in ImagesLoader.swift
line 176.
Hello @subdan
I change the batchSize
to 20 but the problem remains. It looks like the call .map { try figmaClient.request($0) }
is hanging in ImagesLoader#loadComponents
To fix this issue I need to reproduce it. I will create an example Figma file with 120 images and try to export it. I will do it by the end of the week and get back to you.
I've exported 242 image components (726 PNG images) using FigmaExport without any issues.
Possible issues:
Could you show me the complex and the big one image you try to export? Which type of image do you try to export: raster or vector? What is the output format: PDF of PNG?
Possible solution:
If it is possible I can try to export your images if you give me access to your Figma File.
Maybe this issue fixed with #60?
I left only two images in the frame, but still when using FigmaExport an error occurs The request timed out.
or Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: file FigmaAPI/Client.swift, line 33
at the same time requests made via postman are processed quickly (~ 3 sec.)
We are using the latest version of figma-export (0.18.9). format: png timeout: 60 sec
Could you please give me access to your Figma file?
We have about 120 images and when we try to export them the request fails due to timeout. We tried to change the timeout in FigmaClient to 600, but got this error:
Unexpectedly found nil while implicitly unwrapping an Optional value: file FigmaAPI/FigmaClient.swift, line 26
.We are using the latest version of figma-export (0.18.5).