Go Back   MarcomCentral (PTI) and FusionPro User Communities > Support > Issues, Questions, Etc.

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 2nd, 2015, 03:06 PM
RBOBrad RBOBrad is offline
Forum n00b
 
Join Date: Jan 2015
Posts: 5
Question Composition Errors

I've been using 2 different versions of Fusion Pro VDP Designer on 2 different Macs, and getting different Composition reporting results.

I've attached a screenshot to help show this.

With the same project (the Presidio Postcard tutorial actually), using version 9.2.31, I correctly get a Composition error that tells me the "Value for variable Season not found in instance data". This is because the source data doesn't include for the month information, so this makes sense. This is seen on the right screenshot with the attached file.

But, using the latest version (9.3.6) on Yosemite, I don't get that error message even though it fails as well. The error message from the older version is actually quite helpful in troubleshooting, so why is it missing from the latest version of the software? You can see this in the left screenshot.

Is this a bug?
Attached Images
File Type: png Version-Differences.png (26.3 KB, 10 views)
Reply With Quote
  #2  
Old February 2nd, 2015, 03:28 PM
Alex Marshall's Avatar
Alex Marshall Alex Marshall is offline
FusionPro VDP Support
 
Join Date: Sep 2008
Location: Chicago,Illinois
Posts: 381
Default Re: Composition Errors

There were some fixes in the FP 9.3 version as it relates to the Drag-N-Drop Rule Wizard. Also the template may have been updated in this new version as well. Is there an error in the sample file output you are generating? Or is this from your own data?
Reply With Quote
  #3  
Old February 2nd, 2015, 03:44 PM
RBOBrad RBOBrad is offline
Forum n00b
 
Join Date: Jan 2015
Posts: 5
Default Re: Composition Errors

Well, the data about the months for the "Seasons" rule is missing. It took me awhile to figure out why the new version wasn't working right until I noticed the test data file "input-data.txt" didn't have any data for the months category. Same thing when I tried it in version 9.2, but it gave me feedback on why it wasn't working unlike 9.3.
Reply With Quote
  #4  
Old February 2nd, 2015, 04:43 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,381
Default Re: Composition Errors

I can't tell what's really going on just from the screenshot. Is the output the same from both versions? Could you collect and attach a sample job which reproduces the problem?
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #5  
Old February 3rd, 2015, 07:22 AM
RBOBrad RBOBrad is offline
Forum n00b
 
Join Date: Jan 2015
Posts: 5
Default Re: Composition Errors

Well, this issue came up while doing your Real Estate Mailer tutorial that is supplied with the software install. It's found on the Mac at HD > Users > Shared > PTI > FusionPro > Tutorial > Real Estate Mailer > Working Files. If you open the PDF named "PresidioPostcard2.pdf", you'll see the variable data box that says "Come see us <Season>". The instructions in your video state that the Season rule should return Winter, Spring, Summer or Fall. But it doesn't work because the supplied sample source file "input-data.txt" doesn't appear to have any data regarding the months/seasons. I assume this is an oversight when creating these tutorials. You'll even notice that the sample PDF in the Output folder also does not include the seasons information.

My concern isn't so much that the tutorial appears to have a flaw in it, but rather the Compose error reporting between version 9.2 and 9.3. When I did this tutorial in 9.2, I received an error after clicking Compose that suggested there is no data for the Seasons rule, which is obviously very helpful. When doing the same tutorial in 9.3, I received no error message at all, which is not very helpful when trying to figure out why data is missing. We are planning to upgrade our systems to Yosemite/9.3 here at the office, but I'm now concerned that if we upgrade, we'll be losing a pretty useful error reporting function from 9.2. Does that help clarify what I'm asking about? I can send you files if you like, but again, I'm just using the tutorial files supplied with the install.
Reply With Quote
  #6  
Old February 3rd, 2015, 12:03 PM
dreimer dreimer is offline
Senior Contributor
 
Join Date: Oct 2010
Location: Shakopee, MN
Posts: 473
Default Re: Composition Errors

The drag and drop rule for the season is using the current date of composition. It is not using the data source!

Now this doesn't answer the composition error issues between versions though.
__________________
Don Reimer - JavaScript Novice

