Re: broken GUB doc

2012-03-04 Thread Phil Holmes
- Original Message - 
From: Graham Percival gra...@percival-music.ca

To: lilypond-devel@gnu.org
Sent: Saturday, March 03, 2012 7:26 PM
Subject: broken GUB doc



At some point in the build, it dies with this:


.git-release-unstable/out-www/online-root/ .
Instrumenting for Google Analytics
Documentation/web/index.html
Documentation/changes/index.html
Documentation/notation/index.html
Documentation/internals/index.html
Traceback (most recent call last):
 File test-lily/rsync-lily-doc.py, line 225, in module
   main ()
 File test-lily/rsync-lily-doc.py, line 219, in main
   create_local_web_dir (opts, a)
 File test-lily/rsync-lily-doc.py, line 126, in
create_local_web_dir
   do_urchin (f)
 File test-lily/rsync-lily-doc.py, line 72, in do_urchin
   s = open (filename).read ()
IOError: [Errno 2] No such file or directory: 'examples.html'
make[3]: *** [unlocked-doc-export] Error 1
make[3]: Leaving directory `/main/src/gub'



OK.  This pretty much looks like a side effect of 
http://codereview.appspot.com/5696073/ which stops creating a file called 
examples.html.  I'll have a look at rsync-lily-doc.py to see what it's 
trying to do with that file.


--
Phil Holmes



___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: broken GUB doc

2012-03-04 Thread Phil Holmes

Patch attached.

--
Phil Holmes


0001-Removes-examples.html-from-rsynched-files.patch
Description: Binary data
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: broken GUB doc

2012-03-04 Thread Graham Percival
On Sun, Mar 04, 2012 at 11:36:37AM -, Phil Holmes wrote:
 Patch attached.

Thanks, pushed.

- Graham

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: broken GUB doc

2012-03-03 Thread David Kastrup
Graham Percival gra...@percival-music.ca writes:

 At some point in the build, it dies with this:


 .git-release-unstable/out-www/online-root/ .
 Instrumenting for Google Analytics
 Documentation/web/index.html
 Documentation/changes/index.html
 Documentation/notation/index.html
 Documentation/internals/index.html
 Traceback (most recent call last):
   File test-lily/rsync-lily-doc.py, line 225, in module
 main ()
   File test-lily/rsync-lily-doc.py, line 219, in main
 create_local_web_dir (opts, a)
   File test-lily/rsync-lily-doc.py, line 126, in
 create_local_web_dir
 do_urchin (f)
   File test-lily/rsync-lily-doc.py, line 72, in do_urchin
 s = open (filename).read ()
 IOError: [Errno 2] No such file or directory: 'examples.html'
 make[3]: *** [unlocked-doc-export] Error 1
 make[3]: Leaving directory `/main/src/gub'

Interesting in so far as the last doc builds in the course of patchy
were successful.

I have
/tmp/lilypond-autobuild/build/out-www/offline-root

But nothing looking like online-root:
dak@lola:/tmp/lilypond-autobuild$ find -name online-root
dak@lola:/tmp/lilypond-autobuild$

But

dak@lola:/tmp/lilypond-autobuild$ find -name examples.html -ls
2890093   16 -rw-rw-r--   2 dak  dak 13010 Mar  3 20:22 
./build/Documentation/es/out-www/web/examples.html
2890743   12 -rw-rw-r--   2 dak  dak 12139 Mar  3 20:24 
./build/Documentation/it/out-www/web/examples.html
2890034   16 -rw-rw-r--   2 dak  dak 12381 Mar  3 20:21 
./build/Documentation/de/out-www/web/examples.html
2890380   12 -rw-rw-r--   2 dak  dak 11818 Mar  3 20:23 
./build/Documentation/hu/out-www/web/examples.html
28913438 -rw-rw-r--   2 dak  dak  5441 Mar  3 20:27 
./build/Documentation/zh/out-www/web/examples.html
2891192   12 -rw-rw-r--   2 dak  dak 12036 Mar  3 20:27 
./build/Documentation/nl/out-www/web/examples.html
2889984   16 -rw-rw-r--   2 dak  dak 12427 Mar  3 20:20 
./build/Documentation/cs/out-www/web/examples.html
2889933   12 -rw-rw-r--   1 dak  dak 11831 Mar  3 20:20 
./build/Documentation/out-www/web/examples.html
2890905   16 -rw-rw-r--   2 dak  dak 13050 Mar  3 20:26 
./build/Documentation/ja/out-www/web/examples.html
2890144   16 -rw-rw-r--   2 dak  dak 13062 Mar  3 20:23 
./build/Documentation/fr/out-www/web/examples.html
2903848   16 -rw-rw-r--   1 dak  dak 12397 Mar  3 20:28 
./build/out-www/offline-root/Documentation/web/examples.html

