Re: Fatal: not a git repository: 'None'

2021-07-08 Thread Peter Šilon
Yeah, the error got me confused. Thanks for the help David! After 
installing rb-gateway things seems to work.

Peter.

Dátum: streda 7. júla 2021, čas: 23:54:27 UTC+2, odosielateľ: David 
Trowbridge

> The error here is obviously bad, but the issue is that you've configured a 
> remote git URL but are not including a URL mask for a wrapper service. The 
> Git protocol is not sufficient for Review Board's needs, so you'll need to 
> have some kind of intermediary, such as GitWeb, cgit, or rb-gateway.
>
> See 
> https://www.reviewboard.org/docs/manual/4.0/admin/configuration/repositories/git/#repository-scm-git
>  
> for details.
>
> David
>
> On Wed, Jul 7, 2021 at 12:46 PM Peter Šilon  wrote:
>
>> Hi David, thanks for having interest in my problem.
>>
>> ~/comboard/chargingd (feature/dbus-api %)$ rbt post --debug 
>> master..feature/dbus-api
>> >>> RBTools 2.0
>> >>> Python 3.7.3 (default, Jan 22 2021, 20:04:44)
>> [GCC 8.3.0]
>> >>> Running on Linux-4.19.0-17-amd64-x86_64-with-debian-10.10
>> >>> Home = /home/silonp
>> >>> Current directory = /home/silonp/comboard/chargingd
>> >>> Command line: rbt post --debug master..feature/dbus-api
>> >>> 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.feature/dbus-api.merge
>> >>> Running: git config --get branch.feature/dbus-api.remote
>> >>> Running: git config --get remote.origin.url
>> >>> Repository info: Path: gitolite3@git-nur:ccb/chargingd, Base path: , 
>> Supports changesets: False
>> >>> Making HTTP GET request to http://wskkosd002.global.web-int.net/api/
>> >>> Running: git rev-parse master..feature/dbus-api
>> >>> Running: git config --get branch.feature/dbus-api.merge
>> >>> Running: git config --get branch.feature/dbus-api.remote
>> >>> Running: git branch --remotes
>> >>> Running: git rev-list d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb --not 
>> --remotes=origin
>> >>> Running: git log -z --reverse 
>> --pretty=format:%H%x1f%P%x1f%an%x1f%ae%x1f%ad%x1f%cn%x1f%ce%x1f%cd%x1f%B 
>> --date=iso8601-strict 
>> d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..ebcaa0ae6ae924ab87571d91282452fc831ac4c7
>> >>> Running: git version
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..ebcaa0ae6ae924ab87571d91282452fc831ac4c7
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..199f1f3489546817036d23b2d95ae33dbd4ad2a8
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 199f1f3489546817036d23b2d95ae33dbd4ad2a8..e58cf25349c7d4abea5d68ff4004c5edf8e01184
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> e58cf25349c7d4abea5d68ff4004c5edf8e01184..83a9f02406d91e1cbbd16e0d24d456e504ffc6e7
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 83a9f02406d91e1cbbd16e0d24d456e504ffc6e7..38d453a5d3a2af7c3ab056350f8cad7e4e6e9b61
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 38d453a5d3a2af7c3ab056350f8cad7e4e6e9b61..1cb44afff5e4b41721707a86bc4a49eb622d6be2
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 1cb44afff5e4b41721707a86bc4a49eb622d6be2..52bd4c6f378519b2c701e31296bb4484415d1331
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 52bd4c6f378519b2c701e31296bb4484415d1331..843084c2846318de078f662cf0325cd626322044
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 843084c2846318de078f662cf0325cd626322044..0443f19bbcae4bd3cfe8a3a71964b050e984dca3
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 0443f19bbcae4bd3cfe8a3a71964b050e984dca3..90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a..7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-col

Re: Fatal: not a git repository: 'None'

2021-07-07 Thread David Trowbridge
The error here is obviously bad, but the issue is that you've configured a
remote git URL but are not including a URL mask for a wrapper service. The
Git protocol is not sufficient for Review Board's needs, so you'll need to
have some kind of intermediary, such as GitWeb, cgit, or rb-gateway.

See
https://www.reviewboard.org/docs/manual/4.0/admin/configuration/repositories/git/#repository-scm-git
for details.

David

On Wed, Jul 7, 2021 at 12:46 PM Peter Šilon  wrote:

