# Path: l5r/util/log.py
# def log_setup(base_path, base_name):


import l5r.api as api
import l5r.models.advances as advances
import l5r.api.data.skills
from l5r.util import log
from PyQt5 import QtCore, QtGui, QtWidgets
        self.error_bar = QtWidgets.QLabel(self)
        self.error_bar.setVisible(False)

        vb.addWidget(self.error_bar)

        fr_bottom = QtWidgets.QFrame(self)
        hb = QtWidgets.QHBoxLayout(fr_bottom)
        hb.addWidget(self.bt_ok)
        hb.addWidget(self.bt_cancel)

        vb.addWidget(fr_bottom)

    def cleanup(self):
        self.cbs = []
        self.les = []
        self.error_bar = None

    def load_data(self):

        log.ui.debug(u"User can choose some starting skills")

        i = 0
        for ws in api.character.rankadv.get_starting_skills_to_choose():
            outcome = []
            wl = ws.wildcards

            for w_ in wl:
                if w_.value == 'any':
                    outcome += api.data.skills.all()
                else:

# Path: l5r/util/log.py
# def log_setup(base_path, base_name):


# Path: l5r/dialogs/advdlg.py
import l5r.api as api
import l5r.models.advances as advances
import l5r.api.data.skills
from l5r.util import log
from PyQt5 import QtCore, QtGui, QtWidgets

        self.error_bar = QtWidgets.QLabel(self)
        self.error_bar.setVisible(False)

        vb.addWidget(self.error_bar)

        fr_bottom = QtWidgets.QFrame(self)
        hb = QtWidgets.QHBoxLayout(fr_bottom)
        hb.addWidget(self.bt_ok)
        hb.addWidget(self.bt_cancel)

        vb.addWidget(fr_bottom)

    def cleanup(self):
        self.cbs = []
        self.les = []
        self.error_bar = None

    def load_data(self):

        log.ui.debug(u"User can choose some starting skills")

        i = 0
        for ws in api.character.rankadv.get_starting_skills_to_choose():
            outcome = []
            wl = ws.wildcards

            for w_ in wl:
                if w_.value == 'any':
                    outcome += api.data.skills.all()
                else:

                    log.ui.debug(u"query skills with tag: %s", w_.value)