Hm.

-- 
David Kastrup


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: broken GUB doc

2012-03-03 Thread David Kastrup
Graham Percival gra...@percival-music.ca writes:

 At some point in the build, it dies with this:


 .git-release-unstable/out-www/online-root/ .
 Instrumenting for Google Analytics
 Documentation/web/index.html
 Documentation/changes/index.html
 Documentation/notation/index.html
 Documentation/internals/index.html
 Traceback (most recent call last):
   File test-lily/rsync-lily-doc.py, line 225, in module
 main ()
   File test-lily/rsync-lily-doc.py, line 219, in main
 create_local_web_dir (opts, a)
   File test-lily/rsync-lily-doc.py, line 126, in
 create_local_web_dir
 do_urchin (f)
   File test-lily/rsync-lily-doc.py, line 72, in do_urchin
 s = open (filename).read ()
 IOError: [Errno 2] No such file or directory: 'examples.html'
 make[3]: *** [unlocked-doc-export] Error 1
 make[3]: Leaving directory `/main/src/gub'


 - Graham

I have

@subheading Actual release

@enumerate

@item If you're not the right user on the webserver, remove the
@code{t} from the rsync command in:

@example
test-lily/rsync-lily-doc.py
test-lily/rsync-test.py
@end example


Have you tried doing the release as the right user on the webserver?

-- 
David Kastrup


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: broken GUB doc

2012-03-03 Thread Graham Percival
On Sat, Mar 03, 2012 at 09:08:46PM +0100, David Kastrup wrote:
 Graham Percival gra...@percival-music.ca writes:
 
File test-lily/rsync-lily-doc.py, line 225, in module
 
 Interesting in so far as the last doc builds in the course of patchy
 were successful.

Those are the lilypond make doc, not the GUB make doc.  If you're
interested in fixing this, take a look at
test-lily/rsync-lily-doc.py in GUB.

- Graham

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: broken GUB doc

2012-03-03 Thread Graham Percival
On Sat, Mar 03, 2012 at 09:15:46PM +0100, David Kastrup wrote:
 @item If you're not the right user on the webserver, remove the
 @code{t} from the rsync command in:
 
 Have you tried doing the release as the right user on the webserver?

That's only relevant for the upload.  Despite the rsync in the
name of the failing script, it's just doing a local rsync, not
uploading anything.

- Graham

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: broken GUB doc

2012-03-03 Thread David Kastrup
Graham Percival gra...@percival-music.ca writes:

 On Sat, Mar 03, 2012 at 09:08:46PM +0100, David Kastrup wrote:
 Graham Percival gra...@percival-music.ca writes:
 
File test-lily/rsync-lily-doc.py, line 225, in module
 
 Interesting in so far as the last doc builds in the course of patchy
 were successful.

 Those are the lilypond make doc, not the GUB make doc.  If you're
 interested in fixing this, take a look at
 test-lily/rsync-lily-doc.py in GUB.

Well, the question is why its behavior would have bothered changing.
Sure it is not a problem of user identity, or a parallel build, or user
quota?

When looking at the changes since last release with

git log release/2.15.31-1..origin/release/unstable --graph --decorate --stat

I get (in the context of build system relevant files) not more than

* commit 8bfdda40f3444df7f94f32ebc79e0ccd9695949a
| Author: Phil Holmes m...@philholmes.net
| Date:   Sat Feb 25 16:53:34 2012 +
| 
| More reductions in make doc
| 
| Pushes the output from making midi .ly files and ly-examples to logfiles.
| 
|  Documentation/ly-examples/GNUmakefile |2 +-
|  make/midi-rules.make  |2 +-
|  2 files changed, 2 insertions(+), 2 deletions(-)
|  
* commit dd6232b71b9d1b1cfd6938608e6583fe54f93004
| Author: Phil Holmes m...@philholmes.net
| Date:   Sat Feb 25 15:23:29 2012 +
| 
| Removes mutopia-index.py processing
| 
|  GNUmakefile.in |5 +-
|  scripts/build/mutopia-index.py |  197 ---
|  2 files changed, 1 insertions(+), 201 deletions(-)
|  
* commit 55d9ad39acee4288ee0d36230f70110b02546ab3
| Author: Graham Percival gra...@percival-music.ca
| Date:   Wed Feb 29 15:59:44 2012 +
| 
| Release: bump version.
| 
|  VERSION |4 ++--
|  1 files changed, 2 insertions(+), 2 deletions(-)
|  
* commit 4493eb4584f92123ebacf51541ace8c0e20f5e5a
| Merge: 2411d0e ea270d9
| Author: Graham Percival gra...@percival-music.ca
| Date:   Wed Feb 29 15:59:33 2012 +
| 
| Merge branch 'release/unstable' into HEAD
|  
* commit 2411d0e11c5ca03997122c905bc2e58ea6a8682e
  Author: Janek WarchoĊ‚ janek.lilyp...@gmail.com
  Date:   Sat Feb 25 08:11:10 2012 +0100
  
  CG: Use latest convert-ly for LSR updates (fix 2346)
  
  Suggested by Thomas Morley:
  Use convert-ly from latest development release for LSR updates
  
   Documentation/contributor/lsr-work.itexi |   25 +
   1 files changed, 25 insertions(+), 0 deletions(-)


And all that does not really seem related.

-- 
David Kastrup


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: broken GUB doc

2012-03-03 Thread Graham Percival
On Sat, Mar 03, 2012 at 09:34:54PM +0100, David Kastrup wrote:
 Well, the question is why its behavior would have bothered changing.
 Sure it is not a problem of user identity, or a parallel build, or user
 quota?
 
 * commit dd6232b71b9d1b1cfd6938608e6583fe54f93004
 | Author: Phil Holmes m...@philholmes.net
 | Date:   Sat Feb 25 15:23:29 2012 +
 | 
 | Removes mutopia-index.py processing
 | 
 |  GNUmakefile.in |5 +-

Yes, and this commit contains:
-WWW-post: $(top-build-dir)/.htaccess $(outdir)/examples.html
$(WEB_ROOT_FILES)
+WWW-post: $(top-build-dir)/.htaccess $(WEB_ROOT_FILES)
...
-$(outdir)/examples.html: $(WEB_EXAMPLE_FILES)
-   $(buildscript-dir)/mutopia-index -o
$(outdir)/examples.html input/

(the above may have a few extra linebreaks due to email
formatting; if in doubt, look at the commit in your local git
history)


The GUB error was:
IOError: [Errno 2] No such file or directory: 'examples.html'


See the similarity?

- Graham

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: broken GUB doc

2012-03-03 Thread David Kastrup
Graham Percival gra...@percival-music.ca writes:

 On Sat, Mar 03, 2012 at 09:34:54PM +0100, David Kastrup wrote:
 Well, the question is why its behavior would have bothered changing.
 Sure it is not a problem of user identity, or a parallel build, or user
 quota?
 
 * commit dd6232b71b9d1b1cfd6938608e6583fe54f93004
 | Author: Phil Holmes m...@philholmes.net
 | Date:   Sat Feb 25 15:23:29 2012 +
 | 
 | Removes mutopia-index.py processing
 | 
 |  GNUmakefile.in |5 +-

 Yes, and this commit contains:
 -WWW-post: $(top-build-dir)/.htaccess $(outdir)/examples.html
 $(WEB_ROOT_FILES)
 +WWW-post: $(top-build-dir)/.htaccess $(WEB_ROOT_FILES)
 ...
 -$(outdir)/examples.html: $(WEB_EXAMPLE_FILES)
 - $(buildscript-dir)/mutopia-index -o
   $(outdir)/examples.html input/

 (the above may have a few extra linebreaks due to email
 formatting; if in doubt, look at the commit in your local git
 history)


 The GUB error was:
 IOError: [Errno 2] No such file or directory: 'examples.html'


 See the similarity?

No more questions, your honor.  Looking at that would have been the
logical next step (after all, there is little point in checking commits
without files that could make a difference), but for now I just went
believing the commit message.

-- 
David Kastrup

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel