[SOLVED]ui.interact called with non-empty widget/layer stack Issue

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Bruni Multimedia
Regular
Posts: 89
Joined: Mon May 15, 2017 12:23 pm
Projects: General Practitioner, The Coroner Saga
Organization: Bruni Multimedia
itch: brunimultimedia
Contact:

[SOLVED]ui.interact called with non-empty widget/layer stack Issue

#1 Post by Bruni Multimedia » Thu Sep 06, 2018 11:04 am

Hi guys.

I'm using this code for a screen

screen daily_report:

Code: Select all

    add "clinic/daily_report.jpg"
    text "{size=-2}[name[n_1]]{/size}" pos (4,164)
    text "{size=-2}[name[n_2]]{/size}" pos (4,184)
    text "{size=-2}[name[n_3]]{/size}" pos (4,204)
    text "{size=-2}[name[n_4]]{/size}" pos (4,224)
    text "{size=-2}[name[n_5]]{/size}" pos (4,244)
    text "{size=-2}[name[n_6]]{/size}" pos (4,264)
    text "{size=-2}[name[n_7]]{/size}" pos (4,284)
    text "{size=-2}[name[n_8]]{/size}" pos (4,304)
    text "{size=-2}[name[n_9]]{/size}" pos (4,324)
    text "{size=-2}[name[n_10]]{/size}" pos (4,344)
    text "{size=-2}[name[n_11]]{/size}" pos (4,364)
    text "{size=-2}[name[n_12]]{/size}" pos (4,384)
    text "{size=-2}[name[n_13]]{/size}" pos (4,404)
    text "{size=-2}[name[n_14]]{/size}" pos (4,424)
    text "{size=-2}[name[n_15]]{/size}" pos (4,444)
    text "{size=-2}[name[n_16]]{/size}" pos (4,464)
    text "{size=-2}[name[n_17]]{/size}" pos (4,484)
    text "{size=-2}[name[n_18]]{/size}" pos (4,504)
    text "{size=-2}[name[n_19]]{/size}" pos (4,524)
    text "{size=-2}[name[n_20]]{/size}" pos (4,544)
    text "{size=-2}[role[n_1]]{/size}" pos (138,164)
    text "{size=-2}[role[n_2]]{/size}" pos (138,184)
    text "{size=-2}[role[n_3]]{/size}" pos (138,204)
    text "{size=-2}[role[n_4]]{/size}" pos (138,224)
    text "{size=-2}[role[n_5]]{/size}" pos (138,244)
    text "{size=-2}[role[n_6]]{/size}" pos (138,264)
    text "{size=-2}[role[n_7]]{/size}" pos (138,284)
    text "{size=-2}[role[n_8]]{/size}" pos (138,304)
    text "{size=-2}[role[n_9]]{/size}" pos (138,324)
    text "{size=-2}[role[n_10]]{/size}" pos (138,344)
    text "{size=-2}[role[n_11]]{/size}" pos (138,364)
    text "{size=-2}[role[n_12]]{/size}" pos (138,384)
    text "{size=-2}[role[n_13]]{/size}" pos (138,404)
    text "{size=-2}[role[n_14]]{/size}" pos (138,424)
    text "{size=-2}[role[n_15]]{/size}" pos (138,444)
    text "{size=-2}[role[n_16]]{/size}" pos (138,464)
    text "{size=-2}[role[n_17]]{/size}" pos (138,484)
    text "{size=-2}[role[n_18]]{/size}" pos (138,504)
    text "{size=-2}[role[n_19]]{/size}" pos (138,524)
    text "{size=-2}[role[n_20]]{/size}" pos (138,544)
    text "{size=-2}[wage[n_1]]{/size}" pos (240,164)
    text "{size=-2}[wage[n_2]]{/size}" pos (240,184)
    text "{size=-2}[wage[n_3]]{/size}" pos (240,204)
    text "{size=-2}[wage[n_4]]{/size}" pos (240,224)
    text "{size=-2}[wage[n_5]]{/size}" pos (240,244)
    text "{size=-2}[wage[n_6]]{/size}" pos (240,264)
    text "{size=-2}[wage[n_7]]{/size}" pos (240,284)
    text "{size=-2}[wage[n_8]]{/size}" pos (240,304)
    text "{size=-2}[wage[n_9]]{/size}" pos (240,324)
    text "{size=-2}[wage[n_10]]{/size}" pos (240,344)
    text "{size=-2}[wage[n_11]]{/size}" pos (240,364)
    text "{size=-2}[wage[n_12]]{/size}" pos (240,384)
    text "{size=-2}[wage[n_13]]{/size}" pos (240,404)
    text "{size=-2}[wage[n_14]]{/size}" pos (240,424)
    text "{size=-2}[wage[n_15]]{/size}" pos (240,444)
    text "{size=-2}[wage[n_16]]{/size}" pos (240,464)
    text "{size=-2}[wage[n_17]]{/size}" pos (240,484)
    text "{size=-2}[wage[n_18]]{/size}" pos (240,504)
    text "{size=-2}[wage[n_19]]{/size}" pos (240,524)
    text "{size=-2}[wage[n_20]]{/size}" pos (240,544)
    text "{size=-2}[dayoff[n_1]]{/size}" pos (336,164)
    text "{size=-2}[dayoff[n_2]]{/size}" pos (336,184)
    text "{size=-2}[dayoff[n_3]]{/size}" pos (336,204)
    text "{size=-2}[dayoff[n_4]]{/size}" pos (336,224)
    text "{size=-2}[dayoff[n_5]]{/size}" pos (336,244)
    text "{size=-2}[dayoff[n_6]]{/size}" pos (336,264)
    text "{size=-2}[dayoff[n_7]]{/size}" pos (336,284)
    text "{size=-2}[dayoff[n_8]]{/size}" pos (336,304)
    text "{size=-2}[dayoff[n_9]]{/size}" pos (336,324)
    text "{size=-2}[dayoff[n_10]]{/size}" pos (336,344)
    text "{size=-2}[dayoff[n_11]]{/size}" pos (336,364)
    text "{size=-2}[dayoff[n_12]]{/size}" pos (336,384)
    text "{size=-2}[dayoff[n_13]]{/size}" pos (336,404)
    text "{size=-2}[dayoff[n_14]]{/size}" pos (336,424)
    text "{size=-2}[dayoff[n_15]]{/size}" pos (336,444)
    text "{size=-2}[dayoff[n_16]]{/size}" pos (336,464)
    text "{size=-2}[dayoff[n_17]]{/size}" pos (336,484)
    text "{size=-2}[dayoff[n_18]]{/size}" pos (336,504)
    text "{size=-2}[dayoff[n_19]]{/size}" pos (336,524)
    text "{size=-2}[dayoff[n_20]]{/size}" pos (336,544)
    text "{size=-2}[knowledge[n_1]]{/size}" pos (378,164)
    text "{size=-2}[knowledge[n_2]]{/size}" pos (378,184)
    text "{size=-2}[knowledge[n_3]]{/size}" pos (378,204)
    text "{size=-2}[knowledge[n_4]]{/size}" pos (378,224)
    text "{size=-2}[knowledge[n_5]]{/size}" pos (378,244)
    text "{size=-2}[knowledge[n_6]]{/size}" pos (378,264)
    text "{size=-2}[knowledge[n_7]]{/size}" pos (378,284)
    text "{size=-2}[knowledge[n_8]]{/size}" pos (378,304)
    text "{size=-2}[knowledge[n_9]]{/size}" pos (378,324)
    text "{size=-2}[knowledge[n_10]]{/size}" pos (378,344)
    text "{size=-2}[knowledge[n_11]]{/size}" pos (378,364)
    text "{size=-2}[knowledge[n_12]]{/size}" pos (378,384)
    text "{size=-2}[knowledge[n_13]]{/size}" pos (378,404)
    text "{size=-2}[knowledge[n_14]]{/size}" pos (378,424)
    text "{size=-2}[knowledge[n_15]]{/size}" pos (378,444)
    text "{size=-2}[knowledge[n_16]]{/size}" pos (378,464)
    text "{size=-2}[knowledge[n_17]]{/size}" pos (378,484)
    text "{size=-2}[knowledge[n_18]]{/size}" pos (378,504)
    text "{size=-2}[knowledge[n_19]]{/size}" pos (378,524)
    text "{size=-2}[knowledge[n_20]]{/size}" pos (378,544)
    text "{size=-2}[kn_result[n_1]]{/size}" pos (462,164)
    text "{size=-2}[kn_result[n_2]]{/size}" pos (462,184)
    text "{size=-2}[kn_result[n_3]]{/size}" pos (462,204)
    text "{size=-2}[kn_result[n_4]]{/size}" pos (462,224)
    text "{size=-2}[kn_result[n_5]]{/size}" pos (462,244)
    text "{size=-2}[kn_result[n_6]]{/size}" pos (462,264)
    text "{size=-2}[kn_result[n_7]]{/size}" pos (462,284)
    text "{size=-2}[kn_result[n_8]]{/size}" pos (462,304)
    text "{size=-2}[kn_result[n_9]]{/size}" pos (462,324)
    text "{size=-2}[kn_result[n_10]]{/size}" pos (462,344)
    text "{size=-2}[kn_result[n_11]]{/size}" pos (462,364)
    text "{size=-2}[kn_result[n_12]]{/size}" pos (462,384)
    text "{size=-2}[kn_result[n_13]]{/size}" pos (462,404)
    text "{size=-2}[kn_result[n_14]]{/size}" pos (462,424)
    text "{size=-2}[kn_result[n_15]]{/size}" pos (462,444)
    text "{size=-2}[kn_result[n_16]]{/size}" pos (462,464)
    text "{size=-2}[kn_result[n_17]]{/size}" pos (462,484)
    text "{size=-2}[kn_result[n_18]]{/size}" pos (462,504)
    text "{size=-2}[kn_result[n_19]]{/size}" pos (462,524)
    text "{size=-2}[kn_result[n_20]]{/size}" pos (462,544)
    text "{size=-2}[skill[n_1]]{/size}" pos (610,164)
    text "{size=-2}[skill[n_2]]{/size}" pos (610,184)
    text "{size=-2}[skill[n_3]]{/size}" pos (610,204)
    text "{size=-2}[skill[n_4]]{/size}" pos (610,224)
    text "{size=-2}[skill[n_5]]{/size}" pos (610,244)
    text "{size=-2}[skill[n_6]]{/size}" pos (610,264)
    text "{size=-2}[skill[n_7]]{/size}" pos (610,284)
    text "{size=-2}[skill[n_8]]{/size}" pos (610,304)
    text "{size=-2}[skill[n_9]]{/size}" pos (610,324)
    text "{size=-2}[skill[n_10]]{/size}" pos (610,344)
    text "{size=-2}[skill[n_11]]{/size}" pos (610,364)
    text "{size=-2}[skill[n_12]]{/size}" pos (610,384)
    text "{size=-2}[skill[n_13]]{/size}" pos (610,404)
    text "{size=-2}[skill[n_14]]{/size}" pos (610,424)
    text "{size=-2}[skill[n_15]]{/size}" pos (610,444)
    text "{size=-2}[skill[n_16]]{/size}" pos (610,464)
    text "{size=-2}[skill[n_17]]{/size}" pos (610,484)
    text "{size=-2}[skill[n_18]]{/size}" pos (610,504)
    text "{size=-2}[skill[n_19]]{/size}" pos (610,524)
    text "{size=-2}[skill[n_20]]{/size}" pos (610,544)
    text "{size=-2}[sk_result[n_1]]{/size}" pos (692,164)
    text "{size=-2}[sk_result[n_2]]{/size}" pos (692,184)
    text "{size=-2}[sk_result[n_3]]{/size}" pos (692,204)
    text "{size=-2}[sk_result[n_4]]{/size}" pos (692,224)
    text "{size=-2}[sk_result[n_5]]{/size}" pos (692,244)
    text "{size=-2}[sk_result[n_6]]{/size}" pos (692,264)
    text "{size=-2}[sk_result[n_7]]{/size}" pos (692,284)
    text "{size=-2}[sk_result[n_8]]{/size}" pos (692,304)
    text "{size=-2}[sk_result[n_9]]{/size}" pos (692,324)
    text "{size=-2}[sk_result[n_10]]{/size}" pos (692,344)
    text "{size=-2}[sk_result[n_11]]{/size}" pos (692,364)
    text "{size=-2}[sk_result[n_12]]{/size}" pos (692,384)
    text "{size=-2}[sk_result[n_13]]{/size}" pos (692,404)
    text "{size=-2}[sk_result[n_14]]{/size}" pos (692,424)
    text "{size=-2}[sk_result[n_15]]{/size}" pos (692,444)
    text "{size=-2}[sk_result[n_16]]{/size}" pos (692,464)
    text "{size=-2}[sk_result[n_17]]{/size}" pos (692,484)
    text "{size=-2}[sk_result[n_18]]{/size}" pos (692,504)
    text "{size=-2}[sk_result[n_19]]{/size}" pos (692,524)
    text "{size=-2}[sk_result[n_20]]{/size}" pos (692,544)
    text "{size=-2}[attitude[n_1]]{/size}" pos (840,164)
    text "{size=-2}[attitude[n_2]]{/size}" pos (840,184)
    text "{size=-2}[attitude[n_3]]{/size}" pos (840,204)
    text "{size=-2}[attitude[n_4]]{/size}" pos (840,224)
    text "{size=-2}[attitude[n_5]]{/size}" pos (840,244)
    text "{size=-2}[attitude[n_6]]{/size}" pos (840,264)
    text "{size=-2}[attitude[n_7]]{/size}" pos (840,284)
    text "{size=-2}[attitude[n_8]]{/size}" pos (840,304)
    text "{size=-2}[attitude[n_9]]{/size}" pos (840,324)
    text "{size=-2}[attitude[n_10]]{/size}" pos (840,344)
    text "{size=-2}[attitude[n_11]]{/size}" pos (840,364)
    text "{size=-2}[attitude[n_12]]{/size}" pos (840,384)
    text "{size=-2}[attitude[n_13]]{/size}" pos (840,404)
    text "{size=-2}[attitude[n_14]]{/size}" pos (840,424)
    text "{size=-2}[attitude[n_15]]{/size}" pos (840,444)
    text "{size=-2}[attitude[n_16]]{/size}" pos (840,464)
    text "{size=-2}[attitude[n_17]]{/size}" pos (840,484)
    text "{size=-2}[attitude[n_18]]{/size}" pos (840,504)
    text "{size=-2}[attitude[n_19]]{/size}" pos (840,524)
    text "{size=-2}[attitude[n_20]]{/size}" pos (840,544)
    text "{size=-2}[at_result[n_1]]{/size}" pos (920,164)
    text "{size=-2}[at_result[n_2]]{/size}" pos (920,184)
    text "{size=-2}[at_result[n_3]]{/size}" pos (920,204)
    text "{size=-2}[at_result[n_4]]{/size}" pos (920,224)
    text "{size=-2}[at_result[n_5]]{/size}" pos (920,244)
    text "{size=-2}[at_result[n_6]]{/size}" pos (920,264)
    text "{size=-2}[at_result[n_7]]{/size}" pos (920,284)
    text "{size=-2}[at_result[n_8]]{/size}" pos (920,304)
    text "{size=-2}[at_result[n_9]]{/size}" pos (920,324)
    text "{size=-2}[at_result[n_10]]{/size}" pos (920,344)
    text "{size=-2}[at_result[n_11]]{/size}" pos (920,364)
    text "{size=-2}[at_result[n_12]]{/size}" pos (920,384)
    text "{size=-2}[at_result[n_13]]{/size}" pos (920,404)
    text "{size=-2}[at_result[n_14]]{/size}" pos (920,424)
    text "{size=-2}[at_result[n_15]]{/size}" pos (920,444)
    text "{size=-2}[at_result[n_16]]{/size}" pos (920,464)
    text "{size=-2}[at_result[n_17]]{/size}" pos (920,484)
    text "{size=-2}[at_result[n_18]]{/size}" pos (920,504)
    text "{size=-2}[at_result[n_19]]{/size}" pos (920,524)
    text "{size=-2}[at_result[n_20]]{/size}" pos (920,544)
    text "{size=-2}[experience[n_1]]{/size}" pos (1072,164)
    text "{size=-2}[experience[n_2]]{/size}" pos (1072,184)
    text "{size=-2}[experience[n_3]]{/size}" pos (1072,204)
    text "{size=-2}[experience[n_4]]{/size}" pos (1072,224)
    text "{size=-2}[experience[n_5]]{/size}" pos (1072,244)
    text "{size=-2}[experience[n_6]]{/size}" pos (1072,264)
    text "{size=-2}[experience[n_7]]{/size}" pos (1072,284)
    text "{size=-2}[experience[n_8]]{/size}" pos (1072,304)
    text "{size=-2}[experience[n_9]]{/size}" pos (1072,324)
    text "{size=-2}[experience[n_10]]{/size}" pos (1072,344)
    text "{size=-2}[experience[n_11]]{/size}" pos (1072,364)
    text "{size=-2}[experience[n_12]]{/size}" pos (1072,384)
    text "{size=-2}[experience[n_13]]{/size}" pos (1072,404)
    text "{size=-2}[experience[n_14]]{/size}" pos (1072,424)
    text "{size=-2}[experience[n_15]]{/size}" pos (1072,444)
    text "{size=-2}[experience[n_16]]{/size}" pos (1072,464)
    text "{size=-2}[experience[n_17]]{/size}" pos (1072,484)
    text "{size=-2}[experience[n_18]]{/size}" pos (1072,504)
    text "{size=-2}[experience[n_19]]{/size}" pos (1072,524)
    text "{size=-2}[experience[n_20]]{/size}" pos (1072,544)
    text "{size=-2}[ex_result[n_1]]{/size}" pos (1154,164)
    text "{size=-2}[ex_result[n_2]]{/size}" pos (1154,184)
    text "{size=-2}[ex_result[n_3]]{/size}" pos (1154,204)
    text "{size=-2}[ex_result[n_4]]{/size}" pos (1154,224)
    text "{size=-2}[ex_result[n_5]]{/size}" pos (1154,244)
    text "{size=-2}[ex_result[n_6]]{/size}" pos (1154,264)
    text "{size=-2}[ex_result[n_7]]{/size}" pos (1154,284)
    text "{size=-2}[ex_result[n_8]]{/size}" pos (1154,304)
    text "{size=-2}[ex_result[n_9]]{/size}" pos (1154,324)
    text "{size=-2}[ex_result[n_10]]{/size}" pos (1154,344)
    text "{size=-2}[ex_result[n_11]]{/size}" pos (1154,364)
    text "{size=-2}[ex_result[n_12]]{/size}" pos (1154,384)
    text "{size=-2}[ex_result[n_13]]{/size}" pos (1154,404)
    text "{size=-2}[ex_result[n_14]]{/size}" pos (1154,424)
    text "{size=-2}[ex_result[n_15]]{/size}" pos (1154,444)
    text "{size=-2}[ex_result[n_16]]{/size}" pos (1154,464)
    text "{size=-2}[ex_result[n_17]]{/size}" pos (1154,484)
    text "{size=-2}[ex_result[n_18]]{/size}" pos (1154,504)
    text "{size=-2}[ex_result[n_19]]{/size}" pos (1154,524)
    text "{size=-2}[ex_result[n_20]]{/size}" pos (1154,544)
    imagebutton auto "ui/exit_%s.png" xpos 1158 ypos 1 action Return focus_mask True
