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

With some Python versions: TypeError: TemporaryDirectory.__init__() got an unexpected keyword argument 'delete' #24

Closed
karel-brinda opened this issue Apr 8, 2024 · 0 comments · Fixed by #23

Comments

@karel-brinda
Copy link
Owner

$ ./attotree \
            -t 8 \
            -L <(head -n 501  ngono.list) \
            -o ngono.n501.nw
        
[attotree] 2024-04-09 01:39:41 Attotree starting
Traceback (most recent call last):
  File "/Users/karel/github/my/attotree-paper/experiments/01_scaling_time/./attotree", line 461, in <module>
    main()
  File "/Users/karel/github/my/attotree-paper/experiments/01_scaling_time/./attotree", line 452, in main
    attotree(
  File "/Users/karel/github/my/attotree-paper/experiments/01_scaling_time/./attotree", line 298, in attotree
    with tempfile.TemporaryDirectory(delete=not debug) as d:
TypeError: TemporaryDirectory.__init__() got an unexpected keyword argument 'delete'
[Tue Apr  9 01:39:41 2024]
Error in rule attotree:
    jobid: 31
    input: ngono.list
    output: ngono.n501.nw
    shell:
        
        ./attotree \
            -t 8 \
            -L <(head -n 501  ngono.list) \
            -o ngono.n501.nw
        
        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Removing output files of failed job attotree since they might be corrupted:
ngono.n501.nw
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: .snakemake/log/2024-04-09T013940.592027.snakemake.log
WorkflowError:
At least one job did not complete successfully.
make: *** [all] Error 1

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

Successfully merging a pull request may close this issue.

1 participant