tomboy help content not available

Bug #667736 reported by Adi Roiban
64
This bug affects 10 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
Medium
Chris Van Hoof
Natty
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned
tomboy (Ubuntu)
Fix Released
Medium
Ayan George
Natty
Fix Released
Medium
Ayan George

Bug Description

SRU Justificaiton
-----------------

Impact:

This bug prevents users to utilize the tomboy notes help feature. This bug is masked if you have the gtk development libraries because the library it installs satisfies mono's built-in library mapping heuristics.

Fix:

The default tomboy dllmap file must be changed to properly associate libglib-2.0.dll to libglib-2.0.so.0.

Patch:

Attached to this bug is a patch that implements the fix. This patch applies to the 1.6.0 version of tomboy notes.

Regression Potential:

There should be very little potential for regression.

TEST CASE:

* On a nearly fresh install of natty, run tomboy notes. You must not have libgtk-dev installed.
* Activate the notes panel icon and select help.

You should see a dialog that says, 'The "Tomboy Notes Manual" could not be found. Please verify that your installation has been completed fully.'

Binary package hint: tomboy

If I choose the "Help" item from the Tomboy menu I get an error message that the help was not found.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: tomboy 1.4.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Thu Oct 28 14:33:36 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100923)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: tomboy

Revision history for this message
Adi Roiban (adiroiban) wrote :
Robert Roth (evfool)
Changed in tomboy (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Roth (evfool) wrote :

On Natty, alias 11.04 with Tomboy 1.5.2 this issue is gone, the help appears as expected.

Revision history for this message
Greg A (etulfetulf) wrote :

Unlike Robert I still see this on Natty. Additionally clicking on the Tomboy Indicator Applet and then Help produces the same error.

Version: 1.5.2-1ubuntu4

Revision history for this message
Greg A (etulfetulf) wrote :
Revision history for this message
Chris Van Hoof (vanhoof) wrote :

@Ayan -- Mind taking a look at this one to see what the culprit might be? This is reproducible on Natty fully updated.

Changed in oem-priority:
assignee: nobody → Chris Van Hoof (vanhoof)
status: New → Confirmed
Changed in tomboy (Ubuntu):
assignee: nobody → Ayan George (ayan)
Changed in oem-priority:
importance: Undecided → Low
importance: Low → Medium
Changed in tomboy (Ubuntu):
importance: Undecided → Medium
status: Confirmed → New
Revision history for this message
Ayan George (ayan) wrote :

I've verified this bug under a fresh install of Natty.

It appears to be a library mapping.

If you run tomboy with debug flag (by setting TOMBOY_TRACE), you see that DllNotFoundException is thrown when you try to open help:

ayan@sierra:~$ export TOMBOY_TRACE=true
ayan@sierra:~$ tomboy
** Running Mono with --debug --trace=true **
[0x7f9c3e8e8760:] EXCEPTION handling: ArgumentException
[0x7f9c3e8e8760:] EXCEPTION handling: ArgumentException
[0x7f9c3e8e8760:] EXCEPTION handling: GException
[INFO 04:39:53.669] Initializing Mono.Addins
[0x7f9c3e8e8760:] EXCEPTION handling: DllNotFoundException

strace shows that this happens after trying to open libglib-2.0.dll.la:

open("libglib-2.0.dll.la", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "[0x7f9aa0ffe760:] EXCEPTION handling: DllNotFoundException\n", 59) = 59

I think mono tries to resolve this by looking for libglib-2.0.so which is in the ldconfig cache:

ayan@sierra:~$ ldconfig -p | grep libglib-2.0
 libglib-2.0.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libglib-2.0.so.0
 libglib-2.0.so.0 (libc6) => /lib32/libglib-2.0.so.0
 libglib-2.0.so (libc6) => /lib32/libglib-2.0.so

So it should work!

http://www.mono-project.com/DllNotFoundException has good debugging information. I'll continue to debug.

Revision history for this message
Ayan George (ayan) wrote :

Adding the following line to /etc/mono/config is a work-around. I'm not sure if it is the right thing to do however:

        <dllmap dll="glib-2.0.dll" target="libglib-2.0.so.0" os="!windows"/>

Ayan George (ayan)
Changed in tomboy (Ubuntu):
status: New → Fix Released
Revision history for this message
Ayan George (ayan) wrote :
Ayan George (ayan)
Changed in tomboy (Ubuntu Natty):
assignee: nobody → Ayan George (ayan)
Ayan George (ayan)
Changed in tomboy (Ubuntu Natty):
importance: Undecided → Medium
Ayan George (ayan)
Changed in tomboy (Ubuntu Natty):
status: New → Fix Released
status: Fix Released → In Progress
Ayan George (ayan)
description: updated
Revision history for this message
Iain Lane (laney) wrote :

Uploaded into natty-proposed/unapproved. Thanks for your contribution. I made 3 small fixes to the changelog.

  - target natty-proposed instead of natty
  - explain the additional BDs you added
  - Add (LP: #667736) so that the upload closes this bug

Changed in tomboy (Ubuntu Natty):
status: In Progress → Triaged
Revision history for this message
Chris Halse Rogers (raof) wrote :

SRU team ack. Please accept the more recent upload (with appropriate LP foo) into natty-proposed and reject the other upload.

Note that this class of bugs should be caught during package build with the new cli-common 0.8 in Oneiric, so we should be seeing fewer of these problems from now on.

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Adi, or anyone else affected,

Accepted tomboy into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in tomboy (Ubuntu Natty):
status: Triaged → Fix Committed
tags: added: verification-needed
Chris Van Hoof (vanhoof)
Changed in oem-priority:
status: Confirmed → Fix Committed
Chris Van Hoof (vanhoof)
summary: - help content not available
+ tomboy help content not available
Revision history for this message
Chris Van Hoof (vanhoof) wrote :

Confirmed this fixes things up by enabling proposed and installing tomboy on Natty

tags: added: testcase
Chris Van Hoof (vanhoof)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomboy - 1.6.0-0ubuntu4

---------------
tomboy (1.6.0-0ubuntu4) natty-proposed; urgency=low

  * debian/patches/01_dllmaps.patch:
    - Tomboy/Tomboy.exe.config.in: Corrected the libglib dllmap entry
      to resolve correctly. (LP: #667736)
  * debian/control:
    - Add missing Build-Depends on libsyncdaemon and libproxy so that the
      shlibs can be resolved to proper dependencies.
 -- Ayan George <email address hidden> Tue, 28 Jun 2011 12:44:15 -0400

Changed in tomboy (Ubuntu Natty):
status: Fix Committed → Fix Released
Chris Van Hoof (vanhoof)
Changed in oem-priority:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.