Bug 30630 - univention-support-info fails with TypeError: coercing to Unicode: need string or buffer, NoneType found
univention-support-info fails with TypeError: coercing to Unicode: need strin...
Status: RESOLVED WONTFIX
Product: USI
Classification: Unclassified
Component: univention-support-info
unspecified
Other Linux
: P5 normal
: ---
Assigned To: USI maintainer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-01 15:06 CET by Malte S. Stretz
Modified: 2017-04-26 12:37 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2013-03-01 15:06:27 CET
root@vp-s11:~# wget -O /tmp/univention-support-info http://download.univention.de/download/scripts/univention-support-info 
--2013-03-01 15:02:56--  http://download.univention.de/download/scripts/univention-support-info
Resolving download.univention.de... 85.214.27.218
Connecting to download.univention.de|85.214.27.218|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 29356 (29K) [text/plain]
Saving to: “/tmp/univention-support-info”

100%[=================================================================================================================================================================>] 29,356      --.-K/s   in 0.09s   

2013-03-01 15:02:56 (321 KB/s) - “/tmp/univention-support-info” saved [29356/29356]

root@vp-s11:~# chmod +x /tmp/univention-support-info 
root@vp-s11:~# /tmp/univention-support-info
Collecting command output: .....................................Traceback (most recent call last):
  File "/tmp/univention-support-info", line 796, in <module>
    main(options.encrypt)
  File "/tmp/univention-support-info", line 752, in main
    collectCommandData()
  File "/tmp/univention-support-info", line 475, in collectCommandData
    stdout = executeCommand(commandName, command)
  File "/tmp/univention-support-info", line 350, in executeCommand
    (exitcode, stdout, stderr, ) = Popen(command)
  File "/tmp/univention-support-info", line 154, in Popen
    process = subprocess.Popen(CommandTuple, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True, env=env)
  File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
TypeError: coercing to Unicode: need string or buffer, NoneType found
Comment 1 Malte S. Stretz 2013-03-01 15:08:09 CET
It looks like it was able to generate the tarball anyway.  Uploaded as upload_RJHwYo.bz2