thanks for the fast reply. I put the lines into my app:
first request: [2008-02-14 Thu 09:48:57]DEBUG "Admin Gui: 'Mike'" [2008-02-14 Thu 09:48:57]DEBUG "Trying akt_Firma =1" BANG! second request: [2008-02-14 Thu 09:49:01]DEBUG "Admin Gui: 'Mike'" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =1" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =2" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =4" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =5" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =7" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =12" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =13" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =14" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =15" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =16" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =17" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =20" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =22" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =23" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =24" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =25" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =26" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =27" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =28" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =31" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =32" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =33" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =34" [2008-02-14 Thu 09:49:01]DEBUG "Trying akt_Firma =35" no error occured! Now i changed the debug code: >values = [int(o['nr']) for o in Firma.objects.values('nr')] >values.reverse() >for v in values: > log_msg('Trying akt_Firma ='+str(v)) > Firma.objects.get(nr=v) first request: [2008-02-14 Thu 09:53:08]DEBUG "Admin Gui: 'Mike'" [2008-02-14 Thu 09:53:08]DEBUG "Trying akt_Firma =35" BANG! second request: [2008-02-14 Thu 09:53:20]DEBUG "Admin Gui: 'Mike'" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =35" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =34" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =33" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =32" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =31" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =28" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =27" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =26" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =25" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =24" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =23" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =22" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =20" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =17" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =16" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =15" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =14" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =13" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =12" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =7" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =5" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =4" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =2" [2008-02-14 Thu 09:53:20]DEBUG "Trying akt_Firma =1" no error occured. I also recognised this error only occurs on one of my two machines. the productive one of course! ;) productive: ubuntu 6.06, mysql 5.0.22, Python 2.4.3 develop: ubuntu 7.10, mysql 5.0.45, Python 2.5.1 (uses a mysqldump of the productive) Regards, Mike --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---