"need string or buffer, list found" build bug

  • Zenon Panoussis

    Zenon Panoussis - 2008-07-02

    Trying to build 0.5.7 on CentOS 5.2 I get this:

    Chmod("[<SCons.Node.FS.File instance at 0xb7a30f4c>]", 0755)
    scons: *** [/var/tmp/wlassistant-0.5.7-4-root-root/usr/bin/wlassistant] Exception
    Traceback (most recent call last):
      File "/usr/lib/scons-0.98.5/SCons/Taskmaster.py", line 222, in execute
      File "/usr/lib/scons-0.98.5/SCons/Node/__init__.py", line 372, in build
        apply(self.get_executor(), (self,), kw)
      File "/usr/lib/scons-0.98.5/SCons/Executor.py", line 145, in __call__
        return self.do_execute(target, kw)
      File "/usr/lib/scons-0.98.5/SCons/Executor.py", line 131, in do_execute
        status = apply(act, (self.targets, self.get_sources(), env), kw)
      File "/usr/lib/scons-0.98.5/SCons/Action.py", line 468, in __call__
        stat = self.execute(target, source, env)
      File "/usr/lib/scons-0.98.5/SCons/Action.py", line 846, in execute
        result = self.execfunction(target=target, source=rsources, env=env)
      File "/usr/lib/scons-0.98.5/SCons/Action.py", line 991, in __call__
        return apply(self.parent.actfunc, args, kw)
    TypeError: coercing to Unicode: need string or buffer, list found
    scons: building terminated because of errors.
    make: *** [install] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.1992 (%install)

    Debian seems to have had the same problem for a long time, see

    Other packages run into this too, e.g. skim. The fix seems dead easy if you know where in the code the error is caused:

    Any chance of a fix?


    • Nick Borisov

      Nick Borisov - 2009-06-10


      Sure, let me check it.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks