unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Adonay Felipe Nogueira <adfeno@openmailbox.org>
To: 25035@debbugs.gnu.org
Subject: bug#25035: scribus: No module named _sysconfigdata_nd
Date: Wed, 03 May 2017 16:05:07 -0300	[thread overview]
Message-ID: <87shklu5gc.fsf@openmailbox.org> (raw)
In-Reply-To: <87zikmwku1.fsf@openmailbox.org>

This bug still exists if one installs Scribus through Guix in a foreign
system distribution. Even though I still have both LD_LIBRARY_PATH and
PYTHONPATH variables unset and I don't have Python installed through
Guix.

However, today I decided to test with:

$ guix environment --ad-hoc scribus python@2.7 bash -- bash

And after the environment was set, I did:

$ echo $PATH
/gnu/store/1cvfwh7qj6c2vgkbancql9phrm64dh9d-profile/bin:/home/adfeno/.guix-profile/bin:/home/adfeno/.guix-profile/sbin:/home/adfeno/.guix-profile/bin:/home/adfeno/.guix-profile/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
$ echo $PYTHONPATH
/gnu/store/1cvfwh7qj6c2vgkbancql9phrm64dh9d-profile/lib/python2.7/site-packages
$ echo $LD_LIBRARY_PATH

$ scribus

And then Scribus lauched (although with errors about missing images
which I'll ignore for this bug).

One way out of this bug would be to investigate/fix the hardcoded paths
that Scribus might have according to what ludo said
([[http://lists.gnu.org/archive/html/bug-guix/2016-11/msg00077.html]]).

Other possibility is to test moving the Python dependency from the
package's inputs to native-inputs or propagated-inputs. But this is just
an idea from a non-developer (me), so I don't know if this is really the
cause of the problem.

-- 
- [[https://libreplanet.org/wiki/User:Adfeno]]
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre, por isso não uso. Iguais a ele prefiro
  GNU Ring, ou Tox. Quer outras formas de contato? Adicione o vCard
  que está no endereço acima aos teus contatos.
- Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu
  aceito, mas não repasso. Entrego apenas em formatos favoráveis ao
  /software/ livre. Favor entrar em contato em caso de dúvida.

  parent reply	other threads:[~2017-05-03 19:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-26 11:18 bug#25035: scribus: No module named _sysconfigdata_nd Adonay Felipe Nogueira
2016-11-28  8:13 ` Ricardo Wurmus
2016-11-28  9:54   ` Adonay Felipe Nogueira
2016-11-28 13:54     ` Ludovic Courtès
2016-11-28 15:42     ` Ricardo Wurmus
2016-12-09  8:59       ` Adonay Felipe Nogueira
2017-05-03 19:05 ` Adonay Felipe Nogueira [this message]
2017-12-01 14:41   ` Ludovic Courtès

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=87shklu5gc.fsf@openmailbox.org \
    --to=adfeno@openmailbox.org \
    --cc=25035@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).