Re: Reviewboard 3.0.8 on Centos7
Thank you very much Christian, that did it. Regards, Danila. On Thu, Sep 6, 2018 at 9:32 PM Christian Hammond wrote: > Hi Danila, > > Your version of setuptools is pretty ancient, and doesn't support modern > Python version specifiers. If you upgrade setuptools via pip, it should > work. > > Christian > > On Thu, Sep 6, 2018 at 6:24 PM Danila Ladner > wrote: > >> Hello Guys, I have installed reviewboard 3.0.8 for python2.7 with pip on >> latest GCP Centos7 image >> >> and when i start wsgi script i get this error. >> Can someone point me into the right direction of what possibly the >> problem can be? >> >> [root@reviewboard1 ~]# rb-site manage /data/reviewboard/www/reviewboard/ >> validate >> ERROR:root:Error loading authentication backend x509: ("Expected ',' or >> end-of-list in", 'requests ==2.*,>=2.14', 'at', '*,>=2.14') >> Traceback (most recent call last): >> File >> "/usr/lib64/python2.7/site-packages/djblets/registries/registry.py", line >> 360, in get_defaults >> yield self.process_value_from_entry_point(ep) >> File >> "/usr/lib/python2.7/site-packages/reviewboard/accounts/backends/registry.py", >> line 62, in process_value_from_entry_point >> cls = entry_point.load() >> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2259, in >> load >> if require: self.require(env, installer) >> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2272, in >> require >> working_set.resolve(self.dist.requires(self.extras),env,installer))) >> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 631, in >> resolve >> requirements.extend(dist.requires(req.extras)[::-1]) >> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2489, in >> requires >> dm = self._dep_map >> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2700, in >> _dep_map >> self.__dep_map = self._compute_dependencies() >> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2724, in >> _compute_dependencies >> parsed = next(parse_requirements(distvers)) >> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 30, in >> >> next = lambda o: o.next() >> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2839, in >> parse_requirements >> line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version >> spec") >> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2817, in >> scan_list >> "Expected ',' or end-of-list in",line,"at",line[p:] >> ValueError: ("Expected ',' or end-of-list in", 'requests ==2.*,>=2.14', >> 'at', '*,>=2.14') >> 0 errors found >> >> >> my python pip list >> [root@reviewboard-server1 ~]# pip list >> Package Version >> - >> asana0.8.0 >> asn1crypto 0.24.0 >> backports.ssl-match-hostname 3.5.0.1 >> bcrypt 3.1.4 >> certifi 2018.8.24 >> cffi 1.11.5 >> chardet 3.0.4 >> configobj4.7.2 >> cryptography 2.3.1 >> decorator3.4.0 >> Django 1.6.11 >> django-braces1.13.0 >> django-cors-headers 1.1.0 >> django-evolution 0.7.8 >> django-haystack 2.4.1 >> django-jsonfield 1.0.1 >> django-multiselectfield 0.1.8 >> django-oauth-toolkit 0.9.0 >> django-pipeline 1.6.14 >> Djblets 1.0.6 >> dnspython1.15.0 >> docutils 0.14 >> enum34 1.1.6 >> feedparser 5.2.1 >> flup 1.0.2 >> futures 3.2.0 >> idna 2.5 >> iniparse 0.4 >> ipaddress1.0.22 >> IPy 0.75 >> jsonfield1.0.3 >> jsonpatch1.2 >> jsonpointer 1.9 >> Markdown 2.6.11 >> mercurial2.6.2 >> mimeparse0.1.3 >> MySQL-python 1.2.5 >> oauthlib 1.0.1 >> paramiko 2.4.1 >> perf 0.1 >> Pillow 5.2.0 >> pillowfight 0.3 >> pip 18.0 >> ply 3.4 >> policycoreutils-default-encoding 0.1 >> psycopg2 2.5.1 >> publicsuffix 1.1.0 >> pyasn1 0.4.4 >> pycparser2.18 >> pycrypto 2.6.1 >> pycurl 7.19.0 >> Pygments 2.2.0 >> pygobject
Re: Reviewboard 3.0.8 on Centos7
Hi Danila, Your version of setuptools is pretty ancient, and doesn't support modern Python version specifiers. If you upgrade setuptools via pip, it should work. Christian On Thu, Sep 6, 2018 at 6:24 PM Danila Ladner wrote: > Hello Guys, I have installed reviewboard 3.0.8 for python2.7 with pip on > latest GCP Centos7 image > > and when i start wsgi script i get this error. > Can someone point me into the right direction of what possibly the problem > can be? > > [root@reviewboard1 ~]# rb-site manage /data/reviewboard/www/reviewboard/ > validate > ERROR:root:Error loading authentication backend x509: ("Expected ',' or > end-of-list in", 'requests ==2.*,>=2.14', 'at', '*,>=2.14') > Traceback (most recent call last): > File > "/usr/lib64/python2.7/site-packages/djblets/registries/registry.py", line > 360, in get_defaults > yield self.process_value_from_entry_point(ep) > File > "/usr/lib/python2.7/site-packages/reviewboard/accounts/backends/registry.py", > line 62, in process_value_from_entry_point > cls = entry_point.load() > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2259, in > load > if require: self.require(env, installer) > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2272, in > require > working_set.resolve(self.dist.requires(self.extras),env,installer))) > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 631, in > resolve > requirements.extend(dist.requires(req.extras)[::-1]) > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2489, in > requires > dm = self._dep_map > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2700, in > _dep_map > self.__dep_map = self._compute_dependencies() > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2724, in > _compute_dependencies > parsed = next(parse_requirements(distvers)) > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 30, in > > next = lambda o: o.next() > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2839, in > parse_requirements > line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version > spec") > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2817, in > scan_list > "Expected ',' or end-of-list in",line,"at",line[p:] > ValueError: ("Expected ',' or end-of-list in", 'requests ==2.*,>=2.14', > 'at', '*,>=2.14') > 0 errors found > > > my python pip list > [root@reviewboard-server1 ~]# pip list > Package Version > - > asana0.8.0 > asn1crypto 0.24.0 > backports.ssl-match-hostname 3.5.0.1 > bcrypt 3.1.4 > certifi 2018.8.24 > cffi 1.11.5 > chardet 3.0.4 > configobj4.7.2 > cryptography 2.3.1 > decorator3.4.0 > Django 1.6.11 > django-braces1.13.0 > django-cors-headers 1.1.0 > django-evolution 0.7.8 > django-haystack 2.4.1 > django-jsonfield 1.0.1 > django-multiselectfield 0.1.8 > django-oauth-toolkit 0.9.0 > django-pipeline 1.6.14 > Djblets 1.0.6 > dnspython1.15.0 > docutils 0.14 > enum34 1.1.6 > feedparser 5.2.1 > flup 1.0.2 > futures 3.2.0 > idna 2.5 > iniparse 0.4 > ipaddress1.0.22 > IPy 0.75 > jsonfield1.0.3 > jsonpatch1.2 > jsonpointer 1.9 > Markdown 2.6.11 > mercurial2.6.2 > mimeparse0.1.3 > MySQL-python 1.2.5 > oauthlib 1.0.1 > paramiko 2.4.1 > perf 0.1 > Pillow 5.2.0 > pillowfight 0.3 > pip 18.0 > ply 3.4 > policycoreutils-default-encoding 0.1 > psycopg2 2.5.1 > publicsuffix 1.1.0 > pyasn1 0.4.4 > pycparser2.18 > pycrypto 2.6.1 > pycurl 7.19.0 > Pygments 2.2.0 > pygobject3.22.0 > pygpgme 0.3 > pyliblzma0.5.3 > pymdown-extensions 3.5 > PyNaCl 1.2.1 > python-dateutil 2.7.3 > python-linux-procfs
Reviewboard 3.0.8 on Centos7
Hello Guys, I have installed reviewboard 3.0.8 for python2.7 with pip on latest GCP Centos7 image and when i start wsgi script i get this error. Can someone point me into the right direction of what possibly the problem can be? [root@reviewboard1 ~]# rb-site manage /data/reviewboard/www/reviewboard/ validate ERROR:root:Error loading authentication backend x509: ("Expected ',' or end-of-list in", 'requests ==2.*,>=2.14', 'at', '*,>=2.14') Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/djblets/registries/registry.py", line 360, in get_defaults yield self.process_value_from_entry_point(ep) File "/usr/lib/python2.7/site-packages/reviewboard/accounts/backends/registry.py", line 62, in process_value_from_entry_point cls = entry_point.load() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2259, in load if require: self.require(env, installer) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2272, in require working_set.resolve(self.dist.requires(self.extras),env,installer))) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 631, in resolve requirements.extend(dist.requires(req.extras)[::-1]) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2489, in requires dm = self._dep_map File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2700, in _dep_map self.__dep_map = self._compute_dependencies() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2724, in _compute_dependencies parsed = next(parse_requirements(distvers)) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 30, in next = lambda o: o.next() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2839, in parse_requirements line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec") File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2817, in scan_list "Expected ',' or end-of-list in",line,"at",line[p:] ValueError: ("Expected ',' or end-of-list in", 'requests ==2.*,>=2.14', 'at', '*,>=2.14') 0 errors found my python pip list [root@reviewboard-server1 ~]# pip list Package Version - asana0.8.0 asn1crypto 0.24.0 backports.ssl-match-hostname 3.5.0.1 bcrypt 3.1.4 certifi 2018.8.24 cffi 1.11.5 chardet 3.0.4 configobj4.7.2 cryptography 2.3.1 decorator3.4.0 Django 1.6.11 django-braces1.13.0 django-cors-headers 1.1.0 django-evolution 0.7.8 django-haystack 2.4.1 django-jsonfield 1.0.1 django-multiselectfield 0.1.8 django-oauth-toolkit 0.9.0 django-pipeline 1.6.14 Djblets 1.0.6 dnspython1.15.0 docutils 0.14 enum34 1.1.6 feedparser 5.2.1 flup 1.0.2 futures 3.2.0 idna 2.5 iniparse 0.4 ipaddress1.0.22 IPy 0.75 jsonfield1.0.3 jsonpatch1.2 jsonpointer 1.9 Markdown 2.6.11 mercurial2.6.2 mimeparse0.1.3 MySQL-python 1.2.5 oauthlib 1.0.1 paramiko 2.4.1 perf 0.1 Pillow 5.2.0 pillowfight 0.3 pip 18.0 ply 3.4 policycoreutils-default-encoding 0.1 psycopg2 2.5.1 publicsuffix 1.1.0 pyasn1 0.4.4 pycparser2.18 pycrypto 2.6.1 pycurl 7.19.0 Pygments 2.2.0 pygobject3.22.0 pygpgme 0.3 pyliblzma0.5.3 pymdown-extensions 3.5 PyNaCl 1.2.1 python-dateutil 2.7.3 python-linux-procfs 0.4.9 python-memcached 1.59 python-mimeparse 1.6.0 pytz 2018.5 pyudev 0.15 pyxattr 0.5.1 PyYAML 3.13 rbintegrations 1.0 recaptcha-client 2.0.1 requests 2.6.0 requests-oauthlib0.8.0 ReviewBoard 3.0.8 schedutils