Also, I can see that "py31compat.py" &  "py31compat.pyc" are present at  
/usr/lib/python2.7/dist-packages/pkg_resources/

On Wednesday, 6 May 2020 12:44:19 UTC+5:30, mohd shahid Khan wrote:
>
> Hi,
>
> I tried to install reviewboard on Ubuntu 20.4 LTS and 18.4 LTS and on both 
> I am getting same error -  
>
> Wed May 06 03:21:50.440499 2020] [wsgi:error] [pid 648:tid 
> 139678837630720] [client 192.168.1.5:53244] mod_wsgi (pid=648): Target 
> WSGI script '/var/www/csr2review/htdocs/reviewboard.wsgi' cannot be loaded 
> as Python module., referer: http://192.168.1.9/
>
> [Wed May 06 03:21:50.440531 2020] [wsgi:error] [pid 648:tid 
> 139678837630720] [client 192.168.1.5:53244] mod_wsgi (pid=648): Exception 
> occurred processing WSGI script 
> '/var/www/csr2review/htdocs/reviewboard.wsgi'., referer: 
> http://192.168.1.9/
>
> [Wed May 06 03:21:50.440546 2020] [wsgi:error] [pid 648:tid 
> 139678837630720] [client 192.168.1.5:53244] Traceback (most recent call 
> last):, referer: http://192.168.1.9/
>
> [Wed May 06 03:21:50.440562 2020] [wsgi:error] [pid 648:tid 
> 139678837630720] [client 192.168.1.5:53244]   File 
> "/var/www/csr2review/htdocs/reviewboard.wsgi", line 3, in <module>, 
> referer: http://192.168.1.9/
>
> [Wed May 06 03:21:50.440584 2020] [wsgi:error] [pid 648:tid 
> 139678837630720] [client 192.168.1.5:53244]     import pkg_resources, 
> referer: http://192.168.1.9/
>
> [Wed May 06 03:21:50.440601 2020] [wsgi:error] [pid 648:tid 
> 139678837630720] [client 192.168.1.5:53244]   File 
> "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 72, in 
> <module>, referer: http://192.168.1.9/
>
> [Wed May 06 03:21:50.440613 2020] [wsgi:error] [pid 648:tid 
> 139678837630720] [client 192.168.1.5:53244]     from . import py31compat, 
> referer: http://192.168.1.9/
>
> [Wed May 06 03:21:50.440627 2020] [wsgi:error] [pid 648:tid 
> 139678837630720] [client 192.168.1.5:53244] ImportError: cannot import 
> name py31compat, referer: http://192.168.1.9/
>
> [Wed May 06 03:22:51.430128 2020] [wsgi:error] [pid 648:tid 
> 139678820845312] [client 192.168.1.5:53246] mod_wsgi (pid=648): Target 
> WSGI script '/var/www/csr2review/htdocs/reviewboard.wsgi' cannot be loaded 
> as Python module., referer: http://192.168.1.9/
>
> [Wed May 06 03:22:51.430161 2020] [wsgi:error] [pid 648:tid 
> 139678820845312] [client 192.168.1.5:53246] mod_wsgi (pid=648): Exception 
> occurred processing WSGI script 
> '/var/www/csr2review/htdocs/reviewboard.wsgi'., referer: 
> http://192.168.1.9/
>
> [Wed May 06 03:22:51.430177 2020] [wsgi:error] [pid 648:tid 
> 139678820845312] [client 192.168.1.5:53246] Traceback (most recent call 
> last):, referer: http://192.168.1.9/
>
> [Wed May 06 03:22:51.430194 2020] [wsgi:error] [pid 648:tid 
> 139678820845312] [client 192.168.1.5:53246]   File 
> "/var/www/csr2review/htdocs/reviewboard.wsgi", line 3, in <module>, 
> referer: http://192.168.1.9/
>
> [Wed May 06 03:22:51.430220 2020] [wsgi:error] [pid 648:tid 
> 139678820845312] [client 192.168.1.5:53246]     import pkg_resources, 
> referer: http://192.168.1.9/
>
> [Wed May 06 03:22:51.430228 2020] [wsgi:error] [pid 648:tid 
> 139678820845312] [client 192.168.1.5:53246]   File 
> "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 72, in 
> <module>, referer: http://192.168.1.9/
>
> [Wed May 06 03:22:51.430241 2020] [wsgi:error] [pid 648:tid 
> 139678820845312] [client 192.168.1.5:53246]     from . import py31compat, 
> referer: http://192.168.1.9/
>
> [Wed May 06 03:22:51.430255 2020] [wsgi:error] [pid 648:tid 
> 139678820845312] [client 192.168.1.5:53246] ImportError: cannot import 
> name py31compat, referer: http://192.168.1.9/
>
>
> I have followed steps mentioned in below pages - 
>
>
> https://www.reviewboard.org/docs/manual/3.0/admin/installation/creating-sites/
>
>
> https://www.reviewboard.org/get/instructions/?org-type=business&product=rb&os=linux-deb&support-level=free
>
> https://www.reviewboard.org/docs/manual/dev/admin/installation/linux/
>
>
>
> on 18.4 I have also got cryptography version requirement errors which I 
> resolved and ended on above error. 
>
>
> Kindly help. 
>
>
> Thanks,
>
> -Shahid
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/e28f5c47-908f-4f9a-8d43-4e8d6851b8a4%40googlegroups.com.

Reply via email to