> Hi David, thanks for having interest in my problem.
>
> ~/comboard/chargingd (feature/dbus-api %)$ rbt post --debug
> master..feature/dbus-api
> >>> RBTools 2.0
> >>> Python 3.7.3 (default, Jan 22 2021, 20:04:44)
> [GCC 8.3.0]
> >>> Running on Linux-4.19.0-17-amd64-x86_64-with-debian-10.10
> >>> Home = /home/silonp
> >>> Current directory = /home/silonp/comboard/chargingd
> >>> Command line: rbt post --debug master..feature/dbus-api
> >>> 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.feature/dbus-api.merge
> >>> Running: git config --get branch.feature/dbus-api.remote
> >>> Running: git config --get remote.origin.url
> >>> Repository info: Path: gitolite3@git-nur:ccb/chargingd, Base path: ,
> Supports changesets: False
> >>> Making HTTP GET request to http://wskkosd002.global.web-int.net/api/
> >>> Running: git rev-parse master..feature/dbus-api
> >>> Running: git config --get branch.feature/dbus-api.merge
> >>> Running: git config --get branch.feature/dbus-api.remote
> >>> Running: git branch --remotes
> >>> Running: git rev-list d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb --not
> --remotes=origin
> >>> Running: git log -z --reverse
> --pretty=format:%H%x1f%P%x1f%an%x1f%ae%x1f%ad%x1f%cn%x1f%ce%x1f%cd%x1f%B
> --date=iso8601-strict
> d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..ebcaa0ae6ae924ab87571d91282452fc831ac4c7
> >>> Running: git version
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..ebcaa0ae6ae924ab87571d91282452fc831ac4c7
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..199f1f3489546817036d23b2d95ae33dbd4ad2a8
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> 199f1f3489546817036d23b2d95ae33dbd4ad2a8..e58cf25349c7d4abea5d68ff4004c5edf8e01184
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> e58cf25349c7d4abea5d68ff4004c5edf8e01184..83a9f02406d91e1cbbd16e0d24d456e504ffc6e7
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> 83a9f02406d91e1cbbd16e0d24d456e504ffc6e7..38d453a5d3a2af7c3ab056350f8cad7e4e6e9b61
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> 38d453a5d3a2af7c3ab056350f8cad7e4e6e9b61..1cb44afff5e4b41721707a86bc4a49eb622d6be2
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> 1cb44afff5e4b41721707a86bc4a49eb622d6be2..52bd4c6f378519b2c701e31296bb4484415d1331
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> 52bd4c6f378519b2c701e31296bb4484415d1331..843084c2846318de078f662cf0325cd626322044
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> 843084c2846318de078f662cf0325cd626322044..0443f19bbcae4bd3cfe8a3a71964b050e984dca3
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> 0443f19bbcae4bd3cfe8a3a71964b050e984dca3..90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> 90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a..7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> 7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4..18504e19da0391ab4e14812a7c0f51c2a3c98e90
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff
> 18504e19da0391ab4e14812a7c0f51c

Re: Fatal: not a git repository: 'None'

2021-07-07 Thread Peter Šilon
Hi David, thanks for having interest in my problem.

~/comboard/chargingd (feature/dbus-api %)$ rbt post --debug 
master..feature/dbus-api
>>> RBTools 2.0
>>> Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0]
>>> Running on Linux-4.19.0-17-amd64-x86_64-with-debian-10.10
>>> Home = /home/silonp
>>> Current directory = /home/silonp/comboard/chargingd
>>> Command line: rbt post --debug master..feature/dbus-api
>>> 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.feature/dbus-api.merge
>>> Running: git config --get branch.feature/dbus-api.remote
>>> Running: git config --get remote.origin.url
>>> Repository info: Path: gitolite3@git-nur:ccb/chargingd, Base path: , 
Supports changesets: False
>>> Making HTTP GET request to http://wskkosd002.global.web-int.net/api/
>>> Running: git rev-parse master..feature/dbus-api
>>> Running: git config --get branch.feature/dbus-api.merge
>>> Running: git config --get branch.feature/dbus-api.remote
>>> Running: git branch --remotes
>>> Running: git rev-list d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb --not 
--remotes=origin
>>> Running: git log -z --reverse 
--pretty=format:%H%x1f%P%x1f%an%x1f%ae%x1f%ad%x1f%cn%x1f%ce%x1f%cd%x1f%B 
--date=iso8601-strict 
d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..ebcaa0ae6ae924ab87571d91282452fc831ac4c7
>>> Running: git version
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..ebcaa0ae6ae924ab87571d91282452fc831ac4c7
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..199f1f3489546817036d23b2d95ae33dbd4ad2a8
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
199f1f3489546817036d23b2d95ae33dbd4ad2a8..e58cf25349c7d4abea5d68ff4004c5edf8e01184
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
e58cf25349c7d4abea5d68ff4004c5edf8e01184..83a9f02406d91e1cbbd16e0d24d456e504ffc6e7
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
83a9f02406d91e1cbbd16e0d24d456e504ffc6e7..38d453a5d3a2af7c3ab056350f8cad7e4e6e9b61
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
38d453a5d3a2af7c3ab056350f8cad7e4e6e9b61..1cb44afff5e4b41721707a86bc4a49eb622d6be2
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
1cb44afff5e4b41721707a86bc4a49eb622d6be2..52bd4c6f378519b2c701e31296bb4484415d1331
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
52bd4c6f378519b2c701e31296bb4484415d1331..843084c2846318de078f662cf0325cd626322044
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
843084c2846318de078f662cf0325cd626322044..0443f19bbcae4bd3cfe8a3a71964b050e984dca3
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
0443f19bbcae4bd3cfe8a3a71964b050e984dca3..90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a..7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4..18504e19da0391ab4e14812a7c0f51c2a3c98e90
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
18504e19da0391ab4e14812a7c0f51c2a3c98e90..8b8fe13453ed5084b259a640247a6c173d03374e
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
8b8fe13453ed5084b259a640247a6c173d03374e..5c21e1650db79d709fd37e96650a7cb2871495db
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
5c21e1650db79d709fd37e96650a7cb2871495db..865b13f7e56526ca9a52e647cf82bc73fa334115
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color 

