Re: Python 3 compatability... RFH (request for help)

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
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:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAljnu5IACgkQ1L3V0s7N
p7iVkhAAjGyFvoVFIQq3rdzKdKNyxhyerln5pFZobejxhK50KbVNY8yLMfee2OV7
xvUYSg6bJuv3mBB8lvUsIqx/JzhzJk4UjkwzcVGufoXwctL+pzA6WAJZqGXGg+tE
kHYNtJd3i0jsfLaD/OM0gl6v/QIggBQexIU2/ERQasPVFd33ya9rOWTXwka9OPae
0v2HNgQZ1xVynmTXEo1oYlNRJkMWUpMMtV1/jHnhjTp9pW1g0fXts2zlQeUf82KV
2TVFe6WrGBF5G605wR0mutGNgROLvR3+zE4f6YYEPBBxXhXA/B+5Qa/NSir469xK
xneGOp2Q1c3w2pgk0GJ3pN6QFp6k5IGxNBIF/obTh+MfRcqtrl6ckVBj+tvWtPzH
clkv3xRVBlNLNTodELvjKVqH5YYIKAgExBXI/bhL1HlyIVPBH593GFTAf8oJ2ufn
qZNHxeskHFaC1Zrdf/YpAn5xeNXHGIymMWTy5dyCJfLMzlCrivCJmAM76T28OtCi
gMs3jE7IemX0bUACPp/UsPym3txeWw9slAZC6P4/KGP+y96XRTnKs2GC5yqpcyKZ
eBDTUB/+hER4IYQ6AkXg3djB2Xruz9WJTZsS68Abd2Wu6j6WhuHDS0ITlAu+yXoE
laxFoAnWzVXnQcbYjh7ESFhZdliEz3Ov5JVN3BI9Dd9DW8d3fCM=
=RbdF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.