Hi Tapas,

Can you go into the temp directory it shows (/tmp/reviewboard.fLnKh in this 
particular case) and inspect the files there? You want to see what the .rej 
file looks like, and if the file contents are as you expect.

Can you show me the exact ‘rbt post’ command line arguments you used? Can you 
also pass —debug and show me that full output?

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On June 12, 2014 at 11:29:27 AM, Tapas Bansal (tapas.bans...@gmail.com) wrote:

Hello guys,

I'm facing a issue in review board:

I'm running review board on a remote mac machine and I'm using rbt post to post 
a git file diff from windows machine.

The request is generated successfully but I get error while view diff for 
modified files. But new diff diff is shown successfully.
The error is as follow:


Traceback (most recent call last):
  File 
"/Library/Python/2.7/site-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/views.py",
 line 236, in get
    renderer = self.create_renderer(context, *args, **kwargs)
  File 
"/Library/Python/2.7/site-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/reviews/views.py",
 line 1102, in create_renderer
    *args, **kwargs)
  File 
"/Library/Python/2.7/site-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/views.py",
 line 326, in create_renderer
    self.diff_file = self._get_requested_diff_file()
  File 
"/Library/Python/2.7/site-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/views.py",
 line 367, in _get_requested_diff_file
    request=self.request)
  File 
"/Library/Python/2.7/site-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/diffutils.py",
 line 373, in populate_diff_chunks
    chunks = generator.get_chunks()
  File 
"/Library/Python/2.7/site-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
 line 148, in get_chunks
    large_data=True)
  File 
"/Library/Python/2.7/site-packages/Djblets-0.8.3-py2.7.egg/djblets/cache/backend.py",
 line 109, in cache_memoize
    data = lookup_callable()
  File 
"/Library/Python/2.7/site-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
 line 147, in <lambda>
    lambda: list(self._get_chunks_uncached()),
  File 
"/Library/Python/2.7/site-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
 line 155, in _get_chunks_uncached
    new = get_patched_file(old, self.filediff, self.request)
  File 
"/Library/Python/2.7/site-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/diffutils.py",
 line 201, in get_patched_file
    return patch(diff, buffer, filediff.dest_file, request)
  File 
"/Library/Python/2.7/site-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/diffutils.py",
 line 139, in patch
    'output': stderr,
Exception: The patch to 'src/main/static/modules/mcmtng/js/AppCtrl.js' didn't 
apply cleanly. The temporary files have been left in '/tmp/reviewboard.fLnKkh' 
for debugging purposes.
`patch` returned:  

Raw Diff File:


diff --git a/src/main/static/modules/mcmtng/js/AppCtrl.js 
b/src/main/static/modules/mcmtng/js/AppCtrl.js
index 
bc85ffa6625f5998a07139d221bae4e9ba516562..f799efb15a8336d42d095f29972a7264871f7e8c
 100644
--- a/src/main/static/modules/mcmtng/js/AppCtrl.js
+++ b/src/main/static/modules/mcmtng/js/AppCtrl.js
@@ -25,8 +25,6 @@ Aria.classDefinition({\r
         this._controllerPrivate = null;\r
         this._init = true; // true while initializing the page.\r
         this._retrieveError = "";\r
-        this._seatMapError = "";\r
-        this._airSegmentHash = "";\r
         this.__errors = null;\r
         this.onLine = navigator.onLine;\r
         this.showWeather = false;\r
diff --git a/.reviewboardrc b/.reviewboardrc
new file mode 100644
index 
0000000000000000000000000000000000000000..2ed176afdb7fd23918106eda6a245d0df2d0a3cb
--- /dev/null
+++ b/.reviewboardrc
@@ -0,0 +1,3 @@
+REVIEWBOARD_URL = "http://172.22.197.98";
+REPOSITORY = "Trip Concierge"
+BRANCH = "releases/sprint"

Please assist what is wrong?

Thanks,
Tapas Bansal





--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to