Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,376

    Default

    PDF comparisons in BC use different conversion methods, depending on the version of BC you are running. BC4 includes a version of PDFtoText.exe in the main install folder, and that's our default support.

    If you would like to use a different program, you can also customize this by creating a new File Format and defining any other command line program for the External Conversion. The higher *.pdf format in the File Formats dialog is the one used automatically.
    Aaron P Scooter Software

  2. #12
    Join Date
    Apr 2008
    Posts
    2,154

    Default

    Quote Originally Posted by Aaron View Post
    BC4 includes a version of PDFtoText.exe in the main install folder, and that's our default support.

    If you would like to use a different program
    I wouldn't. What I would like is just BC to work properly, and not false represent an empty PDF as a conversion error.

  3. #13
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,376

    Default

    Chris,

    I'll try to explain this one more time:

    BC uses conversion applications for binary files. PDF, MS Word, Excel must be converted to be readable as text in BC. We are using an External Conversion process, where a file format can define any command line utility to be used to perform this conversion, given an input binary file and an output text file.

    *We are familiar with various command line utilities that express their errors by generating a blank file.*

    Since this is a global construct, we then have to interpret an External Conversion's blank file as an error. In BC2, we didn't anticipate this and ignored it as an error state. This resulted in various conversions failing, giving back blank files for different binary files, and we would erroneously show them as equal in BC2. Adding this as an Error state is the best we can do for now. If we're able to enhance our support for specific, internal conversions, like PDF, we may be able to distinguish between a blank file error and blank file conversion or compare the pictures, but this is not currently supported.

    In the current release, providing a PDF that is a Picture to our Text Compare results in a conversion error. The Text Compare is only for comparing text data.
    Aaron P Scooter Software

  4. #14
    Join Date
    Apr 2008
    Posts
    2,154

    Default

    Quote Originally Posted by Aaron View Post
    Adding this as an Error state is the best we can do for now.
    Are you saying the PDFtoText.exe you are using does not return an error code?

  5. #15
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,376

    Default

    PDFtoText does have Error levels. All External Conversions are currently treated equally. Tracking the errorlevels of specific conversions isn't currently supported.
    Aaron P Scooter Software

  6. #16
    Join Date
    Apr 2008
    Posts
    2,154

    Default

    Quote Originally Posted by Aaron View Post
    PDFtoText does have Error levels.
    Then your previous:

    "There is currently no method to differentiate between a converted blank file and a converted blank file generated in error by a conversion program."

    is incorrect.

    You also previously wrote:

    "If such support is added to the conversion utility, we'll look into reporting between the two states."

    So since such support has ALREADY been added to this conversion utility, will you now be looking into reporting between the two states?

  7. #17
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,376

    Default

    I was mistaken earlier that PDFtoText lacked the Exit codes, however it doesn't change how we globally handle External Conversions. Processing Error codes is on our wishlist.
    Aaron P Scooter Software

  8. #18
    Join Date
    Apr 2008
    Posts
    2,154

    Default

    Will you now be looking into reporting between the two states?

  9. #19
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,376

    Default

    Yup, but it's not currently scheduled development as a wishlist item, so you'll still need to expect an all picture pdf to handle as an error state for BC4.
    Aaron P Scooter Software

  10. #20
    Join Date
    Apr 2008
    Posts
    2,154

    Default

    Quote Originally Posted by Aaron View Post
    Yup, but it's not currently scheduled development as a wishlist item
    Could you pass on my request that it be made into one? Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •