macOS installation failed (pip ReviewBoard)
Ahoy Everyone, I just tried to install ReviewBoard on macOS but i'm in front of an error, a dumb error, when did "sudo -H pip install ReviewBoard": Found existing installation: setuptools 1.1.6 Uninstalling setuptools-1.1.6: Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 317, in run prefix=options.prefix_path, File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 736, in install requirement.uninstall(auto_confirm=True) File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 742, in uninstall paths_to_remove.remove(auto_confirm) File "/Library/Python/2.7/site-packages/pip/req/req_uninstall.py", line 115, in remove renames(path, new_path) File "/Library/Python/2.7/site-packages/pip/utils/__init__.py", line 267, in renames shutil.move(old, new) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 299, in move copytree(src, real_dst, symlinks=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 208, in copytree raise Error, errors Error: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py', '/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py', "[Errno 1] Operation not permitted: '/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc', '/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc', "[Errno 1] Operation not permitted: '/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py', '/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py', "[Errno 1] Operation not permitted: '/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc', '/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc', "[Errno 1] Operation not permitted: '/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib', '/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib', "[Errno 1] Operation not permitted: '/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'")] Any Explanations ? Cheers From France -- 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 "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
"Review Board is taking a nap" after update
Hello everyone, My team and myself are using review board. When i tried to do an update, it blocks our instance and telling us "i'm taking a nap". This is ALL i did: $ sudo systemctl stop httpd.service $ sudo easy_install -U ReviewBoard $ rb-site upgrade --all-sites #there is only one site in fact $ sudo systemctl start httpd.service When i saw this, i decided to check logs: [jgoudet@git-jenkins ~]$ tail -f /var/www/reviewboard/logs/reviewboard.log 2016-07-19 15:55:05,095 - INFO - - Reloading logging settings 2016-07-19 15:57:03,844 - INFO - - Reloading logging settings 2016-07-19 15:59:32,659 - INFO - - Reloading logging settings 2016-07-19 16:00:05,954 - INFO - - Reloading logging settings 2016-07-19 16:02:05,070 - INFO - - Reloading logging settings 2016-07-19 16:05:05,570 - INFO - - Reloading logging settings 2016-07-19 16:10:06,029 - INFO - - Reloading logging settings 2016-07-19 16:15:05,473 - INFO - - Reloading logging settings 2016-07-19 16:20:05,366 - INFO - - Reloading logging settings 2016-07-19 16:25:04,799 - INFO - - Reloading logging settings No more informations, even after force log debug to true in configuration + restart [jgoudet@git-jenkins ~]$ systemctl status httpd.service -l *●* httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/httpd.service.d └─reviewboard-sites.conf Active: *active (running)* since mer. 2016-07-20 17:54:28 CEST; 17h ago Docs: man:httpd(8) man:apachectl(8) Process: 59406 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/ SUCCESS) Process: 59423 ExecStartPre=/usr/bin/rb-site upgrade --all-sites (code= exited, status=0/SUCCESS) Main PID: 59461 (httpd) Status: "Total requests: 218; Current requests/sec: 0.1; Current traffic: 204 B/sec" CGroup: /system.slice/httpd.service ├─ 3338 /usr/sbin/httpd -DFOREGROUND ├─59461 /usr/sbin/httpd -DFOREGROUND ├─59463 /usr/sbin/httpd -DFOREGROUND ├─59464 /usr/sbin/httpd -DFOREGROUND ├─59465 /usr/sbin/httpd -DFOREGROUND ├─59466 /usr/sbin/httpd -DFOREGROUND ├─59467 /usr/sbin/httpd -DFOREGROUND ├─59469 /usr/sbin/httpd -DFOREGROUND ├─61187 /usr/sbin/httpd -DFOREGROUND ├─61188 /usr/sbin/httpd -DFOREGROUND └─61189 /usr/sbin/httpd -DFOREGROUND juil. 20 17:54:27 git-XXX.fr rb-site[59423]: -- -- juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Creating tables ... juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Installing custom SQL ... juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Installing indexes ... juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Installed 0 object(s) from 0 fixture(s) juil. 20 17:54:27 git-XXX.fr rb-site[59423]: No evolution required. juil. 20 17:54:27 git-XXX.fr rb-site[59423]: --- --- juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Resetting in-database caches. juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Upgrade complete! juil. 20 17:54:28 git-XXX.fr systemd[1]: Started The Apache HTTP Server. Any ideas about what's going on ? -- 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 "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: "Review Board is taking a nap" after update
Better typo, sorry Le jeudi 21 juillet 2016 11:41:53 UTC+2, julien gdt a écrit : > > Hello everyone, > > My team and myself are using review board. > When i tried to do an update, it blocks our instance and telling us "i'm > taking a nap". > > This is ALL i did: > > $ sudo systemctl stop httpd.service > > $ sudo easy_install -U ReviewBoard > > $ rb-site upgrade --all-sites #there is only one site in fact > > $ sudo systemctl start httpd.service > > > When i saw this, i decided to check logs: > > [jgoudet@git-jenkins ~]$ tail -f /var/www/reviewboard/logs/reviewboard.log > > 2016-07-19 15:55:05,095 - INFO - - Reloading logging settings > > 2016-07-19 15:57:03,844 - INFO - - Reloading logging settings > > 2016-07-19 15:59:32,659 - INFO - - Reloading logging settings > > 2016-07-19 16:00:05,954 - INFO - - Reloading logging settings > > 2016-07-19 16:02:05,070 - INFO - - Reloading logging settings > > 2016-07-19 16:05:05,570 - INFO - - Reloading logging settings > > 2016-07-19 16:10:06,029 - INFO - - Reloading logging settings > > 2016-07-19 16:15:05,473 - INFO - - Reloading logging settings > > 2016-07-19 16:20:05,366 - INFO - - Reloading logging settings > > 2016-07-19 16:25:04,799 - INFO - - Reloading logging settings > > > No more informations, even after force log debug to true in configuration > + restart > > > > [jgoudet@git-jenkins ~]$ systemctl status httpd.service -l > > *●* httpd.service - The Apache HTTP Server > > Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor > preset: disabled) > > Drop-In: /usr/lib/systemd/system/httpd.service.d > > └─reviewboard-sites.conf > > Active: *active (running)* since mer. 2016-07-20 17:54:28 CEST; 17h ago > > Docs: man:httpd(8) > > man:apachectl(8) > > Process: 59406 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, > status=0/SUCCESS) > > Process: 59423 ExecStartPre=/usr/bin/rb-site upgrade --all-sites > (code=exited, status=0/SUCCESS) > > Main PID: 59461 (httpd) > > Status: "Total requests: 218; Current requests/sec: 0.1; Current > traffic: 204 B/sec" > > CGroup: /system.slice/httpd.service > > ├─ 3338 /usr/sbin/httpd -DFOREGROUND > > ├─59461 /usr/sbin/httpd -DFOREGROUND > > ├─59463 /usr/sbin/httpd -DFOREGROUND > > ├─59464 /usr/sbin/httpd -DFOREGROUND > > ├─59465 /usr/sbin/httpd -DFOREGROUND > > ├─59466 /usr/sbin/httpd -DFOREGROUND > > ├─59467 /usr/sbin/httpd -DFOREGROUND > > ├─59469 /usr/sbin/httpd -DFOREGROUND > > ├─61187 /usr/sbin/httpd -DFOREGROUND > > ├─61188 /usr/sbin/httpd -DFOREGROUND > > └─61189 /usr/sbin/httpd -DFOREGROUND > > > juil. 20 17:54:27 git-XXX.fr rb-site[59423]: -- output> -- > > juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Creating tables ... > > juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Installing custom SQL ... > > juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Installing indexes ... > > juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Installed 0 object(s) from 0 > fixture(s) > > juil. 20 17:54:27 git-XXX.fr rb-site[59423]: No evolution required. > > juil. 20 17:54:27 git-XXX.fr rb-site[59423]: --- output> --- > > juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Resetting in-database caches. > > juil. 20 17:54:27 git-XXX.fr rb-site[59423]: Upgrade complete! > > juil. 20 17:54:28 git-XXX.fr systemd[1]: Started The Apache HTTP Server. > > > Any ideas about what's going on ? > > -- 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 "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: "Review Board is taking a nap" after update
Here is my err log from HTTPD: [root@git-jenkins httpd]# tail -f error_log [Thu Jul 21 11:58:51.972655 2016] [:error] [pid 9309] [client 172.17.17.126:56640] Traceback (most recent call last):, referer: http://git-jenkins/reviewboard/ [Thu Jul 21 11:58:51.972724 2016] [:error] [pid 9309] [client 172.17.17.126:56640] File "/var/www/reviewboard/htdocs/reviewboard.wsgi", line 3, in , referer: http://git-jenkins/reviewboard/ [Thu Jul 21 11:58:51.972875 2016] [:error] [pid 9309] [client 172.17.17.126:56640] import pkg_resources, referer: http://git-jenkins/reviewboard/ [Thu Jul 21 11:58:51.972910 2016] [:error] [pid 9309] [client 172.17.17.126:56640] File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in , referer: http://git-jenkins/reviewboard/ [Thu Jul 21 11:58:51.974748 2016] [:error] [pid 9309] [client 172.17.17.126:56640] working_set.require(__requires__), referer: http://git-jenkins/reviewboard/ [Thu Jul 21 11:58:51.974823 2016] [:error] [pid 9309] [client 172.17.17.126:56640] File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require, referer: http://git-jenkins/reviewboard/ [Thu Jul 21 11:58:51.974939 2016] [:error] [pid 9309] [client 172.17.17.126:56640] needed = self.resolve(parse_requirements(requirements)), referer: http://git-jenkins/reviewboard/ [Thu Jul 21 11:58:51.974987 2016] [:error] [pid 9309] [client 172.17.17.126:56640] File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve, referer: http://git-jenkins/reviewboard/ [Thu Jul 21 11:58:51.975348 2016] [:error] [pid 9309] [client 172.17.17.126:56640] raise DistributionNotFound(req), referer: http://git-jenkins/reviewboard/ [Thu Jul 21 11:58:51.975553 2016] [:error] [pid 9309] [client 172.17.17.126:56640] DistributionNotFound: mimeparse>=0.1.3, referer: http://git-jenkins/reviewboard/ Don't understand because mime parse is well installed: [root@git-jenkins httpd]# yum install python-mimeparse Modules complémentaires chargés : fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.ate.info * epel: mirrors.coreix.net * extras: ftp.ciril.fr * updates: miroir.univ-paris13.fr Le paquet python-mimeparse-0.1.4-2.el7.noarch est déjà installé dans sa dernière version Rien à faire Le jeudi 21 juillet 2016 11:41:53 UTC+2, julien gdt a écrit : > > Hello everyone, > > My team and myself are using review board. > When i tried to do an update, it blocks our instance and telling us "i'm > taking a nap". > > This is ALL i did: > > $ sudo systemctl stop httpd.service > > $ sudo easy_install -U ReviewBoard > > $ rb-site upgrade --all-sites #there is only one site in fact > > $ sudo systemctl start httpd.service > > > When i saw this, i decided to check logs: > > [jgoudet@git-jenkins ~]$ tail -f /var/www/reviewboard/logs/reviewboard.log > > 2016-07-19 15:55:05,095 - INFO - - Reloading logging settings > > 2016-07-19 15:57:03,844 - INFO - - Reloading logging settings > > 2016-07-19 15:59:32,659 - INFO - - Reloading logging settings > > 2016-07-19 16:00:05,954 - INFO - - Reloading logging settings > > 2016-07-19 16:02:05,070 - INFO - - Reloading logging settings > > 2016-07-19 16:05:05,570 - INFO - - Reloading logging settings > > 2016-07-19 16:10:06,029 - INFO - - Reloading logging settings > > 2016-07-19 16:15:05,473 - INFO - - Reloading logging settings > > 2016-07-19 16:20:05,366 - INFO - - Reloading logging settings > > 2016-07-19 16:25:04,799 - INFO - - Reloading logging settings > > > No more informations, even after force log debug to true in configuration > + restart > > > > [jgoudet@git-jenkins ~]$ systemctl status httpd.service -l > > *●* httpd.service - The Apache HTTP Server > > Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor > preset: disabled) > > Drop-In: /usr/lib/systemd/system/httpd.service.d > > └─reviewboard-sites.conf > > Active: *active (running)* since mer. 2016-07-20 17:54:28 CEST; 17h ago > > Docs: man:httpd(8) > > man:apachectl(8) > > Process: 59406 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status= > 0/SUCCESS) > > Process: 59423 ExecStartPre=/usr/bin/rb-site upgrade --all-sites (code= > exited, status=0/SUCCESS) > > Main PID: 59461 (httpd) > > Status: "Total requests: 218; Current requests/sec: 0.1; Current > traffic: 204 B/sec" > > CGroup: /system.slice/httpd.service > > ├─ 3338 /usr/sbin/httpd -DFOREGROUND > > ├─59461 /usr/sbin/httpd -DFOREGROUND > > ├─59463 /usr/sbin/httpd -DFOREGROUND > > ├─59464 /usr/sbin/httpd -DFOREGROUND
Re: "Review Board is taking a nap" after update
Hi Christian, Here is the output: /usr/lib/python2.7/site-packages/mimeparse.py /usr/lib/python2.7/site-packages/mimeparse.pyc /usr/lib/python2.7/site-packages/mimeparse.pyo /usr/lib/python2.7/site-packages/python_mimeparse-0.1.4-py2.7.egg-info /usr/share/doc/python-mimeparse-0.1.4 /usr/share/doc/python-mimeparse-0.1.4/README And Yes always Yum only. Thanks for your help Le jeudi 21 juillet 2016 22:42:03 UTC+2, Christian Hammond a écrit : > > Hi, > > Can you show the results of: > > rpm -ql python-mimeparse > > Was Review Board ever installed via yum? > > Christian > > > On Thursday, July 21, 2016, julien gdt > > wrote: > >> Here is my err log from HTTPD: >> >> [root@git-jenkins httpd]# tail -f error_log >> >> [Thu Jul 21 11:58:51.972655 2016] [:error] [pid 9309] [client >> 172.17.17.126:56640] Traceback (most recent call last):, referer: >> http://git-jenkins/reviewboard/ >> >> [Thu Jul 21 11:58:51.972724 2016] [:error] [pid 9309] [client >> 172.17.17.126:56640] File >> "/var/www/reviewboard/htdocs/reviewboard.wsgi", line 3, in , >> referer: http://git-jenkins/reviewboard/ >> >> [Thu Jul 21 11:58:51.972875 2016] [:error] [pid 9309] [client >> 172.17.17.126:56640] import pkg_resources, referer: >> http://git-jenkins/reviewboard/ >> >> [Thu Jul 21 11:58:51.972910 2016] [:error] [pid 9309] [client >> 172.17.17.126:56640] File >> "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in >> , referer: http://git-jenkins/reviewboard/ >> >> [Thu Jul 21 11:58:51.974748 2016] [:error] [pid 9309] [client >> 172.17.17.126:56640] working_set.require(__requires__), referer: >> http://git-jenkins/reviewboard/ >> >> [Thu Jul 21 11:58:51.974823 2016] [:error] [pid 9309] [client >> 172.17.17.126:56640] File >> "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require, >> referer: http://git-jenkins/reviewboard/ >> >> [Thu Jul 21 11:58:51.974939 2016] [:error] [pid 9309] [client >> 172.17.17.126:56640] needed = >> self.resolve(parse_requirements(requirements)), referer: >> http://git-jenkins/reviewboard/ >> >> [Thu Jul 21 11:58:51.974987 2016] [:error] [pid 9309] [client >> 172.17.17.126:56640] File >> "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve, >> referer: http://git-jenkins/reviewboard/ >> >> [Thu Jul 21 11:58:51.975348 2016] [:error] [pid 9309] [client >> 172.17.17.126:56640] raise DistributionNotFound(req), referer: >> http://git-jenkins/reviewboard/ >> >> [Thu Jul 21 11:58:51.975553 2016] [:error] [pid 9309] [client >> 172.17.17.126:56640] DistributionNotFound: mimeparse>=0.1.3, referer: >> http://git-jenkins/reviewboard/ >> >> >> Don't understand because mime parse is well installed: >> >> [root@git-jenkins httpd]# yum install python-mimeparse >> >> Modules complémentaires chargés : fastestmirror >> >> Loading mirror speeds from cached hostfile >> >> * base: centos.mirror.ate.info >> >> * epel: mirrors.coreix.net >> >> * extras: ftp.ciril.fr >> >> * updates: miroir.univ-paris13.fr >> >> Le paquet python-mimeparse-0.1.4-2.el7.noarch est déjà installé dans sa >> dernière version >> >> Rien à faire >> >> >> >> >> >> >> >> Le jeudi 21 juillet 2016 11:41:53 UTC+2, julien gdt a écrit : >>> >>> Hello everyone, >>> >>> My team and myself are using review board. >>> When i tried to do an update, it blocks our instance and telling us "i'm >>> taking a nap". >>> >>> This is ALL i did: >>> >>> $ sudo systemctl stop httpd.service >>> >>> $ sudo easy_install -U ReviewBoard >>> >>> $ rb-site upgrade --all-sites #there is only one site in fact >>> >>> $ sudo systemctl start httpd.service >>> >>> >>> When i saw this, i decided to check logs: >>> >>> [jgoudet@git-jenkins ~]$ tail -f >>> /var/www/reviewboard/logs/reviewboard.log >>> >>> 2016-07-19 15:55:05,095 - INFO - - Reloading logging settings >>> >>> 2016-07-19 15:57:03,844 - INFO - - Reloading logging settings >>> >>> 2016-07-19 15:59:32,659 - INFO - - Reloading logging settings >>> >>> 2016-07-19 16:00:05,954 - INFO - - Reloading logging settings >>> >>> 2016-07-19 16:02:05,070 - INFO - - Rel
Re: "Review Board is taking a nap" after update
News: I reboot the VM and now i got the "Manual server updates required" web-page for: - Data directory changes - Extensions static media directory changes I changed permissions, restart the web server and always got this page. Nothing noticeable on error_log access_log for httpd, nothing new on review board log -- 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 "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.