However I get this error code:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00console.rpy", line 765, in script call
    python in _console:
  File "game/script.rpy", line 4444, in script call
    play music exploration2 loop fadein 2.0
  File "renpy/common/00console.rpy", line 765, in script
    python in _console:
  File "renpy/common/00console.rpy", line 766, in <module>
    console.interact()
  File "renpy/common/00console.rpy", line 325, in interact
    line = ui.interact()
Exception: ui.interact called with non-empty widget/layer stack. Did you forget a ui.close() somewhere?
Stack was <Layer: 'transient'>
<Many: <Fixed at 1209ab90>>

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00console.rpy", line 765, in script call
    python in _console:
  File "game/script.rpy", line 4444, in script call
    play music exploration2 loop fadein 2.0
  File "renpy/common/00console.rpy", line 765, in script
    python in _console:
  File "C:\renpy-6.99.12.4-sdk\renpy\ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\renpy-6.99.12.4-sdk\renpy\python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/00console.rpy", line 766, in <module>
    console.interact()
  File "renpy/common/00console.rpy", line 325, in interact
    line = ui.interact()
  File "C:\renpy-6.99.12.4-sdk\renpy\ui.py", line 281, in interact
    raise Exception("ui.interact called with non-empty widget/layer stack. Did you forget a ui.close() somewhere?\nStack was "+('\n'.join([str(item) for item in stack])))
Exception: ui.interact called with non-empty widget/layer stack. Did you forget a ui.close() somewhere?
Stack was <Layer: 'transient'>
<Many: <Fixed at 1209ab90>>
What am I doing wrong? It's a fairly simple screen...
I am not using any ui.interact either...
Last edited by Bruni Multimedia on Fri Sep 07, 2018 8:06 am, edited 1 time in total.

User avatar
MaydohMaydoh
Regular
Posts: 101
Joined: Mon Jul 09, 2018 5:49 am
Projects: Fuwa Fuwa Panic
Tumblr: maydohmaydoh
Location: The Satellite of Love
Contact:

Re: ui.interact called with non-empty widget/layer stack Issue

#2 Post by MaydohMaydoh » Thu Sep 06, 2018 1:17 pm

What do the variables n_1, n_2, n...etc contain?
Also in your imagebutton at the end, it should action Return()

User avatar
Bruni Multimedia
Regular
Posts: 89
Joined: Mon May 15, 2017 12:23 pm
Projects: General Practitioner, The Coroner Saga
Organization: Bruni Multimedia
itch: brunimultimedia
Contact:

Re: ui.interact called with non-empty widget/layer stack Issue

#3 Post by Bruni Multimedia » Thu Sep 06, 2018 4:27 pm

