Opened 9 years ago

Closed 9 years ago

#6098 closed defect (fixed)

ogr_pdf.py failing in ogr_pdf_2

Reported by: Kurt Schwehr Owned by: Even Rouault
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

Building with podofo, but without poppler, gives a failure at line 141. Tested on ubuntu 14.04

First travis-ci build failure https://travis-ci.org/OSGeo/gdal/builds/79003964 https://github.com/OSGeo/gdal/commit/55573855a92c77e7205834c924c2f6d29fb053d4

ogrinfo -al tmp/ogr_pdf_1.pdf 
INFO: Open of `tmp/ogr_pdf_1.pdf'
      using driver `PDF' successful.
Metadata:
  DPI=72
  NEATLINE=POLYGON ((2 50,2 48,3 48,3 50,2 50))

Layer name: first_layer
Geometry: Unknown (any)
Feature Count: 15
Layer SRS WKT:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9122"]],
    AUTHORITY["EPSG","4326"]]
strfield: String (0.0)
linkfield: String (0.0)
intfield: Integer (0.0)
realfield: Real (0.0)
OGRFeature(first_layer):0
  strfield (String) = super tex !
  linkfield (String) = http://gdal.org/
  intfield (Integer) = (null)
  realfield (Real) = (null)

OGRFeature(first_layer):1
  strfield (String) = str
  linkfield (String) = (null)
  intfield (Integer) = 1
  realfield (Real) = 2.34

OGRFeature(first_layer):2
  strfield (String) = (null)
  linkfield (String) = http://gdal.org/
  intfield (Integer) = (null)
  realfield (Real) = (null)

OGRFeature(first_layer):3
  strfield (String) = (null)
  linkfield (String) = (null)
  intfield (Integer) = (null)
  realfield (Real) = (null)
...

Change History (1)

comment:1 by Even Rouault, 9 years ago

Resolution: fixed
Status: newclosed

Should be fixed by r30160 "PDF: fix breakage on ogr_pdf_4_podofo introduced in r30155"

Note: See TracTickets for help on using tickets.