------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4825/
------------------------------------------------------------------------------

New update by alebastr
For Beanbag, Inc. > RBTools > Ticket #4825


Reply:

    Two more tracebacks from `rbt diff -d` command:
    ```
    >>> Running: git log 8f934ac10ec3fcba20b9bb4359a7240ce06f3295
    Traceback (most recent call last):
      File "c:\python3\lib\runpy.py", line 193, in _run_module_as_main
        "__main__", mod_spec)
      File "c:\python3\lib\runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "C:\Python3\Scripts\rbt.exe__main__.py", line 9, in <module>
      File "c:\python3\lib\site-packages\rbtools\commands\main.py", line 120, 
in main
        command.run_from_argv([RB_MAIN, command_name] + args)
      File "c:\python3\lib\site-packages\rbtools\commands__init__.py", line 
725, in run_from_argv
        exit_code = self.main(*args) or 0
      File "c:\python3\lib\site-packages\rbtools\commands\diff.py", line 77, in 
main
        extra_args=extra_args)
      File "c:\python3\lib\site-packages\rbtools\clients\git.py", line 636, in 
diff
        no_renames)
      File "c:\python3\lib\site-packages\rbtools\clients\git.py", line 784, in 
make_diff
        return self.make_perforce_diff(merge_base, diff_lines)
      File "c:\python3\lib\site-packages\rbtools\clients\git.py", line 913, in 
make_perforce_diff
        ['p4', 'files', base_path + filename + '@' + p4rev],
    TypeError: can't concat str to bytes
    ```
    
    ```
    >>> Running: git log 8f934ac10ec3fcba20b9bb4359a7240ce06f3295
    >>> Running: p4 files //depot/<...>@3037715
    Traceback (most recent call last):
      File "c:\python3\lib\runpy.py", line 193, in _run_module_as_main
        "__main__", mod_spec)
      File "c:\python3\lib\runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "C:\Python3\Scripts\rbt.exe__main__.py", line 9, in <module>
      File "c:\python3\lib\site-packages\rbtools\commands\main.py", line 120, 
in main
        command.run_from_argv([RB_MAIN, command_name] + args)
      File "c:\python3\lib\site-packages\rbtools\commands__init__.py", line 
725, in run_from_argv
        exit_code = self.main(*args) or 0
      File "c:\python3\lib\site-packages\rbtools\commands\diff.py", line 77, in 
main
        extra_args=extra_args)
      File "c:\python3\lib\site-packages\rbtools\clients\git.py", line 636, in 
diff
        no_renames)
      File "c:\python3\lib\site-packages\rbtools\clients\git.py", line 784, in 
make_diff
        return self.make_perforce_diff(merge_base, diff_lines)
      File "c:\python3\lib\site-packages\rbtools\clients\git.py", line 914, in 
make_perforce_diff
        ignore_errors=True, results_unicode=False)
      File "c:\python3\lib\site-packages\rbtools\clients\git.py", line 1225, in 
_execute
        return execute(cmdline, cwd=self._git_toplevel, *args, **kwargs)
      File "c:\python3\lib\site-packages\rbtools\utils\process.py", line 155, 
in execute
        **popen_encoding_args)
      File "c:\python3\lib\subprocess.py", line 775, in __init__
        restore_signals, start_new_session)
      File "c:\python3\lib\subprocess.py", line 1119, in _execute_child
        args = list2cmdline(args)
      File "c:\python3\lib\subprocess.py", line 530, in list2cmdline
        needquote = (" " in arg) or ("\t" in arg) or not arg
    TypeError: a bytes-like object is required, not 'str'
    ```

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/reviewboard-issues.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20190529180516.872.26891%40ip-10-1-54-209.ec2.internal.
For more options, visit https://groups.google.com/d/optout.

Reply via email to