Hi Christian ,

Thanks for your reply!
This root cause :table structure is wrong .
When we restore backup data by sql, all item about auto increase had 
changed.

Thanks!
Br,Cody

在 2018年2月26日星期一 UTC+8下午7:18:48,Christian Hammond写道:
>
> Hi Cody,
>
> Looks like the server running Review Board is failing to resolve the IP 
> address for the hostname for your SVN server (which is a problem with your 
> DNS or th server’s configuration, rather than an issue in Review Board). 
> That’s happening while Review Board is trying to create a review request, 
> and it’s causing some code to crash, which ends up causing the error you’re 
> seeing.
>
> Review Board 1.7.6 is now 5 years old, and isn’t receiving any more bug 
> fixes (though there are many newer releases in the 1.7.x series — 1.7.29 is 
> the latest). Right now, 2.5 and 3.0 are the current supported releases, and 
> both are receiving bug fixes today (with 4.0 in development and coming out 
> later this year).
>
> Christian
>
>
> On Sun, Feb 25, 2018 at 23:58 Cody Zhang <codyzha...@gmail.com 
> <javascript:>> wrote:
>
>>
>> Hi Experts,
>> Could you help us to check it?
>>
>>
>> DatabaseError: (1364, "Field 'id' doesn't have a default value")
>> 2018-02-26 15:40:46,433 - ERROR - Internal Server Error: /r/new/
>> Traceback (most recent call last):
>>   File 
>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/base.py",
>>  
>> line 111, in get_response
>>     response = callback(request, *callback_args, **callback_kwargs)
>>   File 
>> "/usr/lib/python2.6/site-packages/Djblets-0.7.11-py2.6.egg/djblets/auth/util.py",
>>  
>> line 47, in _checklogin
>>     return view_func(request, *args, **kwargs)
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/reviews/views.py",
>>  
>> line 290, in new_review_request
>>     local_site=local_site)
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/reviews/forms.py",
>>  
>> line 219, in create
>>     changenum, local_site)
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/reviews/managers.py",
>>  
>> line 111, in create
>>     diffset_history.save()
>>   File 
>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/base.py",
>>  
>> line 463, in save
>>     self.save_base(using=using, force_insert=force_insert, 
>> force_update=force_update)
>>   File 
>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/base.py",
>>  
>> line 551, in save_base
>>     result = manager._insert([self], fields=fields, return_id=update_pk, 
>> using=using, raw=raw)
>>   File 
>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/manager.py",
>>  
>> line 203, in _insert
>>     return insert_query(self.model, objs, fields, **kwargs)
>>   File 
>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/query.py",
>>  
>> line 1593, in insert_query
>>     return query.get_compiler(using=using).execute_sql(return_id)
>>   File 
>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/sql/compiler.py",
>>  
>> line 912, in execute_sql
>>     cursor.execute(sql, params)
>>   File 
>> "/usr/lib/python2.6/site-packages/Djblets-0.7.11-py2.6.egg/djblets/log/middleware.py",
>>  
>> line 49, in execute
>>     return self.cursor.execute(sql, params)
>>   File 
>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/backends/mysql/base.py",
>>  
>> line 114, in execute
>>     return self.cursor.execute(query, args)
>>   File 
>> "/usr/lib/python2.6/site-packages/MySQL_python-1.2.4-py2.6-linux-x86_64.egg/MySQLdb/cursors.py",
>>  
>> line 201, in execute
>>     self.errorhandler(self, exc, value)
>>   File 
>> "/usr/lib/python2.6/site-packages/MySQL_python-1.2.4-py2.6-linux-x86_64.egg/MySQLdb/connections.py",
>>  
>> line 36, in defaulterrorhandler
>>     raise errorclass, errorvalue
>> DatabaseError: (1364, "Field 'id' doesn't have a default value")
>> 2018-02-26 15:41:58,533 - ERROR - SVN: Failed to get repository 
>> information for 
>> https://svn.access.company.com/isource/svnroot/pac-aupprb-e1: Unable to 
>> connect to a repository at URL '
>> https://svn.access.company.com/isource/svnroot/pac-aupprb-e1'
>> Temporary failure in name resolution
>> 2018-02-26 15:42:11,990 - ERROR - SVN: Failed to get repository 
>> information for 
>> https://svn.access.company.com/isource/svnroot/pac-aupprb-e1: Unable to 
>> connect to a repository at URL '
>> https://svn.access.company.com/isource/svnroot/pac-aupprb-e1'
>> Temporary failure in name resolution
>>
>>
>> Thanks!
>> Br,Cody
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> -- 
> Christian Hammond
> President/CEO of Beanbag
> Makers of Review Board
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to