Hi Chris,
Here is the log I got through debug command

E:\AV_MAIN_BRANCH_SQL\AV\main>rbt post --debug 906043
>>> RBTools 0.7.5 alpha 0 (dev)
>>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit 
(Intel)]
>>> Running on Windows-2012Server-6.2.9200
>>> Home = C:\Users\Administrator\AppData\Roaming
>>> Current directory = E:\AV_MAIN_BRANCH_SQL\AV\main
>>> Checking for a Subversion repository...
>>> Unable to execute "svn help": skipping SVN
>>> Checking for a Git repository...
>>> Unable to execute "git --help" or "git.cmd --help": skipping Git
>>> Checking for a Mercurial repository...
>>> Unable to execute "hg --help": skipping Mercurial
>>> Checking for a CVS repository...
>>> Unable to execute "cvs": skipping CVS
>>> Checking for a Perforce repository...
>>> Running: p4 info
>>> Running: diff --version
>>> repository info: Path: <website>.com:1666, Base path: Non
e, Supports changesets: True
>>> Making HTTP GET request to http://reviews.avamar.com/api/
>>> Making HTTP GET request to http://reviews.avamar.com/api/info/
>>> Running: p4 info
Path '906043' does not match a valid Perforce path.

On Friday, February 10, 2023 at 4:19:13 AM UTC+5:30 Christian Hammond wrote:

> Hi Rajan,
>
> I can take a look, though I'll need to see some more details. Can you run 
> as `rbt post --debug <your ID>` and show the results of that?
>
> Also, are you an administrator on the server? It might be important to get 
> some logs.
>
> Thanks,
>
> Christian
>
> On Thu, Feb 9, 2023 at 7:27 AM Rajan M <rajan...@gmail.com> wrote:
>
>> Anyone have better answer for this question. I have python 3.6 in my 
>> setup as default still I get same error
>>
>> On Thursday, May 16, 2019 at 2:02:21 AM UTC+5:30 Harsh Verma wrote:
>>
>>> For anyone who might find this thread for the issue.
>>>
>>> I resolved it by modifying the /usr/bin/rbt script to use python 2.7 
>>> instead of python 3.6 since I have both installed and rbt script was using 
>>> python 3.6.
>>>
>>> Patch:
>>>
>>> 1c1
>>> < #!/usr/bin/python3.6
>>> ---
>>> > #!/usr/bin/python
>>>
>>>
>>> On Wednesday, May 15, 2019 at 9:28:03 AM UTC-7, Harsh Verma wrote:
>>>>
>>>> I already have it in my ~/.reviewboardrc file
>>>>
>>>> On Tuesday, May 14, 2019 at 2:50:48 PM UTC-7, Steve McCarthy wrote:
>>>>>
>>>>> In  ~/.reviewboardrc add:
>>>>>
>>>>>     REPOSITORY_TYPE = "perforce"
>>>>>
>>>>> Got me past this error.
>>>>>
>>>>> -Steve
>>>>>
>>>>>
>>>>>
>>>>> On Tuesday, May 14, 2019 at 2:46:46 PM UTC-7, Harsh Verma wrote:
>>>>>>
>>>>>> Hi Darshan,
>>>>>>
>>>>>> I am running into the exact same issue and cannot post reviews using 
>>>>>> rbt. Did you find a resolution to this issue?
>>>>>>
>>>>>> Thanks,
>>>>>> Harsh
>>>>>>
>>>>>> On Wednesday, July 11, 2018 at 8:42:43 AM UTC-7, Darshan MAnge wrote:
>>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I am facing the below issue while running below command
>>>>>>>
>>>>>>> input :
>>>>>>>
>>>>>>> rbt post -d 6389924
>>>>>>>
>>>>>>>
>>>>>>> output:
>>>>>>>
>>>>>>> the issue it pops is : rbtools.clients.errors.SCMError: Path 
>>>>>>> 6303924 does not match a valid Perforce path.
>>>>>>>
>>>>>>>
>>>>>>> My Findings:
>>>>>>>
>>>>>>> 1. It is not able to return state of the changelist and thereby 
>>>>>>> making whole revisions variable NONE
>>>>>>>
>>>>>>>
>>>>>>> File perforce.py
>>>>>>>
>>>>>>> def _get_changelist_status(self, changelist):
>>>>>>>
>>>>>>>         ...
>>>>>>>
>>>>>>>
>>>>>>>         if changelist == self.REVISION_DEFAULT_CLN:
>>>>>>>
>>>>>>>             return 'pending'
>>>>>>>
>>>>>>>         else:
>>>>>>>
>>>>>>>             change = self.p4.change(changelist)
>>>>>>>
>>>>>>>             if len(change) == 1 and 'Status' in change[0]:
>>>>>>>
>>>>>>>                 return change[0]['Status']
>>>>>>>
>>>>>>>
>>>>>>>         return None
>>>>>>>
>>>>>>>
>>>>>>> 2. return change[0]['Status'] in this line it is not able to find 
>>>>>>> Status key inside the change object
>>>>>>>
>>>>>>>
>>>>>>> output of line : change = self.p4.change(changelist) is 
>>>>>>>
>>>>>>>
>>>>>>> {b'code': b'stat', b'Change': b'6303924', b'Date': b'2018/07/09 
>>>>>>> 17:22:22', b'Client': b'dmange-cmd-vapi', ..., }
>>>>>>>
>>>>>>>
>>>>>>> 3. I guess while decoding it using marshal in below line, it is 
>>>>>>> somehow not able to convert it to dictionary. 
>>>>>>>
>>>>>>>
>>>>>>> line 283 : data = marshal.load(p.stdout)
>>>>>>>
>>>>>>>
>>>>>>> Please let me know if anyone can help me resolving this issue, i 
>>>>>>> changed marshal to json and pickle, an another form of decoder, but 
>>>>>>> still i 
>>>>>>> was not able to solve the issue. 
>>>>>>>
>>>>>>>
>>>>>>> Thanks and Regards,
>>>>>>>
>>>>>>> Darshan Mange
>>>>>>>
>>>>>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/reviewboard/a494ea09-6302-4f03-9dae-2ab111ba271dn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/a494ea09-6302-4f03-9dae-2ab111ba271dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
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/304bbde4-218c-4950-927f-c698fe012558n%40googlegroups.com.

Reply via email to