Fails to install with TypeError: 'Logger' object is not callable

Bug #1967475 reported by Diko Parvanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-local-users
Fix Released
Low
Diko Parvanov

Bug Description

Traceback (most recent call last):
  File "./src/charm.py", line 181, in <module>
    main(CharmLocalUsersCharm)
  File "/var/lib/juju/agents/unit-local-users-4/charm/venv/ops/main.py", line 426, in main
    _emit_charm_event(charm, dispatcher.event_name)
  File "/var/lib/juju/agents/unit-local-users-4/charm/venv/ops/main.py", line 142, in _emit_charm_event
    event_to_emit.emit(*args, **kwargs)
  File "/var/lib/juju/agents/unit-local-users-4/charm/venv/ops/framework.py", line 276, in emit
    framework._emit(event)
  File "/var/lib/juju/agents/unit-local-users-4/charm/venv/ops/framework.py", line 736, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-local-users-4/charm/venv/ops/framework.py", line 783, in _reemit
    custom_handler(event)
  File "./src/charm.py", line 88, in on_config_changed
    add_group(group)
  File "/var/lib/juju/agents/unit-local-users-4/charm/src/lib/local_users.py", line 252, in add_group
    log('creating group {0}'.format(group_name))
TypeError: 'Logger' object is not callable

Related branches

Diko Parvanov (dparv)
Changed in charm-local-users:
status: New → Fix Released
Revision history for this message
Diko Parvanov (dparv) wrote :

Fix released in channel edge revision 10

Changed in charm-local-users:
importance: Undecided → Low
assignee: nobody → Diko Parvanov (dparv)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.