I got supportedVersion as []
and dbver as None

On Thu, Sep 14, 2017 at 10:22 AM, Rahul Iyer <[email protected]> wrote:

> No, 2.6 should be OK. We don't yet have support for 3.0 and thought that
> was the issue.
>
> The error indicates that max is called over an empty iterable and no
> default is provided. Maybe the "supportedVersion" list is empty here? You
> could print the list over which max is called.
>
> On Sep 14, 2017 12:18 PM, "Jingyi Mei" <[email protected]> wrote:
>
> python2.6.6. Is that a problem?
>
> On Thu, Sep 14, 2017 at 7:52 AM, Rahul Iyer <[email protected]> wrote:
>
> > What's the python version?
> >
> > On Sep 14, 2017 12:59 AM, "ASF GitHub Bot (JIRA)" <[email protected]>
> wrote:
> >
> > >
> > >     [ https://issues.apache.org/jira/browse/MADLIB-1154?page=
> > > com.atlassian.jira.plugin.system.issuetabpanels:comment-
> > > tabpanel&focusedCommentId=16165788#comment-16165788 ]
> > >
> > > ASF GitHub Bot commented on MADLIB-1154:
> > > ----------------------------------------
> > >
> > > Github user jingyimei commented on the issue:
> > >
> > >     https://github.com/apache/madlib/pull/182
> > >
> > >     I tested it against postgres10beta4 on a local centos6 docker
> > > container, and I got the following error when installing MADlib:
> > >     [postgres@31e9a35af8a7 build]$ src/bin/madpack -p postgres -c
> > > postgres/postgres@localhost:5432/test install
> > >     Traceback (most recent call last):
> > >       File "/build/src/bin/../madpack/madpack.py", line 1580, in
> > <module>
> > >         main(sys.argv[1:])
> > >       File "/build/src/bin/../madpack/madpack.py", line 1169, in main
> > >         for versionStr in supportedVersions])))
> > >     ValueError: max() arg is an empty sequence
> > >
> > >     Here is the postgres version info:
> > >     test=# select version();
> > >                                                       version
> > >     ------------------------------------------------------------
> > > ------------------------------------------------
> > >      PostgreSQL 10beta4 on x86_64-pc-linux-gnu, compiled by gcc (GCC)
> > > 4.4.7 20120313 (Red Hat 4.4.7-18), 64-bit
> > >     (1 row)
> > >
> > >     Still looking into the root cause of it.
> > >
> > >
> > > > Support for PostgreSQL 10
> > > > -------------------------
> > > >
> > > >                 Key: MADLIB-1154
> > > >                 URL: https://issues.apache.org/
> jira/browse/MADLIB-1154
> > > >             Project: Apache MADlib
> > > >          Issue Type: Improvement
> > > >          Components: All Modules
> > > >            Reporter: Frank McQuillan
> > > >            Assignee: Ed Espino
> > > >             Fix For: v2.0
> > > >
> > > >
> > > > PostgreSQL 10 is in beta now and will be released in Fall 2017, so
> will
> > > be in good time frame for support in MADlib 2.0
> > >
> > >
> > >
> > > --
> > > This message was sent by Atlassian JIRA
> > > (v6.4.14#64029)
> > >
> >
>

Reply via email to