MAC OS 10.13.6 Acrobat DC FP Creator 10.1.11
Windows 7 Acrobat X 10.1.4 FP Creator 9.3.9
Reply With Quote
  #7  
Old February 3rd, 2015, 12:14 PM
RBOBrad RBOBrad is offline
Forum n00b
 
Join Date: Jan 2015
Posts: 5
Default Re: Composition Errors

Ah, maybe it isn't reading the computer clock?
Reply With Quote
  #8  
Old February 3rd, 2015, 05:29 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,381
Default Re: Composition Errors

I have to ask again: Is the output the same from both versions? Are you sure? Because when I try it with the same job here, in 9.3., the output correctly has the result of the "Season" rule in it. If I then delete or rename that rule, then the error message shows up, as appropriate.
Quote:
Originally Posted by RBOBrad View Post
Well, this issue came up while doing your Real Estate Mailer tutorial that is supplied with the software install. It's found on the Mac at HD > Users > Shared > PTI > FusionPro > Tutorial > Real Estate Mailer > Working Files. If you open the PDF named "PresidioPostcard2.pdf", you'll see the variable data box that says "Come see us <Season>". The instructions in your video state that the Season rule should return Winter, Spring, Summer or Fall. But it doesn't work because the supplied sample source file "input-data.txt" doesn't appear to have any data regarding the months/seasons. I assume this is an oversight when creating these tutorials.
No, it's not an oversight. The "Seasons" variable is supposed to come from a rule with that name that you create as part of the tutorial tasks, not from a data field with that name. I suppose that the wording of the message, saying that the value is "not found in instance data" is a bit misleading, because "variables" in this sense can come from either rules or data fields (or from calling FusionPro.Composition.AddVariable).
Quote:
Originally Posted by RBOBrad View Post
You'll even notice that the sample PDF in the Output folder also does not include the seasons information.
Okay, that probably is an oversight. I think that the rule was added after that "sample" PDF output was created.
Quote:
Originally Posted by RBOBrad View Post
My concern isn't so much that the tutorial appears to have a flaw in it, but rather the Compose error reporting between version 9.2 and 9.3. When I did this tutorial in 9.2, I received an error after clicking Compose that suggested there is no data for the Seasons rule, which is obviously very helpful. When doing the same tutorial in 9.3, I received no error message at all, which is not very helpful when trying to figure out why data is missing.
No, you've got it exactly backwards. You're not getting an error message in 9.3 because the "Seasons" rule is working properly (mostly) and returning a value. You properly get the message in 9.2 because the rule is not working. The bug is in 9.2, not in 9.3.

Well, okay, there is still a bug in 9.3, where the the rule does return something, but it just returns "this Winter" every time, no matter what the date is. That Drag-and-Drop rule editor has had some bugs in it for a while, and some more were added in 9.2. Some of the bugs introduced in 9.2 have been fixed in 9.3, which is why you get something output from the rule in 9.3 instead of it failing completely as in 9.2, but obviously not all of the 9.2 Drag-and-Drop editor bugs are fixed in 9.3, because what gets returned in 9.3 is not the right something. But it's enough to not trigger the "value for this variable not found" error.
Quote:
Originally Posted by RBOBrad View Post
We are planning to upgrade our systems to Yosemite/9.3 here at the office, but I'm now concerned that if we upgrade, we'll be losing a pretty useful error reporting function from 9.2.
No, as far as I know, you won't be losing any functionality in terms of error reporting by upgrading from 9.2 to 9.3. If anything, you'll get a version which I can't claim is entirely bug-free, but does have fewer bugs than 9.2.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #9  
Old February 4th, 2015, 07:00 AM
RBOBrad RBOBrad is offline
Forum n00b
 
Join Date: Jan 2015
Posts: 5
Default Re: Composition Errors

Dan,

Thanks for such a comprehensive answer! I follow what you're saying, and at least I'm not going crazy with my lack of success with the Seasons rule. No matter how many times I do this tutorial, I don't get any results, not even "Winter". Although, wouldn't that make sense if the rule is based off the current calendar date? I'd think all results would be winter since we're in month "2"?

Are you doing the tutorial from a Windows PC? I wonder if the date reading is different than the Mac which is why I'm not getting even the Winter result. I can send you my file if that helps.
Reply With Quote
Reply

Tags
compose, designer, error, mac, yosemite

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.