Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems running multiple callanalyse or under different users #3

Closed
StoddardOXC opened this issue Sep 3, 2016 · 1 comment
Closed

Comments

@StoddardOXC
Copy link

callanalyse relies on a fixed paths under /tmp : analyse this, analyse that, and doesn't clean up after itself. This breaks concurrent runs (on different projects), or if different users run it - permission denied errors result.

Suggest changing the actual run code to something like:

    tmpdir = tempfile.mkdtemp()
    callcatcher.combine.combine(tmpdir + os.path.sep, inputs)
    callcatcher.analyse.analyse(tmpdir + os.path.sep, "", strict, detailed, LibO, mapfile)
    shutil.rmtree(tmpdir)

and add corresponding imports obviously.

@caolanm
Copy link
Owner

caolanm commented Sep 12, 2016

Fixed (probably) with 94bb689

@caolanm caolanm closed this as completed Sep 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants