kba / hocr-spec

The hOCR Embedded OCR Workflow and Output Format
http://kba.github.io/hocr-spec/1.2/
72 stars 20 forks source link

Couldn't find include file '1.2/include/defs/ocr_page' #106

Closed jwilk closed 6 years ago

jwilk commented 6 years ago

I have bikeshed installed locally (from today's git, 9c7b3c1bf4af). I tried building the spec, but that failed:

$ make
Rebuilding spec...
LINE 305: Couldn't find include file '1.2/include/defs/ocr_page'. Error was:
[Errno 2] No such file or directory: '/home/jwilk/hocr-spec/1.2/1.2/include/defs/ocr_page'
LINE 311: Couldn't find include file '1.2/include/defs/ocr_column'. Error was:
[Errno 2] No such file or directory: '/home/jwilk/hocr-spec/1.2/1.2/include/defs/ocr_column'
LINE 321: Couldn't find include file '1.2/include/defs/ocr_carea'. Error was:
[Errno 2] No such file or directory: '/home/jwilk/hocr-spec/1.2/1.2/include/defs/ocr_carea'
LINE 347: Couldn't find include file '1.2/include/defs/ocr_line'. Error was:
[Errno 2] No such file or directory: '/home/jwilk/hocr-spec/1.2/1.2/include/defs/ocr_line'

… and so on.

Note that there are duplicate 1.2 components in the paths.

kba commented 6 years ago

Confirmed, this broke at some point in the last year, it builds fine with the docker bikeshed version:

make BIKESHED=docker
LINK ERROR: No 'propdesc' refs found for 'x_cost'.
<a class="property" data-link-type="propdesc" data-lt="x_cost">x_cost</a>
 ✔  Successfully generated, with 1 linking errors

but with the HEAD of bikeshed from git I get the same error.

kba commented 6 years ago

Something changed about path resolution, I've updated the include paths to work with the current bikeshed version and rebuilt the site.

Thanks for reporting, feel free to reopen if problem persists.