TypeError when attempting to save new Plastic repo

28 views
Skip to first unread message

Christian Carroll

unread,
Sep 25, 2024, 9:37:35 AM9/25/24
to Review Board Community
Hello all,

I recently have been trying to set up a new Review Board installation with a virtual container in Ubuntu 24.04 and RB 7.0.2. for our Plastic repositories. I had some issues but finally got the site to show up at our server's IP address. When trying to save a repo to test things, I get an error at the top: ['cannot use a bytes pattern on a string-like object']. I checked the logs hoping to find more information but saw only the same error message: "TypeError: cannot use a bytes pattern on a string-like object". I had this same error before trying to install on Ubuntu 20.04 which we upgraded from to try to avoid this problem, thinking it may have been related to mismatched versions. Unfortunately I was unable to figure out what is causing this issue so not sure what to do from here.

Would appreciate any advice,
Christian Carroll

Christian Carroll

unread,
Oct 3, 2024, 1:22:08 PM10/3/24
to Review Board Community
Still having this issue, tried again with Ubuntu 22.04 and Python 3.10. If anyone has any idea of what could cause it, would really appreciate any insight

Christian Carroll

unread,
Oct 4, 2024, 12:00:55 PM10/4/24
to Review Board Community
I discovered that it will allow me to save the repo if I uncheck "Show this repository". When in the list of repos, it shows Type/Account as "plastic (missing support)". As far as I could tell from all of the documentation, there wasn't anything specific to install other than the plastic client tools cm. How can I add Plastic SCM support to my Ubuntu venv Review Board installation?

Christian Hammond

unread,
Oct 5, 2024, 4:06:32 PM10/5/24
to revie...@googlegroups.com
Hi,

The Plastic support in Review Board was originally contributed by the Plastic team, years back, and wasn’t kept up-to-date with changes in Plastic.

We’ve been working on bringing full support back, but have been hitting problems with bugs in their authentication process, where credentials will on occasion not refresh and require the repository to be re-configured.

I’m personally working on this support and want to bring it back to Review Board. We’ve been waiting to see if the authentication issues will be fixed, or if we can work around it, but I don’t have an ETA on this right now, unfortunately. When it’s ready, we’ll be making an announcement about the new support.

Christian

--
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 "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/1a419b1c-582b-46c1-ba42-1a75f5d27da2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages