[
https://issues.apache.org/jira/browse/MADLIB-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Frank McQuillan updated MADLIB-1251:
------------------------------------
Fix Version/s: v1.15
> 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
> Priority: Major
> 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)