Package: colorhug-client
Version: 0.1.11-1
Severity: serious
Usertags: debian-packaging

Hi there!

After having got access to my ColorHug (see #697364), I followed the
instructions provided by the producer and got some errors:
=====
$ colorhug-cmd set-leds 1 5 200 200 && echo OK
OK

$ colorhug-flash && echo OK
**
Ch:ERROR:ch-flash.c:1366:ch_flash_startup_cb: assertion failed: (pixbuf != NULL)
Aborted
=====

I have also tried with the version in experimental (0.1.12-1), with the
same failures.  BTW, upstream has released 0.1.13:

  <https://gitorious.org/colorhug/client/trees/COLORHUG_CLIENT_0_1_13>

The error is generated from the code below:

--8<---------------cut here---------------start------------->8---
        /* setup USB image */
        widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, 
"image_usb"));
        pixbuf = gdk_pixbuf_new_from_file_at_scale (CH_DATA
                                                    G_DIR_SEPARATOR_S "icons"
                                                    G_DIR_SEPARATOR_S "usb.svg",
                                                    -1, 48, TRUE, &error);
        g_assert (pixbuf != NULL);
--8<---------------cut here---------------end--------------->8---

However, /usr/share/colorhug-client/icons/usb.svg exist and it is
accessible, as strace shown.

Since on my real sid I use 'APT::Install-Recommends "false"' and
colorhug-flash started finely on a chroot with recommends on, I started
checking the different packages.  What helped me was:

  <https://bugs.launchpad.net/ubuntu/+source/gdk-pixbuf/+bug/779665>

Indeed, libpixbufloader-svg.so is shipped by librsvg2-common: installing
it on my real sid solved the error.

I will provide a Git patch as soon as this bug gets its number.  IMHO
this deserves a wheezy unblock, I will be glad to do an NMU and contact
the RM, if needed.

Thx, bye,
Gismo / Luca

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages colorhug-client depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.12.1-3
ii  libatk1.0-0                                  2.4.0-2
ii  libc6                                        2.13-38
ii  libcairo-gobject2                            1.12.2-2
ii  libcairo2                                    1.12.2-2
ii  libcanberra-gtk3-0                           0.28-6
ii  libcanberra0                                 0.28-6
ii  libcolord1                                   0.1.21-4
ii  libcolorhug1                                 0.1.11-1
ii  libgdk-pixbuf2.0-0                           2.26.1-1
ii  libglib2.0-0                                 2.33.12+really2.32.4-3
ii  libgtk-3-0                                   3.4.2-4
ii  libgusb2                                     0.1.3-5
ii  libpango1.0-0                                1.30.0-1
ii  libsoup2.4-1                                 2.38.1-2
ii  libusb-1.0-0                                 2:1.0.12-2

colorhug-client recommends no packages.

Versions of packages colorhug-client suggests:
pn  argyll               <none>
pn  gnome-color-manager  <none>

-- no debconf information

Attachment: pgp7VxFNgXqPw.pgp
Description: PGP signature

Reply via email to