New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo file throwing exception (minor bug) #924

TSN-ADMIN opened this Issue Jul 15, 2018 · 1 comment


None yet
2 participants
Copy link

TSN-ADMIN commented Jul 15, 2018

Operating system: Microsoft Windows 7 SP1 [Version 6.1.7601]
wxPython version: 4.0.3 msw (phoenix) wxWidgets 3.0.5
Stock or custom build: Stock
Python version: v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
Stock or custom build: Stock

Description of the problem:

  • Run the wxPython Demo
  • Select Throbber
  • Exception (when directly run from command line):
Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
wx.version: 4.0.3 msw (phoenix) wxWidgets 3.0.5
Traceback (most recent call last):
  File "D:\Dev\Python27\Lib\site-packages\wxPython-demo-4.0.1\demo\", line 80, in OnInit
    win = self.demoModule.runTest(frame, frame, Log())
  File ".\", line 235, in runTest
    win = TestPanel(nb, log)
  File ".\", line 49, in __init__
    if isinstance(seq, range):
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types
OnInit returned false, exiting...

See last commit on demo file

Changing range in line 49 from to list fixed this for me.


This comment has been minimized.

Copy link

RobinD42 commented Jul 31, 2018

Fixed by #946

@RobinD42 RobinD42 closed this Jul 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment