Re: unknown encoding: utf-8 error

2008-04-13 Thread Cephire
With help from the forum members and through many pages on the net, I was able to build a stand-alone app. I've blogged about it, with the hope that it might be helpful to someone else. Feel free to comment if there are any improvement. http://www.jjude.com/index.php/archives/70 Thank you all,

Re: unknown encoding: utf-8 error

2008-04-11 Thread Cephire
I hope this will be last one on this thread. Now I am able to compile without any error and create an exe file out of it. I have hooked this with cherrypy (as I dont know how to hook the development server). When I open the browser, I get the below error: Traceback (most recent call last):

Re: unknown encoding: utf-8 error

2008-04-11 Thread andy baxter
Cephire wrote: > Thanks Karen. It helped. But I got another error. > > AttributeError: 'module' object has no attribute 'admin'. Searching > through the net, I found that __init.py__ should be present in the > directory. It does have __init.py__. > > Should all directories (like media, templates)

Re: unknown encoding: utf-8 error

2008-04-11 Thread Cephire
got it resolved by manually importing all __import__ statements. thanks guys, joseph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: unknown encoding: utf-8 error

2008-04-11 Thread Cephire
Thanks Karen. It helped. But I got another error. AttributeError: 'module' object has no attribute 'admin'. Searching through the net, I found that __init.py__ should be present in the directory. It does have __init.py__. Should all directories (like media, templates) have __init.py__? As I

Re: unknown encoding: utf-8 error

2008-04-11 Thread Karen Tracey
On Fri, Apr 11, 2008 at 4:54 AM, Cephire <[EMAIL PROTECTED]> wrote: > > Hello all: > I have the below in models.py > > class solForm(ModelForm): >""" > >""" >body = forms.CharField(max_length=150, > widget=forms.Textarea(attrs={'rows':2, 'cols': 40}),label= u'Your > Sol:')

unknown encoding: utf-8 error

2008-04-11 Thread Cephire
Hello all: I have the below in models.py class solForm(ModelForm): """ """ body = forms.CharField(max_length=150, widget=forms.Textarea(attrs={'rows':2, 'cols': 40}),label= u'Your Sol:') author = forms.CharField(widget=forms.HiddenInput) date =