From: Mark Meyer <mark@ofosos.org>
To: 29227@debbugs.gnu.org
Subject: bug#29227: Broken installation
Date: Sun, 17 Dec 2017 14:17:21 +0100 [thread overview]
Message-ID: <1513516641.3672010.1207765576.23574AE5@webmail.messagingengine.com> (raw)
In-Reply-To: <1513516555.3671317.1207764784.13449F62@webmail.messagingengine.com>
[-- Attachment #1: Type: text/plain, Size: 885 bytes --]
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@ofosos.org
--
Mark Meyer
mark@ofosos.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-gourmet-Fix-runtime-failure-and-enhance-plugin.patch --]
[-- Type: text/x-patch; name="0001-gnu-gourmet-Fix-runtime-failure-and-enhance-plugin.patch", Size: 1457 bytes --]
From 3ffb47334201539e66eaf9cba6bd54ed2330e9ee Mon Sep 17 00:00:00 2001
From: Mark Meyer <mark@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.
---
gnu/packages/nutrition.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/nutrition.scm b/gnu/packages/nutrition.scm
index 90019f848..0e03253cf 100644
--- a/gnu/packages/nutrition.scm
+++ b/gnu/packages/nutrition.scm
@@ -52,11 +52,18 @@
(inputs
`(("pygtk" ,python2-pygtk)
("sqlalchemy" ,python2-sqlalchemy)
+ ("python-lxml" ,python2-lxml)
("python-pillow" ,python2-pillow)
("elib.intl" ,python2-elib.intl)))
(arguments
`(#:python ,python-2 ;exception and print syntax
- #:tests? #f)) ;tests look bitrotted
+ #:tests? #f ;tests look bitrotted
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'install
+ (lambda* (#:key make-flags #:allow-other-keys)
+ (zero? (system* "python" "setup.py" "install" "--prefix"
+ (assoc-ref %outputs "out"))))))))
(home-page "http://thinkle.github.io/gourmet/")
(synopsis "Recipe organizer")
(description
--
2.15.1
prev parent reply other threads:[~2017-12-17 13:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-09 16:18 bug#29227: Gourmet crashes Caleb Herbert
2017-12-17 13:15 ` bug#29227: Broken installation Mark Meyer
2017-12-17 13:17 ` Mark Meyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1513516641.3672010.1207765576.23574AE5@webmail.messagingengine.com \
--to=mark@ofosos.org \
--cc=29227@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).