Comment #2 on issue 676 by pan126: post-review fails when uploading diff
http://code.google.com/p/reviewboard/issues/detail?id=676

Same here

{{{
>>> svn info
>>> repository info: Path: https://mpu...@svn.redefine.pl/videomakine, Base  
path: /cruncher, Supports
changesets: False
>>> svn propget reviewboard:url /Users/marek/Desktop/Projects/cruncher
>>> svn diff --diff-cmd=diff
>>> svn info sql/patches/030.core_movie_is_interlaced.sql
>>> svn info sql/rollbacks/030.core_movie_is_interlaced.sql
>>> svn info sql/patches/030.core_movie_is_interlaced.sql
>>> svn info sql/patches/030.core_movie_is_interlaced.sql
>>> svn info sql/patches/030.core_movie_is_interlaced.sql
>>> svn info sql/rollbacks/030.core_movie_is_interlaced.sql
>>> svn info sql/rollbacks/030.core_movie_is_interlaced.sql
>>> svn info sql/rollbacks/030.core_movie_is_interlaced.sql
>>> svn info test.txt.delete.me
>>> Looking for 'tvod5 /' cookie in /Users/marek/.post-review-cookies.txt
>>> Cookie file loaded, but no cookie for this server
==> Review Board Login Required
Enter username and password for Review Board at http://tvod5:8080/
>>> Logging in with username "mpulczynski"
Sending None
>>> HTTP POSTing to http://tvod5:8080/api/json/accounts/login/:  
{'username': 'mpulczynski', 'password':
'**************'}
>>> Logged in.
>>> Attempting to create review request for None
>>> HTTP GETting /api/json/repositories/
>>> HTTP GETting /api/json/repositories/1/info/
>>> repository info: Path: https://svn.redefine.pl/videomakine, Base path:  
/cruncher, Supports changesets:
False
Sending None
>>> HTTP POSTing to http://tvod5:8080/api/json/reviewrequests/new/:  
{'repository_path':
u'https://svn.redefine.pl/videomakine'}
>>> Review request created
>>> Attempting to set field 'summary' to 'dupa' for review request '37'
Sending None
>>> HTTP POSTing to  
http://tvod5:8080/api/json/reviewrequests/37/draft/set/: {'summary': 'dupa'}
>>> Attempting to set field 'description' to 'dupa' for review request '37'
Sending None
>>> HTTP POSTing to  
http://tvod5:8080/api/json/reviewrequests/37/draft/set/:  
{'description': 'dupa'}
Sending None
>>> HTTP POSTing to  
http://tvod5:8080/api/json/reviewrequests/37/draft/save/: {}
>>> Review request draft saved
>>> Uploading diff, size: 986
>>>
>>>   Property changes on: .
>>>   ___________________________________________________________________
>>>   Name: reviewboard:url
>>>      + http://tvod5:8080
>>>
>>>   Index: /cruncher/sql/patches/030.core_movie_is_interlaced.sql
>>>
===================================================================
>>>   --- /cruncher/sql/patches/030.core_movie_is_interlaced.sql        
>>> (revision  
0)
>>>   +++ /cruncher/sql/patches/030.core_movie_is_interlaced.sql        
>>> (revision  
0)
>>>   @@ -0,0 +1,4 @@
>>>   +BEGIN;
>>>   +    ALTER TABLE core_movie ADD "video_is_interlaced" boolean NULL;
>>>   +COMMIT;
>>>   +
>>>   Index: /cruncher/sql/rollbacks/030.core_movie_is_interlaced.sql
>>>
===================================================================
>>>   --- /cruncher/sql/rollbacks/030.core_movie_is_interlaced.sql       
(revision 0)
>>>   +++ /cruncher/sql/rollbacks/030.core_movie_is_interlaced.sql       
(revision 0)
>>>   @@ -0,0 +1,3 @@
>>>   +BEGIN;
>>>   +    ALTER TABLE core_movie DROP video_is_interlaced;
>>>   +COMMIT;
>>>   Index: /cruncher/test.txt.delete.me
>>>
===================================================================
DUPA {'path': {'content': '\nProperty changes on:
.\n___________________________________________________________________\nName:  
reviewboard:url\n    
+
http://tvod5:8080\n\nIndex:
/cruncher/sql/patches/030.core_movie_is_interlaced.sql\n===============================
====================================\n---
/cruncher/sql/patches/030.core_movie_is_interlaced.sql\t(revision 0)\n+++
/cruncher/sql/patches/030.core_movie_is_interlaced.sql\t(revision 0)\n@@  
-0,0 +1,4 @@\n+BEGIN;\n+
ALTER TABLE core_movie ADD "video_is_interlaced" boolean  
NULL;\n+COMMIT;\n+\nIndex:
/cruncher/sql/rollbacks/030.core_movie_is_interlaced.sql\n==============================
=====================================\n---
/cruncher/sql/rollbacks/030.core_movie_is_interlaced.sql\t(revision 0)\n+++
/cruncher/sql/rollbacks/030.core_movie_is_interlaced.sql\t(revision 0)\n@@  
-0,0 +1,3 @@\n+BEGIN;\n+
ALTER TABLE core_movie DROP video_is_interlaced;\n+COMMIT;\nIndex:
/cruncher/test.txt.delete.me\n================================================
===================\n', 'filename': 'diff'}}
Sending {'path': {'content': '\nProperty changes on:
.\n___________________________________________________________________\nName:  
reviewboard:url\n    
+
http://tvod5:8080\n\nIndex:
/cruncher/sql/patches/030.core_movie_is_interlaced.sql\n===============================
====================================\n---
/cruncher/sql/patches/030.core_movie_is_interlaced.sql\t(revision 0)\n+++
/cruncher/sql/patches/030.core_movie_is_interlaced.sql\t(revision 0)\n@@  
-0,0 +1,4 @@\n+BEGIN;\n+
ALTER TABLE core_movie ADD "video_is_interlaced" boolean  
NULL;\n+COMMIT;\n+\nIndex:
/cruncher/sql/rollbacks/030.core_movie_is_interlaced.sql\n==============================
=====================================\n---
/cruncher/sql/rollbacks/030.core_movie_is_interlaced.sql\t(revision 0)\n+++
/cruncher/sql/rollbacks/030.core_movie_is_interlaced.sql\t(revision 0)\n@@  
-0,0 +1,3 @@\n+BEGIN;\n+
ALTER TABLE core_movie DROP video_is_interlaced;\n+COMMIT;\nIndex:
/cruncher/test.txt.delete.me\n================================================
===================\n', 'filename': 'diff'}}
>>> HTTP POSTing to  
http://XXXXXX:8080/api/json/reviewrequests/37/diff/new/:  
{'basedir': '/cruncher'}
Error uploading diff: One or more fields had errors (105)
>>> {u'fields': {u'path': [u'list index out of range']}, u'stat': u'fail',  
u'err': {u'msg': u'One or more fields had
errors', u'code': 105}}
Your review request still exists, but the diff is not attached.

}}}

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to