[Scons-dev] SCons and Python 3

Bill Deegan bill at baddogconsulting.com
Tue Jun 6 11:35:01 EDT 2017


Remove your .sconsign file and run again.

It's still on the to fix list..
-Bill

On Tue, Jun 6, 2017 at 11:31 AM, Russel Winder <russel at winder.org.uk> wrote:

> On Mon, 2017-06-05 at 14:03 -0400, Bill Deegan wrote:
> > Run --debug=stacktrace and post stacktrace?
>
>
> scons: Reading SConscript files ...
> scons: done reading SConscript files.
> scons: Building targets ...
> scons: *** [Build/UnitTests/unit-test] UnicodeDecodeError : 'ascii' codec
> can't decode byte 0x80 in position 0: ordinal not in range(128)
> scons: internal stack trace:
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Job.py", line 199, in start
>     task.prepare()
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Script/Main.py", line 175, in prepare
>     return SCons.Taskmaster.OutOfDateTask.prepare(self)
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Taskmaster.py", line 176, in prepare
>     self.exception_raise()
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Taskmaster.py", line 551, in _exception_raise
>     exec("raise exc_value.with_traceback(exc_traceback)")
>   File "<string>", line 1, in <module>
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Taskmaster.py", line 971, in next_task
>     task.make_ready()
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Script/Main.py", line 309, in make_ready
>     SCons.Taskmaster.OutOfDateTask.make_ready(self)
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Taskmaster.py", line 408, in make_ready_current
>     (not t.always_build and t.is_up_to_date())
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Node/FS.py", line 3248, in is_up_to_date
>     self.changed()
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Node/FS.py", line 3192, in changed
>     has_changed = SCons.Node.Node.changed(self, node)
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Node/__init__.py", line 1455, in changed
>     bi = node.get_stored_info().binfo
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Node/FS.py", line 2801, in get_stored_info
>     sconsign_entry = self.dir.sconsign().get_entry(self.name)
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Node/FS.py", line 1840, in sconsign
>     return _sconsign_map[self._func_sconsign](self)
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/Node/FS.py", line 71, in sconsign_dir
>     node._sconsign = SCons.SConsign.ForDirectory(node)
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/SConsign.py", line 234, in __init__
>     db, mode = Get_DataBase(dir)
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/SConsign.py", line 88, in Get_DataBase
>     db = DataBase[top] = DB_Module.open(DB_Name, "c")
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/dblite.py", line 197, in open
>     return dblite(file, flag, mode)
>   File "/home/users/russel/Repositories/Mercurial/Forks/
> SCons/src/engine/SCons/dblite.py", line 117, in __init__
>     self._dict = pickle.loads(p)
> scons: building terminated because of errors.
>
>
> --
> Russel.
> ============================================================
> =================
> Dr Russel Winder      t: +44 20 7585 2200   voip:
> sip:russel.winder at ekiga.net
> 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20170606/a0c20199/attachment.html>


More information about the Scons-dev mailing list