Opened 4 years ago

Closed 4 years ago

#4759 closed defect (fixed)

PostGIS Workshop page is broken

Reported by: robe Owned by: robe
Priority: blocker Milestone: Website Management, Bots
Component: management Version: master
Keywords: Cc:

Description

I tried going here as it is referenced in upcoming PostGIS In Action book.

https://postgis.net/workshops/postgis-intro/

To my horror -- it gave a 403. I'm guessing there is something malformed which caused the sphinx build to fail. Could also be updates I ran.

Change History (2)

comment:1 by robe, 4 years ago

ssh robe@postgis.net
cd /var/www
#edit postgis_workshop_update.sh #uncomment out the exit
sh postgis_workshop_update.sh

Yields error

Running Sphinx v3.2.1
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 38 source files that are out of date
updating environment: [new config] 38 added, 0 changed, 0 removed
reading sources... [100%] welcome
/var/www/postgis-workshops/postgis-intro/sources/en/joins.rst:263: WARNING: Footnote [#] is not referenced.
/var/www/postgis-workshops/postgis-intro/sources/en/loading_data.rst:70: WARNING: Unexpected indentation.
/var/www/postgis-workshops/postgis-intro/sources/en/loading_data.rst:66: WARNING: Inline literal start-string without end-string.
/var/www/postgis-workshops/postgis-intro/sources/en/loading_data.rst:72: WARNING: Block quote ends without a blank line; unexpected unindent.
/var/www/postgis-workshops/postgis-intro/sources/en/loading_data.rst:72: WARNING: Inline literal start-string without end-string.
/var/www/postgis-workshops/postgis-intro/sources/en/loading_data.rst:72: WARNING: Inline interpreted text or phrase reference start-string without end-string.
/var/www/postgis-workshops/postgis-intro/sources/en/loading_data.rst:162: WARNING: Footnote [#] is not referenced.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [  2%] 3d
Theme error:
An error happened in rendering the page 3d.
Reason: TemplateNotFound('sphinxdoc/layout.html')
make: *** [Makefile:31: html] Error 2

comment:2 by robe, 4 years ago

Resolution: fixed
Status: newclosed

I'm guess my OS upgrades somehow blew out the templates packaged with sphinx.

Doing:

 pip install sphinx-rtd-theme

appears to have fixed the issure.

Note: See TracTickets for help on using tickets.