GNU bug report logs - #29227
Gourmet crashes

Previous Next

Package: guix;

Reported by: Caleb Herbert <csh <at> bluehome.net>

Date: Thu, 9 Nov 2017 16:20:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29227 in the body.
You can then email your comments to 29227 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#29227; Package guix. (Thu, 09 Nov 2017 16:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Caleb Herbert <csh <at> bluehome.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 09 Nov 2017 16:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Caleb Herbert <csh <at> bluehome.net>
To: bug-guix <at> gnu.org
Subject: Gourmet crashes
Date: Thu, 09 Nov 2017 10:18:54 -0600
[Message part 1 (text/plain, inline)]
Gourmet crashed.

Description:	Trisquel GNU/Linux 7.0, Belenos
guix (GNU Guix) bb27eb0dbfa27d4aeb7525ee5ef70f624506af0b
/gnu/store/d0gp66bh3d7bqci8psgr8w6vpsw9hg8a-profile/bin/gourmet

Log:

        Script started on Wed 08 Nov 2017 02:21:42 AM CST
        cal <at> leela:~/Desktop$ which gourmet
        /gnu/store/d0gp66bh3d7bqci8psgr8w6vpsw9hg8a-profile/bin/gourmet
        cal <at> leela:~/Desktop$ gourmet
        
        ** (process:12494): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
        
        ** (process:12494): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
        
        ** (process:12494): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        
        (.gourmet-real:12494): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
        Traceback (most recent call last):
          File "/gnu/store/mfnwbma7cp23dcjxhq2h246ka964082g-gourmet-0.17.4/bin/.gourmet-real", line 16, in <module>
            from gourmet import GourmetRecipeManager
          File "/gnu/store/mfnwbma7cp23dcjxhq2h246ka964082g-gourmet-0.17.4/lib/python2.7/site-packages/gourmet/__init__.py", line 5, in <module>
            import gglobals
          File "/gnu/store/mfnwbma7cp23dcjxhq2h246ka964082g-gourmet-0.17.4/lib/python2.7/site-packages/gourmet/gglobals.py", line 174, in <module>
            add_icon(os.path.join(imagedir,filename),stock_id,label,modifier,keyval)
          File "/gnu/store/mfnwbma7cp23dcjxhq2h246ka964082g-gourmet-0.17.4/lib/python2.7/site-packages/gourmet/gglobals.py", line 159, in add_icon
            pb = gtk.gdk.pixbuf_new_from_file(file_name)
        glib.GError: Failed to open file 'gnu/store/mfnwbma7cp23dcjxhq2h246ka964082g-gourmet-0.17.4/share/gourmet/images/AddToShoppingList.png': No such file or directory
        cal <at> leela:~/Desktop$ exit
        exit
        
        Script done on Wed 08 Nov 2017 02:21:56 AM CST

I don't know what other information I could collect that would be
helpful, but if there is, I'll report it.

-- 
Caleb Herbert
http://bluehome.net/csh/pubkey
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29227; Package guix. (Sun, 17 Dec 2017 13:16:01 GMT) Full text and rfc822 format available.

Message #8 received at 29227 <at> debbugs.gnu.org (full text, mbox):

From: Mark Meyer <mark <at> ofosos.org>
To: 29227 <at> debbugs.gnu.org
Subject: Broken installation
Date: Sun, 17 Dec 2017 14:15:55 +0100
Hi,
does the following patch resolve the issue for you? This does two
things:

  - fix up the install phase to set the correct paths in settings.py
  - add python-lxml as an input to fix another plugin

There is one remaining problem:

  ImportError: No module named BeautifulSoup
  WARNING: Failed to load plugin web_import_plugin

So this particular plugin won't work. I didn't look deeply into this,
but I think this is due to referencing a very old version of
beautifulsoup, which is not currently packages, the current
BeautifulSoup4 version uses 'bs4' as a module path, while the import
states

  import BeatifulSoup

So, I'd rather skip that plugin for now.

Cheers, Mark

-- 
  Mark Meyer
  mark <at> ofosos.org




Information forwarded to bug-guix <at> gnu.org:
bug#29227; Package guix. (Sun, 17 Dec 2017 13:18:02 GMT) Full text and rfc822 format available.

Message #11 received at 29227 <at> debbugs.gnu.org (full text, mbox):

From: Mark Meyer <mark <at> ofosos.org>
To: 29227 <at> debbugs.gnu.org
Subject: Re: Broken installation
Date: Sun, 17 Dec 2017 14:17:21 +0100
[Message part 1 (text/plain, inline)]
This is the patch attached.

On Sun, Dec 17, 2017, at 14:15, Mark Meyer wrote:
> Hi,
> does the following patch resolve the issue for you? This does two
> things:
> 
>   - fix up the install phase to set the correct paths in settings.py
>   - add python-lxml as an input to fix another plugin
> 
> There is one remaining problem:
> 
>   ImportError: No module named BeautifulSoup
>   WARNING: Failed to load plugin web_import_plugin
> 
> So this particular plugin won't work. I didn't look deeply into this,
> but I think this is due to referencing a very old version of
> beautifulsoup, which is not currently packages, the current
> BeautifulSoup4 version uses 'bs4' as a module path, while the import
> states
> 
>   import BeatifulSoup
> 
> So, I'd rather skip that plugin for now.
> 
> Cheers, Mark
> 
> -- 
>   Mark Meyer
>   mark <at> ofosos.org


-- 
  Mark Meyer
  mark <at> ofosos.org
[0001-gnu-gourmet-Fix-runtime-failure-and-enhance-plugin.patch (text/x-patch, attachment)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sun, 17 Dec 2017 16:26:02 GMT) Full text and rfc822 format available.

Notification sent to Caleb Herbert <csh <at> bluehome.net>:
bug acknowledged by developer. (Sun, 17 Dec 2017 16:26:02 GMT) Full text and rfc822 format available.

Message #16 received at 29227-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark Meyer <mark <at> ofosos.org>
Cc: 29755-done <at> debbugs.gnu.org, 29227-done <at> debbugs.gnu.org
Subject: Re: [bug#29755] [PATCH] Fix gourmet
Date: Sun, 17 Dec 2017 17:25:18 +0100
Hi Mark,

Mark Meyer <mark <at> ofosos.org> skribis:

> This patch introduces a custom install phase for the gourmet variable,
> because the combination of --root=/ and --prefix=/gnu/store/... will
> lead to the generated paths in settings.py ending up with no preceding
> slash. This means that the base dir in setting py is set to
> 'gnu/store/...gourmet...' instead of '/gnu/store/...gourmet...'.
>
> This also adds another input to enable a plugin.
>
> This is in response to guix #29227 and should fix the crash that is
> observed.

[...]

> From 3ffb47334201539e66eaf9cba6bd54ed2330e9ee Mon Sep 17 00:00:00 2001
> From: Mark Meyer <mark <at> ofosos.org>
> Date: Sun, 17 Dec 2017 14:08:17 +0100
> Subject: [PATCH] gnu: gourmet: Fix runtime failure and enhance plugin.
>
> * gnu/packages/nutrition.scm (gourmet)[inputs]: Add python-lxml.
> [arguments]: Custom install phase.

Awesome, I added “Fixes” and “Reported by” lines to the commit log and
pushed as 217f704c6aa6a95caea0ebb7a252b8b2f1d78860.

Thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 15 Jan 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.