Bug#740881: gtimer: error generating monthly report

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#740881: gtimer: error generating monthly report

Dmitry Mikhirev
Package: gtimer
Version: 2.0.0-1.1
Severity: normal
Tags: upstream patch

Dear Maintainer,

There is a mistype in code that leads to error generating monthly report. It
occurs when selecting menu item Report -> Monthly... The dialog does not open
and the console output is:

    Gtimer: Unknown report (RT_Monthly)!

The patch to fix this issue is attached.



-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (990, 'stable'), (900, 'proposed-updates'), (800, 'stable'),
(400, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gtimer depends on:
ii  libatk1.0-0         2.4.0-2
ii  libc6               2.13-38+deb7u1
ii  libcairo2           1.12.2-3
ii  libfontconfig1      2.9.0-7.1
ii  libfreetype6        2.4.9-1.1
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-0        2.33.12+really2.32.4-5
ii  libgtk2.0-0         2.24.10-2
ii  libpango1.0-0       1.30.0-1
ii  libx11-6            2:1.5.0-1+deb7u1
ii  libxext6            2:1.3.1-2+deb7u1
ii  libxss1             1:1.2.2-1

gtimer recommends no packages.

Versions of packages gtimer suggests:
ii  chromium [www-browser]   32.0.1700.123-1~deb7u1
ii  dillo [www-browser]      3.0.2-2
ii  iceweasel [www-browser]  24.3.0esr-1~deb7u1
ii  midori [www-browser]     0.4.3+dfsg-0.1
ii  w3m [www-browser]        0.5.3-8




*** /home/mikhirev/src/gtimer-2.0.0/debian/patches/monthly_report.patch
--- a/main.c
+++ b/main.c
@@ -1362,7 +1362,7 @@
   const TTarray acts[] = {
        {"RM_Daily", REPORT_TYPE_DAILY},
        {"RM_Weekly", REPORT_TYPE_WEEKLY},
-       {"RM_MOnthly", REPORT_TYPE_MONTHLY},
+       {"RM_Monthly", REPORT_TYPE_MONTHLY},
        {"RM_Yearly", REPORT_TYPE_YEARLY}

monthly_report.patch (342 bytes) Download Attachment