[Scons-dev] Python 3 compatability... RFH (request for help)

Russel Winder russel at winder.org.uk
Fri Apr 7 12:17:22 EDT 2017


On Fri, 2017-04-07 at 12:04 -0400, Bill Deegan wrote:
> Try: --debug=stacktrace
> 
> Let me know if that yields anything useful?


|> scons_py3 --tree=all --debug=stacktrace
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [factorial_test] TypeError : function takes exactly 5 arguments (1 given)
scons: internal stack trace:
  File "/home/russel/Repositories/Mercurial/Forks/SCons/src/engine/SCons/Job.py", line 199, in start
    task.prepare()
  File "/home/russel/Repositories/Mercurial/Forks/SCons/src/engine/SCons/Script/Main.py", line 175, in prepare
    return SCons.Taskmaster.OutOfDateTask.prepare(self)
  File "/home/russel/Repositories/Mercurial/Forks/SCons/src/engine/SCons/Taskmaster.py", line 176, in prepare
    self.exception_raise()
  File "/home/russel/Repositories/Mercurial/Forks/SCons/src/engine/SCons/Taskmaster.py", line 549, in _exception_raise
    exec("raise exc_type(exc_value).with_traceback(exc_traceback)")
  File "<string>", line 1, in <module>
+-test
  +-factorial_test
    +-factorial.d
    +-ut_main.d
      +-factorial.d
      +-/home/russel/.dub/packages/unit-threaded-0.7.11/unit-threaded/gen_ut_main
scons: building terminated because of errors.


Hummm… that exec line looks, at first sight without context, like seriously bad code smell.

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20170407/4756a563/attachment.pgp>


More information about the Scons-dev mailing list