Thanks Dalius.
Actually, I just used windows' notepad and save 'development.ini' in
UTF-8.  So shall I just edit and save in ASCII all configuration
files?

Calvin

On 12月2日, 上午2时00分, "Dalius Dobravolskas"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Mon, Dec 1, 2008 at 11:46 AM, minglee <[EMAIL PROTECTED]> wrote:
> > ConfigParser.MissingSectionHeaderError: File contains no section
> > headers.
> > file: D:\pylons_ex\SimpleSite\development.ini, line: 1
> > '\xef\xbb\xbf#\n'
> ...
> > Code in development.ini are:
> > #
> > # SimpleSite - Pylons development environment configuration
>
> It looks like you are using some strange editor that adds some garbage
> to file. That garbage actually is UTF-8 header
> (http://www.google.lt/search?q=ef+bb+bf). Since you are beginner just
> turn off this feature in your editor.
>
> --
> Daliushttp://blog.sandbox.lt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to