You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, i was learning about appJar. And do some examples from the documentation and on my own. But the last time i tried it raised an error that says "You can only have one gui".
And im not even running the code. I stop trying it and some weeks later i try it again and works normaly.
But i reach that thing again and it says "Only one gui at the time... try subwindows" or something..
Expected Behaviour
I just close the frame with the default X... but i think that makes a bug and it keeps going in the background
Actual Behaviour
It just keeps saying "try subwindows" and "only one gui at the time"
Any error messages produced by appJar
First time running my program:
raise Exception("Invalid function: " + str(funcName))
Exception: Invalid function: [<function chus at 0x0000017FED9DB828>]
Second time:
raise Exception("You cannot have more than one instance of gui, try using a subWindow.")
Exception: You cannot have more than one instance of gui, try using a subWindow.
There's not enough code there for me to be able to test it and reproduce the error.
However, that error generally occurs when you try to make two GUIs in one program, in other words, having more than one one like this:
app = gui("Game")
It may be that you're not doing it on purpose, but that the previous version of code that you ran hasn't finished running - what tool are you using to write & run your code?
Bug Report
Context
So, i was learning about appJar. And do some examples from the documentation and on my own. But the last time i tried it raised an error that says "You can only have one gui".
And im not even running the code. I stop trying it and some weeks later i try it again and works normaly.
But i reach that thing again and it says "Only one gui at the time... try subwindows" or something..
Expected Behaviour
I just close the frame with the default X... but i think that makes a bug and it keeps going in the background
Actual Behaviour
It just keeps saying "try subwindows" and "only one gui at the time"
Any error messages produced by appJar
First time running my program:
raise Exception("Invalid function: " + str(funcName))
Exception: Invalid function: [<function chus at 0x0000017FED9DB828>]
Second time:
raise Exception("You cannot have more than one instance of gui, try using a subWindow.")
Exception: You cannot have more than one instance of gui, try using a subWindow.
Sample code, demonstrating the issue
app = gui("Game")
app.addLabel("knight", "Knight")
app.setLabelOverFunction("knight", [enter, leave])
app.setLabelSubmitFunction("knight", [chus])
app.addLabel("wizzard", "Wizzard")
app.setLabelOverFunction("wizzard", [enter, leave])
app.setLabelSubmitFunction("wizzard", [chus])
app.startLabelFrame("Character", 0, 16)
app.addImage("character", jsjs+str(".gif"))
app.go()
What steps are needed to reproduce the bug
Run it twice
Version Information
Replace this with the result of running your code with the -v flag:
python myCode.py -v
The text was updated successfully, but these errors were encountered: