Module Tools
  1. Module Tools
  2. MODTOOLS-35

imp2vs didn't compile Matthew 1:1 when I rebuilt the Nestle module

    Details

    • Type: Bug Bug
    • Status: Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows 7 x64

      Description

      Yesterday, I used imp2vs.exe to rebuild the (1904) Nestle module from an updated source text that I'd already converted to IMP format.

      Everything worked as expected except for one thing.

      Even though the IMP file contains text for Matthew 1:1, in the module this verse was empty, and the chapter began at verse 2.

      I've not found anything that would help towards tracing the root cause of this apparent bug.

      Nestle uses Versification NRSV.

      My command line contained this:

      ..\utils\imp2vs ..\Import\nestle1904.raw.imp.txt -v NRSV -z -o ..\modules\texts\ztext\nestle 1>..\log\imp2vs.log 2>..\log\error.log

      The main log file is attached.

      error.log was empty.

      David

        Activity

        Hide
        David Haslam added a comment -

        Here are the first 16 lines of the source IMP file.

        $$$[ Module Heading ]

        $$$[ Testament 1 Heading ]

        $$$[ Testament 2 Heading ]

        $$$Matthew 0:0

        $$$Matthew 1:0

        $$$Matthew 1:1
        Βίβλος γενέσεως Ἰησοῦ Χριστοῦ υἱοῦ Δαυεὶδ υἱοῦ Ἀβραάμ.
        $$$Matthew 1:2
        Ἀβραὰμ ἐγέννησεν τὸν Ἰσαάκ, Ἰσαὰκ δὲ ἐγέννησεν τὸν Ἰακώβ, Ἰακὼβ δὲ ἐγέννησεν τὸν Ἰούδαν καὶ τοὺς ἀδελφοὺς αὐτοῦ,
        $$$Matthew 1:3
        Ἰούδας δὲ ἐγέννησεν τὸν Φαρὲς καὶ τὸν Ζάρα ἐκ τῆς Θαμάρ, Φαρὲς δὲ ἐγέννησεν τὸν Ἑσρώμ, Ἑσρὼμ δὲ ἐγέννησεν τὸν Ἀράμ,

        Show
        David Haslam added a comment - Here are the first 16 lines of the source IMP file. $$$[ Module Heading ] $$$[ Testament 1 Heading ] $$$[ Testament 2 Heading ] $$$Matthew 0:0 $$$Matthew 1:0 $$$Matthew 1:1 Βίβλος γενέσεως Ἰησοῦ Χριστοῦ υἱοῦ Δαυεὶδ υἱοῦ Ἀβραάμ. $$$Matthew 1:2 Ἀβραὰμ ἐγέννησεν τὸν Ἰσαάκ, Ἰσαὰκ δὲ ἐγέννησεν τὸν Ἰακώβ, Ἰακὼβ δὲ ἐγέννησεν τὸν Ἰούδαν καὶ τοὺς ἀδελφοὺς αὐτοῦ, $$$Matthew 1:3 Ἰούδας δὲ ἐγέννησεν τὸν Φαρὲς καὶ τὸν Ζάρα ἐκ τῆς Θαμάρ, Φαρὲς δὲ ἐγέννησεν τὸν Ἑσρώμ, Ἑσρὼμ δὲ ἐγέννησεν τὸν Ἀράμ,
        Hide
        Chris Little added a comment -

        User error.

        Remove the BOM before you convert to IMP or at least before you attempt to run imp2vs.

        $$$<BOM>Matthew 1:1 will not be recognized as Matt.1.1.

        Show
        Chris Little added a comment - User error. Remove the BOM before you convert to IMP or at least before you attempt to run imp2vs. $$$<BOM>Matthew 1:1 will not be recognized as Matt.1.1.
        Hide
        David Haslam added a comment -

        Chris,

        Thanks for the explanation. The original file Nestle1904.txt did have a BOM.
        I'd failed to spot that before conversion to tabless VPL, and thence to IMP format.

        Just examined the IMP file but now with SC Unipad, which shows what was the BOM (prior to conversion) as U+FEFF.
        However, Notepad++ didn't display this visibly, even with "Show all characters", so I'd just missed it.

        Mea culpa. I'll rebuild the module.

        David

        Show
        David Haslam added a comment - Chris, Thanks for the explanation. The original file Nestle1904.txt did have a BOM. I'd failed to spot that before conversion to tabless VPL, and thence to IMP format. Just examined the IMP file but now with SC Unipad, which shows what was the BOM (prior to conversion) as U+FEFF. However, Notepad++ didn't display this visibly, even with "Show all characters", so I'd just missed it. Mea culpa. I'll rebuild the module. David

          People

          • Assignee:
            Chris Little
            Reporter:
            David Haslam
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: