durusmail: quixote-users: Re: DateSelectWidget error
Re: DateSelectWidget error
2002-07-18
Re: DateSelectWidget error
Samir Patel
2002-07-18
I have put date_widget.ptl in my python2.2
site-packages directory and when I
add line (import date_widget) in __init.py__ or
forms.ptl file of demo directory, my demo application
page throws following eror:

*************
Internal Server Error The server encountered an
internal error or
misconfiguration and was unable to complete your
request.

 Please contact the server administrator,
root@localhost and inform them of
the time the error occurred, and anything you might
have done that may have
caused the error.

 More information about this error may be available in
the server error log.

Apache/1.3.26 Server at server.ejagat.com Port 80
*******************

Both log files (error and debug) reports nothing in
it.


Typing this at python command prompt written this
error
>>> python date_widget.ptl
  File "date_widget.ptl", line 68
    template render_date_select(date, name, year_name,
month_name,
                                           ^
SyntaxError: invalid syntax

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com


reply