I'm using the CS4 Export Layers to Files (to PNG with transparency), and with this particular PSD, there's one layer that gets exported on its own, and then it's included in each of the other layers when they're exported. If I run it a second time but exclude that layer from the selection, then the next layer up is the one that's exported on its own and then included with all of the other exports. It seems to be failing to make that layer invisible again after it's been exported.
I've managed to run this over 4 PSD files and they all worked perfectly. I've tried another since this problem started happening, and it, too, does the same thing.
Any ideas? The script hasn't been modded.
I have modified the original script to include some functionality in another I found online, and the problem has gone away. I guess it was in a part of the code that was made optional. So, while I still don't know what caused the problem, the mods have made it stop happening.