Comment 24 for bug 1094218

Revision history for this message
Kevin Normoyle (knormoyle) wrote : Re: lsb_release crashed with IOError in getstatusoutput(): [Errno 10] No child processes

More info from the teamviewer startup log
I looked here after ubuntu reported the error with ProcCmdline
/usr/bin/python -Es /usr/bin/lsb_release -

The date/time on the startup log was right around the error time.

TeamViewer: 8.0.17147
Profile: /home/kevin ()
Desktop:
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 96, in <module>
    main()
  File "/usr/bin/lsb_release", line 63, in main
    verinfo = lsb_release.check_modules_installed()
  File "/usr/lib/python2.7/dist-packages/lsb_release.py", line 102, in check_modules_installed
    output = commands.getoutput("dpkg-query -f '${Version} ${Provides}\n' -W %s 2>/dev/null" % PACKAGES)
  File "/usr/lib/python2.7/commands.py", line 50, in getoutput
    return getstatusoutput(cmd)[1]
  File "/usr/lib/python2.7/commands.py", line 61, in getstatusoutput
    sts = pipe.close()
IOError: [Errno 10] No child processes
ok
 -

looking at line 102 of the lsb_release.py, interestingly it says it's 'Debian specific at present'

# This is Debian-specific at present
def check_modules_installed():
    # Find which LSB modules are installed on this system
    output = commands.getoutput("dpkg-query -f '${Version} ${Provides}\n' -W %s 2>/dev/null" % PACKAGES)
    if not output:
        return []

I have no LSB modules on my system
$ lsb_release
No LSB modules are available.