Opened 6 months ago

Closed 6 weeks ago

#5617 closed defect (fixed)

debbie failing on building epub docs because of missing sfcgal images

Reported by: robe Owned by: robe
Priority: blocker Milestone: PostGIS 3.5.0
Component: documentation Version: master
Keywords: Cc:

Description

I'm guessing this might also be an issue for pdfs

01:18:49 Note: namesp. cut : stripped namespace before processing           PostGIS 3.5.0dev Manual
01:22:38 /usr/lib/ruby/2.7.0/fileutils.rb:1414:in `initialize': No such file or directory @ rb_sysopen - /var/lib/jenkins/workspace/PostGIS_Make_Dist/label/debbie/bd07292082948b4bbee000582509ba677e73e900/doc/images/st_ymonotonepartition01.png (Errno::ENOENT)
01:22:38 	from /usr/lib/ruby/2.7.0/fileutils.rb:1414:in `open'
01:22:38 	from /usr/lib/ruby/2.7.0/fileutils.rb:1414:in `copy_file'
01:22:38 	from /usr/lib/ruby/2.7.0/fileutils.rb:511:in `copy_file'
01:22:38 	from /usr/lib/ruby/2.7.0/fileutils.rb:430:in `block in cp'
01:22:38 	from /usr/lib/ruby/2.7.0/fileutils.rb:1589:in `block in fu_each_src_dest'
01:22:38 	from /usr/lib/ruby/2.7.0/fileutils.rb:1605:in `fu_each_src_dest0'
01:22:38 	from /usr/lib/ruby/2.7.0/fileutils.rb:1587:in `fu_each_src_dest'
01:22:38 	from /usr/lib/ruby/2.7.0/fileutils.rb:429:in `cp'
01:22:38 	from /usr/lib/ruby/vendor_ruby/dbtoepub/docbook.rb:190:in `block in copy_images'
01:22:38 	from /usr/lib/ruby/vendor_ruby/dbtoepub/docbook.rb:180:in `each'
01:22:38 	from /usr/lib/ruby/vendor_ruby/dbtoepub/docbook.rb:180:in `copy_images'
01:22:38 	from /usr/lib/ruby/vendor_ruby/dbtoepub/docbook.rb:112:in `bundle_epub'
01:22:38 	from /usr/lib/ruby/vendor_ruby/dbtoepub/docbook.rb:54:in `render_to_file'
01:22:38 	from /usr/bin/dbtoepub:72:in `block in <main>'
01:22:38 	from /usr/bin/dbtoepub:61:in `each'
01:22:38 	from /usr/bin/dbtoepub:61:in `<main>'
01:22:38 make: *** [Makefile:461: postgis-3.5.0dev-en.epub] Error 1
01:22:38 Build step 'Execute shell' marked build as failure
01:22:39 Finished: FAILURE

There is still an issue with sfcgal images. I found one issue in that the wkt was missing the style.

But the dimensions are also wrong, so I'll have to fix that.

Change History (7)

comment:1 by Regina Obe <lr@…>, 6 months ago

Resolution: fixed
Status: newclosed

In a8cbc177/git:

Fixes for SFCGAL Docs

  • Rescale CG_Visibility and other examples to fit on 200x200 canvas This is required for our image generator
  • Add missing images for CG_GreeneApproxConvexPartition, CG_YMonotonePartition, CG_OptimalConvexPartition
  • Add missing availablilty role for new SFCGAL functions

Closes #5617 for PostGIS 3.5.0

comment:2 by Regina Obe <lr@…>, 6 months ago

In 229a75f/git:

Add cg_ymonotone image generation. Closes #5617

comment:3 by Regina Obe <lr@…>, 6 months ago

In 966f687e/git:

Fix typo in image file for cg_approx…
Closes #5617

comment:4 by robe, 6 months ago

Resolution: fixed
Status: closedreopened

Still for some reason the images are not showing even though I see them building now successfully.

comment:5 by robe, 6 months ago

But it did fix the epub issue though

comment:6 by robe, 6 months ago

Okay the pdfs do show the images so the images must not be deploying to the website. Might be an issue with all new images and I haven't noticed since these are the only new images we have..

comment:7 by robe, 6 weeks ago

Resolution: fixed
Status: reopenedclosed

think this was fixed a while ago

Note: See TracTickets for help on using tickets.