Closed hamstu closed 11 years ago
Could you try running this?
sudo chmod -R 0777 ./
(within the project folder)
Still no luck.
Oh, and looking back it appears this error happens like three times. (The same UCF error message, just different files.)
For what it's worth, I tried just running one of the lines manually on my Ubuntu machine and it packaged the .zxp just fine...
That makes sense—packaging is executed for a CS5 build, CS6 build, and then a combined build. What platform are you running csxs
on?
Just OS X 10.8.3 — When I did the Ubuntu test I just copied the whole directory and downloaded the UCF.jar from Adobe. (Although I did try installing csxs on Ubuntu, but the node package isn't supported.)
I've found the problem! (And bizarrely enough it's the same reason for a bug I found in my own unrelated code today...)
You cannot have spaces in your extension's path
I'm keeping my extension code in a folder within Dropbox ~/Dropbox/Photoshop Extensions/[blabla]
and I guess somehow UCF chokes on that path. I just did a test in another directory and it worked perfectly. I'm going to test again and confirm.
Excellent! Confirmed. I just tried a path with a space in it and it spit out the same error. For the time being, I put in a fix that will at least cause the build to stop. I imagine we can write to a temp directory to solve the problem. I'll keep you posted.
Sweet, I tested again and it built just fine as well. Thanks for the quick patch there. Yeah I imagine a temp directory might be the best solution, unless you can somehow "quote" the paths going into UCF.
The paths being passed to the tool are relative to the project directory (so there are technically no spaces in the argument list to escape). I tried using absolute paths for kicks... no dice. Bummer.
I just pushed an update that writes to a temp directory and then moves the file out once it's complete. Fixes the problem for me! Mind re-installing and giving it a shot?
I'm going to assume this is fixed and close this. If it happens to not work, please feel free to comment and we'll reopen this and get it fixed! Thanks for the help and info on this... really appreciate it.
Thanks Brian! Sorry for the lull there. Had a busy weekend. Sounds like your fix will do it, but if I have any issues when testing I'll let you know. Cheers!
When I run
csxs package
everything is fine up until the step where it runs theucf.jar
packaging script.At that point I get this error:
I tried updating Java and restarting, but no dice. Any ideas?