大胸弟,我跟你遇到了同样的问题。。。方便加个好友不?微信:xishangqiaoxia

在 2018年5月24日星期四 UTC+8下午4:10:19,wangy...@gmail.com写道:
>
> When I first run command"rbt post --username=JiangLiqun 
> --target-people=admin -d", and input password correct, but I received log 
> like this:
>
> Please log in to the Review Board server at 192.168.1.100:8088.
> Password: 
> ERROR: Unexpected API Error: The username or password was not correct 
> (HTTP 401, API Error 104)
> WangYuntideMacBook-Pro:rbtest wang$ rbt post --username=JiangLiqun 
> --target-people=admin -d
> >>> RBTools 0.7.11
> >>> Python 2.7.10 (default, Oct  6 2017, 22:29:07) 
> [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]
> >>> Running on Darwin-17.5.0-x86_64-i386-64bit
> >>> Home = /Users/wang
> >>> Current directory = /Users/wang/RZSJ/project/rbtest
> >>> Command line: rbt post --username=JiangLiqun --target-people=admin -d
> >>> Running: tf vc help
> >>> Checking for a Git repository...
> >>> Running: git rev-parse --git-dir
> >>> Running: git config core.bare
> >>> Running: git rev-parse --show-toplevel
> >>> Running: git symbolic-ref -q HEAD
> >>> Running: git config --get branch.master.merge
> >>> Running: git config --get branch.master.remote
> >>> Running: git config --get remote.origin.url
> >>> repository info: Path: http://47.93.44.77:3000/WangYunti/rbtest.git, 
> Base path: , Supports changesets: False
> >>> Making HTTP GET request to http://192.168.1.100:8088/api/
>
> Please log in to the Review Board server at 192.168.1.100:8088.
> Password: 
> >>> Running: git rev-parse refs/heads/master
> >>> Running: git merge-base 8baa5f0a627d6178f0b0c8fc59e8a6223acb4cc2 
> origin/master
> >>> Running: git rev-parse dce7de49360ca16c12e84f7c3670c033f731a14d
> >>> Running: git status --porcelain --untracked-files=no 
> --ignore-submodules=dirty
> >>> Running: git rev-parse --git-dir
> >>> Running: git version
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
> --no-color --full-index --ignore-submodules -M --no-ext-diff 
> dce7de49360ca16c12e84f7c3670c033f731a14d..8baa5f0a627d6178f0b0c8fc59e8a6223acb4cc2
> >>> Generated diff size: 1286 bytes
> >>> Making HTTP GET request to 
> http://192.168.1.100:8088/api/validation/diffs/
> >>> Cached response for HTTP GET 
> http://192.168.1.100:8088/api/validation/diffs/ expired and was modified
> >>> Making HTTP POST request to 
> http://192.168.1.100:8088/api/validation/diffs/
> >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: 'None'
>
> >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git 
> repository: 'None'\n", u'code': 224}}
> Traceback (most recent call last):
>   File "/usr/local/bin/rbt", line 9, in <module>
>     load_entry_point('RBTools==0.7.11', 'console_scripts', 'rbt')()
>   File 
> "/Library/Python/2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/commands/main.py",
>  
> line 133, in main
>     command.run_from_argv([RB_MAIN, command_name] + args)
>   File 
> "/Library/Python/2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/commands/__init__.py",
>  
> line 665, in run_from_argv
>     exit_code = self.main(*args) or 0
>   File 
> "/Library/Python/2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/commands/post.py",
>  
> line 821, in main
>     (msg_prefix, e))
> rbtools.commands.CommandError: Error validating diff
>
> fatal: Not a git repository: 'None'
>  (HTTP 400, API Error 224)
>
>
> This is a screenshot of the warehouse configuration:
>
>
> <https://lh3.googleusercontent.com/-XiQ7q3SKzbE/WwZsNzopBWI/AAAAAAAAAsQ/XQDKigzmQRIt--9RWBhXZIOsVR-sPtPwACLcBGAs/s1600/3DA19783-D44C-4EC6-9332-879244FC0C02.png>
>
>
> how to solve this problem.
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/a6bce89b-3863-4ca8-9bcc-f0aa161dc3a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to