Hi Nantia, Sorry for the delayed response. Not sure if this issue has been resolved already.
Looks like the madpack utility can't even run a simple SELECT 1 query on the database. Can you try running madpack with the verbose -v flag, it might give us more insight into the root cause Thanks Nikhil ________________________________ From: Nikhil Kak <[email protected]> Sent: Friday, April 2, 2021 1:37 PM To: [email protected] <[email protected]> Subject: Re: error when running /usr/local/madlib/bin/madpack Hi Nantia, Sorry for the delayed response. Not sure if this issue has been resolved already. Looks like the madpack utility can't even run a simple SELECT 1 query on the database. Can you try running madpack with the verbose -v flag, it might give us more insight into the root cause Thanks Nikhil ________________________________ From: Nantia Makrynioti <[email protected]> Sent: Thursday, February 18, 2021 1:22 AM To: [email protected] <[email protected]> Subject: error when running /usr/local/madlib/bin/madpack Hello, I'm trying to install MADlib on Ubuntu 16.04 with Postgres 11.5. When running /usr/local/madlib/bin/madpack -s madlib –p postgres install with the environmental variables first exported, or /usr/local/madlib/bin/madpack -s madlib -p postgres -c [user[/password]@][host][:port][/database] install with replacing the parameters for user, password, etc. with my values, I'm getting the following error: Traceback (most recent call last): File "/usr/local/madlib/Versions/1.16/bin/../madpack/madpack.py", line 1417, in <module> main(sys.argv[1:]) File "/usr/local/madlib/Versions/1.16/bin/../madpack/madpack.py", line 1272, in main _internal_run_query("SELECT 1", False) File "/usr/local/madlib/Versions/1.16/bin/../madpack/madpack.py", line 99, in _internal_run_query return run_query(sql, con_args, show_error) File "/usr/local/madlib/Versions/1.16/madpack/utilities.py", line 119, in run_query raise Exception Exception I'm able to connect to psql with the particular user, password and database and I've also checked that the port number I'm using is correct. Could you give some hints on what is wrong? Thank you in advance, Nantia
