Review request is not raising for specific files

11 views
Skip to first unread message

Raghuveer Mudiraj

unread,
Jul 8, 2021, 11:41:37 AM7/8/21
to Review Board Community
Hi,

While raising the review request for the specific files in the clearcase repository it is giving the below error:

"Your review request still exists, but the diff is not attached"


It is coming out of the review request by giving the above error message. Any idea why it comes?

Raghuveer Mudiraj

unread,
Jul 8, 2021, 12:42:42 PM7/8/21
to Review Board Community
Error output from reviewboard.log


2021-07-08 16:29:33,171 - ERROR - None - reviewboard - /api/review-requests/60078/diffs/ - Error uploading new diff: (1406, "Data too long for column 'source_revision' at row 1")
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/webapi/resources.py", line 2026, in create
    request.FILES.get('parent_diff_path'))
  File "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/reviews/forms.py", line 308, in create
    history)
  File "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/diffviewer/forms.py", line 159, in create
    filediff.save()
  File "/usr/lib/python2.7/site-packages/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.7/site-packages/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.7/site-packages/django/db/models/manager.py", line 203, in _insert
    return insert_query(self.model, objs, fields, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 1593, in insert_query
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 912, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 114, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/cursors.py", line 201, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
DatabaseError: (1406, "Data too long for column 'source_revision' at row 1")
@


Christian Hammond

unread,
Jul 8, 2021, 6:50:00 PM7/8/21
to revie...@googlegroups.com
What type of repository is this, and how are you generating the diff?

Christian

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/d8a166f9-173b-439f-b815-137f3e8a3f75n%40googlegroups.com.


--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

raghuveer mudiraj

unread,
Jul 8, 2021, 11:31:36 PM7/8/21
to revie...@googlegroups.com
It is "Clearcase + UCM" repository.
We are using diff command to generate the diff.

Christian Hammond

unread,
Jul 11, 2021, 5:09:51 PM7/11/21
to revie...@googlegroups.com
Which diff command? Is this with RBTools, or something else?

Important to mention again that Review Board 1.7 is very old and no longer supported. For this particular problem, it's unlikely we could do anything to address it or fully investigate it without first upgrading to Review Board 4.0.

Christian


Reply all
Reply to author
Forward
0 new messages