Skip to main content
Inspiring
April 19, 2022

P: Generator in PS 2022 does not generate image assets from a file located on a server. 2021 does.

  • April 19, 2022
  • 10 replies
  • 1485 views

Hi

We are having a problem with Generator in Photoshop 2022. Photoshop 2021 works fine. Does anyone have this problem or a fix?

 

With Photoshop version 23.3.0  File Menu/Generate/Image Assets works normally on files on my local Mac Drive, but when running it on a file located on our company server no image assets are created. Note that it does create the designated subfolders, but they are empty.

With Photoshop 22.5.7 generator works fine on the same file, on the same server. It generates subfolders and files.

I am not accessing the file via VPN. I am in office.

I have uninstalled the newer 2022 version and reinstalled it with no change in behaviour. All the setting seem

identical in both versions. The generate jsx files in both Photoshop folders are identical.

macOS Catalina 1-.15.7 

iMac (Retinal 5K, 27 inch, 2020)

 

Thanks in advance,

Ron Troyer

 

10 replies

Inspiring
October 11, 2024

Hi BrettN, We are looking for a solution to this as well. Any update Oct 2024?

PECourtejoie
Community Expert
Community Expert
February 17, 2023

@BrettN Ok, makes sense...

I asked as this topic was linked from another one, let me find it...

Not so related, the issue in the other thread is that Generator adds extra pixels on some exported assets.

https://community.adobe.com/t5/photoshop-ecosystem-bugs/generate-gt-image-assets-bug/idc-p/13586586#M76147

BrettN
Community Manager
Community Manager
February 17, 2023

@PECourtejoie Unfortunately, we haven't been able to reproduce on our end and don't have reports from other customer about similar behavior. This suggests the root of the issue is in this particular enviornment. 

PECourtejoie
Community Expert
Community Expert
February 17, 2023

Hello, @BrettN any update on this JIRA?

BrettN
Community Manager
Community Manager
April 22, 2022

Looking at the log from performing things locally, we don't see the same permission errors, so it all makes sense so far. Our current theory on this is the change in behavior stems from the Node.js update we did within Photoshop (we had a pretty major change between '21 and '22). So, while we didn't change Generator itself, we changed a resource it uses which effects how it executes its own code. We are looking into this further and it may mean an update on our end to address this change. But you may find a solution on your end sooner as well by checking server folder permissions. 

Inspiring
April 22, 2022

Interesting - I will also let our IT department know about your finding regarding permissions

Inspiring
April 22, 2022

BrettN

I am providing an additional log of Photoshop 2022 generator successfully generating assets from a PSD file located on my local drive.

generator_latest2022_local_drive.txt.zip

BrettN
Community Manager
Community Manager
April 22, 2022

Thank you for gathering both sets of logs. What is surprising is how similar they are, but there is a key difference. In both versions of Photoshop, a folder permission issue is encountered. But each version responds to this differently. In 2021, it does a chmod, correcting the permissions and allowing the file to be saved. In 2022, it attempts to copy the file from a temp location to the destination folder and apparently this is failing. I'm going to check with my colleages and see why we may be seeing this difference in behavior and what we can do to change it. 

Inspiring
April 22, 2022

Hello BrettN,

Thank you for your response.

 

Following directions for MacOS I am linking the generator log file for Photoshop 2022: generator_latest2022.txt  (zip file)

I am also linking a second generator log file for Photoshop 2021 for comparison if helpful:generator_latest2021.txt (zip file) 

 

The process I followed after clearing existing generator logs is as follows:

 

With Photoshop 2022 I opened an existing PSD file with 31 layers on the server, and with the File Menu, choose Generate/Image Assets. The asset folder was generated next to the PSD file, and two subfolders (one for square assets and one for vertical assets) were generated. But no images were generated into the subfolders. I saved the psd file and quit Photoshop 2022. I then copied the log file "generator_latest.txt" and renamed it to generator_latest2022.txt.

 

I then opened Photoshop 2021 and opened the same PSD file on the server. The 30 missing images were then generated into the subfolders (15 files in each subfolder). I closed the PSD file and copied the 2021 generator log and renamed to generator_latest2021.txt.

 

I could also create a log file of Photoshop 2022 generating assets on my local drive, which works as expected, if that is helpful. Let me know.

 

Again thank you

Ron

 

BrettN
Community Manager
Community Manager
April 19, 2022

  It's strange that you are seeing a difference in behavior between the two versions of Photoshop. Generator is no longer under development, so there were no changes between versions. Let's start by looking at the logs to see if they can provide any info. They are located here: 

  • Windows: C:\Users\[Your User Name]\AppData\Roaming\Adobe\Adobe Photoshop 2022\Logs\Generator
  • macOS: /Users/[Your User Name]/Library/Logs/Adobe/Adobe Photoshop 2022/Generator/

  Start by closing Photoshop, clearing out the log folder, running Photoshop, attempt to Generate Image Assets, and close Photoshop. This will give a clean set of logs to see what they may provide us.