I did. Thank you!

Diego


On Thursday, July 11, 2019 at 12:30:15 AM UTC-4, Christian Hammond wrote:
>
> Hi Diego,
>
> I just want to make sure you saw my reply on your support ticket. We 
> should have this resolved for you.
>
> Christian
>
> On Mon, Jul 8, 2019 at 14:14 Diego Huang <[email protected] 
> <javascript:>> wrote:
>
>> I should add that I am using PowerPack with a CodeCommit repository. 
>> Could there be a problem with the PowerPack license server?
>>
>> Thanks,
>>
>> Diego
>>
>>
>> On Monday, July 8, 2019 at 3:37:08 PM UTC-4, Diego Huang wrote:
>>>
>>> I am getting this error today too when trying to publish a code review. 
>>>
>>> >>> 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==1.0.1', 'console_scripts', 'rbt')()
>>>   File 
>>> "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/main.py",
>>>  
>>> line 120, in main
>>>     command.run_from_argv([RB_MAIN, command_name] + args)
>>>   File 
>>> "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/__init__.py",
>>>  
>>> line 719, in run_from_argv
>>>     exit_code = self.main(*args) or 0
>>>   File 
>>> "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/post.py",
>>>  
>>> line 875, in main
>>>     (msg_prefix, e))
>>> rbtools.commands.CommandError: Error validating diff
>>>
>>> fatal: Not a git repository: 'None'
>>>  (HTTP 400, API Error 224)
>>>
>>>
>>> Nothing has changed in our environment. Could there be an outage? I 
>>> can't click on the admin dashboard page for the repository either, it ends 
>>> up with a "504 Gateway Timeout" or "500 Internal Server Error" error. In 
>>> the server logs, I see:
>>>
>>>
>>> 2019-07-08 17:48:19,206 - ERROR - None - XXXXX - 
>>> /admin/db/scmtools/repository/14/ - djblets.log.middleware - Exception 
>>> thrown for user XXXXX at 
>>> https://XXXXXXXXXXXXXXXX/admin/db/scmtools/repository/14/
>>>
>>> 'NoneType' object has no attribute 'plans'
>>> Traceback (most recent call last):
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/core/handlers/base.py",
>>>  
>>> line 112, in get_response
>>>     response = wrapped_callback(request, *callback_args, 
>>> **callback_kwargs)
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py",
>>>  
>>> line 465, in wrapper
>>>     return self.admin_site.admin_view(view)(*args, **kwargs)
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py",
>>>  
>>> line 99, in _wrapped_view
>>>     response = view_func(request, *args, **kwargs)
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/views/decorators/cache.py",
>>>  
>>> line 52, in _wrapped_view_func
>>>     response = view_func(request, *args, **kwargs)
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/sites.py",
>>>  
>>> line 198, in inner
>>>     return view(request, *args, **kwargs)
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py",
>>>  
>>> line 29, in _wrapper
>>>     return bound_func(*args, **kwargs)
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py",
>>>  
>>> line 99, in _wrapped_view
>>>     response = view_func(request, *args, **kwargs)
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py",
>>>  
>>> line 25, in bound_func
>>>     return func(self, *args2, **kwargs2)
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/db/transaction.py",
>>>  
>>> line 371, in inner
>>>     return func(*args, **kwargs)
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py",
>>>  
>>> line 1270, in change_view
>>>     form = ModelForm(instance=obj)
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/reviewboard/scmtools/forms.py", line 
>>> 435, in __init__
>>>     self._populate_hosting_service_fields()
>>>   File 
>>> "/opt/bitnami/apps/reviewboard/htdocs/reviewboard/scmtools/forms.py", line 
>>> 547, in _populate_hosting_service_fields
>>>     if service.plans:
>>> AttributeError: 'NoneType' object has no attribute 'plans'
>>>
>>> Thanks,
>>>
>>> Diego
>>>
>>>
>>> On Thursday, May 24, 2018 at 4:10:19 AM UTC-4, [email protected] wrote:
>>>>
>>>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/reviewboard/911b8c22-def0-46b3-915d-f61346f17b21%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/911b8c22-def0-46b3-915d-f61346f17b21%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/c58881c4-12b3-4697-8dc9-e197d8ca212b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to