Menu

#45 Alhambra: Exception in Tkinter callback

v1.0 (example)
closed
nobody
None
5
2022-07-27
2022-06-14
Jason
No
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
    return self.func(*args)
  File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1149, in __clickEventHandler
    return self.__defaultClickEventHandler(
  File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1126, in __defaultClickEventHandler
    if r <= 0:
TypeError: '<=' not supported between instances of 'NoneType' and 'int'

when clicking on the face down stock pile

Discussion

  • Jason

    Jason - 2022-06-14

    Also:

    Beacon: Exception in Tkinter callback

    Exception in Tkinter callback
    Traceback (most recent call last):
      File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
        return self.func(*args)
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1149, in __clickEventHandler
        return self.__defaultClickEventHandler(
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1126, in __defaultClickEventHandler
        if r <= 0:
    TypeError: '<=' not supported between instances of 'NoneType' and 'int'
    

    when clicking on the face down stock pile

     
  • Jason

    Jason - 2022-06-14

    Also:

    Block Ten: Exception in Tkinter callback

    Exception in Tkinter callback
    Traceback (most recent call last):
      File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
        return self.func(*args)
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1149, in __clickEventHandler
        return self.__defaultClickEventHandler(
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1126, in __defaultClickEventHandler
        if r <= 0:
    TypeError: '<=' not supported between instances of 'NoneType' and 'int'
    

    when clicking on the face down stock pile

     
  • Jason

    Jason - 2022-06-15

    Also:

    Reserves: Exception in Tkinter callback

    Exception in Tkinter callback
    Traceback (most recent call last):
      File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
        return self.func(*args)
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1149, in __clickEventHandler
        return self.__defaultClickEventHandler(
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1126, in __defaultClickEventHandler
        if r <= 0:
    TypeError: '<=' not supported between instances of 'NoneType' and 'int'
    

    when clicking on the face down stock pile

     
  • Joe R.

    Joe R. - 2022-06-15

    We are aware of this issue - it affects a number of games, but fixing it has not been a priority because from testing, the exception does not affect the ability to play any of the games in question.

    Are there any additional errors you're experiencing when this happens beyond the exception showing up?

     
  • Jason

    Jason - 2022-06-15

    Also:

    Sticko: Exception in Tkinter callback

    Exception in Tkinter callback
    Traceback (most recent call last):
      File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
        return self.func(*args)
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1149, in __clickEventHandler
        return self.__defaultClickEventHandler(
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1126, in __defaultClickEventHandler
        if r <= 0:
    TypeError: '<=' not supported between instances of 'NoneType' and 'int'
    

    when clicking on the face down stock pile

     
  • Jason

    Jason - 2022-06-15

    Also:

    The Last Monarch II: Exception in Tkinter callback

    Exception in Tkinter callback
    Traceback (most recent call last):
      File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
        return self.func(*args)
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1149, in __clickEventHandler
        return self.__defaultClickEventHandler(
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1126, in __defaultClickEventHandler
        if r <= 0:
    TypeError: '<=' not supported between instances of 'NoneType' and 'int'
    

    when clicking on the face down stock pile

     
  • Jason

    Jason - 2022-06-15

    Also:

    Thirteens: Exception in Tkinter callback

    Exception in Tkinter callback
    Traceback (most recent call last):
      File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
        return self.func(*args)
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1149, in __clickEventHandler
        return self.__defaultClickEventHandler(
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1126, in __defaultClickEventHandler
        if r <= 0:
    TypeError: '<=' not supported between instances of 'NoneType' and 'int'
    

    when clicking on the face down stock pile

     
  • Jason

    Jason - 2022-06-26

    Also:

    Step-Up: Exception in Tkinter callback

    Exception in Tkinter callback
    Traceback (most recent call last):
      File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
        return self.func(*args)
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1149, in __clickEventHandler
        return self.__defaultClickEventHandler(
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1126, in __defaultClickEventHandler
        if r <= 0:
    TypeError: '<=' not supported between instances of 'NoneType' and 'int'
    

    when clicking on the face down stock pile

     
  • Jason

    Jason - 2022-07-10

    Also:

    Elevens Too: Exception in Tkinter callback

    Exception in Tkinter callback
    Traceback (most recent call last):
      File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
        return self.func(*args)
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1149, in __clickEventHandler
        return self.__defaultClickEventHandler(
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1126, in __defaultClickEventHandler
        if r <= 0:
    TypeError: '<=' not supported between instances of 'NoneType' and 'int'
    

    when clicking on the face down stock pile

     
  • Jason

    Jason - 2022-07-16

    Also:

    Knotty Nines: Exception in Tkinter callback

    Exception in Tkinter callback
    Traceback (most recent call last):
      File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
        return self.func(*args)
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1149, in __clickEventHandler
        return self.__defaultClickEventHandler(
      File "/usr/lib/python3.10/site-packages/pysollib/stack.py", line 1126, in __defaultClickEventHandler
        if r <= 0:
    TypeError: '<=' not supported between instances of 'NoneType' and 'int'
    

    when clicking on the face down stock pile

     
  • Joe R.

    Joe R. - 2022-07-27

    I implemented a fix for this. It seems to be related to the game interpreting the clicks as an attempt to drag the card from a stack you can't drag from. This should affect all the games listed above, and others.

     
  • Joe R.

    Joe R. - 2022-07-27
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.