Re: Fatal: not a git repository: 'None'

2021-07-07 Thread David Trowbridge
Hi,

Would you mind running your rbt command with --debug and including the
output?
Can you share how the repository is configured in the Review Board admin
site?

David

On Wed, Jul 7, 2021 at 8:01 AM Peter Šilon  wrote:

> My .reviewboardrc. RB version 4.0.3
>
> REVIEWBOARD_URL = "http://wskkosd002.global.web-int.net/";
> REPOSITORY = "chargingd"
> REPOSITORY_TYPE = "git"
> BRANCH = "master"
> LAND_DEST_BRANCH = "master"
>
> When I try to post a review I get an error.
>
> rbt post master..feature/dbus-api
> Validating commits...
>  [0/23]
> ERROR: Error validating diff
>
> fatal: not a git repository: 'None'
>  (HTTP 400, API Error 224)
>
> Repository exists. My .reviewboardrc was completely generated by rbt
> setup-repo.
>
> With NO-EXISTENT Git repo I get this:
>
> rbt post --repository=AAA master..feature/dbus-api
> Validating commits...
>  [0/23]
> ERROR: Error validating diff
>
> The repository path specified is not in the list of known repositories.
> (HTTP 400, API Error 206)
>
> Any help please? I'm slowly giving up on RB.
>
> Peter.
>
> --
> 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/2422fe6c-280f-4228-bea4-a4445989479dn%40googlegroups.com
> 
> .
>

-- 
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/CAFS3VNXPg9%3D%3DKF4jYBO%2B5PzTChyhcoOGu0kt_Vu3TxHffZajiA%40mail.gmail.com.


Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)

2019-07-11 Thread Diego Huang
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  > 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 
>>> 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 - X - 
>>> /admin/db/scmtools/repository/14/ - djblets.log.middleware - Exception 
>>> thrown for user X at 
>>> https:///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, wangy...@gmail.com 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

Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)

2019-07-10 Thread Christian Hammond
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 
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 
>> 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 - X -
>> /admin/db/scmtools/repository/14/ - djblets.log.middleware - Exception
>> thrown for user X at
>> https:///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, wangy...@gmail.com 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

Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)

2019-07-08 Thread Diego Huang
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 
> 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 - X - 
> /admin/db/scmtools/repository/14/ - djblets.log.middleware - Exception 
> thrown for user X at 
> https:///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, wangy...@gmail.com 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-pe

Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)

2019-07-08 Thread Diego Huang
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 
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 - X - 
/admin/db/scmtools/repository/14/ - djblets.log.middleware - Exception 
thrown for user X 
at https:///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, wangy...@gmail.com 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

Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)

2019-07-08 Thread Diego Huang
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 
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 - X - 
/admin/db/scmtools/repository/14/ - djblets.log.middleware - Exception 
thrown for user X at 
https://cr.impact.georgianpartners.com/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, wangy...@gmail.com 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: h

Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)

2019-07-08 Thread Aison Ji
大胸弟,我跟你遇到了同样的问题。。。方便加个好友不?微信: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 
> 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:
>
>
> 
>
>
> 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.


