Re: Djblets Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Shubha Ramani
when will Djblets 4.1 be released?

thanks

shubha

On Wed, Dec 13, 2023, 3:40 PM Shubha Ramani  wrote:

> To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
>
> New update by shubhar
>
> For Beanbag, Inc.  ▸ Djblets
>  ▸ Ticket #5016
> 
>
> Python 3.11.1 (main, Jan  4 2023, 14:43:23) [GCC 9.1.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>
> import locale
> print(locale.getencoding())
> UTF-8
>
>

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/CALCSgiS6knc%3D3RW0RW3X3etnNOrsLDjYKzrmdLuwytwefUP3fQ%40mail.gmail.com.


Re: Djblets Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Shubha Ramani
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
--

New update by shubhar
For Beanbag, Inc. > Djblets > Ticket #5016


Reply:

Python 3.11.1 (main, Jan  4 2023, 14:43:23) [GCC 9.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> print(locale.getencoding())
UTF-8
>>>

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20231213234026.12733.43454%40ip-10-1-54-209.ec2.internal.


Re: Djblets Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Shubha Ramani
our python3.11 is installed by IT in a special tools area.

[image: image.png]

On Wed, Dec 13, 2023 at 3:34 PM Christian Hammond 
wrote:

> To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
>
> New update by chipx86
>
> For Beanbag, Inc.  ▸ Djblets
>  ▸ Ticket #5016
> 
>
> How was your Python installed? What built that environment? I'm looking at 
> the details and flow behind the error and the default encoding for streams 
> isn't what I'd expect.
>
> Can you run this on the server:
>
> $ /webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/bin/python
> import locale
> print(locale.getencoding())
>
>

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/CALCSgiQMaSasrQPcDgUr3iyjBBq5hxuXTN6wbw890khfB_oCjA%40mail.gmail.com.


Re: Djblets Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Christian Hammond
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
--

New update by shubhar
For Beanbag, Inc. > Djblets > Ticket #5016


Reply:

How was your Python installed? What built that environment? I'm looking at 
the details and flow behind the error and the default encoding for streams 
isn't what I'd expect.

Can you run this on the server:

```shell
$ /webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/bin/python
import locale
print(locale.getencoding())
```

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20231213233455.12733.46961%40ip-10-1-54-209.ec2.internal.


Re: Djblets Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Shubha Ramani
On Wed, Dec 13, 2023 at 3:18 PM Christian Hammond 
wrote:

> To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
>
> New update by chipx86
>
> For Beanbag, Inc.  ▸ Djblets
>  ▸ Ticket #5016
> 
>
>
>1. We're still trying to figure that out. There's a few things we're 
> coordinating for a release right now, and we have to wait until things are in 
> place.
>
> The thing about this failure is that, provided you're using the same version 
> of Python between your old RB5 install and RB6, you honestly should have had 
> the same problem. This was an issue in the third-party module, and the same 
> version would have been used in both.
>
> I haven't been able to reproduce this yet, but I'll have a couple more 
> follow-up questions on that in a minute.
>
>1. You can use the version of pip you used above and install the 
> publicsuffixlist package, and then apply this patch to your 
> /lib/python3.11/site-packages/djblets/:
>
> https://reviews.reviewboard.org/r/13454/diff/raw/
>
> That should get you the patch file. You'd want to back up your djblets 
> directory before proceeding. If all goes well, you can restart your web 
> server and try to reproduce the problem.
>
> So those questions:
>
>1. Is your /webapp path and everything in it local to the file system, or 
> mounted over something like NFS?
>2. Was Review Board 5 installed and managed on Python 3.11, or was it 
> using an older version?
>3. Can you think of any differences in the deployment between your RB5 and 
> RB6 that might be useful for me to know?
>
> Thanks!
>
>

   1.
   Is your /webapp path and everything in it local to the file system,
or mounted over something like NFS? It is an external disk mounted to
a virtual server. For instance it's not in /home/. /webapp is
a mounted disk
   2. Was Review Board 5 installed and managed on Python 3.11, or was
it using an older version? This is a brand new fresh install, no
ReviewBoard was ever installed before on this virtual server. Our
mysql server is mysql 8.x . The installation process used virtualenv
and the instructions followed were
https://www.reviewboard.org/docs/manual/latest/admin/installation/linux
though our location was /webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv
   3. Can you think of any differences in the deployment between your
RB5 and RB6 that might be useful for me to know? This is a brand new
installation.

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/CALCSgiSCdEbkhyThtK1rQTNVtnR5uTuG9htZRvucP3RAXccpqg%40mail.gmail.com.


Re: Djblets Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Christian Hammond
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
--

New update by shubhar
For Beanbag, Inc. > Djblets > Ticket #5016


Reply:

Oh, and part of that patch (the part to `setup.py`) won't be able to apply 
to an installed copy. It's meant for the source tree. If it complains, you can 
skip that file.

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20231213232823.12735.18372%40ip-10-1-54-209.ec2.internal.


Re: Djblets Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Christian Hammond
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
--

New update by shubhar
For Beanbag, Inc. > Djblets > Ticket #5016


Reply:

1. We're still trying to figure that out. There's a few things we're 
coordinating for a release right now, and we have to wait until things are in 
place.

The thing about this failure is that, provided you're using the same 
version of Python between your old RB5 install and RB6, you honestly should 
have had the same problem. This was an issue in the third-party module, and the 
same version would have been used in both.

I haven't been able to reproduce this yet, but I'll have a couple more 
follow-up questions on that in a minute.

2. You can use the version of pip you used above and install the 
`publicsuffixlist` package, and then apply this patch to your 
`/lib/python3.11/site-packages/djblets/`:

https://reviews.reviewboard.org/r/13454/diff/raw/

That should get you the patch file. You'd want to back up your `djblets` 
directory before proceeding. If all goes well, you can restart your web server 
and try to reproduce the problem.


So those questions:

1. Is your `/webapp` path and everything in it local to the file system, or 
mounted over something like NFS?
2. Was Review Board 5 installed and managed on Python 3.11, or was it using 
an older version?
3. Can you think of any differences in the deployment between your RB5 and 
RB6 that might be useful for me to know?

Thanks!

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20231213231849.12735.12961%40ip-10-1-54-209.ec2.internal.


Re: Djblets Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Shubha Ramani
Hi Christian, do you have an estimate when this will be fixed ? I am
wondering whether to wait for the fix or revert to an older stable version
of ReviewBoard (5.08 ?).

Thanks

Shubha

On Wed, Dec 13, 2023 at 6:23 AM Shubha Ramani 
wrote:

> To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
>
> New update by shubhar
>
> For Beanbag, Inc.  ▸ Djblets
>  ▸ Ticket #5016
> 
>
> " We'll ship this in Djblets 4.1 soon. If you have a support contract with 
> us, we can get you tailored builds, or you can try backporting the patch 
> internally and seeing if it resolves your problem."
>
> 1) How soon ? Like in 2 weeks ? A month ?
> 2) Sure. I can try backporting the patch internally. How can I get this patch 
> ?
>
> Thanks kindly
>
> Shubha
>
>

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/CALCSgiScssg9FEH8b1T_uFMdD2m1E1dp6F_Ag%3Dk86R3%2B%3DrYNQQ%40mail.gmail.com.


