The fault is in the "Help.py" file in the class wxHelpFrameEx at the line "_none, self.toolbar, self.splitter = self.frame.GetChildren()" where the error "ValueError: need more than 2 values to unpack" is reported as an exception. This is as there are only 2 values returned by the call to "self.frame.GetChildren()" in the tuple. These are a "wx._windows.StatusBar" of type 'wxStatusBar *' and a "wx.html.HtmlHelpWindow" 'wxHtmlHelpWindow *'. The second value is fine, but the first value expected in the code is a "wxToolBar" type, not a "wxStatusBar" type leading to another exception in the code at line "if self.toolbar.FindById(wxID_COPYTOCLIP) is None:" if you change the line "_none, self.toolbar, self.splitter = self.frame.GetChildren()" to "self.toolbar, self.splitter = self.frame.GetChildren()" to eliminate the original exception, raising the exception that "wxStatusBar" has no member named "FindById". This needs to be addressed by either changing the code to eliminate references to the toolbar and replacing this with refrences to a StatusBar or redesigning the htmlController frame to include a tool bar.
Log in to post a comment.