Re: Last few steps for pgadmin4 on RHEL 6

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)PostgreSQL(dot)org>
Subject: Re: Last few steps for pgadmin4 on RHEL 6
Date: 2017-03-16 07:41:57
Message-ID: 3F6561A8-98C6-4130-AA9D-5B8D25050ADD@pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL Company

> On 16 Mar 2017, at 04:24, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:
>
>
> Hi,
>
> I spent a couple of hours this morning to build pgadmin4 dependencies on RHEL
> 6. I think I made them work, but pgadmin4 does not run (actually it runs, but
> the window comes empty). Here is the console output. Can you please take a
> look?
>
> [devrim(at)CentOS6x8664 ~]$ pgadmin4
> Python path: "/usr/lib/python2.6/site-packages:/usr/lib64/python2.6/site-packages"
> Python Home: ""
> Webapp path: "/usr/lib/python2.6/site-packages/pgadmin4-web/pgAdmin4.py"
> /usr/lib/python2.6/site-packages/flask_security/forms.py:67: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
> email_required = Required(message='EMAIL_NOT_PROVIDED')
> /usr/lib/python2.6/site-packages/flask_security/forms.py:69: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
> password_required = Required(message='PASSWORD_NOT_PROVIDED')
> /usr/lib64/python2.6/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
> _warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
> loaded the Generic plugin
> can't make "generic.orientation" because no QAccelerometer sensors exist
> Exception in thread Thread-3:
> Traceback (most recent call last):
> File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
> self.run()
> File "/usr/lib64/python2.6/threading.py", line 484, in run
> self.__target(*self.__args, **self.__kwargs)
> File "/usr/lib64/python2.6/SocketServer.py", line 573, in process_request_thread
> self.handle_error(request, client_address)
> File "/usr/lib64/python2.6/SocketServer.py", line 570, in process_request_thread
> self.finish_request(request, client_address)
> File "/usr/lib64/python2.6/SocketServer.py", line 332, in finish_request
> self.RequestHandlerClass(request, client_address, self)
> File "/usr/lib64/python2.6/SocketServer.py", line 627, in __init__
> self.handle()
> File "/usr/lib/python2.6/site-packages/werkzeug/serving.py", line 216, in handle
> rv = BaseHTTPRequestHandler.handle(self)
> File "/usr/lib64/python2.6/BaseHTTPServer.py", line 329, in handle
> self.handle_one_request()
> File "/usr/lib/python2.6/site-packages/werkzeug/serving.py", line 251, in handle_one_request
> return self.run_wsgi()
> File "/usr/lib/python2.6/site-packages/werkzeug/serving.py", line 193, in run_wsgi
> execute(self.server.app)
> File "/usr/lib/python2.6/site-packages/werkzeug/serving.py", line 181, in execute
> application_iter = app(environ, start_response)
> File "/usr/lib/python2.6/site-packages/flask/app.py", line 2000, in __call__
> return self.wsgi_app(environ, start_response)
> File "/usr/lib/python2.6/site-packages/flask/app.py", line 1991, in wsgi_app
> response = self.make_response(self.handle_exception(e))
> File "/usr/lib/python2.6/site-packages/flask/app.py", line 1567, in handle_exception
> reraise(exc_type, exc_value, tb)
> File "/usr/lib/python2.6/site-packages/flask/app.py", line 1988, in wsgi_app
> response = self.full_dispatch_request()
> File "/usr/lib/python2.6/site-packages/flask/app.py", line 1643, in full_dispatch_request
> response = self.process_response(response)
> File "/usr/lib/python2.6/site-packages/flask/app.py", line 1862, in process_response
> response = handler(response)
> File "/usr/lib/python2.6/site-packages/flask_htmlmin.py", line 27, in response_minify
> remove_comments=True, reduce_empty_attributes=True, remove_optional_attribute_quotes=False)
> File "/usr/lib/python2.6/site-packages/htmlmin/main.py", line 98, in minify
> minifier.feed(input)
> File "/usr/lib64/python2.6/HTMLParser.py", line 108, in feed
> self.goahead(0)
> File "/usr/lib64/python2.6/HTMLParser.py", line 152, in goahead
> k = self.parse_comment(i)
> File "/usr/lib64/python2.6/markupbase.py", line 174, in parse_comment
> self.handle_comment(rawdata[i+4: j])
> File "/usr/lib/python2.6/site-packages/htmlmin/parser.py", line 281, in handle_comment
> data[1:] if data[0] == '!' else data))
> ValueError: zero length field name in format
>
> If you want to test it yourself, the RPMs will be available in 9.6 *testing* repo in next 50 mins.
>
> Regards,
> --
> Devrim Gündüz
> EnterpriseDB: http://www.enterprisedb.com
> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-03-16 07:44:11 Re: Last few steps for pgadmin4 on RHEL 6
Previous Message Devrim Gündüz 2017-03-16 04:24:05 Last few steps for pgadmin4 on RHEL 6