Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C Chutney
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • Chutney
  • Issues
  • #33957
Closed
Open
Created Apr 22, 2020 by teor@teor

Unexpected keyword argument 'bufsize' in subprocess.check_output()

On some python versions, chutney's call to subprocess.check_output() results in the following error:

Unexpected keyword argument 'bufsize'…

https://github.com/torproject/chutney/pull/68#issuecomment-614596946

The check_output() documentation is unclear about which arguments are supported: it simply says that most arguments to Popen() are supported. (And bufsize is an argument to Popen().): https://docs.python.org/3.5/library/subprocess.html#subprocess.check_output https://docs.python.org/3.5/library/subprocess.html#subprocess.Popen

I think our best option here is to remove the bufsize argument, and accept the default buffered behaviour.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking