Hi.

Fresh installation of RB 2.5.7 on Ubuntu 16.04 LTS with Mysql Ver 14.14 
Distrib 5.7.16.
Repository is SVN.

The instance of Review Board has 6 users, 5 groups and one default reviewer 
rule to assign a group for a specific set of files.

Default reviewer rule is:

Base/Tools/Nora2/.*
>

When i try to upload a patch from the UI or even if i click on the "new 
review request" in the UI, i get the following warning in the logs : 

/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py:129: 
Warning: Invalid utf8 character string: 'AAF744'
>   return self.cursor.execute(query, args)
>
>
The review draft is created but the default reviewer rule is not applied.

A dump of the MySql database allowed me to find the utf8 sequence : 

30 Query    UPDATE `diffviewer_rawfilediffdata` SET `binary_hash` = 
> '73625aad13035d5f8d206b03cf319d80bee14554', `binary` = 
> 'BZh91AY&SY*ª÷D*\Ô\0\0B߀\00poò÷\ï!\Ö 
> .w\Ý@0\0´Á*L£i ›S\Ô\r ƒjzA @ ªŸªf¦h SL    蘌 \Ó =L ІôS& 4   @\0ôN8‚\r  
> bI \É,¬±À;\ìs\Ì \Äk§B#W‰ 0|M\"\Z\"Ÿh™ˆ•W ˜ò³ò 
> ¶5 ¾liCžHr#l··­j3… h¡ \åq  Rˆ\ÜbÁ1Ev[}¤e I 
> §‘Œ\ïôg µ \ì€\è¿<\Ê ø_E¸  ¬ \Zhв T*  P\×$ 
> ¦\nˆ\Úóɫƪö 0aB!?‹¹\"œ(HU{¢j\0', `compression` = 'B', `extra_data` = 
> '{\"insert_count\": 1, \"delete_count\": 1}' WHERE 
> `diffviewer_rawfilediffdata`.`id` = 198
>

I don't know if the two problems are related.

Patch is attached to the message.

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
Index: index.html
===================================================================
--- index.html	(revision 52509)
+++ index.html	(revision 52510)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
   <head>
-	<title>N.O.R.A.2</title>
+	<title>N.O.R.A.</title>
 	<meta charset="UTF-8" />
 	
 	<script src="js/rate.js"></script>

Reply via email to