Re: Djblets Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Shubha Ramani
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
--

New update by shubhar
For Beanbag, Inc. > Djblets > Ticket #5016


Reply:

" We'll ship this in Djblets 4.1 soon. If you have a support contract with 
us, we can get you tailored builds, or you can try backporting the patch 
internally and seeing if it resolves your problem."

1) How soon ? Like in 2 weeks ? A month ?
2) Sure. I can try backporting the patch internally. How can I get this 
patch ?

Thanks kindly

Shubha

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20231213142333.12738.10331%40ip-10-1-54-209.ec2.internal.


Re: Review Board Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Shubha Ramani
happy to provide the info:
atlvptwebapp01:/webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/bin[ 66 ] -->
./pip show publicsuffix
Name: publicsuffix
Version: 1.1.1
Summary: Get a public suffix for a domain name using the Public Suffix List.
Home-page:
Author: Tomaz Solc
Author-email: tomaz.s...@tablix.org
License: MIT
Location:
/webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/lib/python3.11/site-packages
Requires:
Required-by: Djblets
atlvptwebapp01:/webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/bin[ 67 ] -->
./pip3 show publicsuffix
Name: publicsuffix
Version: 1.1.1
Summary: Get a public suffix for a domain name using the Public Suffix List.
Home-page:
Author: Tomaz Solc
Author-email: tomaz.s...@tablix.org
License: MIT
Location:
/webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/lib/python3.11/site-packages
Requires:
Required-by: Djblets
atlvptwebapp01:/webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/bin[ 68 ] -->

On Tue, Dec 12, 2023 at 9:01 PM Christian Hammond 
wrote:

> To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
>
> New update by chipx86
>
> For Beanbag, Inc.  ▸ Review Board
>  ▸ Ticket #5016
> 
>
> Hmm, interesting. Looks like an issue in a third-party module we use. We'll 
> look into what's going on there. Thank you for the log!
>
> Can you check the result of /webapp/reviewboard/site_prob-6.0.1/venv/bin/pip 
> show publicsuffix (path based on what's in the logs -- feel free to adjust if 
> needed) and show me what that says?
>
>

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/CALCSgiQTNQv56Mn_EjDH_Eg4GB1FiLm1SScCfSJaGq2MqcmSTg%40mail.gmail.com.


Re: Djblets Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Shubha Ramani
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
--

New update by shubhar
For Beanbag, Inc. > Djblets > Ticket #5016


Reply:

Sure, here you go:
atlvptwebapp01:/webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/bin[ 66 ] --> 
./pip show publicsuffix
Name: publicsuffix
Version: 1.1.1
Summary: Get a public suffix for a domain name using the Public Suffix List.
Home-page: 
Author: Tomaz Solc
Author-email: tomaz.s...@tablix.org
License: MIT
Location: 
/webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/lib/python3.11/site-packages
Requires: 
Required-by: Djblets
atlvptwebapp01:/webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/bin[ 67 ] --> 
./pip3 show publicsuffix
Name: publicsuffix
Version: 1.1.1
Summary: Get a public suffix for a domain name using the Public Suffix List.
Home-page: 
Author: Tomaz Solc
Author-email: tomaz.s...@tablix.org
License: MIT
Location: 
/webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/lib/python3.11/site-packages
Requires: 
Required-by: Djblets
atlvptwebapp01:/webapp/PYTHON_VENVS/ReviewBoard-6.0.1-venv/bin[ 68 ] -->

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20231213142058.12734.53378%40ip-10-1-54-209.ec2.internal.


Re: Djblets Ticket #5016: perforce rbt post fails with 500 internal error

2023-12-13 Thread Christian Hammond
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/5016/
--

New update by shubhar
For Beanbag, Inc. > Djblets > Ticket #5016


Reply:

We have a fix pending for this, switching to a modern, maintained 
alternative to `publicsuffix`. We'll ship this in Djblets 4.1 soon. If you have 
a support contract with us, we can get you tailored builds, or you can try 
backporting the patch internally and seeing if it resolves your problem.

https://reviews.reviewboard.org/r/13454/


Status:
- New
+ PendingReview


Project:
- reviewboard
+ djblets


Tags:
+ Component:EMail


Assigned to:
+ chipx86

-- 
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 reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20231213090006.12737.88232%40ip-10-1-54-209.ec2.internal.