MaydohMaydoh wrote:
Thu Sep 06, 2018 1:17 pm
What do the variables n_1, n_2, n...etc contain?
Also in your imagebutton at the end, it should action Return()
They contain a string of text. They are assigned like this one:

Code: Select all

if cond:
        $ contawork += 1
        $ name["n_" + str(contawork)] = DR2_name
        $ role["n_" + str(contawork)] = "Doctor"
if cond2:
        $ contawork += 1
        $ name["n_" + str(contawork)] = DR3_name
        $ role["n_" + str(contawork)] = "Nurse"
etc. etc.

Sometimes it also tells me that I can't put an INT value in it, but there is never an INT value and this error only happens after I rollback from this one, so I guess it happens because variables are screwed at that point.

Dictionary is declared as following:

Code: Select all

init python:
    name = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}
    role = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}
    wage = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}
    dayoff = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}
    knowledge = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}
    kn_result = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}
    skill = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}
    sk_result = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}
    attitude = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}
    at_result = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}
    experience = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}
    ex_result = {"n_1": "", "n_2": "", "n_3": "", "n_4": "", "n_5": "", "n_6": "", "n_7": "", "n_8": "", "n_9": "", "n_10": "",
        "n_11": "", "n_12": "", "n_13": "", "n_14": "", "n_15": "", "n_16": "", "n_17": "", "n_18": "", "n_19": "", "n_20": ""}

default contawork = 0

User avatar
Bruni Multimedia
Regular
Posts: 89
Joined: Mon May 15, 2017 12:23 pm
Projects: General Practitioner, The Coroner Saga
Organization: Bruni Multimedia
itch: brunimultimedia
Contact:

Re: ui.interact called with non-empty widget/layer stack Issue

#4 Post by Bruni Multimedia » Fri Sep 07, 2018 8:06 am

Found the issue, I was already using "knowledge" as an INT variable and in dictionaries I cannot use them like they were something different (i.e. knowledge[n_1] still is recognized as knowledge, my mistake.

Thanks anyways!

Post Reply

Who is online

Users browsing this forum: Google [Bot], yurikha