[email protected]
[Top] [All Lists]

Bug#279008: marked as forwarded (gnomad2: error dialog when failing to o

Subject: Bug#279008: marked as forwarded gnomad2: error dialog when failing to open jukebox does not report the real problem
From: Debian Bug Tracking System
Date: Mon, 01 Nov 2004 10:18:09 -0800
Your message dated Mon, 1 Nov 2004 10:12:37 -0800
with message-id <[email protected]>
has caused the Debian Bug report #279008,
regarding gnomad2: error dialog when failing to open jukebox does not report 
the real problem
to be marked as having been forwarded to the upstream software
author(s) Linus Walleij <[email protected]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at 279008-forwarded) by bugs.debian.org; 1 Nov 2004 18:13:10 +0000
>From [email protected] Mon Nov 01 10:13:10 2004
Return-path: <[email protected]>
Received: from mproxy.gmail.com [] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1COgg2-00007a-00; Mon, 01 Nov 2004 10:13:10 -0800
Received: by mproxy.gmail.com with SMTP id q44so34640cwc
        for <[email protected]>; Mon, 01 Nov 2004 10:12:37 -0800 
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
Received: by with SMTP id q53mr71198cwc;
        Mon, 01 Nov 2004 10:12:37 -0800 (PST)
Received: by with HTTP; Mon, 1 Nov 2004 10:12:37 -0800 (PST)
Message-ID: <[email protected]>
Date: Mon, 1 Nov 2004 10:12:37 -0800
From: Shaun Jackman <[email protected]>
Reply-To: Shaun Jackman <[email protected]>
To: Linus Walleij <[email protected]>
Subject: gnomad2: error dialog when failing to open jukebox does not report the 
real problem
Cc: [email protected]
In-Reply-To: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/mixed; 
References: <[email protected]>
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25

Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: gnomad2
Version: 2.5.0-1
Severity: minor
Tags: patch

When a libnjb problem occurs, such as not having permission to access
the jukebox, the error dialog simply states ``Could not open jukebox''.
The real cause of the problem is printed on standard error, but this is
very easy to miss.

This patch makes the error dialog list any libnjb errors that occured.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-drlion-5
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gnomad2 depends on:
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libatk1.0-0               1.6.1-5        The ATK accessibility toolkit
ii  libbonobo2-0              2.6.2-7        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.6.1-1        The Bonobo UI library
ii  libc6                     2.3.2.ds1-18   GNU C Library: Shared libraries an
ii  libgconf2-4               2.6.4-2        GNOME configuration database syste
ii  libglib2.0-0              2.4.7-1        The GLib library of C routines
ii  libgnome2-0           The GNOME 2 library - runtime file
ii  libgnomecanvas2-0      A powerful object-oriented display
ii  libgnomeui-0       The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.6.2-2        The GNOME virtual file-system libr
ii  libgtk2.0-0               2.4.13-1       The GTK+ graphical user interface
ii  libice6                   4.3.0.dfsg.1-8 Inter-Client Exchange library
ii  libid3tag0                0.15.1b-3      ID3 tag reading library from the M
ii  libnjb0                   1.2-1          Creative Labs Nomad Jukebox librar
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.4.1-4        Layout and rendering of internatio
ii  libpopt0                  1.7-5          lib for parsing cmdline parameters
ii  libsm6                    4.3.0.dfsg.1-8 X Window System Session Management
ii  libusb-0.1-4              1:0.1.8-17     Userspace USB programming library
ii  libxml2                   2.6.11-4       GNOME XML library
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m
ii  zlib1g                    1:1.2.2-1      compression library - runtime

-- no debconf information

Content-Type: text/x-c; 
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; 

diff -cr old/gnomad2-2.5.0/src/jukebox.c new/gnomad2-2.5.0/src/jukebox.c
*** old/gnomad2-2.5.0/src/jukebox.c     2004-10-31 00:11:22.000000000 +0200
--- new/gnomad2-2.5.0/src/jukebox.c     2004-10-31 00:09:40.000000000 +0200
*** 320,327 ****
    njb = &njbs[i];
    if (NJB_Open(njb) == -1) {
!     create_error_dialog(_("Could not open jukebox"));
      return FALSE;
--- 320,343 ----
    njb = &njbs[i];
    if (NJB_Open(njb) == -1) {
!     const char *sp;
!     GString *error_string;
!     gboolean found_njb_error = FALSE;
!     error_string = g_string_new(_("Could not open jukebox:\n"));
!     njb_error_reset_geterror();
!     while ((sp = njb_error_geterror()) != NULL) {
!       found_njb_error = TRUE;
!       g_string_append_printf(error_string, "  %s\n", sp);
!     }
!     if (!found_njb_error)
!       g_string_append_printf(error_string, _("  (unknown cause)"));
!     create_error_dialog(error_string->str);
+     g_string_free(error_string, TRUE);
      return FALSE;


To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#279008: marked as forwarded (gnomad2: error dialog when failing to open jukebox does not report the real problem), Debian Bug Tracking System <=