RB 6.0.1 upload diff file

112 views
Skip to first unread message

Artur

unread,
Nov 30, 2023, 12:35:43 PM11/30/23
to Review Board Community
Hey.

I am not able to upload the diff file. Another format does not appear.

Select or drag and drop a diff file to begin

diff1.JPG

Once the file is selected, the format disappears.

diff2.JPG

There are no errors anywhere on the web server side.

On the provided demo I have the same behavior.

Regards,
Artur

RBUser

unread,
Dec 6, 2023, 11:01:17 PM12/6/23
to Review Board Community
I have the same issue with RB 6.0.1. We had to roll back to 5.0.6 because this is a critical feature.

I am able to upload diff files for Git repositories, but not for Subversion repositories.

Hopefully this will soon be fixed in the next release so that we can upgrade to 6.0.

Christian Hammond

unread,
Dec 9, 2023, 8:00:11 PM12/9/23
to revie...@googlegroups.com
What SCM are you both using, and can you show me how you're generating the diff?

We're looking into a fix for this.

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/f3e65be9-4a80-41ad-a01d-350e5e038410n%40googlegroups.com.


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

Mikalai Ananenka

unread,
Dec 28, 2023, 1:35:01 PM12/28/23
to Review Board Community
Hello,

I have the same issue with RB 6.0.1. SCM is Subversion. Demo (note, there are no POST after selecting a patch file):
GIF Thu 28.12.23 6-33-19 PM.gif

For demo created repo https://svn.apache.org/repos/asf/httpd/httpd/trunk/ and patch file was downloaded using RB (" Create from an existing commit" -> "Download diff" for the top commit on the gif). Attached patch file to the message.

Additional observation: in https://hellosplat.com/s/beanbag/tickets/5013/ it actually sends request to the server butt does not show message to the user after receiving HTTP 400. But in current case it does not send anything to the server.

--
Regards,
Mikalai
rb5.patch

David Trowbridge

unread,
Dec 28, 2023, 1:35:39 PM12/28/23
to revie...@googlegroups.com
Hi all,

We have a fix for this issue and will be shipping 6.0.2 soon.

David

Mikalai Ananenka

unread,
Dec 31, 2023, 7:25:03 AM12/31/23
to Review Board Community
Note, just in case it has to be fixed separately and has not yet been fixed, there is a similar issue with "Update Diff" popup window (click on existing review request which uses Subversion → Update → Update Diff).

David Trowbridge

unread,
Jan 1, 2024, 10:58:20 PMJan 1
to revie...@googlegroups.com
That will be fixed with the same patch. Thanks.

David

Artur

unread,
Mar 5, 2024, 5:03:15 AMMar 5
to Review Board Community
After updating to version 6.0.2, the form appears, but I cannot publish it, I get an error:

2024-03-05 09:47:10,420 - ERROR - None - demo - /reviews/r/_batch/ - reviewboard.reviews.views.batch - Failed to publish review request 4879: 'ascii' codec can't decode byte 0xc3 in position 7622: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/reviewboard/reviews/views/batch.py", line 416, in _publish
    changes = review_request.publish(
  File "/usr/local/lib/python3.10/dist-packages/reviewboard/reviews/models/review_request.py", line 1511, in publish
    review_request_published.send(sender=self.__class__, user=user,
  File "/usr/local/lib/python3.10/dist-packages/django/dispatch/dispatcher.py", line 180, in send
    return [
  File "/usr/local/lib/python3.10/dist-packages/django/dispatch/dispatcher.py", line 181, in <listcomp>
    (receiver, receiver(signal=self, sender=sender, **named))
  File "/usr/local/lib/python3.10/dist-packages/reviewboard/notifications/email/signal_handlers.py", line 254, in send_review_request_published_mail
    message, sent = send_email(prepare_review_request_mail,
  File "/usr/local/lib/python3.10/dist-packages/reviewboard/notifications/email/utils.py", line 330, in send_email
    message = email_builder(**kwargs)
  File "/usr/local/lib/python3.10/dist-packages/reviewboard/notifications/email/message.py", line 533, in prepare_review_request_mail
    return prepare_base_review_request_mail(
  File "/usr/local/lib/python3.10/dist-packages/reviewboard/notifications/email/message.py", line 244, in prepare_base_review_request_mail
    return EmailMessage(subject=subject.strip(),
  File "/usr/local/lib/python3.10/dist-packages/reviewboard/notifications/email/message.py", line 70, in __init__
    super(EmailMessage, self).__init__(
  File "/usr/local/lib/python3.10/dist-packages/housekeeping/functions.py", line 411, in _call
    return func(*new_args, **new_kwargs)
  File "/usr/local/lib/python3.10/dist-packages/djblets/mail/message.py", line 305, in __init__
    not is_email_allowed_by_dmarc(parsed_from_email))):
  File "/usr/local/lib/python3.10/dist-packages/djblets/mail/dmarc.py", line 383, in is_email_allowed_by_dmarc
    dmarc_record = get_dmarc_record(hostname)
  File "/usr/local/lib/python3.10/dist-packages/djblets/mail/dmarc.py", line 342, in get_dmarc_record
    psl = PublicSuffixList(fp)
  File "/usr/local/lib/python3.10/dist-packages/publicsuffix/__init__.py", line 54, in __init__
    root = self._build_structure(input_file)
  File "/usr/local/lib/python3.10/dist-packages/publicsuffix/__init__.py", line 98, in _build_structure
    for line in fp:
  File "/usr/lib/python3.10/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7622: ordinal not in range(128)

Converting the file to ascii and utf-8 does not help.

Regards,
Artur
Reply all
Reply to author
Forward
0 new messages