Re: fatal: Not a git repository: 'None'

2017-06-05 Thread Andrew Wall
That worked and the link was helpful. Thank you!

On Thursday, June 1, 2017 at 4:11:25 PM UTC-6, Christian Hammond wrote:
>
> Hi Andrew,
>
> Git doesn't have a remoting protocol that allows for the kind of 
> fine-grained access needed by tools like Review Board, so you can't 
> actually provide a URL to a repository and have it just work like you can 
> with other repository types. Instead, you'll need to use something like 
> GitWeb or cgit along with the remote URL. Review Board can use that to 
> fetch data from the repository.
>
> See 
> https://www.reviewboard.org/docs/manual/2.5/admin/configuration/repositories/git/#using-a-gitweb-backed-repository
>  
> for some setup options for Git repositories.
>
> Christian
>
> On Thu, Jun 1, 2017 at 1:58 PM, Andrew Wall  > wrote:
>
>> I've found a few related post but I haven't been able to make heads or 
>> tails of them, so I'm asking again for myself.
>>
>> People at work generally check out the repo with the following command;
>> git clone ssh://g...@git.company.com/repo
>>
>> For some reason I was only able to add the repo to ReviewBoard by 
>> modifying the Path field to (I think this may be related, but I'm not sure);
>> ssh://g...@git.company.com/~/repo
>>
>> I've created and added the .reviewboardrc as suggested by my local 
>> instance of reviewboard. If I use "rbt post" or try to attach a git 
>> generated diff (by using the 'git diff' command) via the web UI I get the 
>> following error;
>> *fatal: Not a git repository: 'None'*
>>
>> Using the web I also get the following line;
>> Line undefined: undefined
>>
>> With 'rbt post' I also get the following line;
>> (HTTP 400, API Error 224)
>>
>> Both my local machine and the server from which I'm trying to run 
>> reviewboard are running Ubuntu 16.04. If there is any more information I 
>> could provide please let me know. [I've enabled logging but it doesn't seem 
>> to generate any messages from an attempt to upload a diff].
>>
>> Thanks,
>> Andrew
>>
>> -- 
>> 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 reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>

-- 
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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: fatal: Not a git repository: 'None'

2017-06-01 Thread Christian Hammond
Hi Andrew,

Git doesn't have a remoting protocol that allows for the kind of
fine-grained access needed by tools like Review Board, so you can't
actually provide a URL to a repository and have it just work like you can
with other repository types. Instead, you'll need to use something like
GitWeb or cgit along with the remote URL. Review Board can use that to
fetch data from the repository.

See
https://www.reviewboard.org/docs/manual/2.5/admin/configuration/repositories/git/#using-a-gitweb-backed-repository
for some setup options for Git repositories.

Christian

On Thu, Jun 1, 2017 at 1:58 PM, Andrew Wall  wrote:

> I've found a few related post but I haven't been able to make heads or
> tails of them, so I'm asking again for myself.
>
> People at work generally check out the repo with the following command;
> git clone ssh://g...@git.company.com/repo
>
> For some reason I was only able to add the repo to ReviewBoard by
> modifying the Path field to (I think this may be related, but I'm not sure);
> ssh://g...@git.company.com/~/repo
>
> I've created and added the .reviewboardrc as suggested by my local
> instance of reviewboard. If I use "rbt post" or try to attach a git
> generated diff (by using the 'git diff' command) via the web UI I get the
> following error;
> *fatal: Not a git repository: 'None'*
>
> Using the web I also get the following line;
> Line undefined: undefined
>
> With 'rbt post' I also get the following line;
> (HTTP 400, API Error 224)
>
> Both my local machine and the server from which I'm trying to run
> reviewboard are running Ubuntu 16.04. If there is any more information I
> could provide please let me know. [I've enabled logging but it doesn't seem
> to generate any messages from an attempt to upload a diff].
>
> Thanks,
> Andrew
>
> --
> 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 reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

-- 
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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: fatal: Not a git repository: 'None'

2014-01-17 Thread David Trowbridge
Can you run with --debug?

You also don't need --parent if you're posting a diff against 'master'. The
tracking branch defaults to 'origin/master'

-David


On Fri, Jan 17, 2014 at 12:14 AM, Sergey Poulikov wrote:

> Hello all
>
> When I try to create a new review request with rbt (for example rbt post
> --server=http://rboard.myhost.com --username=*** --password=***
> --parent=master -d ) I get error like this 'fatal: Not a git repository:
> 'None''
>
> What am I doing wrong?
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.