Hi guys,

I've been using reviewboard for many years now, and let me open with saying 
that it's an awesome tool!
Having said that, I'm now experiencing some issues with it :(

I'm not sure if and how this is relevant, but our network was recently 
changed a bit (IP addresses, subnets, DNS changes).
But I can't tell for sure if the problem started before those changes, or 
immediately after - so I don't want this to distract from the real issue.

I'm working with a mercurial source control and have reviewboard set up on 
a dedicated linux server (upgraded to latest reviewboard version 2.5.7 
hoping it may solve my issue, but it didn't).

I'm unable to post a new review using postreview plugin from tortoisehg UI, 
it was literally stuck while trying to post.
We connected to the reviewboard machine and we saw that the DNS change 
caused it to be unable to find the mercurial server, so we fixed that.
After that - my post attempts failed with the said error: 
"abort: The file was not found in the repository. (207)
stat: fail"
Tried to post with the latest RBTools and got the exact same issue:
"ERROR: Error validating diff
<path to the first file in the diff>: The file was not found in the 
repository. (HTTP 400, API Error 207)."
I've attached the "rbt post --debug" output.

Any help will be much appreciated!
Thanks!

-- 
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.
>>> RBTools 0.7.9 alpha 0 (dev)
>>> Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 
>>> bit (Intel)]
>>> Running on Windows-8.1-6.3.9600
>>> Home = C:\Users\gabi\AppData\Roaming
>>> Current directory = c:\Projects\agent-9.0.X
>>> Command line: rbt post --debug
>>> Checking for a Mercurial repository...
>>> Running: hg root
>>> Running: hg showconfig
>>> Running: hg svn info
>>> Command exited with rc 255: [u'hg', u'svn', u'info']
hg: unknown command 'svn'
Mercurial Distributed SCM

basic commands:

 add           add the specified files on the next commit
 annotate      show changeset information by line for each file
 clone         make a copy of an existing repository
 commit        commit the specified files or all outstanding changes
 diff          diff repository (or selected files)
 export        dump the header and diffs for one or more changesets
 forget        forget the specified files on the next commit
 init          create a new repository in the given directory
 log           show revision history of entire repository or files
 merge         merge another revision into working directory
 pull          pull changes from the specified source
 push          push changes to the specified destination
 qdiff         diff of the current patch and subsequent modifications
 qnew          create a new patch
 qpop          pop the current patch off the stack
 qpush         push the next patch onto the stack
 qrefresh      update the current patch
 remove        remove the specified files on the next commit
 serve         start stand-alone webserver
 status        show changed files in the working directory
 summary       summarize working directory state
 update        update working directory (or switch revisions)

(use 'hg help' for the full list of commands or 'hg -v' for details)
---
>>> Using candidate path u'default': u'http://bob/hg/agent-dev'
>>> repository info: Path: http://bob/hg/agent-dev, Base path: , Supports 
>>> changesets: False
>>> Making HTTP GET request to http://reviewboard25/api/
>>> Running: hg branch
>>> Running: hg -q outgoing --template {rev}\t{node|short}\t{branch}\n default 
>>> -r .
>>> Found outgoing changeset 21890:07338cd67341
>>> Running: hg log -r 21890 --template {parents}
>>> Running: hg parents --hidden -r 0
>>> Running: hg identify -i --hidden -r 21889 --config 
>>> "extensions.rbtoolsnormalize=C:\Program Files 
>>> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.9a0-py2.7.egg\rbtools\helpers\hgext.py"
>>> Running: hg identify -i --hidden -r 21890 --config 
>>> "extensions.rbtoolsnormalize=C:\Program Files 
>>> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.9a0-py2.7.egg\rbtools\helpers\hgext.py"
>>> Running: hg status --modified --added --removed --deleted
>>> Running: hg -q outgoing --template {rev}\t{node|short}\t{branch}\n default 
>>> -r ef32942ccc58
>>> Command exited with rc 1: [u'hg', u'-q', u'outgoing', u'--template', 
>>> u'{rev}\\t{node|short}\\t{branch}\\n', u'default', u'-r', u'ef32942ccc58']
---
>>> 0 outgoing changesets between remote and base.
>>> Running: hg diff --hidden -r ef32942ccc58 -r 07338cd67341 --config 
>>> "extensions.rbtoolsnormalize=C:\Program Files 
>>> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.9a0-py2.7.egg\rbtools\helpers\hgext.py"
>>> Running: hg locate -r ef32942ccc58
>>> Running: hg locate -r 07338cd67341
>>> Running: hg log -r ef32942ccc58 --template {node} --config 
>>> "extensions.rbtoolsnormalize=C:\Program Files 
>>> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.9a0-py2.7.egg\rbtools\helpers\hgext.py"
>>> Making HTTP GET request to http://reviewboard25/api/validation/diffs/
>>> Cached response for HTTP GET http://reviewboard25/api/validation/diffs/ 
>>> expired and was modified
>>> Making HTTP POST request to http://reviewboard25/api/validation/diffs/
>>> Got API Error 207 (HTTP code 400): The file was not found in the repository.
>>> Error data: {u'stat': u'fail', u'file': 
>>> u'Analysis/WinSessionMgr/ProcessManager.cs', u'err': {u'msg': u'The file 
>>> was not found in the repository.', u'code': 207}, u'revision': 
>>> u'ef32942ccc58'}
Traceback (most recent call last):
  File "C:\Program Files (x86)\RBTools\bin\..\Python27\Scripts\rbt-script.py", 
line 11, in <module>
    load_entry_point('RBTools==0.7.9a0', 'console_scripts', 'rbt')()
  File "C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.9a0-py2.7.egg\rbtools\commands\main.py",
 line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File "C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.9a0-py2.7.egg\rbtools\commands\__init__.py",
 line 664, in run_from_argv
    exit_code = self.main(*args) or 0
  File "C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.9a0-py2.7.egg\rbtools\commands\post.py",
 line 811, in main
    (msg_prefix, e))
rbtools.commands.CommandError: Error validating diff

Analysis/WinSessionMgr/ProcessManager.cs: The file was not found in the 
repository. (HTTP 400, API Error 207)

Reply via email to