Re: [LIP] Problem executing scripts Bad Interpreter

Vardhman Jain <vardhman-9geRo0GdX4kE71Kmvb/[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Hi,	
	I got the solution to the problem already. That was because he FS 
was not mounted with proper directives for execution being possible. I 
have mounted the partition with defaults option and everything is working 
fine now.


Vardhman

On Wed, 5 May 2004 [email protected] wrote:

> Date: Wed, 5 May 2004 04:36:42 -0400 (EDT)
> From: [email protected]
> Reply-To: linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> To: Vardhman Jain <vardhman-9geRo0GdX4kE71Kmvb/[email protected]>
> Cc: linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [LIP] Problem executing scripts Bad Interpreter
> 
> Hi,
> 
> > "-bash: ./configure: /bin/bash: bad interpreter: Permission denied"
> >
> >  with "/bin/bash" and also "/usr/bin/env python". I have checked the file
> > permissions to be executable by all. The strange thing is that I am able
> > to run the script by saying "python <scriptname>" and not by
> > ./scriptname(for the python script containing #!/usr/bin/env python at the
> 
> Can you check if you have a Unix '\n' at the end of the first shebang line
> and
> not something else like a Windows '\r\n'?
> 
> I have personally seen this 'bad interpreter' error because of this.
> 
> 
> Hope this helps,
> Swaroop
> www.python.g2swaroop.net
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g. 
> Take an Oracle 10g class now, and we'll give you the exam FREE. 
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> linux-india-programmers mailing list
> linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/linux-india-programmers
> 

-- 
Vardhman Jain
III Year B.Tech. CSE
IIIT-Hyderabad
Address:
Room No 27, NBH, IIIT-Hyderabad,Hyderabad 500019

presence on net:
    http://students.iiit.net/~vardhman




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.