Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #33304

Closed (moved)
(moved)
Open
Created Feb 13, 2020 by opara@opara🎄

Chutney tries to convert empty pid string to integer

In the getPid() function, Chutney reads the pid from a file and converts it to an integer.

if not os.path.exists(pidfile):
    return None

with open(pidfile, 'r') as f:
    return int(f.read())

This can result in the following error:

ValueError: invalid literal for int() with base 10: ''

PR incoming...

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