[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.49-82-g7e76d1d

Andreas Beckmann anbe at debian.org
Sat Feb 23 10:48:31 UTC 2013


The following commit has been merged in the develop branch:
commit 4149dd7fca8f94fdc7b3ad4fa137eb7d0017d105
Author: Andreas Beckmann <anbe at debian.org>
Date:   Thu Feb 21 22:45:47 2013 +0100

    p-r: call r.dev_off() after plot is finished
    
    otherwise the gs processes started by rpy stay around until
    piuparts-report has finished and will generate the plots at that moment
    (and there seems to be a limit of 62 pending plots that way ...)
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/debian/changelog b/debian/changelog
index 44bfcaa..5428557 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,7 @@ piuparts (0.50) UNRELEASED; urgency=low
   * piuparts-analyze.py:
     - Add support for magic "$DISTRO/None" versions.
   * piuparts-report.py:
+    - Call r.dev_off() after generating a plot.  (Closes: #657799)
   * Makefile:
     - Add DESTDIR support.
     - Perform syntax check on *.py before installation.
diff --git a/piuparts-report.py b/piuparts-report.py
index ab84c56..f1942ac 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -1037,6 +1037,7 @@ class Section:
           main="Binary packages per state in '+self._config.section+'", \
           xlab="", ylab="Number of binary packages", space=0.1, border=0)')
         r('legend(x="bottom",legend=colnames(t), ncol=2,fill=1:13,xjust=0.5,yjust=0,bty="n")')
+        r.dev_off()
 
         stats_html = "<tr class=\"normalrow\"> " \
                      + "<td class=\"contentcell2\" colspan=\"3\">" \

-- 
piuparts git repository



More information about the Piuparts-commits mailing list