[CentOS] Serious Privileges Problem: Second Post!

Victor Subervi victorsubervi at gmail.com
Sat Nov 7 18:35:02 UTC 2009


Adding python debugging to apache revealed an import error. The strange
thing is that when I load the exact lines of code in the command line python
interpreter, it has no trouble importing the class in question.

With respect to the dos question, I've uploaded this exact code in its exact
format (*.py files) to another server where it serves just fine. I can't
find where to get dos2unix, but do I need it?
V

On Sat, Nov 7, 2009 at 1:23 PM, John R Pierce <pierce at hogranch.com> wrote:

> Kwan Lowe wrote:
> > On Sat, Nov 7, 2009 at 12:04 PM, Les Mikesell <lesmikesell at gmail.com>
> wrote:
> >
> >
> >> How did you get it from machine to machine?  This could be a line-ending
> issue
> >> from a copy from windows or the wrong mode in ftp.
> >>
> >
> > That is my guess too.   This exact error will happen if the file is
> > copied in Dos format to Linux.
> >
>
> ah, yes, python, where whitespace is  a syntax element
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20091107/eef4c1cb/attachment.html 


More information about the CentOS mailing list