Re: migration problem from Django0.96 to Django1.0
Hi karen, sorry for the delay,i did not notice this mail.To solve this issue, i have taken the WEEKDAYS_ABBR code from the trunk and added in the django.utils.dates file. Regards & Thank you, Vijay. On Mon, Sep 15, 2008 at 8:09 PM, Karen Tracey <[EMAIL PROTECTED]> wrote: > On Mon, Sep 15, 2008 at 1:58 AM, vijay bhaskar <[EMAIL PROTECTED]> wrote: > >> I solved that problem. >> >> > How please? Someone else is running into trouble with WEEKDAYS_ABBR and I > can't understand why. What fixed the problem for you? > > Thanks, > Karen > > >>> >>> On Mon, Sep 15, 2008 at 11:07 AM, vijay bhaskar <[EMAIL PROTECTED]>wrote: >>> Hi karen,Thanks for your reply.but the problem is ,there is no definition for WEEKDAYS_ABBR in the django.utils.dates.That's the reason its throwing error.How can i get rid of this? Thanks & regards Vijay On Sat, Sep 13, 2008 at 5:39 PM, Karen Tracey <[EMAIL PROTECTED]>wrote: > On Sat, Sep 13, 2008 at 5:28 AM, vijay <[EMAIL PROTECTED]> wrote: > >> >> When i'am trying to migrate my application which is wriiten in 0.96 >> version to 1.0, i encountered the following error message. >> >> File "c:\python25\lib\site-packages\django\utils\dateformat.py", >> line 127, in D >>return WEEKDAYS_ABBR[self.data.weekday()] >> NameError: global name 'WEEKDAYS_ABBR' is not defined >> >> >> Is there any patch available for this? How can i get rid of this >> problem? >> >> > Have you modified that file django\utils\dateformat.py? The one > shipped with 1.0 does not have the problem you are seeing since it imports > WEEKDAYS_ABBR from where it is defined before using it, see line 14 in: > > > http://code.djangoproject.com/browser/django/tags/releases/1.0/django/utils/dateformat.py > > (Also the line number reported in your error message does not match > what is on that line the shipped version of the file, so something seems > to > have happened to alter your 1.0 Django files, or at least this one.) > > Karen > > > > >>> >> >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: migration problem from Django0.96 to Django1.0
On Thu, Sep 25, 2008 at 7:35 AM, jbarker <[EMAIL PROTECTED]> wrote: > > The issue is that WEEKDAYS_ABBR is not defined in /usr/lib/python2.5/ > site-packages/django/utils/dates.py so it's not found. Edit dates.py > and add it in. > > For anyone who hits this problem, just editing dates.py to contain WEEKDAYS_ABBR is not the way to fix it. Hitting this problem indicates you installed Django 1.0 on top of some earlier level of Django without first removing the old level, and what you wind up with is a mixture of old and new files -- this dates.py file is not the only one affected. You need to go back and remove Django entirely and reinstall in order to get a complete Django 1.0 install. Karen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: migration problem from Django0.96 to Django1.0
The issue is that WEEKDAYS_ABBR is not defined in /usr/lib/python2.5/ site-packages/django/utils/dates.py so it's not found. Edit dates.py and add it in. Joe On Sep 15, 10:39 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 15, 2008 at 1:58 AM, vijay bhaskar <[EMAIL PROTECTED]> wrote: > > I solved that problem. > > How please? Someone else is running into trouble with WEEKDAYS_ABBR and I > can't understand why. What fixed the problem for you? > > Thanks, > Karen > > > > >> On Mon, Sep 15, 2008 at 11:07 AM, vijay bhaskar <[EMAIL PROTECTED]>wrote: > > >>> Hi karen,Thanks for your reply.but the problem is ,there is no > >>> definition for WEEKDAYS_ABBR in the django.utils.dates.That's the reason > >>> its throwing error.How can i get rid of this? > > >>> Thanks & regards > >>> Vijay > > >>> On Sat, Sep 13, 2008 at 5:39 PM, Karen Tracey <[EMAIL PROTECTED]>wrote: > > On Sat, Sep 13, 2008 at 5:28 AM, vijay <[EMAIL PROTECTED]> wrote: > > > When i'am trying to migrate my application which is wriiten in 0.96 > > version to 1.0, i encountered the following error message. > > > File "c:\python25\lib\site-packages\django\utils\dateformat.py", > > line 127, in D > > return WEEKDAYS_ABBR[self.data.weekday()] > > NameError: global name 'WEEKDAYS_ABBR' is not defined > > > Is there any patch available for this? How can i get rid of this > > problem? > > Have you modified that file django\utils\dateformat.py? The one shipped > with 1.0 does not have the problem you are seeing since it imports > WEEKDAYS_ABBR from where it is defined before using it, see line 14 in: > > http://code.djangoproject.com/browser/django/tags/releases/1.0/django... > > (Also the line number reported in your error message does not match what > is on that line the shipped version of the file, so something seems to > have > happened to alter your 1.0 Django files, or at least this one.) > > Karen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: migration problem from Django0.96 to Django1.0
On Mon, Sep 15, 2008 at 1:58 AM, vijay bhaskar <[EMAIL PROTECTED]> wrote: > I solved that problem. > > How please? Someone else is running into trouble with WEEKDAYS_ABBR and I can't understand why. What fixed the problem for you? Thanks, Karen >> >> On Mon, Sep 15, 2008 at 11:07 AM, vijay bhaskar <[EMAIL PROTECTED]>wrote: >> >>> Hi karen,Thanks for your reply.but the problem is ,there is no >>> definition for WEEKDAYS_ABBR in the django.utils.dates.That's the reason >>> its throwing error.How can i get rid of this? >>> >>> Thanks & regards >>> Vijay >>> >>> >>> On Sat, Sep 13, 2008 at 5:39 PM, Karen Tracey <[EMAIL PROTECTED]>wrote: >>> On Sat, Sep 13, 2008 at 5:28 AM, vijay <[EMAIL PROTECTED]> wrote: > > When i'am trying to migrate my application which is wriiten in 0.96 > version to 1.0, i encountered the following error message. > > File "c:\python25\lib\site-packages\django\utils\dateformat.py", > line 127, in D >return WEEKDAYS_ABBR[self.data.weekday()] > NameError: global name 'WEEKDAYS_ABBR' is not defined > > > Is there any patch available for this? How can i get rid of this > problem? > > Have you modified that file django\utils\dateformat.py? The one shipped with 1.0 does not have the problem you are seeing since it imports WEEKDAYS_ABBR from where it is defined before using it, see line 14 in: http://code.djangoproject.com/browser/django/tags/releases/1.0/django/utils/dateformat.py (Also the line number reported in your error message does not match what is on that line the shipped version of the file, so something seems to have happened to alter your 1.0 Django files, or at least this one.) Karen >>> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
migration problem from Django0.96 to Django1.0
-> Re: migration problem from Django0.96 to Django1.0 django-users <-- Thread --> <-- Date --> <!-- google_ad_client = "pub-7266757337600734"; google_alternate_ad_url = "http://www.mail-archive.com/blank.png"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_channel = "8427791634"; google_color_border = "FF"; google_color_bg = "FF"; google_color_link = "006792"; google_color_url = "006792"; google_color_text = "00"; //--> migration problem from Django0.96 to Django1.0 vijay Re: migration problem from Django0.96 to Django1.0 Karen Tracey Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 Karen Tracey Reply via email to <!-- google_ad_client = "pub-7266757337600734"; google_alternate_ad_url = "http://www.mail-archive.com/blank.png"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_channel = "8427791634"; google_color_border = "FFFFFF"; google_color_bg = "FF"; google_color_link = "006792"; google_color_url = "006792"; google_color_text = "00"; //--> migration problem from Django0.96 to Django1.0 vijay Re: migration problem from Django0.96 to Django1.0 Karen Tracey Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 Karen Tracey Re: migration problem from Django0.96 to Django1.0 jbarker Reply via email to <!-- google_ad_client = "pub-7266757337600734"; google_alternate_ad_url = "http://www.mail-archive.com/blank.png"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_channel = "8427791634"; google_color_border = "FF"; google_color_bg = "FF"; google_color_link = "006792"; google_color_url = "006792"; google_color_text = "00"; //--> migration problem from Django0.96 to Django1.0 vijay Re: migration problem from Django0.96 to Django1.0 Karen Tracey Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 Karen Tracey Re: migration problem from Django0.96 to Django1.0 jbarker Re: migration problem from Django0.96 to Django1.0 Karen Tracey Reply via email to <!-- google_ad_client = "pub-7266757337600734"; google_alternate_ad_url = "http://www.mail-archive.com/blank.png"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_channel = "8427791634"; google_color_border = "FFFFFF"; google_color_bg = "FF"; google_color_link = "006792"; google_color_url = "006792"; google_color_text = "00"; //--> migration problem from Django0.96 to Django1.0 vijay Re: migration problem from Django0.96 to Django1.0 Karen Tracey Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Re: migration problem from Django0.96 to Django1.0 Karen Tracey Re: migration problem from Django0.96 to Django1.0 jbarker Re: migration problem from Django0.96 to Django1.0 Karen Tracey Re: migration problem from Django0.96 to Django1.0 vijay bhaskar Reply via email to
Re: migration problem from Django0.96 to Django1.0
I solved that problem. On Mon, Sep 15, 2008 at 11:09 AM, vijay bhaskar <[EMAIL PROTECTED]> wrote: > > > On Mon, Sep 15, 2008 at 11:07 AM, vijay bhaskar <[EMAIL PROTECTED]> wrote: > >> Hi karen,Thanks for your reply.but the problem is ,there is no definition >> for WEEKDAYS_ABBR in the django.utils.dates.That's the reason its >> throwing error.How can i get rid of this? >> >> Thanks & regards >> Vijay >> >> >> On Sat, Sep 13, 2008 at 5:39 PM, Karen Tracey <[EMAIL PROTECTED]> wrote: >> >>> On Sat, Sep 13, 2008 at 5:28 AM, vijay <[EMAIL PROTECTED]> wrote: >>> When i'am trying to migrate my application which is wriiten in 0.96 version to 1.0, i encountered the following error message. File "c:\python25\lib\site-packages\django\utils\dateformat.py", line 127, in D return WEEKDAYS_ABBR[self.data.weekday()] NameError: global name 'WEEKDAYS_ABBR' is not defined Is there any patch available for this? How can i get rid of this problem? >>> Have you modified that file django\utils\dateformat.py? The one shipped >>> with 1.0 does not have the problem you are seeing since it imports >>> WEEKDAYS_ABBR from where it is defined before using it, see line 14 in: >>> >>> >>> http://code.djangoproject.com/browser/django/tags/releases/1.0/django/utils/dateformat.py >>> >>> (Also the line number reported in your error message does not match what >>> is on that line the shipped version of the file, so something seems to have >>> happened to alter your 1.0 Django files, or at least this one.) >>> >>> Karen >>> >>> >>> >>> >>> >> > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: migration problem from Django0.96 to Django1.0
Hi karen,Thanks for your reply.but the problem is ,there is no definition for WEEK_ABBR in the django.utils.dates.That's the reason its throwing error.How can i get rid of this? Thanks & regards Vijay On Sat, Sep 13, 2008 at 5:39 PM, Karen Tracey <[EMAIL PROTECTED]> wrote: > On Sat, Sep 13, 2008 at 5:28 AM, vijay <[EMAIL PROTECTED]> wrote: > >> >> When i'am trying to migrate my application which is wriiten in 0.96 >> version to 1.0, i encountered the following error message. >> >> File "c:\python25\lib\site-packages\django\utils\dateformat.py", >> line 127, in D >>return WEEKDAYS_ABBR[self.data.weekday()] >> NameError: global name 'WEEKDAYS_ABBR' is not defined >> >> >> Is there any patch available for this? How can i get rid of this >> problem? >> >> > Have you modified that file django\utils\dateformat.py? The one shipped > with 1.0 does not have the problem you are seeing since it imports > WEEKDAYS_ABBR from where it is defined before using it, see line 14 in: > > > http://code.djangoproject.com/browser/django/tags/releases/1.0/django/utils/dateformat.py > > (Also the line number reported in your error message does not match what is > on that line the shipped version of the file, so something seems to have > happened to alter your 1.0 Django files, or at least this one.) > > Karen > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: migration problem from Django0.96 to Django1.0
On Sat, Sep 13, 2008 at 5:28 AM, vijay <[EMAIL PROTECTED]> wrote: > > When i'am trying to migrate my application which is wriiten in 0.96 > version to 1.0, i encountered the following error message. > > File "c:\python25\lib\site-packages\django\utils\dateformat.py", > line 127, in D >return WEEKDAYS_ABBR[self.data.weekday()] > NameError: global name 'WEEKDAYS_ABBR' is not defined > > > Is there any patch available for this? How can i get rid of this > problem? > > Have you modified that file django\utils\dateformat.py? The one shipped with 1.0 does not have the problem you are seeing since it imports WEEKDAYS_ABBR from where it is defined before using it, see line 14 in: http://code.djangoproject.com/browser/django/tags/releases/1.0/django/utils/dateformat.py (Also the line number reported in your error message does not match what is on that line the shipped version of the file, so something seems to have happened to alter your 1.0 Django files, or at least this one.) Karen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
migration problem from Django0.96 to Django1.0
When i'am trying to migrate my application which is wriiten in 0.96 version to 1.0, i encountered the following error message. File "c:\python25\lib\site-packages\django\utils\dateformat.py", line 127, in D return WEEKDAYS_ABBR[self.data.weekday()] NameError: global name 'WEEKDAYS_ABBR' is not defined Is there any patch available for this? How can i get rid of this problem? Thanks & regards, Vijay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---