Re: RBTools Ticket #4819: "rbt post" is broken (will not accept Perforce changelist number) in 1.0.2 under Python 3.7.3

3 views
Skip to first unread message

Jose Angel Soler Ortiz

unread,
Jul 17, 2019, 7:33:53 AM7/17/19
to Jose Angel Soler Ortiz, Keith Kelly, reviewboa...@googlegroups.com
To reply, visit https://hellosplat.com/s/beanbag/tickets/4819/

New update by jose.ortiz

For Beanbag, Inc. RBTools Ticket #4819

I am also getting this issue on CentOS. I am using RBTools 1.0.2, Python 3.6.8 and p4 P4/LINUX26X86_64/2019.1/1813586 (2019/06/06). I debugged the issue and found out that p4 -G is generating Python dictionaries that contain byte literals instead of regular strings. I patched RBTools to convert all of these byte literals to strings before they are used, and I managed to make it work. The patch is just a workaround, but it's attached to this comment in case it can provide any insight.

Files:
+

4819_workaround.diff

Reply all
Reply to author
Forward
0 new messages