Skip to content

Dir causes TypeError in build phase #2648

Open

Description

@bdbaddog

This issue was originally created at: 2010-06-17 03:58:27.
This issue was reported by: dwild.
dwild said at 2010-06-17 03:58:27

The following (simplified) SConstruct:

target = Install('targetdir', 'sourcedir')

def action(target, source, env):
    env.Dir('targetdir/sourcedir')

AddPostAction(target, action)

leads to:

TypeError: Tried to lookup File 'targetdir/sourcedir' as a Dir

dwild said at 2010-06-17 04:01:30

Created an attachment (id=762)
test project causing the bug

gregnoel said at 2010-07-16 06:48:59

Bug party triage.

gregnoel said at 2010-07-21 17:00:32

Bug party triage. Bump the priority of this issue.

extrachrispy said at 2011-03-17 14:11:49

I verified that this is also broken on version 1.2.0. I've seen it intermittently over the last few months, and two colleagues have seen it in the past week.

wblevins001 said at 2016-02-19 16:37:47

Is this a valid issue? Shouldn't he just be using InstallAs?

Votes for this issue: 1.

dwild attached testproject.tar.gz at 2010-06-17 04:01:30.

test project causing the bug

Activity

  1. added this to the milestone on Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions