KeyError cfg['python_packages']
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned |
Bug Description
When deploying a charm built locally, I get the following error on the juju debug-log. The specific code that is throwing the error is in lib/charms/
if cfg['python_
This seems wrong as all the other config access throughout the file use the form of cfg.get(
I'm using the snap on Comsic:
Name Version Rev Tracking Publisher Notes
charm 2.5.1 318 stable johnsca classic
I checked https:/
unit-nextcloud-4: 10:20:21 DEBUG unit.nextcloud/
unit-nextcloud-4: 10:20:21 DEBUG unit.nextcloud/
unit-nextcloud-4: 10:20:21 DEBUG unit.nextcloud/
unit-nextcloud-4: 10:20:22 DEBUG unit.nextcloud/
.2 charmhelpers-0.19.8 charms.
unit-nextcloud-4: 10:20:22 DEBUG unit.nextcloud/
unit-nextcloud-4: 10:20:22 DEBUG unit.nextcloud/
ll", line 8, in <module>
unit-nextcloud-4: 10:20:22 DEBUG unit.nextcloud/
unit-nextcloud-4: 10:20:22 DEBUG unit.nextcloud/
m_deps
unit-nextcloud-4: 10:20:22 DEBUG unit.nextcloud/
unit-nextcloud-4: 10:20:22 DEBUG unit.nextcloud/
unit-nextcloud-4: 10:20:22 ERROR juju.worker.
unit-nextcloud-4: 10:20:22 INFO juju.worker.uniter awaiting error resolution for "install" hook
Sorry I guess this is the wrong place for this bug. Uppon more investigation it seems that layers get downloaded from github in realtime and are not present on any package.
I will submit a pull request to the project on github.
This can be closed. Thank you.