Issues with missing positional arguments....

Tom Barber tom at analytical-labs.com
Thu Mar 3 22:28:58 UTC 2016


Evening all here's one that someone with more brains than me can answer:

https://github.com/OSBI/layer-pdi/blob/master/reactive/pdi.py

I'm having issues with this with the config-change and upgrade-charm hooks

Both have a nasty habit of returning:

2016-03-03 22:25:44 INFO config-changed TypeError: check_running() missing
1 required positional argument: 'java'
2016-03-03 22:25:44 ERROR juju.worker.uniter.operation runhook.go:107 hook
"config-changed" failed: exit status 1

Me and Cory mulled it over without any great resolution last night, but can
someone explain why check_runnnig baulks. Is it because the Java layer
passes the java object but the config-changed and upgrade-hook don't and so
I need to split them out? or is there a nicer solution?

Thanks

Tom

--------------

Director Meteorite.bi - Saiku Analytics Founder
Tel: +44(0)5603641316

(Thanks to the Saiku community we reached our Kickstart
<http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/>
goal, but you can always help by sponsoring the project
<http://www.meteorite.bi/products/saiku/sponsorship>)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160303/583c9a7f/attachment.html>


More information about the Juju mailing list