000800 error when trying to create buffer areas from the command line

Discussion created by anamojica on Nov 19, 2019
Latest reply on Nov 19, 2019 by bixb0012

I wrote a simple code to create a buffer for linear features. The script is meant to be run from the command line using arcpy and sys module. The script is this one:

When run I got a 000800 error, here the result:

I'm new to working with python and arcpy, any ideas what is wrong with my approach?