Okay, good to know. Thanks for the support.<br><br><div class="gmail_quote">2009/5/6 Julien Jomier <span dir="ltr"><<a href="mailto:julien.jomier@kitware.com">julien.jomier@kitware.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Fabrice,<br>
<br>
There was a bug in 1.4.1 with the Build model. It's fixed in the 1.4 branch:<br>
<br>
  svn co <a href="https://www.kitware.com:8443/svn/CDash/Release-1-4" target="_blank">https://www.kitware.com:8443/svn/CDash/Release-1-4</a> CDash<br>
<br>
We are going to release the 1.4.2 patch next week. It doesn't involve any database modifications so should be very easy to upgrade.<br>
<br>
Thanks again for the report, let us know if you find any issues,<br>
Julien<br>
<br>
Fabrice wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Re,<br>
<br>
I was testing the email preference subscription "Email me when *my checkins* are breaking the dashboard" by doing Experimental builds that are not supposed to send emails, so let's forget about the empty query result.<br>


Emails sendings when breaking dashboard work now.<br>
But i had to add a line in the file cdash/sendemail.php to get GetNumberOfErrors() function to work:<br>
<br>
    @@ -92,6 +92,7 @@<br>
       // Build errors and warnings<br>
       $Build = new Build();<br>
       $Build->Id = $buildid;<br>
    +  $Build->BuildId = $buildid;          $errors['build_errors'] = $Build->GetNumberOfErrors();<br>
       $errors['build_warnings'] = $Build->GetNumberOfWarnings();<br>
<br>
<br>
Am i missing something?<br>
<br></div>
2009/5/5 Julien Jomier <<a href="mailto:julien.jomier@kitware.com" target="_blank">julien.jomier@kitware.com</a> <mailto:<a href="mailto:julien.jomier@kitware.com" target="_blank">julien.jomier@kitware.com</a>>><div class="im">

<br>
<br>
    Hi Fabrice,<br>
<br>
    The 'add_last_sql_error' function only prints out in the log if the<br>
    SQL query returns an error. Could you check if the updatefile table<br>
    as an author for the given buildid?<br>
<br>
    You can use add_log('text','function') to write directly into the logs.<br>
<br>
    Julien<br>
<br>
    Fabrice wrote:<br>
<br>
        Hello all,<br>
<br>
        My CDash version is 1.4.1.<br>
        I'm trying to find why i don't receive any emails when my<br>
        checkins are breaking the dashboard.<br>
        I have added some log statements in the source code and i think<br>
        i've targeted the problem in 'function lookup_emails_to_send()' :<br>
<br>
           $authors = pdo_query("SELECT author FROM updatefile WHERE<br>
           buildid=".qnum($buildid));<br>
           add_last_sql_error("sendmail");<br>
<br>
<br>
        The result of the query is empty in my case.<br>
<br>
        I can't help to notice the add_last_sql_error("sendmail") call<br>
        just after the query. I don't know what it's for as nothing<br>
        appear in the cdash.log file.<br>
        Is there some other log file containing all the mysql queries<br>
        that have failed?<br>
<br>
        Thanks for your help<br>
<br>
<br>
        ------------------------------------------------------------------------<br>
<br>
        _______________________________________________<br>
        Cdash mailing list<br></div>
        <a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a> <mailto:<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a>><div class="im"><br>
        <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
<br>
<br>
</div></blockquote>
</blockquote></div><br>