Sorry, I've fallen asleep yesterday.

I "updated" Django to r14714 and it works fine. There are two
changesets after this one which are related to ORM, so I think the
problem is with them.

--
Valya Golev




On Sat, Nov 27, 2010 at 7:07 AM, Alex Gaynor <[email protected]> wrote:
> On Fri, Nov 26, 2010 at 8:26 PM, Russell Keith-Magee
> <[email protected]> wrote:
>> On Sat, Nov 27, 2010 at 9:23 AM, Russell Keith-Magee
>> <[email protected]> wrote:
>>> On Sat, Nov 27, 2010 at 1:04 AM, Valentin Golev <[email protected]> wrote:
>>>> Hello
>>>>
>>>> One of my projects which is running on trunk version of Django (not in
>>>> production, of course) have been broken with recent updates.
>>>>
>>>> DatabaseError at /news/ : near "FROM": syntax error
>>>>
>>>> Django Version: 1.3 alpha 1 SVN-14719
>>>>
>>>>
>>>> /home/deploy/envs/fest/src/django/django/views/generic/dates.py in 
>>>> get_date_list
>>>>        date_list = queryset.dates(date_field, date_type)[::-1] ...
>>>>
>>>>
>>>> date_field      'date'
>>>> date_type       'day'
>>>> queryset        [<Entry: алоэ>, <Entry: День России>]
>>>>
>>>>
>>>>
>>>> results in
>>>>
>>>> params  ('news', u'2010-11-01 00:00:00', u'2010-12-01 00:00:00',
>>>> u'2010-11-26 19:44:34.802072')
>>>> query           'SELECT DISTINCT FROM "news_uentry" WHERE
>>>> ("news_uentry"."type" = ? AND "news_uentry"."date" >= ? AND
>>>> "news_uentry"."date" < ? AND "news_uentry"."date" <= ? ) ORDER BY 1
>>>> ASC'
>>>>
>>>> DB engine is 'django.contrib.gis.db.backends.spatialite'
>>>>
>>>> (You can see a full stacktrace on our test 
>>>> server http://events.ride.ru/news/ )
>>>>
>>>>
>>>> I'll write a test and file a ticket; but maybe you've ran into this
>>>> bug already or I'm doing something wrong myself?
>>>
>>> I can't see anything obviously wrong with your syntax, and I can't say
>>> I've heard this report before. Looking at the stack trace, it looks
>>> like the column list has gone missing for some reason.
>>>
>>> Can you narrow this down to a single commit? e.g., 14717 works, but
>>> 14718 is broken? That will be very helpful in narrowing down the
>>> cause.
>>
>> ... and just as I press send, I discover ticket #14648.
>>
>> Yours,
>> Russ Magee %-)
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Django developers" 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/django-developers?hl=en.
>>
>>
>
> Bleh, Geo stuff :(  Unfortunately I'm not equipped to test contrib.gis
> (and I thought I'd ripped out all the really invasive changes from my
> original diff).
>
> Alex
>
> --
> "I disapprove of what you say, but I will defend to the death your
> right to say it." -- Voltaire
> "The people's good is the highest law." -- Cicero
> "Code can always be simpler than you think, but never as simple as you
> want" -- Me
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django developers" 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/django-developers?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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/django-developers?hl=en.

Reply via email to