Page MenuHomeLubuntu Development

Fix latest errors in manual building on prod
Closed, ResolvedPublic

Description

These commands are automatically ran by cron. I did a manual build to check things out after the upgrade to 20.04. We had hopped from Sphinx 1.6.7 to 1.8.5 on prod, so maybe it has something to do with it. Here's the full output:

ubuntu@manual:~$ (cd /srv/manual.lubuntu.me/lts/ && git pull && make serverbuild)
Already up to date.
# These translations are added manually when they get to the point
# where they're decent. Only add them there when that's the case!
#sphinx-build -b html -d build/doctrees   source -D language="pl" ../webroot/pl.tmp/
#rm -rf ../webroot/pl/
#mv ../webroot/pl.tmp/ ../webroot/pl/
sphinx-build -b html -d build/doctrees   source /srv/webroot/lts.tmp/
Running Sphinx v1.8.5
loading translations [en]... done
making output directory...
loading pickled environment... failed: build environment version not current
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 87 source files that are out of date
updating environment: 87 added, 0 changed, 0 removed
reading sources... [100%] index                                                                                                                                                                                                             
/srv/manual.lubuntu.me/lts/source/1/1.1/retrieving_the_image.rst:44: WARNING: Inline emphasis start-string without end-string.
/srv/manual.lubuntu.me/lts/source/2/2.1/2.1.5/trojita.rst:39: WARNING: image file not readable: 2/2.1/2.1.5/Trojita.png
source/F/openbox_keyboard.rst:40: WARNING: Malformed table.
Text in column margin in table line 5.                                                                                                                                                                                                      
                                                                                                                                                                                                                                            
============================= ========================                                                                                                                                                                                      
                                                                                                                                                                                                                                            
Close                         A-F4                                                                                                                                                                                                          
                                                                                                                                                                                                                                            
Lower (minimise)           A-Escape                                                                                                                                                                                                         
                                                                                                                                                                                                                                            
ShowMenu                      A-space                                                                                                                                                                                                       
                                                                                                                                                                                                                                            
============================= ========================                                                                                                                                                                                      
/srv/manual.lubuntu.me/lts/source/F/openbox_keyboard.rst:40: WARNING: Malformed table.
Text in column margin in table line 5.                                                                                                                                                                                                      
                                                                                                                                                                                                                                            
============================= ========================                                                                                                                                                                                      
                                                                                                                                                                                                                                            
Close                         A-F4                                                                                                                                                                                                          
                                                                                                                                                                                                                                            
Lower (minimise)           A-Escape                                                                                                                                                                                                         
                                                                                                                                                                                                                                            
ShowMenu                      A-space                                                                                                                                                                                                       
                                                                                                                                                                                                                                            
============================= ========================                                                                                                                                                                                      
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] index                                                                                                                                                                                                              
generating indices... genindex
writing additional pages... search
copying images... [100%] E/live_session.png                                                                                                                                                                                                 
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 4 warnings.

The HTML pages are in ../../webroot/lts.tmp.
rm -rf /srv/webroot/lts/
mv /srv/webroot/lts.tmp/ /srv/webroot/lts/
ubuntu@manual:~$ (cd /srv/manual.lubuntu.me/stable/ && git pull && make serverbuild)
Already up to date.
# These translations are added manually when they get to the point
# where they're decent. Only add them there when that's the case!
#sphinx-build -b html -d build/doctrees   source -D language="pl" ../webroot/pl.tmp/
#rm -rf ../webroot/pl/
#mv ../webroot/pl.tmp/ ../webroot/pl/
sphinx-build -b html -d build/doctrees   source /srv/webroot/stable.tmp/
Running Sphinx v1.8.5
loading translations [en]... done
making output directory...
loading pickled environment... failed: build environment version not current
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 87 source files that are out of date
updating environment: 87 added, 0 changed, 0 removed
reading sources... [100%] index                                                                                                                                                                                                             
/srv/manual.lubuntu.me/stable/source/1/1.1/retrieving_the_image.rst:44: WARNING: Inline emphasis start-string without end-string.
/srv/manual.lubuntu.me/stable/source/2/2.1/2.1.5/trojita.rst:39: WARNING: image file not readable: 2/2.1/2.1.5/Trojita.png
source/F/openbox_keyboard.rst:40: WARNING: Malformed table.
Text in column margin in table line 5.                                                                                                                                                                                                      
                                                                                                                                                                                                                                            
============================= ========================                                                                                                                                                                                      
                                                                                                                                                                                                                                            
Close                         A-F4                                                                                                                                                                                                          
                                                                                                                                                                                                                                            
Lower (minimise)           A-Escape                                                                                                                                                                                                         
                                                                                                                                                                                                                                            
ShowMenu                      A-space                                                                                                                                                                                                       
                                                                                                                                                                                                                                            
============================= ========================                                                                                                                                                                                      
/srv/manual.lubuntu.me/stable/source/F/openbox_keyboard.rst:40: WARNING: Malformed table.
Text in column margin in table line 5.                                                                                                                                                                                                      
                                                                                                                                                                                                                                            
============================= ========================                                                                                                                                                                                      
                                                                                                                                                                                                                                            
Close                         A-F4                                                                                                                                                                                                          
                                                                                                                                                                                                                                            
Lower (minimise)           A-Escape                                                                                                                                                                                                         
                                                                                                                                                                                                                                            
ShowMenu                      A-space                                                                                                                                                                                                       
                                                                                                                                                                                                                                            
============================= ========================                                                                                                                                                                                      
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] index                                                                                                                                                                                                              
generating indices... genindex
writing additional pages... search
copying images... [100%] E/live_session.png                                                                                                                                                                                                 
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 4 warnings.

The HTML pages are in ../../webroot/stable.tmp.
rm -rf /srv/webroot/stable/
mv /srv/webroot/stable.tmp/ /srv/webroot/stable/
ubuntu@manual:~$ (cd /srv/manual.lubuntu.me/master/ && git pull && make serverbuild)
Already up to date.
# These translations are added manually when they get to the point
# where they're decent. Only add them there when that's the case!
#sphinx-build -b html -d build/doctrees   source -D language="pl" ../webroot/pl.tmp/
#rm -rf ../webroot/pl/
#mv ../webroot/pl.tmp/ ../webroot/pl/
sphinx-build -b html -d build/doctrees   source /srv/webroot/master.tmp/
Running Sphinx v1.8.5
loading translations [en]... done
making output directory...
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 87 source files that are out of date
updating environment: [] 0 added, 1 changed, 0 removed
reading sources... [100%] 2/2.1/2.1.5/trojita                                                                                                                                                                                               
/srv/manual.lubuntu.me/master/source/2/2.1/2.1.5/trojita.rst:39: WARNING: image file not readable: 2/2.1/2.1.5/Trojita.png
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] index                                                                                                                                                                                                              
generating indices... genindex
writing additional pages... search
copying images... [100%] E/live_session.png                                                                                                                                                                                                 
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 1 warning.

The HTML pages are in ../../webroot/master.tmp.
rm -rf /srv/webroot/master/
mv /srv/webroot/master.tmp/ /srv/webroot/master/