Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freezes up on Photoshop CS6 (v13.0.6 x64), OS X Yosemite #30

Closed
jericho1ne opened this issue Dec 13, 2014 · 15 comments
Closed

Freezes up on Photoshop CS6 (v13.0.6 x64), OS X Yosemite #30

jericho1ne opened this issue Dec 13, 2014 · 15 comments
Labels

Comments

@jericho1ne
Copy link

I've made sure to copy the JSX file and 2xJSON files to the appropriate location. Photoshop froze up both times I've tried it, had to force quit.

Error log here:
Http:https://jsfiddle.net/abtyw3u2/

Cheers!

@skjorn skjorn added the bug label Dec 14, 2014
@skjorn
Copy link
Collaborator

skjorn commented Dec 14, 2014

Sorry to hear that. Unfortunately, the error log is not very helpful. A few questions to clarify: At which stage does it happen (immediately after launch, when dialog is open, processing started)? If during the processing, what are the (non-default) settings? Does it hang even for small files?

The log suggests the hang was reported after 1 minute. That's not very long in Photoshop terms. If your file is very large (hundreds of layers), Ps may take some time to process it and fail to update the progress bar.

Anyway, there's not much I can do since I don't have Ps CS 6 and I'm still on Mavericks on my Macbook. I need to know the exact cause of the problem to fix this (line number in script). But maybe someone else will look into it (very unlikely).

@jericho1ne
Copy link
Author

jericho1ne commented Dec 14, 2014

No worries, looking at your script, I thought to myself "why don't I edit the original script?"   So I commented out a couple of lines in the Adobe-provided JSX file, and got what I wanted - removal of the XXXX prefix that photoshop adds to each of the layer names :)

My file has only 5 layers, and it's not too big pixel size-wise. Check it out:
https://users.dma.ucla.edu/~mpeteu/psd/


On Sun, 12/14/14, skjorn [email protected] wrote:

Subject: Re: [Photoshop-Export-Layers-as-Images] Freezes up on Photoshop CS6 (v13.0.6 x64), OS X Yosemite (#30)
To: "hsw107/Photoshop-Export-Layers-as-Images" [email protected]
Cc: "[redacted]"[redacted]@yahoo.com
Date: Sunday, December 14, 2014, 3:33 AM

Sorry to hear that.
Unfortunately, the error log is not very helpful. A few
questions to clarify: At which stage does it happen
(immediately after launch, when dialog is open, processing
started)? If during the processing, what are the
(non-default) settings? Does it hang even for small
files?

The log suggests the hang was reported after 1 minute.
That's not very long in Photoshop terms. If your file is
very large (hundreds of layers), Ps may take some time to
process it and fail to update the progress bar.

Anyway, there's not much I can do since I don't
have Ps CS 6 and I'm still on Mavericks on my Macbook. I
need to know the exact cause of the problem to fix this
(line number in script). But maybe someone else will look
into it (very unlikely).


Reply to this email directly or view
it on GitHub.

   
     
     
   
   

@skjorn
Copy link
Collaborator

skjorn commented Dec 14, 2014

Good, as long as it works for you... The file seems harmless enough and works no prob in CS2.

@groxor
Copy link

groxor commented Jan 7, 2015

The same thing happens to me. I've used your script before in Mountain Lion / Photoshop CS6, and it worked perfect. Since I use Yosemite, the same script freezes up once I press "Run". I have to Force Quit. My file has only 10 layers, 300 x 300 px @ 72 dpi.

@skjorn
Copy link
Collaborator

skjorn commented Jan 8, 2015

Looks like a Photoshop platform specific issue. I need someone to trace it. Comment out the export function in main(), try if it passes. Then go inside the function and do the same piece by piece until it's clear which line is responsible.

@arobotd
Copy link

arobotd commented Jan 29, 2015

Crashes for me as well on CC 2014, Yosemite. The initial crash occurs on line 525, on win.show() of showProgressBar(). Any ideas?

@arobotd
Copy link

arobotd commented Jan 29, 2015

Actually, if I comment out that line, the script seems to work fine. Just no progress bar shows up.

@skjorn
Copy link
Collaborator

skjorn commented Jan 29, 2015

If you uncomment the line and run the script on a PSD with 20+ layers, does the dialog show? Or does it crash right away?

@arobotd
Copy link

arobotd commented Jan 29, 2015

The script seems to work fine as-is (with the line uncommented) on PSDs with 20+ layers, but crashes on PSDs with less.

@skjorn
Copy link
Collaborator

skjorn commented Jan 30, 2015

Please, try the latest update. I'm not sure what the exact cause is, but I removed the difference between processing few and many layers. Let's see if it helps.

@skjorn
Copy link
Collaborator

skjorn commented Feb 5, 2015

Any news?

@groxor
Copy link

groxor commented Feb 5, 2015

Runs perfect already! Thanks!!!!

@skjorn
Copy link
Collaborator

skjorn commented Feb 8, 2015

No problem. Would be nice to have also reports from others, but I'm gonna assume it's fixed and close these bugs. If anyone still experiences the issue, they can report it again.

@skjorn skjorn closed this as completed Feb 8, 2015
@arobotd
Copy link

arobotd commented Feb 13, 2015

I just wanted to let you know that the new version of the script works for me, as well. Thank you for your work!

@skjorn
Copy link
Collaborator

skjorn commented Feb 13, 2015

Great, thanks for info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants