Hi Jegan,

Thanks for this advice. I have done this but it doesn't help, unfortunately.
I continue to see this error in apache2 log file: *ImportError: cannot 
import name py31compat*

Thanks.

---
Best regards,
Mike

вторник, 1 июня 2021 г. в 18:04:05 UTC-5, [email protected]: 

> Hi,
>
> Please change from  ALLOWED_HOSTS=['localhost.localdomain'] 
> to
>
> ALLOWED_HOSTS=["*"]
>
> It will work. Please try and let me know. I did it and found it working 
>
> Regards,
> Jegan
> On Tuesday, June 1, 2021 at 9:12:35 PM UTC+5:30 [email protected] 
> wrote:
>
>> Hi David,
>>
>> Log directory of ReviewBoard is empty. I have taken a look into apache2 
>> errors log:
>>
>> Tue Jun 01 10:35:12.708494 2021] [wsgi:error] [pid 483:tid 
>> 140400769578752] [client 127.0.0.1:51884] mod_wsgi (pid=483): Failed to 
>> exec Python script file '/var/www/
>> reviews.example.net/htdocs/reviewboard.wsgi'.
>> [Tue Jun 01 10:35:12.708521 2021] [wsgi:error] [pid 483:tid 
>> 140400769578752] [client 127.0.0.1:51884] mod_wsgi (pid=483): Exception 
>> occurred processing WSGI script '/var/www/
>> reviews.example.net/htdocs/reviewboard.wsgi'.
>> [Tue Jun 01 10:35:12.708536 2021] [wsgi:error] [pid 483:tid 
>> 140400769578752] [client 127.0.0.1:51884] Traceback (most recent call 
>> last):
>> [Tue Jun 01 10:35:12.708551 2021] [wsgi:error] [pid 483:tid 
>> 140400769578752] [client 127.0.0.1:51884]   File "/var/www/
>> reviews.example.net/htdocs/reviewboard.wsgi", line 3, in <module>
>> [Tue Jun 01 10:35:12.708571 2021] [wsgi:error] [pid 483:tid 
>> 140400769578752] [client 127.0.0.1:51884]     import pkg_resources
>> [Tue Jun 01 10:35:12.708587 2021] [wsgi:error] [pid 483:tid 
>> 140400769578752] [client 127.0.0.1:51884]   File 
>> "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 79, in 
>> <module>
>> [Tue Jun 01 10:35:12.708598 2021] [wsgi:error] [pid 483:tid 
>> 140400769578752] [client 127.0.0.1:51884]     from . import py31compat
>> [Tue Jun 01 10:35:12.708610 2021] [wsgi:error] [pid 483:tid 
>> 140400769578752] [client 127.0.0.1:51884] ImportError: cannot import 
>> name py31compat
>>
>> I have tried to install this packet directly, but without success:
>> mixa@mixa-VirtualBox:~$ pip install py31compat
>> ERROR: Could not find a version that satisfies the requirement py31compat 
>> (from versions: none)
>> ERROR: No matching distribution found for py31compat
>>
>>
>> I have tried to google this ImportError and have found the next page on 
>> stackoverflow - 
>> https://stackoverflow.com/questions/46998858/importerror-no-module-named-py31compat
>> But in fact, this didn't help, because I have already had setuptools.
>>
>> Proof:
>> mixa@mixa-VirtualBox:~$ pip install setuptools
>> Requirement already satisfied: setuptools in 
>> /usr/lib/python3/dist-packages (45.2.0)
>>
>> Thanks!
>>
>> ----
>> Best regards,
>> Mike
>> вторник, 1 июня 2021 г. в 00:24:18 UTC-5, David Trowbridge: 
>>
>>> Can you look in the Review Board and/or web server log files?
>>>
>>> David
>>>
>>> On Mon, May 31, 2021 at 6:31 PM Mike Basov <[email protected]> wrote:
>>>
>>>> Hello guys!
>>>>
>>>> I have just installed ReviewBoard 4.0.1 on my Ubuntu 20.04 VM and 
>>>> always see Error 500 when I am trying to open review board in the 
>>>> configured localhost.
>>>>
>>>> I googled this problem and have seen that I should enable DEBUG option 
>>>> in the *settings_local.py* config file. I had done this and nothing 
>>>> changes. I still can't see detailed description of errors.
>>>>
>>>> Could you help to figure out this problem?
>>>>
>>>> Thanks!
>>>>
>>>> ---
>>>> Best regards,
>>>> Mike
>>>>
>>>> -- 
>>>> 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 [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/reviewboard/cbeb55e8-45f3-462e-ac94-84951710786bn%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/reviewboard/cbeb55e8-45f3-462e-ac94-84951710786bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/3ef660c2-45b8-4546-b133-b0d130bb59afn%40googlegroups.com.

Reply via email to