Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Generated relation and storage hooks are broken in 1.10 #69
Comments
|
I can confirm, my layered charms are affected. All the relation hooks seem to have the extra line before the shebang. |
gnuoy
commented
Dec 7, 2015
|
Me too. Blank line at top of generated hook file and python3 seems to fail to import charms.reactive: $ ./hooks/database-relation-changed |
marcoceppi
added this to the
PATCH milestone
Dec 7, 2015
johnsca
closed this
in
742f669
Dec 7, 2015
added a commit
that referenced
this issue
Dec 7, 2015
|
Thanks for this. When will this fix be available in ppa:juju/stable? |
|
For reference, @gnuoy's import issue after fixing the leading newline was due to juju-solutions/reactive-base-layer#10 not having been merged, which has since been resolved. |
axw commentedDec 7, 2015
I've just built a reactive charm with 1.10, and had errors in storage-attached due to the generated hook file having a blank line before the shebang. Probably broken with the change over to using Python 3.