[ https://issues.apache.org/jira/browse/MADLIB-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16545789#comment-16545789 ]
Nandish Jayaram edited comment on MADLIB-1251 at 7/16/18 10:03 PM: ------------------------------------------------------------------- Fixed this as part of PR [https://github.com/apache/madlib/pull/290] in commit https://github.com/apache/madlib/commit/9a8de21 was (Author: njayaram): Fixed this as part of PR https://github.com/apache/madlib/pull/290 in commit 9a8de2 > IC fails when -t argument is invalid > ------------------------------------ > > Key: MADLIB-1251 > URL: https://issues.apache.org/jira/browse/MADLIB-1251 > Project: Apache MADlib > Issue Type: Bug > Components: Madpack > Reporter: Orhan Kislal > Assignee: Nandish Jayaram > Priority: Minor > Fix For: v1.15 > > > IC fails if we give a non-existing module name as an argument. Madpack should > give a proper error message instead. > Example (recursive-partitioning -> recursive_partitioning): > {code:java} > ./src/bin/madpack -p postgres -c /madlib install-check -t > recursive-partitioning > madpack.py: INFO : Detected PostgreSQL version 10.3. > Traceback (most recent call last): > File > "/Users/pivotal/workspace/dev-madlib/build-pg10/src/bin/../madpack/madpack.py", > line 1318, in <module> > main(sys.argv[1:]) > File > "/Users/pivotal/workspace/dev-madlib/build-pg10/src/bin/../madpack/madpack.py", > line 1279, in main > run_install_check(locals(), args.testcase, args.command[0]) > File > "/Users/pivotal/workspace/dev-madlib/build-pg10/src/bin/../madpack/madpack.py", > line 967, in run_install_check > _internal_run_query("DROP SCHEMA IF EXISTS %s CASCADE;" % (test_schema), > True) > UnboundLocalError: local variable 'test_schema' referenced before assignment > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)