memcached_hooks.py uses /usr/bin/env python

Bug #1576458 reported by Brad Marshall on 2016-04-29
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
memcached (Juju Charms Collection)
High
Felipe Reyes

Bug Description

As of revision 72, the memcached charm uses:

  #!/usr/bin/env python

in memcached_hooks.py, which is symlinked to by all the hooks. This fails with xenial, as there is no python binary in the path by default:

  2016-04-29 00:18:15 INFO install /usr/bin/env: 'python': No such file or directory

As this is also the install hook, we can't install a package which includes it either.

Related branches

Alvaro Uria (aluria) wrote :

By running "make sync" (download latest charmhelpers version) on revno=72 and previously installing "python" pkg, memcached charm was deployed successfully.

Changed in memcached (Juju Charms Collection):
status: New → Fix Committed
importance: Undecided → High
Felipe Reyes (freyes) on 2016-09-20
Changed in memcached (Juju Charms Collection):
assignee: nobody → Felipe Reyes (freyes)
Felipe Reyes (freyes) on 2016-09-20
tags: added: sts
Felipe Reyes (freyes) wrote :

Pushed to the charmstore in revision 15

Changed in memcached (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers