bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with lilypond-extra/patches/test-patches.py


From: John Mandereau
Subject: Re: Problem with lilypond-extra/patches/test-patches.py
Date: Mon, 18 Jun 2012 21:30:33 +0200

Il giorno lun, 18/06/2012 alle 19.42 +0200, David Kastrup ha scritto:
> address@hidden:/usr/local/tmp/lilypond$ 
> ../lilypond-extra/patches/test-patches.py 
> Error: non-existent directory or directory not containing a valid Git 
> repository: No section: 'source'
> Please set git_repository_dir in [source] section of the configuration file
>   or environment variable LILYPOND_GIT.
> address@hidden:/usr/local/tmp/lilypond$ echo $LILYPOND_GIT
> /usr/local/tmp/lilypond
> address@hidden:/usr/local/tmp/lilypond$ 
> 
> Commit likely responsible for that:
> 
> commit 2055c3c568acae6ef4b084af5140e9242b5d31e5
> Author: John Mandereau - LilyPond development <address@hidden>
> Date:   Mon Jun 4 15:55:10 2012 +0200
> 
>     [auto build] add timestamps in logs, format Python code and change config
>     
>     * move compile_lilypond_test.py and its submodules in a subdirectory;
>     * use a configuration variable rather than an environment variable for
>     LilyPond git repo directory;
>     * make email sender address configurable;
>     * code formatting: add space before parentheses in Python code;
>     * slightly improve exceptions logic;
>     * add timestamps in build log.

This should be fixed now.  The documentation of ConfigParser.get () is
not clear whether it raises an exception for values not set, though the
example at the end of that page demonstrated it
http://docs.python.org/library/configparser.html#configparser-objects
so I naively thought my previous code would be OK.

Sorry,
John




reply via email to

[Prev in Thread] Current Thread [Next in Thread]