appJar
appJar copied to clipboard
Example does not work
https://github.com/jarvisteach/appJar/blob/appJar/examples/tree.py - tree example does not work. Double click on branch show this:
Exception in Tkinter callback Traceback (most recent call last): File "D:\Python 3.8.2\lib\tkinter\__init__.py", line 1883, in __call__ return self.func(*args) File "D:\Python 3.8.2\lib\idlelib\tree.py", line 148, in flip self.item.OnDoubleClick() File "C:\Users\laptop\PycharmProjects\test\venv\lib\site-packages\appJar\appjar.py", line 12444, in OnDoubleClick self.dblClickFunc(self.treeTitle, self.getAttribute()) TypeError: dClick() takes 1 positional argument but 2 were given
How did you import Tkinter into the project? This may affect it
On Mon, May 25, 2020 at 10:31 AM fullmacht [email protected] wrote:
https://github.com/jarvisteach/appJar/blob/appJar/examples/tree.py http://url - tree example don't work.
Thats what pycharm says:
Exception in Tkinter callback Traceback (most recent call last): File "D:\Python 3.8.2\lib\tkinter_init_.py", line 1883, in call return self.func(*args) File "D:\Python 3.8.2\lib\idlelib\tree.py", line 148, in flip self.item.OnDoubleClick() File "C:\Users\laptop\PycharmProjects\test\venv\lib\site-packages\appJar\appjar.py", line 12444, in OnDoubleClick self.dblClickFunc(self.treeTitle, self.getAttribute()) TypeError: dClick() takes 1 positional argument but 2 were given
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jarvisteach/appJar/issues/622, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7TXYF32MQ6OHNZKYBLRTKFOLANCNFSM4NJTRE2A .
How did you import Tkinter into the project? This may affect it … On Mon, May 25, 2020 at 10:31 AM fullmacht @.***> wrote: https://github.com/jarvisteach/appJar/blob/appJar/examples/tree.py http://url - tree example don't work. Thats what pycharm says: Exception in Tkinter callback Traceback (most recent call last): File "D:\Python 3.8.2\lib\tkinter_init_.py", line 1883, in call return self.func(*args) File "D:\Python 3.8.2\lib\idlelib\tree.py", line 148, in flip self.item.OnDoubleClick() File "C:\Users\laptop\PycharmProjects\test\venv\lib\site-packages\appJar\appjar.py", line 12444, in OnDoubleClick self.dblClickFunc(self.treeTitle, self.getAttribute()) TypeError: dClick() takes 1 positional argument but 2 were given — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#622>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7TXYF32MQ6OHNZKYBLRTKFOLANCNFSM4NJTRE2A .
i Imported it so
import tkinter
import _tkinter
Yah, maybe try
From tkinter import *
On Tue, May 26, 2020 at 4:27 AM fullmacht [email protected] wrote:
How did you import Tkinter into the project? This may affect it … <#m_6541401454109074939_m_-4040903575752908369_> On Mon, May 25, 2020 at 10:31 AM fullmacht @.***> wrote: https://github.com/jarvisteach/appJar/blob/appJar/examples/tree.py http://url - tree example don't work. Thats what pycharm says: Exception in Tkinter callback Traceback (most recent call last): File "D:\Python 3.8.2\lib\tkinter_init_.py", line 1883, in call return self.func(*args) File "D:\Python 3.8.2\lib\idlelib\tree.py", line 148, in flip self.item.OnDoubleClick() File "C:\Users\laptop\PycharmProjects\test\venv\lib\site-packages\appJar\appjar.py", line 12444, in OnDoubleClick self.dblClickFunc(self.treeTitle, self.getAttribute()) TypeError: dClick() takes 1 positional argument but 2 were given — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#622 https://github.com/jarvisteach/appJar/issues/622>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7TXYF32MQ6OHNZKYBLRTKFOLANCNFSM4NJTRE2A .
i Imported it so import tkinter import _tkinter
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jarvisteach/appJar/issues/622#issuecomment-633914662, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7XAJFU5A4HXZA7FBKDRTODO5ANCNFSM4NJTRE2A .
Yah, maybe try From tkinter import * … On Tue, May 26, 2020 at 4:27 AM fullmacht @.> wrote: How did you import Tkinter into the project? This may affect it … <#m_6541401454109074939_m_-4040903575752908369_> On Mon, May 25, 2020 at 10:31 AM fullmacht @.> wrote: https://github.com/jarvisteach/appJar/blob/appJar/examples/tree.py http://url - tree example don't work. Thats what pycharm says: Exception in Tkinter callback Traceback (most recent call last): File "D:\Python 3.8.2\lib\tkinter_init_.py", line 1883, in call return self.func(*args) File "D:\Python 3.8.2\lib\idlelib\tree.py", line 148, in flip self.item.OnDoubleClick() File "C:\Users\laptop\PycharmProjects\test\venv\lib\site-packages\appJar\appjar.py", line 12444, in OnDoubleClick self.dblClickFunc(self.treeTitle, self.getAttribute()) TypeError: dClick() takes 1 positional argument but 2 were given — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#622 <#622>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7TXYF32MQ6OHNZKYBLRTKFOLANCNFSM4NJTRE2A . i Imported it so import tkinter import _tkinter — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#622 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7XAJFU5A4HXZA7FBKDRTODO5ANCNFSM4NJTRE2A .
PyCharm says invalid syntax
Sorry, the correct code is
from tkinter import*
The from is not capitalized.
On Wed, May 27, 2020 at 4:57 AM fullmacht [email protected] wrote:
Yah, maybe try From tkinter import * … <#m_-4360843111876205258_> On Tue, May 26, 2020 at 4:27 AM fullmacht @.> wrote: How did you import Tkinter into the project? This may affect it … <#m_6541401454109074939_m_-4040903575752908369_> On Mon, May 25, 2020 at 10:31 AM fullmacht @.> wrote: https://github.com/jarvisteach/appJar/blob/appJar/examples/tree.py http://url - tree example don't work. Thats what pycharm says: Exception in Tkinter callback Traceback (most recent call last): File "D:\Python 3.8.2\lib\tkinter_init_.py", line 1883, in call return self.func(*args) File "D:\Python 3.8.2\lib\idlelib\tree.py", line 148, in flip self.item.OnDoubleClick() File "C:\Users\laptop\PycharmProjects\test\venv\lib\site-packages\appJar\appjar.py", line 12444, in OnDoubleClick self.dblClickFunc(self.treeTitle, self.getAttribute()) TypeError: dClick() takes 1 positional argument but 2 were given — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#622 https://github.com/jarvisteach/appJar/issues/622 <#622 https://github.com/jarvisteach/appJar/issues/622>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7TXYF32MQ6OHNZKYBLRTKFOLANCNFSM4NJTRE2A . i Imported it so import tkinter import _tkinter — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#622 (comment) https://github.com/jarvisteach/appJar/issues/622#issuecomment-633914662>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7XAJFU5A4HXZA7FBKDRTODO5ANCNFSM4NJTRE2A .
PyCharm says invalid syntax
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jarvisteach/appJar/issues/622#issuecomment-634556585, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7UWLYZ2SFPS2ROWTOTRTTPXFANCNFSM4NJTRE2A .
Sorry, the correct code is from tkinter import* The from is not capitalized. … On Wed, May 27, 2020 at 4:57 AM fullmacht @.*> wrote: Yah, maybe try From tkinter import * … <#m_-4360843111876205258_> On Tue, May 26, 2020 at 4:27 AM fullmacht @.> wrote: How did you import Tkinter into the project? This may affect it … <#m_6541401454109074939_m_-4040903575752908369_> On Mon, May 25, 2020 at 10:31 AM fullmacht @.> wrote: https://github.com/jarvisteach/appJar/blob/appJar/examples/tree.py http://url - tree example don't work. Thats what pycharm says: Exception in Tkinter callback Traceback (most recent call last): File "D:\Python 3.8.2\lib\tkinter_init_.py", line 1883, in call return self.func(*args) File "D:\Python 3.8.2\lib\idlelib\tree.py", line 148, in flip self.item.OnDoubleClick() File "C:\Users\laptop\PycharmProjects\test\venv\lib\site-packages\appJar\appjar.py", line 12444, in OnDoubleClick self.dblClickFunc(self.treeTitle, self.getAttribute()) TypeError: dClick() takes 1 positional argument but 2 were given — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#622 <#622> <#622 <#622>>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7TXYF32MQ6OHNZKYBLRTKFOLANCNFSM4NJTRE2A . i Imported it so import tkinter import _tkinter — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#622 (comment) <#622 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7XAJFU5A4HXZA7FBKDRTODO5ANCNFSM4NJTRE2A . PyCharm says invalid syntax — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#622 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJRT7UWLYZ2SFPS2ROWTOTRTTPXFANCNFSM4NJTRE2A .
I did what you say and its the same problem.
@fullmacht - you're right, the example is broken.
The double click function now requires two parameters. I'll get it fixed.