Comment 0 for bug 1765518

Revision history for this message
Gabriel Ramirez (gabriel1109) wrote :

Steps to reproduce:

1) Add tag to a landscape-client, ex assgn tag 'täg
2) Go to scripts in the GUI page and attempt to execute script on that client
3) Script will attempt to run on client and will fail, GUI will show below error:

[Failure instance: Traceback: <type 'exceptions.TypeError'>: Environment contains a non-string value
/usr/lib/python2.7/dist-packages/landscape/manager/scriptexecution.py:176:_handle_execute_script
/usr/lib/python2.7/dist-packages/landscape/manager/scriptexecution.py:292:run_script
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:306:addCallback
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:295:addCallbacks
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:577:_runCallbacks
/usr/lib/python2.7/dist-packages/landscape/manager/scriptexecution.py:290:prepare_script
/usr/lib/python2.7/dist-packages/landscape/manager/scriptexecution.py:129:_run_script
/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py:336:spawnProcess
/usr/lib/python2.7/dist-packages/twisted/internet/base.py:923:_checkProcessArgs
]

Above exception is generated by the client w/ LANDSCAPE_COMPUTER_TAGS w/ value being None