Scripting Output Error "Stitching Error"
Hi! I am having some issues with processing via script. Every time I do it, no matter how simple or complex the script is, after the variants are processed CaptureOne throws the same error:
"Stitching Error
Missing Stitch Joblist"
I'm not doing anything with stitching though!
Here's the script I'm working on right now. It looks for blue color tags with 0 rating, processes them and then gives them a rating of 1 to keep track of what has been processed and avoid re-processing. It does the same with green color tags, using a different recipe to process to a different format and path.
Any help is appreciated!!! Ty.
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
tell application "Capture One 21"
repeat with theVariant in variants of current document
if (color tag of theVariant = 5 and rating of theVariant = 0) then
process theVariant recipe "BLUE"
set rating of theVariant to 1
end if
end repeat
repeat with theVariant in variants of current document
if (color tag of theVariant = 4 and rating of theVariant = 0) then
process theVariant recipe "GREEN"
set rating of theVariant to 1
end if
end repeat
end tell
-
well, by looking through Script Debugger for something else i found that there is a "processing done script" that is called after every process:
/Applications/Capture One 21.app/Contents/Resources/Scripts/Stitch with Photoshop.app/Contents/Resources/Scripts/Stitch_PostProcess.scpt
Not sure why, but since I never ever use this feature I made a copy of the script and deleted its contents. No more error :) Maybe this will be helpful for someone else, I couldn't find any posts about this before.
0 -
Usually, I need to be very specific about clang++, and which standard library to use.
# Switch GCC for clang CC=clang # Switch g++ for clang++ CXXS=clang++ # Ensure stdlib is defined CXXFLAGS += $(DEFINES) -std=gnu++11 -stdlib=libstdc++ $(OPTFLAGS)If you plan on porting to ImagickMagick 7, add
-Wno-deprecated-registertoOPTFLAGSTo test, take the following...
// link_to_lib.cc #include <iostream> #include <Magick++.h> using namespace std; using namespace Magick; int main(int argc, const char ** argv) { InitializeMagick(*argv); Image img("rose:"); Geometry size = img.size(); cout << size.width() << "x" << size.height() << endl; return 0; }And compile & link with...FaceTime PC
clang++ -std=c++11 -stdlib=libstdc++ \ `Magick++-config --cxxflags` \ `Magick++-config --libs` \ link_to_lib.cc -o link_to_lib0
Post is closed for comments.
Comments
2 comments