unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Luther Thompson <lutheroto@gmail.com>
To: 34236@debbugs.gnu.org
Subject: bug#34236: scons does not run
Date: Mon, 28 Jan 2019 13:42:22 -0500	[thread overview]
Message-ID: <20190128134210.002ead1f@gmail.com> (raw)

scons refuses to run on my system. When I run it with or without a
SConscript file, I get this error message:

---BEGIN---
Traceback (most recent call last):
  File "/gnu/store/r7nxidk4r12wa3y7gipqx58gc3dx3vp2-scons-3.0.1/bin/.scons-real", line 192, in <module>
    import SCons.Script
  File "/gnu/store/r7nxidk4r12wa3y7gipqx58gc3dx3vp2-scons-3.0.1/lib/scons-3.0.1/SCons/__init__.py", line 43, in <module>
    import SCons.compat
  File "/gnu/store/r7nxidk4r12wa3y7gipqx58gc3dx3vp2-scons-3.0.1/lib/scons-3.0.1/SCons/compat/__init__.py", line 105, in <module>
    rename_module('profile', 'cProfile')
  File "/gnu/store/r7nxidk4r12wa3y7gipqx58gc3dx3vp2-scons-3.0.1/lib/scons-3.0.1/SCons/compat/__init__.py", line 84, in rename_module
    sys.modules[new] = imp.load_module(old, *imp.find_module(old))
  File "/gnu/store/ibxxisi81v1v3y5xc3axl4x4rx6jpzw8-python-3.7.0/lib/python3.7/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/ibxxisi81v1v3y5xc3axl4x4rx6jpzw8-python-3.7.0/lib/python3.7/imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 724, in exec_module
  File "<frozen importlib._bootstrap_external>", line 838, in get_code
TypeError: a bytes-like object is required, not 'str'
---END---

I have a hunch that this is caused by a missing environment variable,
but I don't know where to go from there.

Luther

             reply	other threads:[~2019-01-28 18:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-28 18:42 Luther Thompson [this message]
2019-01-28 19:06 ` bug#34236: scons does not run Ricardo Wurmus
2019-01-28 19:11 ` Ricardo Wurmus
2019-01-29  0:03   ` Luther Thompson
2019-01-29  8:35     ` Ricardo Wurmus
2019-01-29 18:02       ` Luther Thompson

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=20190128134210.002ead1f@gmail.com \
    --to=lutheroto@gmail.com \
    --cc=34236@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).