Hi Bosco, I did as you suggested but still getting same error.
On Tue, Jul 28, 2015 at 4:49 AM, Don Bosco Durai <[email protected]> wrote: > The properties file looks good.. > > I am not sure whether it is because of python 2.7. Is it possible for you > to use python 2.6? > > Try changing the below to where 2.6 is installed. > > PYTHON_COMMAND_INVOKER=python > > > Thanks > > Bosco > > > From: Aneela Saleem <[email protected]> > Reply-To: "[email protected]" < > [email protected]> > Date: Monday, July 27, 2015 at 2:02 PM > To: "[email protected]" <[email protected]> > Subject: Error Setting up Ranger-Admin > > Hi all, > > I have followed this link > > > https://cwiki.apache.org/confluence/display/RANGER/Apache+Ranger+0.5.0+Installation > > But when i run *./setupsh, *i get the following error at the end: > > Traceback (most recent call last): > File "update_property.py", line 40, in <module> > > write_properties_to_xml(ranger_admin_site_xml_path,parameter_name,parameter_value) > File "update_property.py", line 21, in write_properties_to_xml > if(os.path.isfile(xml_path)): > File "/usr/lib/python2.7/genericpath.py", line 29, in isfile > st = os.stat(path) > TypeError: coercing to Unicode: need string or buffer, NoneType found > 2015-07-28 01:38:57,308 [E] Update property failed for: > > Attached is the *install.proprties* file. > > I'm new to Apache Knox, can anyone please guide me. I'm having troubles in > installing Apache Ranger. > > Thanks > > >
