D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/python-wxpython4-4.1.1-1.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gQq5tg + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf wxPython-4.1.1 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/wxPython-4.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wxPython-4.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/unbundle-sip.patch + rm -rf sip/siplib + rm -rf wx/py/tests + rm -f docs/sphinx/_downloads/i18nwxapp/i18nwxapp.zip + cp -a wx/lib/pubsub/LICENSE_BSD_Simple.txt license + sed -i -e '/^#!\//, 1d' demo/AUI_DockingWindowMgr.py demo/AUI_MDI.py demo/AUI_Notebook.py demo/About.py demo/AboutBox.py demo/ActiveXWrapper_Acrobat.py demo/ActiveXWrapper_IE.py demo/ActiveX_FlashWindow.py demo/ActiveX_IEHtmlWindow.py demo/ActiveX_PDFWindow.py demo/ActivityIndicator.py demo/AddPrivateFont.py demo/AdjustChannels.py demo/AlphaDrawing.py demo/AnalogClock.py demo/AnimationCtrl.py demo/ArtProvider.py demo/BannerWindow.py demo/BitmapButton.py demo/BitmapComboBox.py demo/BitmapFromBuffer.py demo/Button.py demo/Cairo.py demo/Cairo_Snippets.py demo/Calendar.py demo/CalendarCtrl.py demo/CheckBox.py demo/CheckListBox.py demo/CheckListCtrl.py demo/Choice.py demo/Choicebook.py demo/CollapsibleHeaderCtrl.py demo/CollapsiblePane.py demo/ColorPanel.py demo/ColourDB.py demo/ColourDialog.py demo/ColourSelect.py demo/ComboBox.py demo/ComboCtrl.py demo/ComboTreeBox.py demo/CommandLinkButton.py demo/ContextHelp.py demo/Cursor.py demo/CustomDragAndDrop.py demo/DVC_CustomRenderer.py demo/DVC_DataViewModel.py demo/DVC_IndexListModel.py demo/DVC_ListCtrl.py demo/DVC_TreeCtrl.py demo/DatePickerCtrl.py demo/DelayedResult.py demo/Dialog.py demo/DialogUnits.py demo/DirDialog.py demo/DragAndDrop.py demo/DragImage.py demo/DragScroller.py demo/DrawXXXList.py demo/DynamicSashWindow.py demo/EditableListBox.py demo/Editor.py demo/EventManager.py demo/ExpandoTextCtrl.py demo/FancyText.py demo/FileBrowseButton.py demo/FileCtrl.py demo/FileDialog.py demo/FileHistory.py demo/FindReplaceDialog.py demo/FloatCanvas.py demo/FontDialog.py demo/FontEnumerator.py demo/Frame.py demo/GLCanvas.py demo/Gauge.py demo/GenericButtons.py demo/GenericCheckBox.py demo/GenericDirCtrl.py demo/GetMouseState.py demo/GraphicsContext.py demo/GraphicsGradient.py demo/Grid.py demo/GridBagSizer.py demo/GridCustEditor.py demo/GridCustTable.py demo/GridDragAndDrop.py demo/GridDragable.py demo/GridEnterHandler.py demo/GridHugeTable.py demo/GridLabelRenderer.py demo/GridSimple.py demo/GridStdEdRend.py demo/Grid_MegaExample.py demo/HTML2_WebView.py demo/HtmlWindow.py demo/I18N.py demo/Image.py demo/ImageAlpha.py demo/ImageBrowser.py demo/ImageFromStream.py demo/Img2PyArtProvider.py demo/InfoBar.py demo/IntCtrl.py demo/ItemsPicker.py demo/Joystick.py demo/KeyEvents.py demo/LEDNumberCtrl.py demo/LayoutAnchors.py demo/LayoutConstraints.py demo/Layoutf.py demo/ListBox.py demo/ListCtrl.py demo/ListCtrl_edit.py demo/ListCtrl_virtual.py demo/Listbook.py demo/MDIDemo.py demo/MDISashDemo.py demo/MDIWindows.py demo/Main.py demo/Mask.py demo/MaskedEditControls.py demo/MaskedNumCtrl.py demo/MediaCtrl.py demo/Menu.py demo/MessageDialog.py demo/MimeTypesManager.py demo/MiniFrame.py demo/MouseGestures.py demo/MultiChoiceDialog.py demo/MultiSash.py demo/MultiSplitterWindow.py demo/MultipleChoiceDialog.py demo/Notebook.py demo/NotificationMessage.py demo/OGL.py demo/Overlay.py demo/OwnerDrawnComboBox.py demo/PDFViewer.py demo/PageSetupDialog.py demo/PenAndBrushStyles.py demo/Pickers.py demo/PlateButton.py demo/PopupControl.py demo/PopupMenu.py demo/PopupWindow.py demo/PrintDialog.py demo/PrintFramework.py demo/Process.py demo/ProgressDialog.py demo/PropertyGrid.py demo/PropertySheetDialog.py demo/PseudoDC.py demo/PyColourChooser.py demo/PyCrust.py demo/PyPlot.py demo/PyShell.py demo/PythonEvents.py demo/RadioBox.py demo/RadioButton.py demo/RawBitmapAccess.py demo/RearrangeDialog.py demo/RendererNative.py demo/ResizeWidget.py demo/RichMessageDialog.py demo/RichTextCtrl.py demo/RichToolTip.py demo/SVGImage_Bitmap.py demo/SVGImage_Render.py demo/SashWindow.py demo/ScrolledMessageDialog.py demo/ScrolledPanel.py demo/ScrolledWindow.py demo/SearchCtrl.py demo/ShapedWindow.py demo/Simplebook.py demo/SingleChoiceDialog.py demo/SizedControls.py demo/Sizers.py demo/Slider.py demo/Sound.py demo/SpinButton.py demo/SpinCtrl.py demo/SpinCtrlDouble.py demo/SplitTree.py demo/SplitterWindow.py demo/StandardPaths.py demo/StaticBitmap.py demo/StaticBox.py demo/StaticText.py demo/StatusBar.py demo/StockButtons.py demo/StyledTextCtrl_1.py demo/StyledTextCtrl_2.py demo/SystemSettings.py demo/TablePrint.py demo/TextCtrl.py demo/TextEntryDialog.py demo/Threads.py demo/Throbber.py demo/Ticker.py demo/TimeCtrl.py demo/TimePickerCtrl.py demo/Timer.py demo/ToggleButton.py demo/ToolBar.py demo/ToolTip.py demo/Toolbook.py demo/TreeCtrl.py demo/TreeListCtrl.py demo/TreeMixin.py demo/Treebook.py demo/UIActionSimulator.py demo/URLDragAndDrop.py demo/Unicode.py demo/VListBox.py demo/Validator.py demo/Wizard.py demo/WrapSizer.py demo/XmlResource.py demo/XmlResourceHandler.py demo/XmlResourceSubclass.py demo/__main__.py demo/demo.py demo/demodata.py demo/encode_bitmaps.py demo/images.py demo/infoframe.py demo/run.py demo/template.py demo/throbImages.py demo/version.py demo/widgetTest.py demo/demo.pyw + sed -i -e '/^#!\//, 1d' demo/agw/AGWInfoBar.py demo/agw/AUI.py demo/agw/AdvancedSplash.py demo/agw/AquaButton.py demo/agw/BalloonTip.py demo/agw/ButtonPanel.py demo/agw/CubeColourDialog.py demo/agw/CustomTreeCtrl.py demo/agw/FlatMenu.py demo/agw/FlatNotebook.py demo/agw/FloatSpin.py demo/agw/FoldPanelBar.py demo/agw/FourWaySplitter.py demo/agw/GenericMessageDialog.py demo/agw/GradientButton.py demo/agw/HyperLinkCtrl.py demo/agw/HyperTreeList.py demo/agw/KnobCtrl.py demo/agw/LabelBook.py demo/agw/MacLargeDemo.py demo/agw/MultiDirDialog.py demo/agw/PeakMeter.py demo/agw/PersistentControls.py demo/agw/PieCtrl.py demo/agw/PyBusyInfo.py demo/agw/PyCollapsiblePane.py demo/agw/PyGauge.py demo/agw/PyProgress.py demo/agw/RibbonBar.py demo/agw/RulerCtrl.py demo/agw/ScrolledThumbnail.py demo/agw/ShapedButton.py demo/agw/ShortcutEditor.py demo/agw/SpeedMeter.py demo/agw/SuperToolTip.py demo/agw/ThumbDemoConfig.py demo/agw/ThumbnailCtrl.py demo/agw/ToasterBox.py demo/agw/UltimateListCtrl.py demo/agw/UltimateListIconDemo.py demo/agw/UltimateListListDemo.py demo/agw/UltimateReportDemo.py demo/agw/UltimateVirtualDemo.py demo/agw/Windows7Explorer_Contents.py demo/agw/XLSGrid.py demo/agw/ZoomBar.py demo/agw/__demo__.py demo/agw/images.py + sed -i -e '/^#!\//, 1d' docs/sphinx/_downloads/i18nwxapp/app_base.py docs/sphinx/_downloads/i18nwxapp/app_const.py docs/sphinx/_downloads/i18nwxapp/geni18n.py docs/sphinx/_downloads/i18nwxapp/sampleapp.py + sed -i -e '/^#!\//, 1d' samples/floatcanvas/Animation.py samples/floatcanvas/BB_HitTest.py samples/floatcanvas/BNAEditor.py samples/floatcanvas/BarPlot.py samples/floatcanvas/BouncingBall.py samples/floatcanvas/Chart.py samples/floatcanvas/ClickableBoxes.py samples/floatcanvas/DrawBot.py samples/floatcanvas/DrawRect.py samples/floatcanvas/GridDemo.py samples/floatcanvas/GroupDeleteDemo.py samples/floatcanvas/GroupDemo.py samples/floatcanvas/Hexagons.py samples/floatcanvas/Map.py samples/floatcanvas/MicroDemo.py samples/floatcanvas/MiniDemo.py samples/floatcanvas/MouseTest.py samples/floatcanvas/MovingElements.py samples/floatcanvas/MovingPlot.py samples/floatcanvas/MovingTriangle.py samples/floatcanvas/NoToolbar.py samples/floatcanvas/NonGUI.py samples/floatcanvas/OverlayDemo.py samples/floatcanvas/PieChart.py samples/floatcanvas/PixelBitmap.py samples/floatcanvas/PointsHitDemo.py samples/floatcanvas/PolyEditor.py samples/floatcanvas/ProcessDiagram.py samples/floatcanvas/ScaleDemo.py samples/floatcanvas/ScaledBitmap2Demo.py samples/floatcanvas/SplitterWindow.py samples/floatcanvas/SubClassNavCanvas.py samples/floatcanvas/TestSpline.py samples/floatcanvas/TextBox.py samples/floatcanvas/TextBox2.py samples/floatcanvas/Tree.py samples/floatcanvas/VectPlot.py samples/floatcanvas/YDownDemo.py + sed -i -e '/^#!\//, 1d' samples/mainloop/mainloop.py + sed -i -e '/^#!\//, 1d' samples/ribbon/images.py samples/ribbon/ribbonbar_demo.py + sed -i -e '/^#!\//, 1d' wx/py/PyAlaCarte.py wx/py/PyAlaMode.py wx/py/PyAlaModeTest.py wx/py/PyCrust.py wx/py/PyFilling.py wx/py/PyShell.py wx/py/PySlices.py wx/py/PySlicesShell.py wx/py/PyWrap.py wx/py/__init__.py wx/py/buffer.py wx/py/crust.py wx/py/crustslices.py wx/py/dispatcher.py wx/py/document.py wx/py/editor.py wx/py/editwindow.py wx/py/filling.py wx/py/frame.py wx/py/images.py wx/py/interpreter.py wx/py/introspect.py wx/py/magic.py wx/py/parse.py wx/py/path.py wx/py/pseudo.py wx/py/shell.py wx/py/sliceshell.py wx/py/version.py + sed -i -e '/^#!\//, 1d' wx/tools/__init__.py wx/tools/dbg.py wx/tools/genaxmodule.py wx/tools/helpviewer.py wx/tools/img2img.py wx/tools/img2png.py wx/tools/img2py.py wx/tools/img2xpm.py wx/tools/pywxrc.py wx/tools/wxget.py wx/tools/wxget_docs_demo.py + sed -i 's/\r$//' docs/sphinx/_downloads/ArtProvider.GetBitmap.1.py docs/sphinx/_downloads/CloseEvent.Veto.1.py docs/sphinx/_downloads/Colour.1.py docs/sphinx/_downloads/EvtHandler.Bind.1.py docs/sphinx/_downloads/Font.1.py docs/sphinx/_downloads/Frame.SetStatusWidths.1.py docs/sphinx/_downloads/GridBagSizer.1.py docs/sphinx/_downloads/GridBagSizer.2.py docs/sphinx/_downloads/MenuBar.1.py docs/sphinx/_downloads/MoveEvent.1.py docs/sphinx/_downloads/Notebook.1.py docs/sphinx/_downloads/PaintDC.1.py docs/sphinx/_downloads/Process.1.py docs/sphinx/_downloads/SplitterWindow.1.py docs/sphinx/_downloads/StatusBar.SetStatusWidths.1.py docs/sphinx/_downloads/TreeCtrl.1.py docs/sphinx/_downloads/TreeCtrl.OnCompareItems.1.py docs/sphinx/_downloads/functions.CallAfter.1.py docs/sphinx/_downloads/functions.Execute.1.py + sed -i 's/\r$//' docs/sphinx/rest_substitutions/snippets/python/contrib/ArtProvider.GetBitmap.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/CloseEvent.Veto.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/Colour.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/EvtHandler.Bind.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/Font.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/Frame.SetStatusWidths.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/GridBagSizer.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/GridBagSizer.2.py docs/sphinx/rest_substitutions/snippets/python/contrib/MenuBar.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/MoveEvent.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/Notebook.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/PaintDC.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/Process.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/SplitterWindow.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/StatusBar.SetStatusWidths.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/TreeCtrl.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/TreeCtrl.OnCompareItems.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/functions.CallAfter.1.py docs/sphinx/rest_substitutions/snippets/python/contrib/functions.Execute.1.py + sed -i 's/\r$//' docs/sphinx/rest_substitutions/snippets/python/converted/wx.AcceleratorTable.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AffineMatrix2D.Concat.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AffineMatrix2D.Invert.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AffineMatrix2D.Rotate.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AffineMatrix2D.Scale.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AffineMatrix2D.TransformDistance.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AffineMatrix2D.TransformDistance.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AffineMatrix2D.TransformPoint.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AffineMatrix2D.TransformPoint.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AffineMatrix2D.Translate.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AffineMatrix2DBase.Concat.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AffineMatrix2DBase.Invert.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.App.SetTopWindow.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AppConsole.SetCLocale.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.AppConsole.SetCLocale.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ArtProvider.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ArtProvider.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Bitmap.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.BoxSizer.AddSpacer.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.BusyCursor.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.BusyInfo.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.BusyInfo.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.BusyInfo.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.BusyInfo.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.BusyInfoFlags.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ClientDC.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Clipboard.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.CloseEvent.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.CollapsiblePane.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Colour.GetLuminance.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ColourDialog.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ComboCtrl.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ComboCtrl.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ComboCtrl.SetTextCtrlStyle.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ConfigBase.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ConfigBase.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ConfigBase.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ConfigBase.4.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ConfigBase.5.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ConfigPathChanger.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ConfigPathChanger.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ConfigPathChanger.__init__.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ContextHelp.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Control.GetSizeFromText.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Control.GetSizeFromTextSize.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Control.GetSizeFromTextSize.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Control.SetLabelMarkup.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Cursor.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Cursor.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.DCClipper.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.DataObjectComposite.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.DateTime.ConvertYearToBC.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.DateTime.Now.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.DateTime.ParseFormat.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.DateTime.ParseFormat.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.DateTime.SetTimeT.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Dialog.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Dialog.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.DirDialog.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Display.GetPPI.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Event.Clone.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.EventBlocker.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.EventFilter.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.EventLoopActivator.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.EventLoopBase.Dispatch.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.EvtHandler.QueueEvent.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.EvtHandler.QueueEvent.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.EvtHandler.SetNextHandler.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.EvtHandler.TryAfter.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.EvtHandler.TryBefore.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FSFile.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileDialog.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileDialog.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileDialog.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileDialog.4.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileSystem.AddHandler.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileSystem.ChangePathTo.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileSystem.ChangePathTo.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileSystemHandler.CanOpen.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileSystemHandler.GetAnchor.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileSystemHandler.GetLeftLocation.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileSystemHandler.GetMimeTypeFromExt.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileSystemHandler.GetProtocol.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileSystemHandler.GetRightLocation.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileType.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FileType.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Font.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Font.__init__.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FontInfo.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.FontMapper.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Frame.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.GenericProgressDialog.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.GraphicsContext.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.GraphicsMatrix.Concat.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.GraphicsPenInfo.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.GraphicsRenderer.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.HeaderColumnSimple.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.HeaderCtrl.AddColumnsItems.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.HeaderCtrl.Create.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.HeaderCtrl.UpdateColumnWidthToFit.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.HeaderCtrlSimple.HideColumn.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.HelpControllerBase.SetViewer.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.IconBundle.GetIcon.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Image.AddHandler.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Image.ComputeHistogram.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Image.GetImageExtWildcard.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Image.LoadFile.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Image.LoadFile.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Image.SaveFile.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Image.SaveFile.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Image.Scale.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Image.SetLoadFlags.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Image.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.InfoBar.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.JoystickEvent.GetButtonChange.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.KeyEvent.GetKeyCode.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.KeyboardState.GetModifiers.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.KeyboardState.GetModifiers.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ListCtrl.GetNextItem.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ListCtrl.SetColumnsOrder.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ListCtrl.SetItemState.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ListCtrl.SetItemState.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ListCtrl.SortItems.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Locale.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Locale.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Log.LogRecord.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Log.SetComponentLevel.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.LogChain.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.LogFormatter.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.LogFormatter.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.LogNull.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.LogNull.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.MDIParentFrame.OnCreateClient.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.MemoryDC.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.MemoryDC.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.MemoryFSHandler.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Menu.Append.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Menu.Append.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Menu.Append.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Menu.Append.4.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.MenuItem.GetLabelText.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.MenuItem.SetItemLabel.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.MenuItem.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.MessageDialog.SetYesNoLabels.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.MessageDialog.SetYesNoLabels.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Metafile.SetClipboard.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ModalDialogHook.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.NonOwnedWindow.SetShape.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Notebook.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Notebook.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.PaintEvent.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.PaintEvent.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.PenInfo.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.PickerBase.GetPickerCtrl.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.PlatformInformation.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Point.SetDefaults.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Point.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.PowerResourceBlocker.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.RearrangeDialog.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.RearrangeDialog.AddExtraControls.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.RearrangeList.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Rect.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.RichMessageDialog.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.SVGFileDC.SetBitmapHandler.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ScrollBar.SetScrollbar.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Scrolled.DoPrepareDC.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Scrolled.SetScrollbars.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.SearchCtrl.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.SingleInstanceChecker.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Size.SetDefaults.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Sizer.AddSpacer.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Sizer.AddStretchSpacer.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.SizerFlags.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.SizerFlags.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.SizerFlags.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.StandardPaths.MSWGetShellDir.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.StandardPaths.UseAppInfo.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.StaticBox.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.StaticBox.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.StaticBox.Enable.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.StaticBox.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.StaticBoxSizer.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.StopWatch.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.TextCompleterSimple.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.TextCtrl.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.TextCtrl.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.TextCtrl.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.TextCtrl.4.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.TextCtrl.5.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.TextEntry.GetInsertionPoint.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.TextUrlEvent.Clone.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.TimerEvent.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ToolBar.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ToolBar.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.ToolBar.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Trackable.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.URLDataObject.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.UpdateUIEvent.IsCheckable.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.VListBox.GetFirstSelected.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Validator.SetWindow.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.ConvertDialogToPixels.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.Create.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.Create.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.DoUpdateWindowUI.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.Enable.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.EnableTouchEvents.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.Fit.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.FromDIP.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.FromDIP.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.HandleWindowEvent.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.Move.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.Move.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.Move.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.ProcessEvent.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.ProcessWindowEvent.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.PushEventHandler.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.SetBackgroundStyle.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.SetMaxClientSize.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.SetMinClientSize.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.SetScrollbar.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.ToDIP.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.ToDIP.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.UpdateWindowUI.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.WindowModalDialogEvent.Clone.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.AboutDialogInfo.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.BannerWindow.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.GenericAnimationCtrl.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.PropertySheetDialog.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.RichToolTip.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.Sound.Play.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.Sound.PlaySound.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.SplashScreen.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.TreeListCtrl.GetNextItem.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.WizardPageSimple.Chain.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.WizardPageSimple.Chain.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.WizardPageSimple.Chain.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.adv.functions.AboutBox.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.aui.AuiManager.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.aui.AuiManager.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewCustomRenderer.CreateEditorCtrl.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewCustomRenderer.GetValueFromEditorCtrl.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewListCtrl.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewModel.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewModel.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewModel.Compare.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewRenderer.DisableEllipsize.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewTextRenderer.EnableMarkup.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewTextRenderer.EnableMarkup.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.DataViewValueAdjuster.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.dataview.TreeListCtrl.GetNextItem.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.functions.DirSelector.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.functions.FileSelector.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.functions.FileSelector.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.functions.Kill.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.functions.Kill.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.functions.MessageBox.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.glcanvas.GLAttribsBase.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.glcanvas.GLAttributes.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.glcanvas.GLCanvas.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.glcanvas.GLCanvas.__init__.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.glcanvas.GLContextAttrs.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.grid.Grid.GetCellSize.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.grid.Grid.GetCellSize.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.grid.Grid.GetRowGridLinePen.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.grid.Grid.GetSelectedBlocks.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.grid.GridBlocks.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.grid.GridBlocks.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.grid.GridCellAttr.GetNonDefaultAlignment.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.grid.GridFitMode.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.grid.GridUpdateLocker.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlCell.AdjustPagebreak.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlCell.Draw.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlCell.DrawInvisible.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlContainerCell.SetWidthFloat.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlContainerCell.SetWidthFloat.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlDCRenderer.FindNextPageBreak.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlFilter.CanRead.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlFilter.ReadFile.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlHelpController.AddBook.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlHelpController.AddBook.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlHelpWindow.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlModalHelp.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlParser.GetFS.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlParser.PushTagHandler.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlParser.PushTagHandler.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlTag.GetBeginPos.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlTag.GetEndPos1.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlTag.GetEndPos2.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlTag.GetParam.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlTag.HasEnding.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlTagHandler.HandleTag.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlTagHandler.ParseInner.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlWinParser.GetContainer.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlWindow.AddFilter.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlWindow.SetPage.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html2.WebView.GetNativeBackend.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html2.WebView.RunScript.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.html2.WebView.RunScript.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.media.MediaCtrl.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.msw.Metafile.SetClipboard.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.CursorProperty.OnCustomPaint.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.DirProperty.DoGetValidator.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.FileProperty.DoGetValidator.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.FlagsProperty.ChildChanged.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.FloatProperty.DoGetValidator.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.FontProperty.ChildChanged.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.ImageFileProperty.OnCustomPaint.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.IntProperty.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.IntProperty.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.IntProperty.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.IntProperty.4.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.IntProperty.DoGetValidator.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGEditor.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGMultiButton.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGMultiButton.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.4.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.5.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.6.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.7.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.8.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.9.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.ChangeFlag.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.ChildChanged.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.DoGetValidator.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.OnCustomPaint.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.SetDefaultValue.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PGProperty.__init__.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PropertyGrid.AddActionTrigger.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PropertyGrid.MakeColumnEditable.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PropertyGridInterface.Insert.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PropertyGridInterface.Insert.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PropertyGridInterface.ReplaceProperty.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PropertyGridManager.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.SystemColourProperty.OnCustomPaint.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.UIntProperty.DoGetValidator.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.richtext.RichTextEvent.Clone.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.richtext.RichTextFormattingDialog.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.richtext.RichTextHTMLHandler.SetFontSizeMapping.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.richtext.SymbolPickerDialog.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.stc.StyledTextCtrl.GetInsertionPoint.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.xml.XmlDocument.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.xml.XmlDocument.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.xml.XmlDocument.3.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.xml.XmlDocument.4.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.xml.XmlDocument.5.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.xml.XmlNode.GetNodeContent.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.xml.XmlNode.GetNodeContent.2.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.xrc.XmlResource.Load.1.py docs/sphinx/rest_substitutions/snippets/python/converted/wx.xrc.XmlResource.LoadDialog.1.py + sed -i 's/\r$//' docs/sphinx/_downloads/i18nwxapp/locale/I18Nwxapp.pot + sed -i 's/\r$//' docs/sphinx/make.bat + sed -i 's/\r$//' docs/sphinx/phoenix_theme/theme.conf + sed -i 's/\r$//' samples/floatcanvas/BouncingBall.py + chmod -x demo/AUI_DockingWindowMgr.py demo/AUI_MDI.py demo/AUI_Notebook.py demo/About.py demo/AboutBox.py demo/ActiveXWrapper_Acrobat.py demo/ActiveXWrapper_IE.py demo/ActiveX_FlashWindow.py demo/ActiveX_IEHtmlWindow.py demo/ActiveX_PDFWindow.py demo/ActivityIndicator.py demo/AddPrivateFont.py demo/AdjustChannels.py demo/AlphaDrawing.py demo/AnalogClock.py demo/AnimationCtrl.py demo/ArtProvider.py demo/BannerWindow.py demo/BitmapButton.py demo/BitmapComboBox.py demo/BitmapFromBuffer.py demo/Button.py demo/Cairo.py demo/Cairo_Snippets.py demo/Calendar.py demo/CalendarCtrl.py demo/CheckBox.py demo/CheckListBox.py demo/CheckListCtrl.py demo/Choice.py demo/Choicebook.py demo/CollapsibleHeaderCtrl.py demo/CollapsiblePane.py demo/ColorPanel.py demo/ColourDB.py demo/ColourDialog.py demo/ColourSelect.py demo/ComboBox.py demo/ComboCtrl.py demo/ComboTreeBox.py demo/CommandLinkButton.py demo/ContextHelp.py demo/Cursor.py demo/CustomDragAndDrop.py demo/DVC_CustomRenderer.py demo/DVC_DataViewModel.py demo/DVC_IndexListModel.py demo/DVC_ListCtrl.py demo/DVC_TreeCtrl.py demo/DatePickerCtrl.py demo/DelayedResult.py demo/Dialog.py demo/DialogUnits.py demo/DirDialog.py demo/DragAndDrop.py demo/DragImage.py demo/DragScroller.py demo/DrawXXXList.py demo/DynamicSashWindow.py demo/EditableListBox.py demo/Editor.py demo/EventManager.py demo/ExpandoTextCtrl.py demo/FancyText.py demo/FileBrowseButton.py demo/FileCtrl.py demo/FileDialog.py demo/FileHistory.py demo/FindReplaceDialog.py demo/FloatCanvas.py demo/FontDialog.py demo/FontEnumerator.py demo/Frame.py demo/GLCanvas.py demo/Gauge.py demo/GenericButtons.py demo/GenericCheckBox.py demo/GenericDirCtrl.py demo/GetMouseState.py demo/GraphicsContext.py demo/GraphicsGradient.py demo/Grid.py demo/GridBagSizer.py demo/GridCustEditor.py demo/GridCustTable.py demo/GridDragAndDrop.py demo/GridDragable.py demo/GridEnterHandler.py demo/GridHugeTable.py demo/GridLabelRenderer.py demo/GridSimple.py demo/GridStdEdRend.py demo/Grid_MegaExample.py demo/HTML2_WebView.py demo/HtmlWindow.py demo/I18N.py demo/Image.py demo/ImageAlpha.py demo/ImageBrowser.py demo/ImageFromStream.py demo/Img2PyArtProvider.py demo/InfoBar.py demo/IntCtrl.py demo/ItemsPicker.py demo/Joystick.py demo/KeyEvents.py demo/LEDNumberCtrl.py demo/LayoutAnchors.py demo/LayoutConstraints.py demo/Layoutf.py demo/ListBox.py demo/ListCtrl.py demo/ListCtrl_edit.py demo/ListCtrl_virtual.py demo/Listbook.py demo/MDIDemo.py demo/MDISashDemo.py demo/MDIWindows.py demo/Main.py demo/Mask.py demo/MaskedEditControls.py demo/MaskedNumCtrl.py demo/MediaCtrl.py demo/Menu.py demo/MessageDialog.py demo/MimeTypesManager.py demo/MiniFrame.py demo/MouseGestures.py demo/MultiChoiceDialog.py demo/MultiSash.py demo/MultiSplitterWindow.py demo/MultipleChoiceDialog.py demo/Notebook.py demo/NotificationMessage.py demo/OGL.py demo/Overlay.py demo/OwnerDrawnComboBox.py demo/PDFViewer.py demo/PageSetupDialog.py demo/PenAndBrushStyles.py demo/Pickers.py demo/PlateButton.py demo/PopupControl.py demo/PopupMenu.py demo/PopupWindow.py demo/PrintDialog.py demo/PrintFramework.py demo/Process.py demo/ProgressDialog.py demo/PropertyGrid.py demo/PropertySheetDialog.py demo/PseudoDC.py demo/PyColourChooser.py demo/PyCrust.py demo/PyPlot.py demo/PyShell.py demo/PythonEvents.py demo/RadioBox.py demo/RadioButton.py demo/RawBitmapAccess.py demo/RearrangeDialog.py demo/RendererNative.py demo/ResizeWidget.py demo/RichMessageDialog.py demo/RichTextCtrl.py demo/RichToolTip.py demo/SVGImage_Bitmap.py demo/SVGImage_Render.py demo/SashWindow.py demo/ScrolledMessageDialog.py demo/ScrolledPanel.py demo/ScrolledWindow.py demo/SearchCtrl.py demo/ShapedWindow.py demo/Simplebook.py demo/SingleChoiceDialog.py demo/SizedControls.py demo/Sizers.py demo/Slider.py demo/Sound.py demo/SpinButton.py demo/SpinCtrl.py demo/SpinCtrlDouble.py demo/SplitTree.py demo/SplitterWindow.py demo/StandardPaths.py demo/StaticBitmap.py demo/StaticBox.py demo/StaticText.py demo/StatusBar.py demo/StockButtons.py demo/StyledTextCtrl_1.py demo/StyledTextCtrl_2.py demo/SystemSettings.py demo/TablePrint.py demo/TextCtrl.py demo/TextEntryDialog.py demo/Threads.py demo/Throbber.py demo/Ticker.py demo/TimeCtrl.py demo/TimePickerCtrl.py demo/Timer.py demo/ToggleButton.py demo/ToolBar.py demo/ToolTip.py demo/Toolbook.py demo/TreeCtrl.py demo/TreeListCtrl.py demo/TreeMixin.py demo/Treebook.py demo/UIActionSimulator.py demo/URLDragAndDrop.py demo/Unicode.py demo/VListBox.py demo/Validator.py demo/Wizard.py demo/WrapSizer.py demo/XmlResource.py demo/XmlResourceHandler.py demo/XmlResourceSubclass.py demo/__main__.py demo/demo.py demo/demodata.py demo/encode_bitmaps.py demo/images.py demo/infoframe.py demo/run.py demo/template.py demo/throbImages.py demo/version.py demo/widgetTest.py + chmod -x samples/mainloop/mainloop.py + chmod -x samples/printing/sample-text.txt + find demo -size 0 -delete + find docs/sphinx/rest_substitutions/snippets/python/converted -size 0 -delete + for file in demo/TestTable.txt docs/sphinx/_downloads/i18nwxapp/locale/I18Nwxapp.pot docs/sphinx/class_summary.pkl docs/sphinx/wx.1moduleindex.pkl + iconv -f ISO-8859-1 -t UTF-8 -o demo/TestTable.txt.new demo/TestTable.txt + touch -r demo/TestTable.txt demo/TestTable.txt.new + mv demo/TestTable.txt.new demo/TestTable.txt + for file in demo/TestTable.txt docs/sphinx/_downloads/i18nwxapp/locale/I18Nwxapp.pot docs/sphinx/class_summary.pkl docs/sphinx/wx.1moduleindex.pkl + iconv -f ISO-8859-1 -t UTF-8 -o docs/sphinx/_downloads/i18nwxapp/locale/I18Nwxapp.pot.new docs/sphinx/_downloads/i18nwxapp/locale/I18Nwxapp.pot + touch -r docs/sphinx/_downloads/i18nwxapp/locale/I18Nwxapp.pot docs/sphinx/_downloads/i18nwxapp/locale/I18Nwxapp.pot.new + mv docs/sphinx/_downloads/i18nwxapp/locale/I18Nwxapp.pot.new docs/sphinx/_downloads/i18nwxapp/locale/I18Nwxapp.pot + for file in demo/TestTable.txt docs/sphinx/_downloads/i18nwxapp/locale/I18Nwxapp.pot docs/sphinx/class_summary.pkl docs/sphinx/wx.1moduleindex.pkl + iconv -f ISO-8859-1 -t UTF-8 -o docs/sphinx/class_summary.pkl.new docs/sphinx/class_summary.pkl + touch -r docs/sphinx/class_summary.pkl docs/sphinx/class_summary.pkl.new + mv docs/sphinx/class_summary.pkl.new docs/sphinx/class_summary.pkl + for file in demo/TestTable.txt docs/sphinx/_downloads/i18nwxapp/locale/I18Nwxapp.pot docs/sphinx/class_summary.pkl docs/sphinx/wx.1moduleindex.pkl + iconv -f ISO-8859-1 -t UTF-8 -o docs/sphinx/wx.1moduleindex.pkl.new docs/sphinx/wx.1moduleindex.pkl + touch -r docs/sphinx/wx.1moduleindex.pkl docs/sphinx/wx.1moduleindex.pkl.new + mv docs/sphinx/wx.1moduleindex.pkl.new docs/sphinx/wx.1moduleindex.pkl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.EwpbHg + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd wxPython-4.1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + DOXYGEN=/usr/bin/doxygen + SIP=/usr/bin/sip-wx + WAF=/usr/bin/waf + /usr/bin/python3 -u build.py touch --nodoc sip build_py --use_syswx --gtk3 Will build using: "/usr/bin/python3" 3.8.7 (default, Jan 24 2021, 11:21:03) [GCC 10.2.1 20210123] Python's architecture is 64bit cfg.VERSION: 4.1.1 Running command: touch Running command: touch_others Finished command: touch_others (0.0s) Finished command: touch (0.8s) Running command: sip Finished command: sip (0.98s) Running command: build_py "/usr/bin/python3" /usr/bin/waf --wx_config=wx-config --gtk3 --python="/usr/bin/python3" --out=build/waf/3.8/gtk3 configure build Setting top to : /home/iurt/rpmbuild/BUILD/wxPython-4.1.1 Setting out to : /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/build/waf/3.8/gtk3 Checking for 'gcc' (C compiler) : /usr/bin/gcc Checking for 'g++' (C++ compiler) : /usr/bin/g++ Checking for program 'python' : /usr/bin/python3 Checking for python version >= 2.7.0 : 3.8.7 python-config : /usr/bin/python3-config Asking python-config for pyext '--cflags --libs --ldflags --embed' flags : yes Testing pyext configuration : yes Finding libs for WX : yes Finding libs for WXADV : yes Finding libs for WXSTC : yes Finding libs for WXHTML : yes Finding libs for WXGL : yes Finding libs for WXWEBVIEW : yes Finding libs for WXXML : yes Finding libs for WXXRC : yes Finding libs for WXRICHTEXT : yes Finding libs for WXMEDIA : yes Finding libs for WXRIBBON : yes Finding libs for WXPROPGRID : yes Finding libs for WXAUI : yes 'configure' finished successfully (2.810s) Waf: Entering directory `/home/iurt/rpmbuild/BUILD/wxPython-4.1.1/build/waf/3.8/gtk3' **** Compiler: /usr/bin/gcc --version gcc (Mageia 10.2.1-0.20210130.1.mga8) 10.2.1 20210130 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [ 1/909] Compiling sip/cpp/sip_corewxMaximizeEvent.cpp [ 2/909] Compiling sip/cpp/sip_corewxFileHistory.cpp [ 3/909] Compiling sip/cpp/sip_corewxComboCtrlFeatures.cpp [ 4/909] Compiling sip/cpp/sip_corewxBufferedDC.cpp [ 5/909] Compiling sip/cpp/sip_corewxArchiveFSHandler.cpp [ 6/909] Compiling sip/cpp/sip_corewxActivityIndicator.cpp [ 7/909] Compiling sip/cpp/sip_corewxAcceleratorEntry.cpp [ 8/909] Compiling sip/cpp/sip_core_ScrolledWindowBase.cpp [ 9/909] Compiling sip/cpp/sip_corewxMatrix2D.cpp [ 10/909] Compiling sip/cpp/sip_corewxMask.cpp [ 11/909] Compiling sip/cpp/sip_corewxFileDropTarget.cpp [ 12/909] Compiling sip/cpp/sip_corewxMDIParentFrame.cpp [ 13/909] Compiling sip/cpp/sip_corewxMDIClientWindow.cpp [ 14/909] Compiling sip/cpp/sip_corewxFileDirPickerEvent.cpp [ 15/909] Compiling sip/cpp/sip_corewxComboCtrl.cpp [ 16/909] Compiling sip/cpp/sip_corewxMDIChildFrameBase.cpp [ 17/909] Compiling sip/cpp/sip_corewxMDIChildFrame.cpp [ 18/909] Compiling sip/cpp/sip_corewxFileDialog.cpp [ 19/909] Compiling sip/cpp/sip_corewxLongPressEvent.cpp [ 20/909] Compiling sip/cpp/sip_corewxLongLong.cpp [ 21/909] Compiling sip/cpp/sip_corewxFileDataObject.cpp [ 22/909] Compiling sip/cpp/sip_corewxComboBox.cpp [ 23/909] Compiling sip/cpp/sip_corewxBrushList.cpp [ 24/909] Compiling sip/cpp/sip_corewxLogWindow.cpp [ 25/909] Compiling sip/cpp/sip_corewxLogTextCtrl.cpp [ 26/909] Compiling sip/cpp/sip_corewxFileCtrlEvent.cpp [ 27/909] Compiling sip/cpp/sip_corewxLogStderr.cpp [ 28/909] Compiling sip/cpp/sip_corewxLogRecordInfo.cpp [ 29/909] Compiling sip/cpp/sip_corewxFileCtrl.cpp [ 30/909] Compiling sip/cpp/sip_corewxColourPickerEvent.cpp [ 31/909] Compiling sip/cpp/sip_corewxLogNull.cpp [ 32/909] Compiling sip/cpp/sip_corewxLogInterposerTemp.cpp [ 33/909] Compiling sip/cpp/sip_corewxFileConfig.cpp [ 34/909] Compiling sip/cpp/sip_corewxZoomGestureEvent.cpp [ 35/909] Compiling sip/cpp/sip_corewxXPMHandler.cpp [ 36/909] Compiling sip/cpp/sip_corewxColourPickerCtrl.cpp [ 37/909] Compiling sip/cpp/sip_corewxLogChain.cpp [ 38/909] Compiling sip/cpp/sip_corewxEventLoopBase.cpp [ 39/909] Compiling sip/cpp/sip_corewxColourDialog.cpp [ 40/909] Compiling sip/cpp/sip_corewxVScrolledWindow.cpp [ 41/909] Compiling sip/cpp/sip_corewxUpdateUIEvent.cpp [ 42/909] Compiling sip/cpp/sip_corewxUIActionSimulator.cpp [ 43/909] Compiling sip/cpp/sip_corewxTreebook.cpp [ 44/909] Compiling sip/cpp/sip_corewxBookCtrlEvent.cpp [ 45/909] Compiling sip/cpp/sip_corewxTreeItemData.cpp [ 46/909] Compiling sip/cpp/sip_corewxJPEGHandler.cpp [ 47/909] Compiling sip/cpp/sip_corewxTreeCtrl.cpp [ 48/909] Compiling sip/cpp/sip_corewxTopLevelWindow.cpp [ 49/909] Compiling sip/cpp/sip_corewxToolbook.cpp [ 50/909] Compiling sip/cpp/sip_corewxColour.cpp [ 51/909] Compiling sip/cpp/sip_corewxToolTip.cpp [ 52/909] Compiling sip/cpp/sip_corewxToolBarToolBase.cpp [ 53/909] Compiling sip/cpp/sip_corewxDropFilesEvent.cpp [ 54/909] Compiling sip/cpp/sip_corewxIntPtr.cpp [ 55/909] Compiling sip/cpp/sip_corewxToggleButton.cpp [ 56/909] Compiling sip/cpp/sip_corewxDragImage.cpp [ 57/909] Compiling sip/cpp/sip_corewxCollapsiblePaneEvent.cpp [ 58/909] Compiling sip/cpp/sip_corewxTimer.cpp [ 59/909] Compiling sip/cpp/sip_corewxTextUrlEvent.cpp [ 60/909] Compiling sip/cpp/sip_corewxTimeSpan.cpp [ 61/909] Compiling sip/cpp/sip_corewxInfoBar.cpp [ 62/909] Compiling sip/cpp/sip_corewxTextEntry.cpp [ 63/909] Compiling sip/cpp/sip_corewxTextEntryDialog.cpp [ 64/909] Compiling sip/cpp/sip_corewxCollapsiblePane.cpp [ 65/909] Compiling sip/cpp/sip_corewxTextCompleterSimple.cpp [ 66/909] Compiling sip/cpp/sip_corewxTextCompleter.cpp [ 67/909] Compiling sip/cpp/sip_corewxImageList.cpp [ 68/909] Compiling sip/cpp/sip_corewxDirPickerCtrl.cpp [ 69/909] Compiling sip/cpp/sip_corewxImageHistogram.cpp [ 70/909] Compiling sip/cpp/sip_corewxImageArray.cpp [ 71/909] Compiling sip/cpp/sip_corewxDirDialog.cpp [ 72/909] Compiling sip/cpp/sip_corewxStaticText.cpp [ 73/909] Compiling sip/cpp/sip_corewxStaticLine.cpp [ 74/909] Compiling sip/cpp/sip_corewxIconLocation.cpp [ 75/909] Compiling sip/cpp/sip_corewxStaticBoxSizer.cpp [ 76/909] Compiling sip/cpp/sip_corewxDialog.cpp [ 77/909] Compiling sip/cpp/sip_corewxIconBundle.cpp [ 78/909] Compiling sip/cpp/sip_corewxDelegateRendererNative.cpp [ 79/909] Compiling sip/cpp/sip_corewxClipboardTextEvent.cpp [ 80/909] Compiling sip/cpp/sip_corewxBitmapDataObject.cpp [ 81/909] Compiling sip/cpp/sip_corewxStaticBitmap.cpp [ 82/909] Compiling sip/cpp/sip_corewxStaticBox.cpp [ 83/909] Compiling sip/cpp/sip_corewxIcon.cpp [ 84/909] Compiling sip/cpp/sip_corewxStandardPaths.cpp [ 85/909] Compiling sip/cpp/sip_corewxSplitterRenderParams.cpp [ 86/909] Compiling sip/cpp/sip_corewxIFFHandler.cpp [ 87/909] Compiling sip/cpp/sip_corewxDateTimeTm.cpp [ 88/909] Compiling sip/cpp/sip_corewxSplitterEvent.cpp [ 89/909] Compiling sip/cpp/sip_corewxSpinEvent.cpp [ 90/909] Compiling sip/cpp/sip_corewxHelpProvider.cpp [ 91/909] Compiling sip/cpp/sip_corewxSpinDoubleEvent.cpp [ 92/909] Compiling sip/cpp/sip_corewxSpinCtrlDouble.cpp [ 93/909] Compiling sip/cpp/sip_corewxHelpEvent.cpp [ 94/909] Compiling sip/cpp/sip_corewxSplitterWindow.cpp [ 95/909] Compiling sip/cpp/sip_corewxDateTimeTimeZone.cpp [ 96/909] Compiling sip/cpp/sip_corewxSpinCtrl.cpp [ 97/909] Compiling sip/cpp/sip_corewxSpinButton.cpp [ 98/909] Compiling sip/cpp/sip_corewxHelpControllerHelpProvider.cpp [ 99/909] Compiling sip/cpp/sip_corewxSlider.cpp [100/909] Compiling sip/cpp/sip_corewxClipboard.cpp [101/909] Compiling sip/cpp/sip_corewxHelpControllerBase.cpp [102/909] Compiling sip/cpp/sip_corewxDateTime.cpp [103/909] Compiling sip/cpp/sip_corewxSizerItemList.cpp [104/909] Compiling sip/cpp/sip_corewxSizerItem.cpp ../../../../sip/cpp/sip_corewxIcon.cpp: In function ‘PyObject* meth_wxIcon_SetDepth(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_corewxIcon.cpp:347:35: warning: ‘virtual void wxBitmap::SetDepth(int)’ is deprecated [-Wdeprecated-declarations] 347 | sipCpp->SetDepth(depth); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxIcon.cpp:10: /usr/include/wx-3.1/wx/gtk/bitmap.h:127:23: note: declared here 127 | wxDEPRECATED(void SetDepth( int depth ) wxOVERRIDE); | ^~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ ../../../../sip/cpp/sip_corewxIcon.cpp: In function ‘PyObject* meth_wxIcon_SetHeight(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_corewxIcon.cpp:386:37: warning: ‘virtual void wxBitmap::SetHeight(int)’ is deprecated [-Wdeprecated-declarations] 386 | sipCpp->SetHeight(height); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxIcon.cpp:10: /usr/include/wx-3.1/wx/gtk/bitmap.h:125:23: note: declared here 125 | wxDEPRECATED(void SetHeight( int height ) wxOVERRIDE); | ^~~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ ../../../../sip/cpp/sip_corewxIcon.cpp: In function ‘PyObject* meth_wxIcon_SetWidth(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_corewxIcon.cpp:425:35: warning: ‘virtual void wxBitmap::SetWidth(int)’ is deprecated [-Wdeprecated-declarations] 425 | sipCpp->SetWidth(width); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxIcon.cpp:10: /usr/include/wx-3.1/wx/gtk/bitmap.h:126:23: note: declared here 126 | wxDEPRECATED(void SetWidth( int width ) wxOVERRIDE); | ^~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ [105/909] Compiling sip/cpp/sip_corewxSizerItemList_iterator.cpp [106/909] Compiling sip/cpp/sip_corewxHeaderCtrlSimple.cpp [107/909] Compiling sip/cpp/sip_corewxSizerFlags.cpp [108/909] Compiling sip/cpp/sip_corewxHeaderCtrlEvent.cpp [109/909] Compiling sip/cpp/sip_corewxDateSpan.cpp [110/909] Compiling sip/cpp/sip_corewxClientDataContainer.cpp [111/909] Compiling sip/cpp/sip_corewxBitmapButton.cpp [112/909] Compiling sip/cpp/sip_corewxAlphaPixelData_Accessor.cpp [113/909] Compiling sip/cpp/sip_corewxSizer.cpp [114/909] Compiling sip/cpp/sip_corewxAccessible.cpp [115/909] Compiling sip/cpp/sip_corewxIconizeEvent.cpp [116/909] Compiling sip/cpp/sip_corewxSize.cpp [117/909] Compiling sip/cpp/sip_corewxHeaderCtrl.cpp [118/909] Compiling sip/cpp/sip_corewxSizeEvent.cpp [119/909] Compiling sip/cpp/sip_corewxSimplebook.cpp [120/909] Compiling sip/cpp/sip_corewxHeaderColumnSimple.cpp [121/909] Compiling sip/cpp/sip_corewxDataObjectSimple.cpp [122/909] Compiling sip/cpp/sip_corewxSimpleHelpProvider.cpp [123/909] Compiling sip/cpp/sip_corewxSingleInstanceChecker.cpp [124/909] Compiling sip/cpp/sip_corewxHeaderColumn.cpp [125/909] Compiling sip/cpp/sip_corewxSettableHeaderColumn.cpp [126/909] Compiling sip/cpp/sip_corewxSetCursorEvent.cpp [127/909] Compiling sip/cpp/sip_corewxShowEvent.cpp [128/909] Compiling sip/cpp/sip_corewxHeaderButtonParams.cpp [129/909] Compiling sip/cpp/sip_corewxDataObjectComposite.cpp [130/909] Compiling sip/cpp/sip_corewxSearchCtrl.cpp [131/909] Compiling sip/cpp/sip_corewxScrolledWindow.cpp [132/909] Compiling sip/cpp/sip_corewxHVScrolledWindow.cpp [133/909] Compiling sip/cpp/sip_corewxScrolledCanvas.cpp [134/909] Compiling sip/cpp/sip_corewxClientData.cpp [135/909] Compiling sip/cpp/sip_corewxHTMLDataObject.cpp [136/909] Compiling sip/cpp/sip_corewxScrollWinEvent.cpp [137/909] Compiling sip/cpp/sip_corewxDataObject.cpp [138/909] Compiling sip/cpp/sip_corewxScrollBar.cpp [139/909] Compiling sip/cpp/sip_corewxScrollEvent.cpp [140/909] Compiling sip/cpp/sip_corewxScreenDC.cpp [141/909] Compiling sip/cpp/sip_corewxSVGFileDC.cpp [142/909] Compiling sip/cpp/sip_corewxGridSizer.cpp [143/909] Compiling sip/cpp/sip_corewxDataFormat.cpp [144/909] Compiling sip/cpp/sip_corewxClientDC.cpp [145/909] Compiling sip/cpp/sip_corewxBitmap.cpp [146/909] Compiling sip/cpp/sip_corewxSVGBitmapHandler.cpp [147/909] Compiling sip/cpp/sip_corewxSVGBitmapFileHandler.cpp [148/909] Compiling sip/cpp/sip_corewxGridBagSizer.cpp [149/909] Compiling sip/cpp/sip_corewxSVGBitmapEmbedHandler.cpp [150/909] Compiling sip/cpp/sip_corewxHScrolledWindow.cpp [151/909] Compiling sip/cpp/sip_corewxRotateGestureEvent.cpp [152/909] Compiling sip/cpp/sip_corewxGraphicsRenderer.cpp [153/909] Compiling sip/cpp/sip_corewxRichMessageDialog.cpp [154/909] Compiling sip/cpp/sip_corewxDashCArrayHolder.cpp [155/909] Compiling sip/cpp/sip_corewxGraphicsPenInfo.cpp [156/909] Compiling sip/cpp/sip_corewxRendererVersion.cpp [157/909] Compiling sip/cpp/sip_corewxRegionIterator.cpp [158/909] Compiling sip/cpp/sip_corewxGraphicsPen.cpp [159/909] Compiling sip/cpp/sip_corewxDPIChangedEvent.cpp [160/909] Compiling sip/cpp/sip_corewxClassInfo.cpp [161/909] Compiling sip/cpp/sip_corewxRegion.cpp [162/909] Compiling sip/cpp/sip_corewxRefCounter.cpp [163/909] Compiling sip/cpp/sip_corewxGraphicsPath.cpp [164/909] Compiling sip/cpp/sip_corewxRect2DDouble.cpp [165/909] Compiling sip/cpp/sip_corewxRect.cpp [166/909] Compiling sip/cpp/sip_corewxGraphicsObject.cpp [167/909] Compiling sip/cpp/sip_corewxDCTextColourChanger.cpp [168/909] Compiling sip/cpp/sip_corewxRendererNative.cpp [169/909] Compiling sip/cpp/sip_corewxRearrangeList.cpp [170/909] Compiling sip/cpp/sip_corewxRearrangeDialog.cpp [171/909] Compiling sip/cpp/sip_corewxRearrangeCtrl.cpp [172/909] Compiling sip/cpp/sip_corewxRealPoint.cpp [173/909] Compiling sip/cpp/sip_corewxGraphicsGradientStops.cpp [174/909] Compiling sip/cpp/sip_corewxDCTextBgModeChanger.cpp [175/909] Compiling sip/cpp/sip_corewxChoicebook.cpp ../../../../sip/cpp/sip_corewxBitmap.cpp: In function ‘void _wxBitmap_SetSize(wxBitmap*, const wxSize*)’: ../../../../sip/cpp/sip_corewxBitmap.cpp:402:31: warning: ‘virtual void wxBitmap::SetWidth(int)’ is deprecated [-Wdeprecated-declarations] 402 | self->SetWidth(size->x); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxBitmap.cpp:10: /usr/include/wx-3.1/wx/gtk/bitmap.h:126:23: note: declared here 126 | wxDEPRECATED(void SetWidth( int width ) wxOVERRIDE); | ^~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ ../../../../sip/cpp/sip_corewxBitmap.cpp:403:32: warning: ‘virtual void wxBitmap::SetHeight(int)’ is deprecated [-Wdeprecated-declarations] 403 | self->SetHeight(size->y); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxBitmap.cpp:10: /usr/include/wx-3.1/wx/gtk/bitmap.h:125:23: note: declared here 125 | wxDEPRECATED(void SetHeight( int height ) wxOVERRIDE); | ^~~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ ../../../../sip/cpp/sip_corewxBitmap.cpp: In function ‘PyObject* meth_wxBitmap_SetDepth(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_corewxBitmap.cpp:1173:35: warning: ‘virtual void wxBitmap::SetDepth(int)’ is deprecated [-Wdeprecated-declarations] 1173 | sipCpp->SetDepth(depth); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxBitmap.cpp:10: /usr/include/wx-3.1/wx/gtk/bitmap.h:127:23: note: declared here 127 | wxDEPRECATED(void SetDepth( int depth ) wxOVERRIDE); | ^~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ ../../../../sip/cpp/sip_corewxBitmap.cpp: In function ‘PyObject* meth_wxBitmap_SetHeight(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_corewxBitmap.cpp:1213:37: warning: ‘virtual void wxBitmap::SetHeight(int)’ is deprecated [-Wdeprecated-declarations] 1213 | sipCpp->SetHeight(height); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxBitmap.cpp:10: /usr/include/wx-3.1/wx/gtk/bitmap.h:125:23: note: declared here 125 | wxDEPRECATED(void SetHeight( int height ) wxOVERRIDE); | ^~~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ ../../../../sip/cpp/sip_corewxBitmap.cpp: In function ‘PyObject* meth_wxBitmap_SetWidth(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_corewxBitmap.cpp:1331:35: warning: ‘virtual void wxBitmap::SetWidth(int)’ is deprecated [-Wdeprecated-declarations] 1331 | sipCpp->SetWidth(width); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxBitmap.cpp:10: /usr/include/wx-3.1/wx/gtk/bitmap.h:126:23: note: declared here 126 | wxDEPRECATED(void SetWidth( int width ) wxOVERRIDE); | ^~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ [176/909] Compiling sip/cpp/sip_corewxAutoBufferedPaintDC.cpp [177/909] Compiling sip/cpp/sip_corewxAlphaPixelData.cpp [178/909] Compiling sip/cpp/sip_corewxRadioButton.cpp [179/909] Compiling sip/cpp/sip_corewxRadioBox.cpp [180/909] Compiling sip/cpp/sip_corewxGraphicsGradientStop.cpp [181/909] Compiling sip/cpp/sip_corewxQueryNewPaletteEvent.cpp [182/909] Compiling sip/cpp/sip_corewxPyUserData.cpp [183/909] Compiling sip/cpp/sip_corewxGraphicsMatrix.cpp [184/909] Compiling sip/cpp/sip_corewxGraphicsFont.cpp [185/909] Compiling sip/cpp/sip_corewxPySingleChoiceDialog.cpp [186/909] Compiling sip/cpp/sip_corewxPyEvent.cpp [187/909] Compiling sip/cpp/sip_corewxDCTextBgColourChanger.cpp [188/909] Compiling sip/cpp/sip_corewxPyCommandEvent.cpp [189/909] Compiling sip/cpp/sip_corewxPyBuffer.cpp [190/909] Compiling sip/cpp/sip_corewxGraphicsBrush.cpp [191/909] Compiling sip/cpp/sip_corewxDCPenChanger.cpp [192/909] Compiling sip/cpp/sip_corewxChoice.cpp [193/909] Compiling sip/cpp/sip_corewxPyApp.cpp [194/909] Compiling sip/cpp/sip_corewxPropagationDisabler.cpp [195/909] Compiling sip/cpp/sip_corewxGraphicsBitmap.cpp [196/909] Compiling sip/cpp/sip_corewxPropagateOnce.cpp [197/909] Compiling sip/cpp/sip_corewxGraphicsContext.cpp [198/909] Compiling sip/cpp/sip_corewxGestureEvent.cpp [199/909] Compiling sip/cpp/sip_corewxProgressDialog.cpp [200/909] Compiling sip/cpp/sip_corewxDCOverlay.cpp [201/909] Compiling sip/cpp/sip_corewxProcess.cpp [202/909] Compiling sip/cpp/sip_corewxGenericProgressDialog.cpp [203/909] Compiling sip/cpp/sip_corewxProcessEvent.cpp [204/909] Compiling sip/cpp/sip_corewxPrinterDC.cpp [205/909] Compiling sip/cpp/sip_corewxGenericMessageDialog.cpp [206/909] Compiling sip/cpp/sip_corewxDCFontChanger.cpp [207/909] Compiling sip/cpp/sip_corewxPrintout.cpp [208/909] Compiling sip/cpp/sip_corewxArtProvider.cpp [209/909] Compiling sip/cpp/sip_corewxChildFocusEvent.cpp [210/909] Compiling sip/cpp/sip_corewxPrinter.cpp [211/909] Compiling sip/cpp/sip_corewxGenericDragImage.cpp [212/909] Compiling sip/cpp/sip_corewxPrintDialogData.cpp [213/909] Compiling sip/cpp/sip_corewxPrintDialog.cpp [214/909] Compiling sip/cpp/sip_corewxGenericDirCtrl.cpp [215/909] Compiling sip/cpp/sip_corewxDCClipper.cpp [216/909] Compiling sip/cpp/sip_corewxPrintData.cpp [217/909] Compiling sip/cpp/sip_corewxPrintAbortDialog.cpp [218/909] Compiling sip/cpp/sip_corewxGauge.cpp [219/909] Compiling sip/cpp/sip_corewxPreviewFrame.cpp [220/909] Compiling sip/cpp/sip_corewxPrintPreview.cpp [221/909] Compiling sip/cpp/sip_corewxGUIEventLoop.cpp [222/909] Compiling sip/cpp/sip_corewxPreviewControlBar.cpp [223/909] Compiling sip/cpp/sip_corewxDCBrushChanger.cpp [224/909] Compiling sip/cpp/sip_corewxCheckListBox.cpp [225/909] Compiling sip/cpp/sip_corewxPressAndTapEvent.cpp [226/909] Compiling sip/cpp/sip_corewxPreviewCanvas.cpp [227/909] Compiling sip/cpp/sip_corewxPreferencesPage.cpp [228/909] Compiling sip/cpp/sip_corewxGIFHandler.cpp [229/909] Compiling sip/cpp/sip_corewxPreferencesEditor.cpp [230/909] Compiling sip/cpp/sip_corecmodule.cpp [231/909] Compiling sip/cpp/sip_corewxDC.cpp [232/909] Compiling sip/cpp/sip_corewxPowerResource.cpp [233/909] Compiling sip/cpp/sip_corewxPowerResourceBlocker.cpp [234/909] Compiling sip/cpp/sip_corewxPowerEvent.cpp [235/909] Compiling sip/cpp/sip_corewxGCDC.cpp [236/909] Compiling sip/cpp/sip_corewxGBSpan.cpp [237/909] Compiling sip/cpp/sip_corewxPostScriptDC.cpp [238/909] Compiling sip/cpp/sip_corewxCheckBox.cpp [239/909] Compiling sip/cpp/sip_corewxArrayVideoModes.cpp [240/909] Compiling sip/cpp/sip_corewxAffineMatrix2DBase.cpp [241/909] Compiling sip/cpp/sip_corewxCustomDataObject.cpp [242/909] Compiling sip/cpp/sip_corewxPosition.cpp [243/909] Compiling sip/cpp/sip_corewxPopupWindow.cpp [244/909] Compiling sip/cpp/sip_corewxGBSizerItem.cpp [245/909] Compiling sip/cpp/sip_corewxPopupTransientWindow.cpp [246/909] Compiling sip/cpp/sip_corewxPointList_iterator.cpp [247/909] Compiling sip/cpp/sip_corewxGBPosition.cpp [248/909] Compiling sip/cpp/sip_corewxAcceleratorTable.cpp [249/909] Compiling sip/cpp/sip_corewxCursor.cpp [250/909] Compiling sip/cpp/sip_corewxPointList.cpp [251/909] Compiling sip/cpp/sip_corewxPoint2DDouble.cpp [252/909] Compiling sip/cpp/sip_corewxPoint.cpp [253/909] Compiling sip/cpp/sip_corewxFrame.cpp [254/909] Compiling sip/cpp/sip_corewxFontPickerEvent.cpp [255/909] Compiling sip/cpp/sip_corewxControlWithItems.cpp [256/909] Compiling sip/cpp/sip_corewxCharBuffer.cpp [257/909] Compiling sip/cpp/sip_corewxPixelDataBase.cpp [258/909] Compiling sip/cpp/sip_corewxPickerBase.cpp [259/909] Compiling sip/cpp/sip_corewxFontPickerCtrl.cpp [260/909] Compiling sip/cpp/sip_corewxPlatformInfo.cpp [261/909] Compiling sip/cpp/sip_corewxPenInfo.cpp [262/909] Compiling sip/cpp/sip_corewxPenList.cpp [263/909] Compiling sip/cpp/sip_corewxFontMetrics.cpp [264/909] Compiling sip/cpp/sip_corewxPen.cpp [265/909] Compiling sip/cpp/sip_corewxPasswordEntryDialog.cpp [266/909] Compiling sip/cpp/sip_corewxFontMapper.cpp [267/909] Compiling sip/cpp/sip_corewxPanel.cpp [268/909] Compiling sip/cpp/sip_corewxControl.cpp [269/909] Compiling sip/cpp/sip_corewxFontList.cpp [270/909] Compiling sip/cpp/sip_corewxContextMenuEvent.cpp [271/909] Compiling sip/cpp/sip_corewxPanGestureEvent.cpp [272/909] Compiling sip/cpp/sip_corewxArrayString.cpp [273/909] Compiling sip/cpp/sip_corewxPaletteChangedEvent.cpp [274/909] Compiling sip/cpp/sip_corewxPalette.cpp [275/909] Compiling sip/cpp/sip_corewxFontInfo.cpp [276/909] Compiling sip/cpp/sip_corewxPaintEvent.cpp [277/909] Compiling sip/cpp/sip_corewxPaintDC.cpp [278/909] Compiling sip/cpp/sip_corewxCaret.cpp [279/909] Compiling sip/cpp/sip_corewxContextHelpButton.cpp [280/909] Compiling sip/cpp/sip_corewxPageSetupDialogData.cpp [281/909] Compiling sip/cpp/sip_corewxFontEnumerator.cpp [282/909] Compiling sip/cpp/sip_corewxFontDialog.cpp [283/909] Compiling sip/cpp/sip_corewxPNMHandler.cpp ../../../../sip/cpp/sip_corewxPlatformInfo.cpp: In function ‘PyObject* meth_wxPlatformInfo_GetArch(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_corewxPlatformInfo.cpp:43:41: warning: ‘static wxArchitecture wxPlatformInfo::GetArch(const wxString&)’ is deprecated: Use GetBitness() instead [-Wdeprecated-declarations] 43 | sipRes = ::wxPlatformInfo::GetArch(*arch); | ^~~~~~~ In file included from /usr/include/wx-3.1/wx/utils.h:39, from /usr/include/wx-3.1/wx/cursor.h:75, from /usr/include/wx-3.1/wx/event.h:22, from /usr/include/wx-3.1/wx/wx.h:24, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxPlatformInfo.cpp:10: /usr/include/wx-3.1/wx/platinfo.h:180:27: note: declared here 180 | static wxArchitecture GetArch(const wxString &arch); | ^~~~~~~ ../../../../sip/cpp/sip_corewxPlatformInfo.cpp:43:54: warning: ‘static wxArchitecture wxPlatformInfo::GetArch(const wxString&)’ is deprecated: Use GetBitness() instead [-Wdeprecated-declarations] 43 | sipRes = ::wxPlatformInfo::GetArch(*arch); | ^ In file included from /usr/include/wx-3.1/wx/utils.h:39, from /usr/include/wx-3.1/wx/cursor.h:75, from /usr/include/wx-3.1/wx/event.h:22, from /usr/include/wx-3.1/wx/wx.h:24, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxPlatformInfo.cpp:10: /usr/include/wx-3.1/wx/platinfo.h:180:27: note: declared here 180 | static wxArchitecture GetArch(const wxString &arch); | ^~~~~~~ ../../../../sip/cpp/sip_corewxPlatformInfo.cpp: In function ‘PyObject* meth_wxPlatformInfo_GetArchName(PyObject*, PyObject*)’: ../../../../sip/cpp/sip_corewxPlatformInfo.cpp:185:58: warning: ‘wxString wxPlatformInfo::GetArchName() const’ is deprecated: Use GetBitnessName() instead [-Wdeprecated-declarations] 185 | sipRes = new ::wxString(sipCpp->GetArchName()); | ^ In file included from /usr/include/wx-3.1/wx/utils.h:39, from /usr/include/wx-3.1/wx/cursor.h:75, from /usr/include/wx-3.1/wx/event.h:22, from /usr/include/wx-3.1/wx/wx.h:24, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxPlatformInfo.cpp:10: /usr/include/wx-3.1/wx/platinfo.h:259:14: note: declared here 259 | wxString GetArchName() const | ^~~~~~~~~~~ ../../../../sip/cpp/sip_corewxPlatformInfo.cpp: In function ‘PyObject* meth_wxPlatformInfo_GetArchitecture(PyObject*, PyObject*)’: ../../../../sip/cpp/sip_corewxPlatformInfo.cpp:432:46: warning: ‘wxArchitecture wxPlatformInfo::GetArchitecture() const’ is deprecated: Use GetBitness() instead [-Wdeprecated-declarations] 432 | sipRes = sipCpp->GetArchitecture(); | ^ In file included from /usr/include/wx-3.1/wx/utils.h:39, from /usr/include/wx-3.1/wx/cursor.h:75, from /usr/include/wx-3.1/wx/event.h:22, from /usr/include/wx-3.1/wx/wx.h:24, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxPlatformInfo.cpp:10: /usr/include/wx-3.1/wx/platinfo.h:239:20: note: declared here 239 | wxArchitecture GetArchitecture() const | ^~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_corewxPlatformInfo.cpp: In function ‘PyObject* meth_wxPlatformInfo_SetArchitecture(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_corewxPlatformInfo.cpp:795:38: warning: ‘void wxPlatformInfo::SetArchitecture(wxBitness)’ is deprecated: Use SetBitness() instead [-Wdeprecated-declarations] 795 | sipCpp->SetArchitecture(n); | ^ In file included from /usr/include/wx-3.1/wx/utils.h:39, from /usr/include/wx-3.1/wx/cursor.h:75, from /usr/include/wx-3.1/wx/event.h:22, from /usr/include/wx-3.1/wx/wx.h:24, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:20845, from ../../../../sip/cpp/sip_corewxPlatformInfo.cpp:10: /usr/include/wx-3.1/wx/platinfo.h:302:10: note: declared here 302 | void SetArchitecture(wxBitness n) | ^~~~~~~~~~~~~~~ [284/909] Compiling sip/cpp/sip_corewxPNGHandler.cpp [285/909] Compiling sip/cpp/sip_corewxFontData.cpp [286/909] Compiling sip/cpp/sip_corewxContextHelp.cpp [287/909] Compiling sip/cpp/sip_corewxButton.cpp [288/909] Compiling sip/cpp/sip_corewxPCXHandler.cpp [289/909] Compiling sip/cpp/sip_corewxOverlay.cpp [290/909] Compiling sip/cpp/sip_corewxFont.cpp [291/909] Compiling sip/cpp/sip_corewxPageSetupDialog.cpp [292/909] Compiling sip/cpp/sip_corewxObject.cpp [293/909] Compiling sip/cpp/sip_corewxFocusEvent.cpp [294/909] Compiling sip/cpp/sip_corewxConfigPathChanger.cpp [295/909] Compiling sip/cpp/sip_corewxNumberEntryDialog.cpp [296/909] Compiling sip/cpp/sip_corewxNotifyEvent.cpp [297/909] Compiling sip/cpp/sip_corewxFlexGridSizer.cpp [298/909] Compiling sip/cpp/sip_corewxNotebook.cpp [299/909] Compiling sip/cpp/sip_corewxNonOwnedWindow.cpp [300/909] Compiling sip/cpp/sip_corewxFindReplaceDialog.cpp [301/909] Compiling sip/cpp/sip_corewxConfigBase.cpp [302/909] Compiling sip/cpp/sip_corewxBusyInfoFlags.cpp [303/909] Compiling sip/cpp/sip_corewxArrayInt.cpp [304/909] Compiling sip/cpp/sip_corewxOutputStream.cpp [305/909] Compiling sip/cpp/sip_corewxAffineMatrix2D.cpp [306/909] Compiling sip/cpp/sip_corewxNativePixelData_Accessor.cpp [307/909] Compiling sip/cpp/sip_corewxFindReplaceData.cpp [308/909] Compiling sip/cpp/sip_corewxNativePixelData.cpp [309/909] Compiling sip/cpp/sip_corewxNativeFontInfo.cpp [310/909] Compiling sip/cpp/sip_corewxNavigationKeyEvent.cpp [311/909] Compiling sip/cpp/sip_corewxFindDialogEvent.cpp [312/909] Compiling sip/cpp/sip_corewxConfig.cpp [313/909] Compiling sip/cpp/sip_corewxMsgCatalog.cpp [314/909] Compiling sip/cpp/sip_corewxFilterFSHandler.cpp [315/909] Compiling sip/cpp/sip_corewxMultiChoiceDialog.cpp [316/909] Compiling sip/cpp/sip_corewxMoveEvent.cpp [317/909] Compiling sip/cpp/sip_corewxFileTypeMessageParameters.cpp [318/909] Compiling sip/cpp/sip_corewxCommandProcessor.cpp [319/909] Compiling sip/cpp/sip_corewxBusyInfo.cpp [320/909] Compiling sip/cpp/sip_corewxMouseEventsManager.cpp [321/909] Compiling sip/cpp/sip_corewxMouseEvent.cpp [322/909] Compiling sip/cpp/sip_corewxFileTypeInfo.cpp [323/909] Compiling sip/cpp/sip_corewxMouseCaptureLostEvent.cpp [324/909] Compiling sip/cpp/sip_corewxMouseCaptureChangedEvent.cpp [325/909] Compiling sip/cpp/sip_corewxFileType.cpp [326/909] Compiling sip/cpp/sip_corewxCommandList_iterator.cpp [327/909] Compiling sip/cpp/sip_corewxMouseState.cpp [328/909] Compiling sip/cpp/sip_corewxModalDialogHook.cpp [329/909] Compiling sip/cpp/sip_corewxMirrorDC.cpp [330/909] Compiling sip/cpp/sip_corewxFileTranslationsLoader.cpp [331/909] Compiling sip/cpp/sip_corewxMimeTypesManager.cpp [332/909] Compiling sip/cpp/sip_corewxFileSystemWatcherEvent.cpp [333/909] Compiling sip/cpp/sip_corewxCommandList.cpp [334/909] Compiling sip/cpp/sip_corewxMiniFrame.cpp [335/909] Compiling sip/cpp/sip_corewxBusyCursor.cpp [336/909] Compiling sip/cpp/sip_corewxMetafileDC.cpp [337/909] Compiling sip/cpp/sip_corewxMetafile.cpp [338/909] Compiling sip/cpp/sip_corewxFileSystemWatcher.cpp [339/909] Compiling sip/cpp/sip_corewxMessageDialogButtonLabel.cpp [340/909] Compiling sip/cpp/sip_corewxArrayDouble.cpp [341/909] Compiling sip/cpp/sip_corewxFileSystemHandler.cpp [342/909] Compiling sip/cpp/sip_corewxCommandEvent.cpp [343/909] Compiling sip/cpp/sip_corewxMenuList_iterator.cpp [344/909] Compiling sip/cpp/sip_corewxMenuList.cpp [345/909] Compiling sip/cpp/sip_corewxFileSystem.cpp [346/909] Compiling sip/cpp/sip_corewxMenuItemList_iterator.cpp [347/909] Compiling sip/cpp/sip_corewxMenuItemList.cpp [348/909] Compiling sip/cpp/sip_corewxFilePickerCtrl.cpp [349/909] Compiling sip/cpp/sip_corewxCommand.cpp [350/909] Compiling sip/cpp/sip_corewxBufferedPaintDC.cpp [351/909] Compiling sip/cpp/sip_corewxMenuItem.cpp [352/909] Compiling sip/cpp/sip_corewxMenuEvent.cpp [353/909] Compiling sip/cpp/sip_corewxFileName.cpp [354/909] Compiling sip/cpp/sip_corewxMenuBar.cpp [355/909] Compiling sip/cpp/sip_corewxMessageDialog.cpp [356/909] Compiling sip/cpp/sip_corewxFileHistoryMenuList_iterator.cpp [357/909] Compiling sip/cpp/sip_corewxMenu.cpp [358/909] Compiling sip/cpp/sip_corewxComboPopup.cpp [359/909] Compiling sip/cpp/sip_corewxMemoryFSHandler.cpp [360/909] Compiling sip/cpp/sip_corewxMemoryDC.cpp [361/909] Compiling sip/cpp/sip_corewxGDIObject.cpp [362/909] Compiling sip/cpp/sip_corewxMemoryBuffer.cpp [363/909] Compiling sip/cpp/sip_corewxTwoFingerTapEvent.cpp [364/909] Compiling sip/cpp/sip_corewxFileHistoryMenuList.cpp [365/909] Compiling sip/cpp/sip_corewxStatusBar.cpp [366/909] Compiling sip/cpp/sip_corewxListbook.cpp [367/909] Compiling sip/cpp/sip_corewxKeyboardState.cpp [368/909] Compiling sip/cpp/sip_corewxStatusBarPane.cpp [369/909] Compiling sip/cpp/sip_corewxIdManager.cpp [370/909] Compiling sip/cpp/sip_corewxUIntPtr.cpp [371/909] Compiling sip/cpp/sip_corewxStdDialogButtonSizer.cpp [372/909] Compiling sip/cpp/sip_corewxStockGDI.cpp [373/909] Compiling sip/cpp/sip_corewxWindowList.cpp [374/909] Compiling sip/cpp/sip_corewxWindow.cpp [375/909] Compiling sip/cpp/sip_corewxEvent.cpp [376/909] Compiling sip/cpp/sip_corewxCloseEvent.cpp [377/909] Compiling sip/cpp/sip_corewxDialogLayoutAdapter.cpp [378/909] Compiling sip/cpp/sip_corewxLanguageInfo.cpp [379/909] Compiling sip/cpp/sip_corewxIdleEvent.cpp [380/909] Compiling sip/cpp/sip_corewxStockPreferencesPage.cpp [381/909] Compiling sip/cpp/sip_corewxWindowBase.cpp [382/909] Compiling sip/cpp/sip_corewxULongLong.cpp [383/909] Compiling sip/cpp/sip_corewxStopWatch.cpp [384/909] Compiling sip/cpp/sip_corewxImage.cpp [385/909] Compiling sip/cpp/sip_corewxURLDataObject.cpp [386/909] Compiling sip/cpp/sip_corewxStreamBase.cpp [387/909] Compiling sip/cpp/sip_corewxString.cpp [388/909] Compiling sip/cpp/sip_corewxFSFile.cpp [389/909] Compiling sip/cpp/sip_corewxWindowList_iterator.cpp [390/909] Compiling sip/cpp/sip_corewxLocale.cpp [391/909] Compiling sip/cpp/sip_corewxLayoutConstraints.cpp [392/909] Compiling sip/cpp/sip_corewxStringCArrayHolder.cpp [393/909] Compiling sip/cpp/sip_corewxSysColourChangedEvent.cpp [394/909] Compiling sip/cpp/sip_corewxUniChar.cpp [395/909] Compiling sip/cpp/sip_corewxImageHSVValue.cpp [396/909] Compiling sip/cpp/sip_corewxSystemAppearance.cpp [397/909] Compiling sip/cpp/sip_corewxWindowChildrenRepositioningGuard.cpp [398/909] Compiling sip/cpp/sip_corewxColourDatabase.cpp [399/909] Compiling sip/cpp/sip_corewxSystemOptions.cpp [400/909] Compiling sip/cpp/sip_corewxAnyButton.cpp [401/909] Compiling sip/cpp/sip_corewxEventBlocker.cpp [402/909] Compiling sip/cpp/sip_corewxBitmapToggleButton.cpp [403/909] Compiling sip/cpp/sip_corewxCollapsibleHeaderCtrl.cpp [404/909] Compiling sip/cpp/sip_corewxLogFormatter.cpp [405/909] Compiling sip/cpp/sip_corewxWindowCreateEvent.cpp [406/909] Compiling sip/cpp/sip_corewxLinuxDistributionInfo.cpp [407/909] Compiling sip/cpp/sip_corewxDirFilterListCtrl.cpp [408/909] Compiling sip/cpp/sip_corewxImageHandler.cpp [409/909] Compiling sip/cpp/sip_corewxVListBox.cpp [410/909] Compiling sip/cpp/sip_corewxSystemSettings.cpp [411/909] Compiling sip/cpp/sip_corewxTDIChildFrame.cpp [412/909] Compiling sip/cpp/sip_corewxColourDialogEvent.cpp [413/909] Compiling sip/cpp/sip_corewxListBox.cpp [414/909] Compiling sip/cpp/sip_corewxTGAHandler.cpp [415/909] Compiling sip/cpp/sip_corewxTIFFHandler.cpp [416/909] Compiling sip/cpp/sip_corewxValidator.cpp [417/909] Compiling sip/cpp/sip_corewxTextAttr.cpp [418/909] Compiling sip/cpp/sip_corewxImageRGBValue.cpp [419/909] Compiling sip/cpp/sip_corewxLogInterposer.cpp [420/909] Compiling sip/cpp/sip_corewxLogGui.cpp [421/909] Compiling sip/cpp/sip_corewxWindowModalDialogEvent.cpp [422/909] Compiling sip/cpp/sip_corewxEvtHandler.cpp [423/909] Compiling sip/cpp/sip_corewxVarHScrollHelper.cpp [424/909] Compiling sip/cpp/sip_corewxTextCtrl.cpp [425/909] Compiling sip/cpp/sip_corewxDisplay.cpp [426/909] Compiling sip/cpp/sip_corewxEventFilter.cpp [427/909] Compiling sip/cpp/sip_corewxIndividualLayoutConstraint.cpp [428/909] Compiling sip/cpp/sip_corewxTextDataObject.cpp [429/909] Compiling sip/cpp/sip_corewxLog.cpp [430/909] Compiling sip/cpp/sip_corewxListCtrl.cpp [431/909] Compiling sip/cpp/sip_corewxTextDropTarget.cpp [432/909] Compiling sip/cpp/sip_corewxDisplayChangedEvent.cpp [433/909] Compiling sip/cpp/sip_corewxVarHVScrollHelper.cpp [434/909] Compiling sip/cpp/sip_corewxInitDialogEvent.cpp [435/909] Compiling sip/cpp/sip_corewxInputStream.cpp [436/909] Compiling sip/cpp/sip_corewxWithImages.cpp [437/909] Compiling sip/cpp/sip_corewxWindowDC.cpp [438/909] Compiling sip/cpp/sip_corewxVarScrollHelperBase.cpp [439/909] Compiling sip/cpp/sip_corewxTimerEvent.cpp [440/909] Compiling sip/cpp/sip_corewxBookCtrlBase.cpp [441/909] Compiling sip/cpp/sip_corewxListEvent.cpp [442/909] Compiling sip/cpp/sip_corewxIntCArrayHolder.cpp [443/909] Compiling sip/cpp/sip_corewxTimerRunner.cpp [444/909] Compiling sip/cpp/sip_corewxWindowDestroyEvent.cpp [445/909] Compiling sip/cpp/sip_corewxVarVScrollHelper.cpp [446/909] Compiling sip/cpp/sip_corewxTipWindow.cpp [447/909] Compiling sip/cpp/sip_corewxToolBar.cpp [448/909] Compiling sip/cpp/sip_corewxVariant.cpp [449/909] Compiling sip/cpp/sip_corewxInternetFSHandler.cpp [450/909] Compiling sip/cpp/sip_corewxItemAttr.cpp [451/909] Compiling sip/cpp/sip_corewxWrapSizer.cpp ../../../../sip/cpp/sip_corewxTextCtrl.cpp: In function ‘bool _wxTextCtrl_ShowNativeCaret(wxTextCtrl*, bool)’: ../../../../sip/cpp/sip_corewxTextCtrl.cpp:62:5: warning: no return statement in function returning non-void [-Wreturn-type] 62 | } | ^ ../../../../sip/cpp/sip_corewxTextCtrl.cpp: In function ‘bool _wxTextCtrl_HideNativeCaret(wxTextCtrl*)’: ../../../../sip/cpp/sip_corewxTextCtrl.cpp:68:5: warning: no return statement in function returning non-void [-Wreturn-type] 68 | } | ^ [452/909] Compiling sip/cpp/sip_corewxAppTraits.cpp [453/909] Compiling sip/cpp/sip_corewxLogBuffer.cpp [454/909] Compiling sip/cpp/sip_corewxBoxSizer.cpp [455/909] Compiling sip/cpp/sip_corewxDropSource.cpp [456/909] Compiling sip/cpp/sip_corewxItemContainer.cpp [457/909] Compiling sip/cpp/sip_corewxEventLoopActivator.cpp [458/909] Compiling sip/cpp/sip_corewxTopLevelWindowGeometrySerializer.cpp [459/909] Compiling sip/cpp/sip_corewxTrackable.cpp [460/909] Compiling sip/cpp/sip_corewxWindowDisabler.cpp [461/909] Compiling sip/cpp/sip_corewxListItem.cpp [462/909] Compiling sip/cpp/sip_corewxItemContainerImmutable.cpp [463/909] Compiling sip/cpp/sip_corewxTranslations.cpp [464/909] Compiling sip/cpp/sip_corewxVariantList.cpp [465/909] Compiling sip/cpp/sip_corewxTranslationsLoader.cpp [466/909] Compiling sip/cpp/sip_corewxDropTarget.cpp [467/909] Compiling sip/cpp/sip_corewxBrush.cpp [468/909] Compiling sip/cpp/sip_corewxWindowIDRef.cpp [469/909] Compiling sip/cpp/sip_corewxVersionInfo.cpp [470/909] Compiling sip/cpp/sip_corewxTreeEvent.cpp [471/909] Compiling sip/cpp/sip_corewxJoystickEvent.cpp [472/909] Compiling sip/cpp/sip_corewxListView.cpp [473/909] Compiling sip/cpp/sip_corewxTreeItemId.cpp [474/909] Compiling sip/cpp/sip_corewxActivateEvent.cpp [475/909] Compiling sip/cpp/sip_corewxExecuteEnv.cpp [476/909] Compiling sip/cpp/sip_corewxVideoMode.cpp [477/909] Compiling sip/cpp/sip_corewxAppConsole.cpp [478/909] Compiling sip/cpp/sip_corewxColourData.cpp [479/909] Compiling sip/cpp/sip_corewxVisualAttributes.cpp [480/909] Compiling sip/cpp/sip_corewxEraseEvent.cpp [481/909] Compiling sip/cpp/sip_corewxKeyEvent.cpp [482/909] Compiling sip/cpp/sip_advwxPropertySheetDialog.cpp [483/909] Compiling sip/cpp/sip_advwxLayoutAlgorithm.cpp [484/909] Compiling sip/cpp/sip_advwxJoystick.cpp [485/909] Compiling sip/cpp/sip_advwxBitmapComboBox.cpp [486/909] Compiling sip/cpp/sip_advwxSound.cpp [487/909] Compiling sip/cpp/sip_advwxNotificationMessage.cpp [488/909] Compiling sip/cpp/sip_advwxOwnerDrawnComboBox.cpp [489/909] Compiling sip/cpp/sip_advwxHyperlinkCtrl.cpp [490/909] Compiling sip/cpp/sip_advwxHyperlinkEvent.cpp [491/909] Compiling sip/cpp/sip_advwxGenericAnimationCtrl.cpp [492/909] Compiling sip/cpp/sip_advwxGIFDecoder.cpp [493/909] Compiling sip/cpp/sip_advwxCalendarEvent.cpp [494/909] Compiling sip/cpp/sip_advwxExtHelpController.cpp [495/909] Compiling sip/cpp/sip_advwxDatePickerCtrlGeneric.cpp [496/909] Compiling sip/cpp/sip_advwxDateEvent.cpp [497/909] Compiling sip/cpp/sip_advwxDatePickerCtrl.cpp [498/909] Compiling sip/cpp/sip_advwxCalendarDateAttr.cpp [499/909] Compiling sip/cpp/sip_advwxCalendarCtrl.cpp [500/909] Compiling sip/cpp/sip_advwxAnimation.cpp [501/909] Compiling sip/cpp/sip_advwxWizardPage.cpp [502/909] Compiling sip/cpp/sip_advwxCalculateLayoutEvent.cpp [503/909] Compiling sip/cpp/sip_advwxBannerWindow.cpp [504/909] Compiling sip/cpp/sip_advwxAnimationCtrl.cpp [505/909] Compiling sip/cpp/sip_advwxAnimationDecoder.cpp [506/909] Compiling sip/cpp/sip_advwxAnimationDecoderList_iterator.cpp [507/909] Compiling sip/cpp/sip_advcmodule.cpp [508/909] Compiling sip/cpp/sip_advwxQueryLayoutInfoEvent.cpp [509/909] Compiling sip/cpp/sip_advwxANIDecoder.cpp [510/909] Compiling sip/cpp/sip_advwxWizardEvent.cpp [511/909] Compiling sip/cpp/sip_advwxTaskBarIconEvent.cpp [512/909] Compiling sip/cpp/sip_advwxWizardPageSimple.cpp [513/909] Compiling sip/cpp/sip_advwxTipProvider.cpp [514/909] Compiling sip/cpp/sip_advwxTimePickerCtrl.cpp [515/909] Compiling sip/cpp/sip_advwxRichToolTip.cpp [516/909] Compiling sip/cpp/sip_advwxTaskBarIcon.cpp [517/909] Compiling sip/cpp/sip_advwxWizard.cpp [518/909] Compiling sip/cpp/sip_advwxSashWindow.cpp [519/909] Compiling sip/cpp/sip_advwxSplashScreen.cpp [520/909] Compiling sip/cpp/sip_advwxSashLayoutWindow.cpp [521/909] Compiling sip/cpp/sip_advwxSashEvent.cpp [522/909] Linking build/waf/3.8/gtk3/_core.cpython-38-aarch64-linux-gnu.so [523/909] Compiling sip/cpp/sip_advwxAboutDialogInfo.cpp [524/909] Compiling sip/cpp/sip_advwxPseudoDC.cpp [525/909] Compiling sip/cpp/sip_advwxGenericCalendarCtrl.cpp [526/909] Compiling sip/cpp/sip_advwxAnimationDecoderList.cpp [527/909] Compiling sip/cpp/sip_advwxCommandLinkButton.cpp [528/909] Compiling sip/cpp/sip_advwxEditableListBox.cpp [529/909] Compiling sip/cpp/sip_dataviewwxDataViewColumn.cpp [530/909] Compiling sip/cpp/sip_dataviewwxVariantVector.cpp [531/909] Compiling sip/cpp/sip_dataviewwxDataViewTextRenderer.cpp [532/909] Compiling sip/cpp/sip_dataviewwxTreeListItemComparator.cpp [533/909] Compiling sip/cpp/sip_dataviewwxDataViewListStore.cpp [534/909] Compiling sip/cpp/sip_dataviewwxDataViewModel.cpp [535/909] Compiling sip/cpp/sip_dataviewwxDVCVariant.cpp [536/909] Compiling sip/cpp/sip_dataviewwxTreeListItem.cpp [537/909] Compiling sip/cpp/sip_dataviewcmodule.cpp [538/909] Compiling sip/cpp/sip_dataviewwxTreeListCtrl.cpp [539/909] Compiling sip/cpp/sip_dataviewwxDataViewTreeCtrl.cpp [540/909] Compiling sip/cpp/sip_dataviewwxTreeListEvent.cpp [541/909] Compiling sip/cpp/sip_dataviewwxDataViewToggleRenderer.cpp [542/909] Compiling sip/cpp/sip_dataviewwxDataViewBitmapRenderer.cpp [543/909] Compiling sip/cpp/sip_dataviewwxDataViewTreeStore.cpp [544/909] Compiling sip/cpp/sip_dataviewwxDataViewVirtualListModel.cpp [545/909] Compiling sip/cpp/sip_dataviewwxDataViewValueAdjuster.cpp [546/909] Compiling sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp [547/909] Compiling sip/cpp/sip_dataviewwxDataViewProgressRenderer.cpp [548/909] Compiling sip/cpp/sip_dataviewwxDataViewListCtrl.cpp [549/909] Compiling sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp [550/909] Compiling sip/cpp/sip_dataviewwxDataViewModelNotifier.cpp [551/909] Compiling sip/cpp/sip_dataviewwxDataViewItemAttr.cpp [552/909] Compiling sip/cpp/sip_dataviewwxDataViewCheckIconTextRenderer.cpp [553/909] Compiling sip/cpp/sip_dataviewwxDataViewIconTextRenderer.cpp [554/909] Compiling sip/cpp/sip_dataviewwxDataViewItemArray.cpp [555/909] Compiling sip/cpp/sip_dataviewwxDataViewItem.cpp [556/909] Compiling sip/cpp/sip_dataviewwxDataViewEvent.cpp [557/909] Compiling sip/cpp/sip_dataviewwxDataViewListModel.cpp [558/909] Compiling sip/cpp/sip_dataviewwxDataViewIconText.cpp [559/909] Compiling sip/cpp/sip_dataviewwxDataViewChoiceRenderer.cpp [560/909] Compiling sip/cpp/sip_dataviewwxDataViewDateRenderer.cpp [561/909] Compiling sip/cpp/sip_dataviewwxDataViewIndexListModel.cpp [562/909] Compiling sip/cpp/sip_dataviewwxDataViewRenderer.cpp [563/909] Compiling sip/cpp/sip_dataviewwxDataViewCtrl.cpp [564/909] Compiling sip/cpp/sip_gridwxGridCellRendererPtr.cpp [565/909] Compiling sip/cpp/sip_gridwxGridCellStringRenderer.cpp [566/909] Compiling sip/cpp/sip_gridwxGridRowHeaderRendererDefault.cpp [567/909] Compiling sip/cpp/sip_gridwxGridHeaderLabelsRenderer.cpp [568/909] Compiling sip/cpp/sip_gridwxGridCellNumberRenderer.cpp [569/909] Compiling sip/cpp/sip_gridwxGridFitMode.cpp [570/909] Compiling sip/cpp/sip_gridwxGridCellNumberEditor.cpp [571/909] Compiling sip/cpp/sip_gridwxGridTableMessage.cpp [572/909] Compiling sip/cpp/sip_gridwxGridUpdateLocker.cpp [573/909] Compiling sip/cpp/sip_gridwxGridSizesInfo.cpp [574/909] Compiling sip/cpp/sip_gridwxGridCellRenderer.cpp ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp: In member function ‘virtual bool sipwxDataViewSpinRenderer::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, uint)’: ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:312:43: warning: ‘virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 312 | return ::wxDataViewSpinRenderer::LeftClick(cursor,cell,model,item,col); | ^~~~~~~~~ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:337:22: note: declared here 337 | virtual bool LeftClick(wxPoint WXUNUSED(cursor), | ^~~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:336:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 336 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:312:79: warning: ‘virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 312 | return ::wxDataViewSpinRenderer::LeftClick(cursor,cell,model,item,col); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:337:22: note: declared here 337 | virtual bool LeftClick(wxPoint WXUNUSED(cursor), | ^~~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:336:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 336 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp: In member function ‘virtual bool sipwxDataViewSpinRenderer::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, uint)’: ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:327:43: warning: ‘virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 327 | return ::wxDataViewSpinRenderer::Activate(cell,model,item,col); | ^~~~~~~~ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:329:22: note: declared here 329 | virtual bool Activate(wxRect WXUNUSED(cell), | ^~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:328:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 328 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:327:71: warning: ‘virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 327 | return ::wxDataViewSpinRenderer::Activate(cell,model,item,col); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:329:22: note: declared here 329 | virtual bool Activate(wxRect WXUNUSED(cell), | ^~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:328:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 328 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [575/909] Compiling sip/cpp/sip_gridwxGridStringTable.cpp [576/909] Linking build/waf/3.8/gtk3/_adv.cpython-38-aarch64-linux-gnu.so [577/909] Compiling sip/cpp/sip_gridwxGridTableBase.cpp [578/909] Compiling sip/cpp/sip_gridwxGridActivationResult.cpp [579/909] Compiling sip/cpp/sip_gridwxGridRowHeaderRenderer.cpp [580/909] Compiling sip/cpp/sip_gridwxGridCornerHeaderRenderer.cpp [581/909] Compiling sip/cpp/sip_gridwxGridSizeEvent.cpp ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In member function ‘virtual bool sipwxDataViewCustomRenderer::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, uint)’: ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:126:45: warning: ‘virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 126 | return ::wxDataViewCustomRenderer::Activate(cell,model,item,col); | ^~~~~~~~ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:329:22: note: declared here 329 | virtual bool Activate(wxRect WXUNUSED(cell), | ^~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:328:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 328 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:126:73: warning: ‘virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 126 | return ::wxDataViewCustomRenderer::Activate(cell,model,item,col); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:329:22: note: declared here 329 | virtual bool Activate(wxRect WXUNUSED(cell), | ^~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:328:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 328 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In member function ‘virtual bool sipwxDataViewCustomRenderer::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, uint)’: ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:141:45: warning: ‘virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 141 | return ::wxDataViewCustomRenderer::LeftClick(cursor,cell,model,item,col); | ^~~~~~~~~ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:337:22: note: declared here 337 | virtual bool LeftClick(wxPoint WXUNUSED(cursor), | ^~~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:336:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 336 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:141:81: warning: ‘virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 141 | return ::wxDataViewCustomRenderer::LeftClick(cursor,cell,model,item,col); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:337:22: note: declared here 337 | virtual bool LeftClick(wxPoint WXUNUSED(cursor), | ^~~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:336:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 336 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In function ‘PyObject* meth_wxDataViewCustomRenderer_LeftClick(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:737:115: warning: ‘virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 737 | sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::LeftClick(*cursor,*cell,model,*item,col) : sipCpp->LeftClick(*cursor,*cell,model,*item,col)); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:337:22: note: declared here 337 | virtual bool LeftClick(wxPoint WXUNUSED(cursor), | ^~~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:336:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 336 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:737:166: warning: ‘virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 737 | sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::LeftClick(*cursor,*cell,model,*item,col) : sipCpp->LeftClick(*cursor,*cell,model,*item,col)); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:337:22: note: declared here 337 | virtual bool LeftClick(wxPoint WXUNUSED(cursor), | ^~~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:336:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 336 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In function ‘PyObject* meth_wxDataViewCustomRenderer_Activate(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:790:106: warning: ‘virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 790 | sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::Activate(*cell,model,*item,col) : sipCpp->Activate(*cell,model,*item,col)); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:329:22: note: declared here 329 | virtual bool Activate(wxRect WXUNUSED(cell), | ^~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:328:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 328 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:790:148: warning: ‘virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)’ is deprecated [-Wdeprecated-declarations] 790 | sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::Activate(*cell,model,*item,col) : sipCpp->Activate(*cell,model,*item,col)); | ^ In file included from /usr/include/wx-3.1/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1797, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.1/wx/dvrenderers.h:329:22: note: declared here 329 | virtual bool Activate(wxRect WXUNUSED(cell), | ^~~~~~~~ /usr/include/wx-3.1/wx/defs.h:618:43: note: in definition of macro ‘wxDEPRECATED’ 618 | #define wxDEPRECATED(x) wxDEPRECATED_DECL x | ^ /usr/include/wx-3.1/wx/dvrenderers.h:328:5: note: in expansion of macro ‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’ 328 | wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [582/909] Compiling sip/cpp/sip_gridwxGridEvent.cpp [583/909] Compiling sip/cpp/sip_gridwxGridEditorCreatedEvent.cpp [584/909] Compiling sip/cpp/sip_gridwxGridRangeSelectEvent.cpp [585/909] Compiling sip/cpp/sip_gridwxGridColumnHeaderRendererDefault.cpp [586/909] Compiling sip/cpp/sip_gridwxGridCellBoolEditor.cpp [587/909] Compiling sip/cpp/sip_gridwxGridCellDateEditor.cpp [588/909] Compiling sip/cpp/sip_gridwxGridCellAutoWrapStringRenderer.cpp [589/909] Compiling sip/cpp/sip_gridwxGridCellTextEditor.cpp ../../../../sip/cpp/sip_dataviewwxDataViewEvent.cpp: In function ‘PyObject* meth_wxDataViewEvent_SetDataViewColumn(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_dataviewwxDataViewEvent.cpp:389:42: warning: ‘void wxDataViewEvent::SetDataViewColumn(wxDataViewColumn*)’ is deprecated: Pass the argument to the ctor instead [-Wdeprecated-declarations] 389 | sipCpp->SetDataViewColumn(col); | ^ In file included from ../../../../sip/cpp/sipAPI_dataview.h:1808, from ../../../../sip/cpp/sip_dataviewwxDataViewEvent.cpp:10: /usr/include/wx-3.1/wx/dataview.h:926:10: note: declared here 926 | void SetDataViewColumn( wxDataViewColumn *col ) { m_column = col; } | ^~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewEvent.cpp: In function ‘PyObject* meth_wxDataViewEvent_SetModel(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_dataviewwxDataViewEvent.cpp:428:35: warning: ‘void wxDataViewEvent::SetModel(wxDataViewModel*)’ is deprecated: Pass the argument to the ctor instead [-Wdeprecated-declarations] 428 | sipCpp->SetModel(model); | ^ In file included from ../../../../sip/cpp/sipAPI_dataview.h:1808, from ../../../../sip/cpp/sip_dataviewwxDataViewEvent.cpp:10: /usr/include/wx-3.1/wx/dataview.h:924:10: note: declared here 924 | void SetModel( wxDataViewModel *model ) { m_model = model; } | ^~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewEvent.cpp: In function ‘PyObject* meth_wxDataViewEvent_SetItem(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_dataviewwxDataViewEvent.cpp:866:34: warning: ‘void wxDataViewEvent::SetItem(const wxDataViewItem&)’ is deprecated: Pass the argument to the ctor instead [-Wdeprecated-declarations] 866 | sipCpp->SetItem(*item); | ^ In file included from ../../../../sip/cpp/sipAPI_dataview.h:1808, from ../../../../sip/cpp/sip_dataviewwxDataViewEvent.cpp:10: /usr/include/wx-3.1/wx/dataview.h:928:10: note: declared here 928 | void SetItem( const wxDataViewItem &item ) { m_item = item; } | ^~~~~~~ [590/909] Compiling sip/cpp/sip_gridwxGridCellFloatEditor.cpp [591/909] Compiling sip/cpp/sip_gridwxGridCellEditor.cpp [592/909] Compiling sip/cpp/sip_gridwxGridCellDateTimeRenderer.cpp [593/909] Compiling sip/cpp/sip_gridwxGridCellEnumRenderer.cpp [594/909] Compiling sip/cpp/sip_gridwxGridCellEnumEditor.cpp [595/909] Compiling sip/cpp/sip_gridwxGridCellAttrPtr.cpp [596/909] Compiling sip/cpp/sip_gridwxGridBlockCoords.cpp [597/909] Compiling sip/cpp/sip_gridwxGridCellCoordsArray.cpp [598/909] Compiling sip/cpp/sip_gridwxGridBlocksiterator.cpp [599/909] Compiling sip/cpp/sip_gridwxGridBlocks.cpp [600/909] Compiling sip/cpp/sip_gridwxGridCellAttrProvider.cpp [601/909] Compiling sip/cpp/sip_gridwxGridColumnHeaderRenderer.cpp [602/909] Compiling sip/cpp/sip_gridwxGridCellFloatRenderer.cpp [603/909] Compiling sip/cpp/sip_gridwxGridCornerHeaderRendererDefault.cpp [604/909] Compiling sip/cpp/sip_gridcmodule.cpp [605/909] Compiling sip/cpp/sip_gridwxGridActivationSource.cpp [606/909] Compiling sip/cpp/sip_gridwxGridCellDateRenderer.cpp [607/909] Compiling sip/cpp/sip_gridwxGridCellAttr.cpp [608/909] Compiling sip/cpp/sip_gridwxGridCellEditorPtr.cpp [609/909] Compiling sip/cpp/sip_gridwxGridCellAutoWrapStringEditor.cpp [610/909] Compiling sip/cpp/sip_gridwxGridBlockDiffResult.cpp [611/909] Compiling sip/cpp/sip_gridwxGridCellActivatableEditor.cpp [612/909] Compiling sip/cpp/sip_gridwxGridCellChoiceEditor.cpp [613/909] Compiling sip/cpp/sip_gridwxGridCellBoolRenderer.cpp [614/909] Compiling sip/cpp/sip_gridwxGridCellCoords.cpp [615/909] Compiling sip/cpp/sip_gridwxGrid.cpp [616/909] Compiling sip/cpp/sip_stcwxStyledTextEvent.cpp [617/909] Compiling sip/cpp/sip_stcwxStyledTextCtrl.cpp [618/909] Linking build/waf/3.8/gtk3/_dataview.cpython-38-aarch64-linux-gnu.so [619/909] Compiling sip/cpp/sip_stccmodule.cpp [620/909] Compiling sip/cpp/sip_htmlwxHtmlColourCell.cpp [621/909] Compiling sip/cpp/sip_htmlcmodule.cpp [622/909] Compiling sip/cpp/sip_htmlwxHtmlHelpController.cpp [623/909] Compiling sip/cpp/sip_htmlwxHtmlRenderingState.cpp [624/909] Compiling sip/cpp/sip_htmlwxHtmlDCRenderer.cpp [625/909] Compiling sip/cpp/sip_htmlwxHtmlTagHandler.cpp [626/909] Compiling sip/cpp/sip_htmlwxHtmlWordWithTabsCell.cpp [627/909] Compiling sip/cpp/sip_htmlwxHtmlEasyPrinting.cpp [628/909] Compiling sip/cpp/sip_htmlwxHtmlWindow.cpp [629/909] Compiling sip/cpp/sip_htmlwxHtmlPrintout.cpp [630/909] Compiling sip/cpp/sip_htmlwxHtmlLinkInfo.cpp [631/909] Compiling sip/cpp/sip_htmlwxHtmlRenderingInfo.cpp [632/909] Compiling sip/cpp/sip_htmlwxHtmlWinTagHandler.cpp [633/909] Compiling sip/cpp/sip_htmlwxHtmlWordCell.cpp [634/909] Compiling sip/cpp/sip_htmlwxSimpleHtmlListBox.cpp [635/909] Compiling sip/cpp/sip_htmlwxHtmlWinParser.cpp [636/909] Compiling sip/cpp/sip_htmlwxHtmlTag.cpp [637/909] Compiling sip/cpp/sip_htmlwxHtmlWindowInterface.cpp [638/909] Compiling sip/cpp/sip_htmlwxHtmlWidgetCell.cpp [639/909] Compiling sip/cpp/sip_htmlwxHtmlSelection.cpp [640/909] Compiling sip/cpp/sip_htmlwxHtmlListBox.cpp [641/909] Compiling sip/cpp/sip_htmlwxHtmlParser.cpp [642/909] Compiling sip/cpp/sip_htmlwxHtmlHelpDataItem.cpp [643/909] Compiling sip/cpp/sip_htmlwxHtmlLinkEvent.cpp [644/909] Compiling sip/cpp/sip_htmlwxHtmlFontCell.cpp [645/909] Compiling sip/cpp/sip_htmlwxHtmlCell.cpp [646/909] Compiling sip/cpp/sip_htmlwxHtmlHelpFrame.cpp [647/909] Compiling sip/cpp/sip_htmlwxHtmlCellEvent.cpp [648/909] Compiling sip/cpp/sip_htmlwxHtmlHelpData.cpp [649/909] Compiling sip/cpp/sip_htmlwxHtmlBookRecord.cpp [650/909] Compiling sip/cpp/sip_htmlwxHtmlHelpDataItems.cpp [651/909] Compiling sip/cpp/sip_htmlwxHtmlContainerCell.cpp ../../../../sip/cpp/sip_stccmodule.cpp:4705:13: warning: wxSTC_INDIC0_MASK is deprecated. Style byte indicators are no longer used. 4705 | {sipName_STC_INDIC0_MASK, wxSTC_INDIC0_MASK}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_stccmodule.cpp:4706:13: warning: wxSTC_INDIC1_MASK is deprecated. Style byte indicators are no longer used. 4706 | {sipName_STC_INDIC1_MASK, wxSTC_INDIC1_MASK}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_stccmodule.cpp:4707:13: warning: wxSTC_INDIC2_MASK is deprecated. Style byte indicators are no longer used. 4707 | {sipName_STC_INDIC2_MASK, wxSTC_INDIC2_MASK}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_stccmodule.cpp:4709:13: warning: wxSTC_INDICS_MASK is deprecated. Style byte indicators are no longer used. 4709 | {sipName_STC_INDICS_MASK, wxSTC_INDICS_MASK}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_stccmodule.cpp:5956:29: warning: ‘wxEVT_STC_KEY’ is deprecated: Don't handle wxEVT_STC_KEY. It's never generated. [-Wdeprecated-declarations] 5956 | {sipName_wxEVT_STC_KEY, wxEVT_STC_KEY}, | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.1/wx/wx.h:24, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_stc.h:7443, from ../../../../sip/cpp/sip_stccmodule.cpp:10: /usr/include/wx-3.1/wx/stc/stc.h:5653:48: note: declared here 5653 | wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_STC, wxEVT_STC_KEY, wxStyledTextEvent ); | ^~~~~~~~~~~~~ /usr/include/wx-3.1/wx/event.h:110:49: note: in definition of macro ‘wxDECLARE_EXPORTED_EVENT’ 110 | extern const expdecl wxEventTypeTag< type > name | ^~~~ ../../../../sip/cpp/sip_stccmodule.cpp:5969:36: warning: ‘wxEVT_STC_URIDROPPED’ is deprecated: Don't handle wxEVT_STC_URIDROPPED. It's never generated. [-Wdeprecated-declarations] 5969 | {sipName_wxEVT_STC_URIDROPPED, wxEVT_STC_URIDROPPED}, | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.1/wx/wx.h:24, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_stc.h:7443, from ../../../../sip/cpp/sip_stccmodule.cpp:10: /usr/include/wx-3.1/wx/stc/stc.h:5665:48: note: declared here 5665 | wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_STC, wxEVT_STC_URIDROPPED, wxStyledTextEvent ); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.1/wx/event.h:110:49: note: in definition of macro ‘wxDECLARE_EXPORTED_EVENT’ 110 | extern const expdecl wxEventTypeTag< type > name | ^~~~ [652/909] Compiling sip/cpp/sip_htmlwxHtmlRenderingStyle.cpp [653/909] Compiling sip/cpp/sip_htmlwxHtmlModalHelp.cpp [654/909] Compiling sip/cpp/sip_htmlwxHtmlHelpDialog.cpp [655/909] Compiling sip/cpp/sip_htmlwxHtmlHelpWindow.cpp [656/909] Compiling sip/cpp/sip_htmlwxHtmlFilter.cpp [657/909] Compiling sip/cpp/sip_htmlwxHtmlBookRecArray.cpp [658/909] Compiling sip/cpp/sip_glcanvascmodule.cpp [659/909] Compiling sip/cpp/sip_glcanvaswxGLContext.cpp [660/909] Compiling sip/cpp/sip_glcanvaswxGLContextAttrs.cpp [661/909] Compiling sip/cpp/sip_glcanvaswxGLCanvas.cpp [662/909] Compiling sip/cpp/sip_glcanvaswxGLAttribsBase.cpp [663/909] Compiling sip/cpp/sip_glcanvaswxGLAttributes.cpp [664/909] Compiling sip/cpp/sip_html2wxWebView.cpp [665/909] Compiling sip/cpp/sip_html2wxWebViewFSHandler.cpp [666/909] Compiling sip/cpp/sip_html2wxWebViewArchiveHandler.cpp [667/909] Compiling sip/cpp/sip_html2cmodule.cpp [668/909] Compiling sip/cpp/sip_html2wxWebViewHistoryItem.cpp [669/909] Compiling sip/cpp/sip_html2wxWebViewFactory.cpp [670/909] Compiling sip/cpp/sip_html2wxWebViewHandler.cpp [671/909] Compiling sip/cpp/sip_html2wxWebViewEvent.cpp [672/909] Compiling sip/cpp/sip_xmlwxXmlAttribute.cpp [673/909] Compiling sip/cpp/sip_xmlwxXmlDoctype.cpp [674/909] Compiling sip/cpp/sip_xmlwxXmlDocument.cpp [675/909] Compiling sip/cpp/sip_xmlwxXmlNode.cpp [676/909] Compiling sip/cpp/sip_xmlcmodule.cpp [677/909] Compiling sip/cpp/sip_xrcwxAnimation.cpp [678/909] Compiling sip/cpp/sip_xrcwxXmlSubclassFactory.cpp [679/909] Compiling sip/cpp/sip_xrcwxAnimationCtrl.cpp [680/909] Linking build/waf/3.8/gtk3/_grid.cpython-38-aarch64-linux-gnu.so [681/909] Compiling sip/cpp/sip_xrccmodule.cpp [682/909] Compiling sip/cpp/sip_xrcwxXmlResourceHandler.cpp [683/909] Compiling sip/cpp/sip_xrcwxXmlResource.cpp [684/909] Compiling sip/cpp/sip_richtextwxRichTextXMLHandler.cpp [685/909] Compiling sip/cpp/sip_richtextwxRichTextCommand.cpp [686/909] Compiling sip/cpp/sip_richtextwxRichTextFloatCollector.cpp [687/909] Compiling sip/cpp/sip_richtextwxRichTextFormattingDialogFactory.cpp [688/909] Compiling sip/cpp/sip_richtextwxRichTextAttrArray.cpp [689/909] Compiling sip/cpp/sip_richtextwxRichTextDrawingHandler.cpp [690/909] Compiling sip/cpp/sip_richtextwxRichTextObjectList.cpp [691/909] Compiling sip/cpp/sip_richtextwxRichTextAttr.cpp [692/909] Compiling sip/cpp/sip_richtextwxRichTextStyleListCtrl.cpp [693/909] Compiling sip/cpp/sip_richtextwxRichTextStyleOrganiserDialog.cpp [694/909] Compiling sip/cpp/sip_richtextwxSymbolPickerDialog.cpp [695/909] Compiling sip/cpp/sip_richtextwxRichTextObjectList_.cpp [696/909] Compiling sip/cpp/sip_richtextwxRichTextStdRenderer.cpp [697/909] Compiling sip/cpp/sip_richtextwxRichTextObjectList_iterator.cpp [698/909] Compiling sip/cpp/sip_richtextwxRichTextStyleDefinition.cpp [699/909] Linking build/waf/3.8/gtk3/_glcanvas.cpython-38-aarch64-linux-gnu.so [700/909] Compiling sip/cpp/sip_richtextwxTextAttrBorders.cpp [701/909] Compiling sip/cpp/sip_richtextwxRichTextObjectList__iterator.cpp [702/909] Compiling sip/cpp/sip_richtextwxRichTextObjectPtrArrayArray.cpp [703/909] Compiling sip/cpp/sip_richtextwxRichTextCell.cpp [704/909] Compiling sip/cpp/sip_richtextwxRichTextLineList.cpp [705/909] Compiling sip/cpp/sip_richtextwxRichTextFontTable.cpp [706/909] Compiling sip/cpp/sip_richtextwxRichTextFormattingDialog.cpp [707/909] Compiling sip/cpp/sip_richtextwxRichTextActionList.cpp [708/909] Linking build/waf/3.8/gtk3/_html.cpython-38-aarch64-linux-gnu.so [709/909] Linking build/waf/3.8/gtk3/_html2.cpython-38-aarch64-linux-gnu.so [710/909] Compiling sip/cpp/sip_richtextwxRichTextCtrl.cpp [711/909] Compiling sip/cpp/sip_richtextwxRichTextStyleComboCtrl.cpp [712/909] Compiling sip/cpp/sip_richtextwxRichTextLineList_iterator.cpp [713/909] Compiling sip/cpp/sip_richtextwxRichTextActionList_iterator.cpp [714/909] Compiling sip/cpp/sip_richtextwxRichTextStyleListBox.cpp [715/909] Compiling sip/cpp/sip_richtextwxTextAttrShadow.cpp [716/909] Linking build/waf/3.8/gtk3/_xml.cpython-38-aarch64-linux-gnu.so [717/909] Compiling sip/cpp/sip_richtextwxRichTextBuffer.cpp ../../../../sip/cpp/sip_stcwxStyledTextCtrl.cpp: In function ‘PyObject* meth_wxStyledTextCtrl_SetStyleBits(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_stcwxStyledTextCtrl.cpp:28341:38: warning: ‘void wxStyledTextCtrl::SetStyleBits(int)’ is deprecated: This method uses a function deprecated in the Scintilla library. [-Wdeprecated-declarations] 28341 | sipCpp->SetStyleBits(bits); | ^ In file included from ../../../../sip/cpp/sipAPI_stc.h:7444, from ../../../../sip/cpp/sip_stcwxStyledTextCtrl.cpp:10: /usr/include/wx-3.1/wx/stc/stc.h:3349:10: note: declared here 3349 | void SetStyleBits(int bits); | ^~~~~~~~~~~~ ../../../../sip/cpp/sip_stcwxStyledTextCtrl.cpp: In function ‘PyObject* meth_wxStyledTextCtrl_GetStyleBits(PyObject*, PyObject*)’: ../../../../sip/cpp/sip_stcwxStyledTextCtrl.cpp:28380:43: warning: ‘int wxStyledTextCtrl::GetStyleBits() const’ is deprecated: This method uses a function deprecated in the Scintilla library. [-Wdeprecated-declarations] 28380 | sipRes = sipCpp->GetStyleBits(); | ^ In file included from ../../../../sip/cpp/sipAPI_stc.h:7444, from ../../../../sip/cpp/sip_stcwxStyledTextCtrl.cpp:10: /usr/include/wx-3.1/wx/stc/stc.h:3353:9: note: declared here 3353 | int GetStyleBits() const; | ^~~~~~~~~~~~ ../../../../sip/cpp/sip_stcwxStyledTextCtrl.cpp: In function ‘PyObject* meth_wxStyledTextCtrl_GetStyleBitsNeeded(PyObject*, PyObject*)’: ../../../../sip/cpp/sip_stcwxStyledTextCtrl.cpp:28418:49: warning: ‘int wxStyledTextCtrl::GetStyleBitsNeeded() const’ is deprecated: This method uses a function deprecated in the Scintilla library. [-Wdeprecated-declarations] 28418 | sipRes = sipCpp->GetStyleBitsNeeded(); | ^ In file included from ../../../../sip/cpp/sipAPI_stc.h:7444, from ../../../../sip/cpp/sip_stcwxStyledTextCtrl.cpp:10: /usr/include/wx-3.1/wx/stc/stc.h:5025:9: note: declared here 5025 | int GetStyleBitsNeeded() const; | ^~~~~~~~~~~~~~~~~~ [718/909] Compiling sip/cpp/sip_richtextwxRichTextDrawingHandlerList_iterator.cpp [719/909] Compiling sip/cpp/sip_richtextwxRichTextRangeArray.cpp [720/909] Linking build/waf/3.8/gtk3/_stc.cpython-38-aarch64-linux-gnu.so [721/909] Compiling sip/cpp/sip_richtextwxTextBoxAttr.cpp [722/909] Compiling sip/cpp/sip_richtextwxRichTextDrawingContext.cpp [723/909] Compiling sip/cpp/sip_richtextwxRichTextRange.cpp [724/909] Compiling sip/cpp/sip_richtextwxRichTextPlainTextHandler.cpp [725/909] Compiling sip/cpp/sip_richtextwxRichTextObjectPtrArray.cpp [726/909] Compiling sip/cpp/sip_richtextwxRichTextField.cpp [727/909] Compiling sip/cpp/sip_richtextwxRichTextObjectAddress.cpp [728/909] Linking build/waf/3.8/gtk3/_xrc.cpython-38-aarch64-linux-gnu.so [729/909] Compiling sip/cpp/sip_richtextwxTextAttrSize.cpp [730/909] Compiling sip/cpp/sip_richtextwxRichTextStyleSheet.cpp [731/909] Compiling sip/cpp/sip_richtextwxRichTextProperties.cpp [732/909] Compiling sip/cpp/sip_richtextwxRichTextFileHandler.cpp [733/909] Compiling sip/cpp/sip_richtextwxTextAttrDimension.cpp [734/909] Compiling sip/cpp/sip_richtextwxTextAttrBorder.cpp [735/909] Compiling sip/cpp/sip_richtextwxRichTextParagraphLayoutBox.cpp [736/909] Compiling sip/cpp/sip_richtextwxRichTextTable.cpp [737/909] Compiling sip/cpp/sip_richtextwxRichTextImage.cpp [738/909] Compiling sip/cpp/sip_richtextwxTextAttrDimensionConverter.cpp [739/909] Compiling sip/cpp/sip_richtextwxRichTextPrintout.cpp [740/909] Compiling sip/cpp/sip_richtextwxRichTextObject.cpp [741/909] Compiling sip/cpp/sip_richtextwxRichTextPlainText.cpp [742/909] Compiling sip/cpp/sip_richtextwxRichTextImageBlock.cpp [743/909] Compiling sip/cpp/sip_richtextwxRichTextHTMLHandler.cpp [744/909] Compiling sip/cpp/sip_richtextwxRichTextListStyleDefinition.cpp [745/909] Compiling sip/cpp/sip_richtextwxRichTextFileHandlerList.cpp [746/909] Compiling sip/cpp/sip_richtextwxRichTextDrawingHandlerList.cpp [747/909] Compiling sip/cpp/sip_richtextwxRichTextSelection.cpp [748/909] Compiling sip/cpp/sip_richtextwxRichTextFieldTypeStandard.cpp [749/909] Compiling sip/cpp/sip_richtextwxRichTextBufferDataObject.cpp [750/909] Compiling sip/cpp/sip_richtextwxTextAttrDimensions.cpp [751/909] Compiling sip/cpp/sip_richtextwxRichTextBox.cpp [752/909] Compiling sip/cpp/sip_richtextwxRichTextRenderer.cpp [753/909] Compiling sip/cpp/sip_richtextwxRichTextHeaderFooterData.cpp [754/909] Compiling sip/cpp/sip_richtextwxRichTextAction.cpp [755/909] Compiling sip/cpp/sip_richtextwxRichTextFileHandlerList_iterator.cpp [756/909] Compiling sip/cpp/sip_richtextwxRichTextVariantArray.cpp [757/909] Compiling sip/cpp/sip_richtextwxRichTextPrinting.cpp [758/909] Compiling sip/cpp/sip_richtextwxRichTextFieldType.cpp [759/909] Compiling sip/cpp/sip_richtextwxRichTextParagraph.cpp [760/909] Compiling sip/cpp/sip_richtextcmodule.cpp [761/909] Compiling sip/cpp/sip_richtextwxRichTextContextMenuPropertiesInfo.cpp [762/909] Compiling sip/cpp/sip_richtextwxRichTextCompositeObject.cpp [763/909] Compiling sip/cpp/sip_richtextwxRichTextCharacterStyleDefinition.cpp [764/909] Compiling sip/cpp/sip_richtextwxRichTextEvent.cpp [765/909] Compiling sip/cpp/sip_richtextwxRichTextLine.cpp [766/909] Compiling sip/cpp/sip_richtextwxRichTextParagraphStyleDefinition.cpp [767/909] Compiling sip/cpp/sip_mediacmodule.cpp [768/909] Compiling sip/cpp/sip_mediawxMediaEvent.cpp [769/909] Compiling sip/cpp/sip_mediawxMediaCtrl.cpp [770/909] Compiling sip/cpp/sip_ribbonwxRibbonPage.cpp [771/909] Compiling sip/cpp/sip_ribbonwxRibbonToolBarEvent.cpp [772/909] Compiling sip/cpp/sip_ribbonwxRibbonMSWArtProvider.cpp [773/909] Compiling sip/cpp/sip_ribbonwxRibbonBarEvent.cpp [774/909] Compiling sip/cpp/sip_ribbonwxRibbonToolBarToolBase.cpp [775/909] Compiling sip/cpp/sip_ribbonwxRibbonGalleryItem.cpp [776/909] Compiling sip/cpp/sip_ribbonwxRibbonControl.cpp [777/909] Compiling sip/cpp/sip_ribbonwxRibbonButtonBar.cpp [778/909] Compiling sip/cpp/sip_ribbonwxRibbonButtonBarEvent.cpp [779/909] Compiling sip/cpp/sip_ribbonwxRibbonPanel.cpp [780/909] Compiling sip/cpp/sip_ribbonwxRibbonGalleryEvent.cpp [781/909] Compiling sip/cpp/sip_ribboncmodule.cpp [782/909] Compiling sip/cpp/sip_ribbonwxRibbonToolBar.cpp [783/909] Compiling sip/cpp/sip_ribbonwxRibbonPageTabInfoArray.cpp [784/909] Compiling sip/cpp/sip_ribbonwxRibbonBar.cpp [785/909] Compiling sip/cpp/sip_ribbonwxRibbonButtonBarButtonBase.cpp [786/909] Compiling sip/cpp/sip_ribbonwxRibbonArtProvider.cpp [787/909] Compiling sip/cpp/sip_ribbonwxRibbonPageTabInfo.cpp [788/909] Compiling sip/cpp/sip_ribbonwxRibbonPanelEvent.cpp [789/909] Compiling sip/cpp/sip_ribbonwxRibbonAUIArtProvider.cpp [790/909] Compiling sip/cpp/sip_ribbonwxRibbonGallery.cpp [791/909] Compiling sip/cpp/sip_propgridwxPGComboBoxEditor.cpp [792/909] Compiling sip/cpp/sip_propgridwxStringProperty.cpp [793/909] Compiling sip/cpp/sip_propgridwxPropertyCategory.cpp [794/909] Compiling sip/cpp/sip_propgridwxCursorProperty.cpp [795/909] Compiling sip/cpp/sip_propgridcmodule.cpp [796/909] Compiling sip/cpp/sip_propgridwxPGAttributeStorage.cpp [797/909] Compiling sip/cpp/sip_propgridwxDirProperty.cpp [798/909] Compiling sip/cpp/sip_propgridwxPGVIterator.cpp [799/909] Compiling sip/cpp/sip_propgridwxPGChoiceEditor.cpp [800/909] Compiling sip/cpp/sip_propgridwxPGSpinCtrlEditor.cpp [801/909] Compiling sip/cpp/sip_propgridwxEnumProperty.cpp [802/909] Compiling sip/cpp/sip_propgridwxPGInDialogValidator.cpp [803/909] Compiling sip/cpp/sip_propgridwxPGPropArgCls.cpp [804/909] Compiling sip/cpp/sip_propgridwxImageFileProperty.cpp [805/909] Compiling sip/cpp/sip_propgridwxArrayPGProperty.cpp [806/909] Compiling sip/cpp/sip_propgridwxPGCheckBoxEditor.cpp [807/909] Compiling sip/cpp/sip_propgridwxPGWindowList.cpp [808/909] Compiling sip/cpp/sip_propgridwxFlagsProperty.cpp [809/909] Linking build/waf/3.8/gtk3/_media.cpython-38-aarch64-linux-gnu.so [810/909] Compiling sip/cpp/sip_propgridwxColourPropertyValue.cpp [811/909] Compiling sip/cpp/sip_propgridwxPGChoiceEntry.cpp [812/909] Compiling sip/cpp/sip_propgridwxPGCellRenderer.cpp [813/909] Compiling sip/cpp/sip_propgridwxColourProperty.cpp [814/909] Compiling sip/cpp/sip_propgridwxPropertyGridPage.cpp [815/909] Compiling sip/cpp/sip_propgridwxPGChoices.cpp [816/909] Compiling sip/cpp/sip_propgridwxPGProperty.cpp [817/909] Linking build/waf/3.8/gtk3/_richtext.cpython-38-aarch64-linux-gnu.so [818/909] Compiling sip/cpp/sip_propgridwxPGPaintData.cpp [819/909] Compiling sip/cpp/sip_propgridwxPropertyGridPageState.cpp [820/909] Compiling sip/cpp/sip_propgridwxFontProperty.cpp [821/909] Compiling sip/cpp/sip_propgridwxPropertyGridEvent.cpp [822/909] Compiling sip/cpp/sip_propgridwxPropertyGridHitTestResult.cpp [823/909] Compiling sip/cpp/sip_propgridwxPGMultiButton.cpp [824/909] Compiling sip/cpp/sip_propgridwxPGArrayEditorDialog.cpp [825/909] Compiling sip/cpp/sip_propgridwxPGChoicesData.cpp [826/909] Compiling sip/cpp/sip_propgridwxPropertyGridIterator.cpp [827/909] Compiling sip/cpp/sip_propgridwxLongStringProperty.cpp [828/909] Compiling sip/cpp/sip_propgridwxPGVariantList.cpp [829/909] Compiling sip/cpp/sip_propgridwxPGEditorDialogAdapter.cpp [830/909] Compiling sip/cpp/sip_propgridwxNumericPropertyValidator.cpp [831/909] Compiling sip/cpp/sip_propgridwxDateProperty.cpp [832/909] Compiling sip/cpp/sip_propgridwxPGArrayStringEditorDialog.cpp [833/909] Compiling sip/cpp/sip_propgridwxPropertyGridInterface.cpp [834/909] Compiling sip/cpp/sip_propgridwxPropertyGridIteratorBase.cpp [835/909] Compiling sip/cpp/sip_propgridwxEditorDialogProperty.cpp [836/909] Compiling sip/cpp/sip_propgridwxSystemColourProperty.cpp [837/909] Linking build/waf/3.8/gtk3/_ribbon.cpython-38-aarch64-linux-gnu.so [838/909] Compiling sip/cpp/sip_propgridwxEditEnumProperty.cpp [839/909] Compiling sip/cpp/sip_propgridwxArrayStringProperty.cpp [840/909] Compiling sip/cpp/sip_propgridwxPGVariant.cpp [841/909] Compiling sip/cpp/sip_propgridwxPGTextCtrlAndButtonEditor.cpp [842/909] Compiling sip/cpp/sip_propgridwxUIntProperty.cpp [843/909] Compiling sip/cpp/sip_propgridwxPropertyGridPopulator.cpp [844/909] Compiling sip/cpp/sip_propgridwxPGTextCtrlEditor.cpp [845/909] Compiling sip/cpp/sip_propgridwxFileProperty.cpp [846/909] Compiling sip/cpp/sip_propgridwxPGDefaultRenderer.cpp [847/909] Compiling sip/cpp/sip_propgridwxFloatProperty.cpp [848/909] Compiling sip/cpp/sip_propgridwxPropertyGridManager.cpp [849/909] Compiling sip/cpp/sip_propgridwxNumericProperty.cpp [850/909] Compiling sip/cpp/sip_propgridwxPGValidationInfo.cpp [851/909] Compiling sip/cpp/sip_propgridwxPropertyGrid.cpp [852/909] Compiling sip/cpp/sip_propgridwxBoolProperty.cpp [853/909] Compiling sip/cpp/sip_propgridwxIntProperty.cpp [854/909] Compiling sip/cpp/sip_propgridwxPGEditor.cpp [855/909] Compiling sip/cpp/sip_propgridwxPGCellData.cpp [856/909] Compiling sip/cpp/sip_propgridwxPGChoiceAndButtonEditor.cpp [857/909] Compiling sip/cpp/sip_propgridwxMultiChoiceProperty.cpp [858/909] Compiling sip/cpp/sip_propgridwxPGCell.cpp [859/909] Compiling sip/cpp/sip_auiwxAuiDefaultDockArt.cpp [860/909] Compiling sip/cpp/sip_auicmodule.cpp [861/909] Compiling sip/cpp/sip_auiwxAuiDockInfoPtrArray.cpp [862/909] Compiling sip/cpp/sip_auiwxAuiDockArt.cpp [863/909] Compiling sip/cpp/sip_auiwxAuiDefaultToolBarArt.cpp [864/909] Compiling sip/cpp/sip_auiwxAuiNotebook.cpp [865/909] Compiling sip/cpp/sip_auiwxAuiDefaultTabArt.cpp [866/909] Compiling sip/cpp/sip_auiwxAuiManager.cpp [867/909] Compiling sip/cpp/sip_auiwxAuiMDIParentFrame.cpp [868/909] Compiling sip/cpp/sip_auiwxAuiNotebookPageArray.cpp [869/909] Compiling sip/cpp/sip_auiwxAuiToolBarItemArray.cpp [870/909] Compiling sip/cpp/sip_auiwxAuiTabCtrl.cpp [871/909] Compiling sip/cpp/sip_auiwxAuiFloatingFrame.cpp [872/909] Compiling sip/cpp/sip_auiwxAuiTabContainerButton.cpp [873/909] Compiling sip/cpp/sip_auiwxAuiDockInfo.cpp [874/909] Compiling sip/cpp/sip_auiwxAuiPaneInfoArray.cpp [875/909] Compiling sip/cpp/sip_auiwxAuiTabArt.cpp [876/909] Compiling sip/cpp/sip_auiwxAuiMDIChildFrame.cpp [877/909] Compiling sip/cpp/sip_auiwxAuiToolBarEvent.cpp [878/909] Compiling sip/cpp/sip_auiwxAuiToolBarArt.cpp [879/909] Compiling sip/cpp/sip_auiwxAuiDockUIPart.cpp [880/909] Compiling sip/cpp/sip_auiwxAuiPaneInfoPtrArray.cpp [881/909] Compiling sip/cpp/sip_auiwxAuiDockUIPartArray.cpp [882/909] Compiling sip/cpp/sip_auiwxAuiToolBarItem.cpp [883/909] Compiling sip/cpp/sip_auiwxAuiMDIClientWindow.cpp [884/909] Compiling sip/cpp/sip_auiwxAuiManagerEvent.cpp [885/909] Compiling sip/cpp/sip_auiwxAuiNotebookEvent.cpp [886/909] Compiling sip/cpp/sip_auiwxAuiNotebookPage.cpp [887/909] Compiling sip/cpp/sip_auiwxAuiTabContainer.cpp [888/909] Compiling sip/cpp/sip_auiwxAuiPaneInfo.cpp [889/909] Compiling sip/cpp/sip_auiwxAuiTabContainerButtonArray.cpp ../../../../sip/cpp/sip_auiwxAuiDefaultDockArt.cpp: In function ‘PyObject* meth_wxAuiDefaultDockArt_DrawIcon(PyObject*, PyObject*, PyObject*)’: ../../../../sip/cpp/sip_auiwxAuiDefaultDockArt.cpp:908:45: warning: ‘void wxAuiDefaultDockArt::DrawIcon(wxDC&, const wxRect&, wxAuiPaneInfo&)’ is deprecated: This is not intended for the public API [-Wdeprecated-declarations] 908 | sipCpp->DrawIcon(*dc,*rect,*pane); | ^ In file included from /usr/include/wx-3.1/wx/aui/aui.h:15, from ../../../../sip/cpp/sipAPI_aui.h:2343, from ../../../../sip/cpp/sip_auiwxAuiDefaultDockArt.cpp:10: /usr/include/wx-3.1/wx/aui/dockart.h:139:10: note: declared here 139 | void DrawIcon(wxDC& dc, | ^~~~~~~~ [890/909] Compiling sip/cpp/sip_auiwxAuiToolBar.cpp [891/909] Compiling sip/cpp/sip_auiwxAuiDockInfoArray.cpp [892/909] Compiling sip/cpp/sip_auiwxAuiSimpleTabArt.cpp [893/909] Compiling build/waf/3.8/gtk3/_core.cpython-38-aarch64-linux-gnu.so [894/909] Compiling build/waf/3.8/gtk3/_adv.cpython-38-aarch64-linux-gnu.so [895/909] Compiling build/waf/3.8/gtk3/_dataview.cpython-38-aarch64-linux-gnu.so [896/909] Compiling build/waf/3.8/gtk3/_grid.cpython-38-aarch64-linux-gnu.so [897/909] Compiling build/waf/3.8/gtk3/_stc.cpython-38-aarch64-linux-gnu.so [898/909] Compiling build/waf/3.8/gtk3/_html.cpython-38-aarch64-linux-gnu.so [899/909] Compiling build/waf/3.8/gtk3/_glcanvas.cpython-38-aarch64-linux-gnu.so [900/909] Compiling build/waf/3.8/gtk3/_html2.cpython-38-aarch64-linux-gnu.so [901/909] Compiling build/waf/3.8/gtk3/_xml.cpython-38-aarch64-linux-gnu.so [902/909] Compiling build/waf/3.8/gtk3/_xrc.cpython-38-aarch64-linux-gnu.so [903/909] Compiling build/waf/3.8/gtk3/_richtext.cpython-38-aarch64-linux-gnu.so [904/909] Compiling build/waf/3.8/gtk3/_media.cpython-38-aarch64-linux-gnu.so [905/909] Compiling build/waf/3.8/gtk3/_ribbon.cpython-38-aarch64-linux-gnu.so [906/909] Linking build/waf/3.8/gtk3/_propgrid.cpython-38-aarch64-linux-gnu.so [907/909] Compiling build/waf/3.8/gtk3/_propgrid.cpython-38-aarch64-linux-gnu.so [908/909] Linking build/waf/3.8/gtk3/_aui.cpython-38-aarch64-linux-gnu.so [909/909] Compiling build/waf/3.8/gtk3/_aui.cpython-38-aarch64-linux-gnu.so Waf: Leaving directory `/home/iurt/rpmbuild/BUILD/wxPython-4.1.1/build/waf/3.8/gtk3' 'build' finished successfully (9m21.779s) Running command: build_others /usr/bin/python3 setup-wxsvg.py build_ext --inplace running build_ext building 'wx.svg._nanosvg' extension creating build/wxsvg creating build/wxsvg/temp.linux-aarch64-3.8 creating build/wxsvg/temp.linux-aarch64-3.8/wx creating build/wxsvg/temp.linux-aarch64-3.8/wx/svg gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DNANOSVG_IMPLEMENTATION=1 -DNANOSVGRAST_IMPLEMENTATION=1 -DNANOSVG_ALL_COLOR_KEYWORDS=1 -Iext/nanosvg/src -I/usr/include/python3.8 -c wx/svg/_nanosvg.c -o build/wxsvg/temp.linux-aarch64-3.8/wx/svg/_nanosvg.o creating build/wxsvg/lib.linux-aarch64-3.8 creating build/wxsvg/lib.linux-aarch64-3.8/wx creating build/wxsvg/lib.linux-aarch64-3.8/wx/svg gcc -pthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags build/wxsvg/temp.linux-aarch64-3.8/wx/svg/_nanosvg.o -L/usr/lib64 -lpython3.8 -o build/wxsvg/lib.linux-aarch64-3.8/wx/svg/_nanosvg.cpython-38-aarch64-linux-gnu.so copying build/wxsvg/lib.linux-aarch64-3.8/wx/svg/_nanosvg.cpython-38-aarch64-linux-gnu.so -> wx/svg Finished command: build_others (0m17.212s) ------------ BUILD FINISHED ------------ To use wxPython from the build folder (without installing): - Set your PYTHONPATH variable to /home/iurt/rpmbuild/BUILD/wxPython-4.1.1. - You may also need to set your (DY)LD_LIBRARY_PATH to /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/build/wxbld/gtk3/lib, or wherever the wxWidgets libs have been installed. Finished command: build_py (9m43.138s) Done! + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Ud6Dxf + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64 + cd wxPython-4.1.1 + '[' 1 -eq 1 ']' + /usr/bin/python3 build.py install_py --destdir=/home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64 running install running build running build_py creating build/lib.linux-aarch64-3.8 creating build/lib.linux-aarch64-3.8/wx copying wx/xrc.py -> build/lib.linux-aarch64-3.8/wx copying wx/xml.py -> build/lib.linux-aarch64-3.8/wx copying wx/webkit.py -> build/lib.linux-aarch64-3.8/wx copying wx/stc.py -> build/lib.linux-aarch64-3.8/wx copying wx/richtext.py -> build/lib.linux-aarch64-3.8/wx copying wx/ribbon.py -> build/lib.linux-aarch64-3.8/wx copying wx/propgrid.py -> build/lib.linux-aarch64-3.8/wx copying wx/msw.py -> build/lib.linux-aarch64-3.8/wx copying wx/media.py -> build/lib.linux-aarch64-3.8/wx copying wx/html2.py -> build/lib.linux-aarch64-3.8/wx copying wx/html.py -> build/lib.linux-aarch64-3.8/wx copying wx/grid.py -> build/lib.linux-aarch64-3.8/wx copying wx/glcanvas.py -> build/lib.linux-aarch64-3.8/wx copying wx/gizmos.py -> build/lib.linux-aarch64-3.8/wx copying wx/dataview.py -> build/lib.linux-aarch64-3.8/wx copying wx/core.py -> build/lib.linux-aarch64-3.8/wx copying wx/aui.py -> build/lib.linux-aarch64-3.8/wx copying wx/adv.py -> build/lib.linux-aarch64-3.8/wx copying wx/__version__.py -> build/lib.linux-aarch64-3.8/wx copying wx/__init__.py -> build/lib.linux-aarch64-3.8/wx creating build/lib.linux-aarch64-3.8/wx/tools copying wx/tools/wxget_docs_demo.py -> build/lib.linux-aarch64-3.8/wx/tools copying wx/tools/wxget.py -> build/lib.linux-aarch64-3.8/wx/tools copying wx/tools/pywxrc.py -> build/lib.linux-aarch64-3.8/wx/tools copying wx/tools/img2xpm.py -> build/lib.linux-aarch64-3.8/wx/tools copying wx/tools/img2py.py -> build/lib.linux-aarch64-3.8/wx/tools copying wx/tools/img2png.py -> build/lib.linux-aarch64-3.8/wx/tools copying wx/tools/img2img.py -> build/lib.linux-aarch64-3.8/wx/tools copying wx/tools/helpviewer.py -> build/lib.linux-aarch64-3.8/wx/tools copying wx/tools/genaxmodule.py -> build/lib.linux-aarch64-3.8/wx/tools copying wx/tools/dbg.py -> build/lib.linux-aarch64-3.8/wx/tools copying wx/tools/__init__.py -> build/lib.linux-aarch64-3.8/wx/tools creating build/lib.linux-aarch64-3.8/wx/svg copying wx/svg/__init__.py -> build/lib.linux-aarch64-3.8/wx/svg creating build/lib.linux-aarch64-3.8/wx/py copying wx/py/version.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/sliceshell.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/shell.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/pseudo.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/path.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/parse.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/magic.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/introspect.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/interpreter.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/images.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/frame.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/filling.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/editwindow.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/editor.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/document.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/dispatcher.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/crustslices.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/crust.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/buffer.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/__init__.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PyWrap.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PySlicesShell.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PySlices.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PyShell.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PyFilling.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PyCrust.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PyAlaModeTest.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PyAlaMode.py -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PyAlaCarte.py -> build/lib.linux-aarch64-3.8/wx/py creating build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/wxpTag.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/wordwrap.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/utils.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/ticker_xrc.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/ticker.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/throbber.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/stattext.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/statbmp.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/splitter.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/softwareupdate.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/sized_controls.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/sheet.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/scrolledpanel.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/resizewidget.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/rcsizer.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/pydocview.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/progressindicator.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/printout.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/popupctl.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/platebtn.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/pdfwin_old.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/pdfwin.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/nvdlg.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/newevent.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/multisash.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/msgpanel.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/layoutf.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/langlistctrl.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/itemspicker.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/intctrl.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/inspection.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/infoframe.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/imageutils.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/imagebrowser.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/iewin_old.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/iewin.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/gridmovers.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/graphics.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/gestures.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/foldmenu.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/flashwin_old.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/flashwin.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/filebrowsebutton.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/fancytext.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/expando.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/evtmgr.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/eventwatcher.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/eventStack.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/embeddedimage.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/dragscroller.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/docview.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/dialogs.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/delayedresult.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/combotreebox.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/colourutils.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/colourselect.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/colourdb.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/checkbox.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/calendar.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/buttons.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/busy.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/anchors.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/activexwrapper.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/activex.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/ClickableHtmlWindow.py -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/CDate.py -> build/lib.linux-aarch64-3.8/wx/lib creating build/lib.linux-aarch64-3.8/wx/lib/wxcairo copying wx/lib/wxcairo/wx_pycairo.py -> build/lib.linux-aarch64-3.8/wx/lib/wxcairo copying wx/lib/wxcairo/wx_cairocffi.py -> build/lib.linux-aarch64-3.8/wx/lib/wxcairo copying wx/lib/wxcairo/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/wxcairo creating build/lib.linux-aarch64-3.8/wx/lib/pubsub copying wx/lib/pubsub/setupkwargs.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub copying wx/lib/pubsub/setuparg1.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub copying wx/lib/pubsub/py2and3.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub copying wx/lib/pubsub/pub.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub copying wx/lib/pubsub/policies.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub copying wx/lib/pubsub/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub creating build/lib.linux-aarch64-3.8/wx/lib/plot copying wx/lib/plot/utils.py -> build/lib.linux-aarch64-3.8/wx/lib/plot copying wx/lib/plot/polyobjects.py -> build/lib.linux-aarch64-3.8/wx/lib/plot copying wx/lib/plot/plotcanvas.py -> build/lib.linux-aarch64-3.8/wx/lib/plot copying wx/lib/plot/__main__.py -> build/lib.linux-aarch64-3.8/wx/lib/plot copying wx/lib/plot/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/plot creating build/lib.linux-aarch64-3.8/wx/lib/pdfviewer copying wx/lib/pdfviewer/viewer.py -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer copying wx/lib/pdfviewer/images.py -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer copying wx/lib/pdfviewer/buttonpanel.py -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer copying wx/lib/pdfviewer/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer creating build/lib.linux-aarch64-3.8/wx/lib/ogl copying wx/lib/ogl/oglmisc.py -> build/lib.linux-aarch64-3.8/wx/lib/ogl copying wx/lib/ogl/lines.py -> build/lib.linux-aarch64-3.8/wx/lib/ogl copying wx/lib/ogl/drawn.py -> build/lib.linux-aarch64-3.8/wx/lib/ogl copying wx/lib/ogl/divided.py -> build/lib.linux-aarch64-3.8/wx/lib/ogl copying wx/lib/ogl/diagram.py -> build/lib.linux-aarch64-3.8/wx/lib/ogl copying wx/lib/ogl/composit.py -> build/lib.linux-aarch64-3.8/wx/lib/ogl copying wx/lib/ogl/canvas.py -> build/lib.linux-aarch64-3.8/wx/lib/ogl copying wx/lib/ogl/bmpshape.py -> build/lib.linux-aarch64-3.8/wx/lib/ogl copying wx/lib/ogl/basic.py -> build/lib.linux-aarch64-3.8/wx/lib/ogl copying wx/lib/ogl/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/ogl creating build/lib.linux-aarch64-3.8/wx/lib/mixins copying wx/lib/mixins/treemixin.py -> build/lib.linux-aarch64-3.8/wx/lib/mixins copying wx/lib/mixins/rubberband.py -> build/lib.linux-aarch64-3.8/wx/lib/mixins copying wx/lib/mixins/listctrl.py -> build/lib.linux-aarch64-3.8/wx/lib/mixins copying wx/lib/mixins/inspection.py -> build/lib.linux-aarch64-3.8/wx/lib/mixins copying wx/lib/mixins/imagelist.py -> build/lib.linux-aarch64-3.8/wx/lib/mixins copying wx/lib/mixins/gridlabelrenderer.py -> build/lib.linux-aarch64-3.8/wx/lib/mixins copying wx/lib/mixins/grid.py -> build/lib.linux-aarch64-3.8/wx/lib/mixins copying wx/lib/mixins/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/mixins creating build/lib.linux-aarch64-3.8/wx/lib/masked copying wx/lib/masked/timectrl.py -> build/lib.linux-aarch64-3.8/wx/lib/masked copying wx/lib/masked/textctrl.py -> build/lib.linux-aarch64-3.8/wx/lib/masked copying wx/lib/masked/numctrl.py -> build/lib.linux-aarch64-3.8/wx/lib/masked copying wx/lib/masked/maskededit.py -> build/lib.linux-aarch64-3.8/wx/lib/masked copying wx/lib/masked/ipaddrctrl.py -> build/lib.linux-aarch64-3.8/wx/lib/masked copying wx/lib/masked/ctrl.py -> build/lib.linux-aarch64-3.8/wx/lib/masked copying wx/lib/masked/combobox.py -> build/lib.linux-aarch64-3.8/wx/lib/masked copying wx/lib/masked/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/masked creating build/lib.linux-aarch64-3.8/wx/lib/gizmos copying wx/lib/gizmos/treelistctrl.py -> build/lib.linux-aarch64-3.8/wx/lib/gizmos copying wx/lib/gizmos/ledctrl.py -> build/lib.linux-aarch64-3.8/wx/lib/gizmos copying wx/lib/gizmos/dynamicsash.py -> build/lib.linux-aarch64-3.8/wx/lib/gizmos copying wx/lib/gizmos/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/gizmos creating build/lib.linux-aarch64-3.8/wx/lib/floatcanvas copying wx/lib/floatcanvas/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas copying wx/lib/floatcanvas/ScreenShot.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas copying wx/lib/floatcanvas/Resources.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas copying wx/lib/floatcanvas/NavCanvas.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas copying wx/lib/floatcanvas/GUIMode.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas copying wx/lib/floatcanvas/FloatCanvas.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas copying wx/lib/floatcanvas/FCObjects.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas copying wx/lib/floatcanvas/FCEvents.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas creating build/lib.linux-aarch64-3.8/wx/lib/editor copying wx/lib/editor/selection.py -> build/lib.linux-aarch64-3.8/wx/lib/editor copying wx/lib/editor/images.py -> build/lib.linux-aarch64-3.8/wx/lib/editor copying wx/lib/editor/editor.py -> build/lib.linux-aarch64-3.8/wx/lib/editor copying wx/lib/editor/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/editor creating build/lib.linux-aarch64-3.8/wx/lib/colourchooser copying wx/lib/colourchooser/pypalette.py -> build/lib.linux-aarch64-3.8/wx/lib/colourchooser copying wx/lib/colourchooser/pycolourslider.py -> build/lib.linux-aarch64-3.8/wx/lib/colourchooser copying wx/lib/colourchooser/pycolourchooser.py -> build/lib.linux-aarch64-3.8/wx/lib/colourchooser copying wx/lib/colourchooser/pycolourbox.py -> build/lib.linux-aarch64-3.8/wx/lib/colourchooser copying wx/lib/colourchooser/intl.py -> build/lib.linux-aarch64-3.8/wx/lib/colourchooser copying wx/lib/colourchooser/canvas.py -> build/lib.linux-aarch64-3.8/wx/lib/colourchooser copying wx/lib/colourchooser/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/colourchooser creating build/lib.linux-aarch64-3.8/wx/lib/art copying wx/lib/art/img2pyartprov.py -> build/lib.linux-aarch64-3.8/wx/lib/art copying wx/lib/art/flagart.py -> build/lib.linux-aarch64-3.8/wx/lib/art copying wx/lib/art/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/art creating build/lib.linux-aarch64-3.8/wx/lib/analogclock copying wx/lib/analogclock/styles.py -> build/lib.linux-aarch64-3.8/wx/lib/analogclock copying wx/lib/analogclock/setup.py -> build/lib.linux-aarch64-3.8/wx/lib/analogclock copying wx/lib/analogclock/helpers.py -> build/lib.linux-aarch64-3.8/wx/lib/analogclock copying wx/lib/analogclock/analogclock.py -> build/lib.linux-aarch64-3.8/wx/lib/analogclock copying wx/lib/analogclock/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/analogclock creating build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/zoombar.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/xlsgrid.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/ultimatelistctrl.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/toasterbox.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/thumbnailctrl.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/supertooltip.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/speedmeter.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/shortcuteditor.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/shapedbutton.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/scrolledthumbnail.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/rulerctrl.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/pyprogress.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/pygauge.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/pycollapsiblepane.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/pybusyinfo.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/piectrl.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/peakmeter.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/multidirdialog.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/labelbook.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/knobctrl.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/infobar.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/hypertreelist.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/hyperlink.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/gradientbutton.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/genericmessagedialog.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/fourwaysplitter.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/foldpanelbar.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/fmresources.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/fmcustomizedlg.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/floatspin.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/flatnotebook.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/flatmenu.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/customtreectrl.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/cubecolourdialog.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/buttonpanel.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/balloontip.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/artmanager.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/aquabutton.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/advancedsplash.py -> build/lib.linux-aarch64-3.8/wx/lib/agw copying wx/lib/agw/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/agw creating build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/xmltopicdefnprovider.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/topictreeprinter.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/notification.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/misc.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/exchandling.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils creating build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/weakmethod.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/validatedefnargs.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/treeconfig.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicutils.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/topictreetraverser.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicobj.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicmgr.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicexc.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicdefnprovider.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicargspec.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/publisherbase.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/notificationmgr.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/listenerbase.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/listener.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/itopicdefnprovider.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/imp2.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/callables.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core copying wx/lib/pubsub/core/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core creating build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/topicmgrimpl.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/topicargspecimpl.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/publishermixin.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/publisher.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/listenerimpl.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/datamsg.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs creating build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/topicmgrimpl.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/topicargspecimpl.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/publishermixin.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/publisher.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/listenerimpl.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1 creating build/lib.linux-aarch64-3.8/wx/lib/plot/examples copying wx/lib/plot/examples/simple_example.py -> build/lib.linux-aarch64-3.8/wx/lib/plot/examples copying wx/lib/plot/examples/demo.py -> build/lib.linux-aarch64-3.8/wx/lib/plot/examples copying wx/lib/plot/examples/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/plot/examples creating build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/GUI.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/Colors.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/BBox.py -> build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/Utilities creating build/lib.linux-aarch64-3.8/wx/lib/analogclock/lib_setup copying wx/lib/analogclock/lib_setup/fontselect.py -> build/lib.linux-aarch64-3.8/wx/lib/analogclock/lib_setup copying wx/lib/analogclock/lib_setup/buttontreectrlpanel.py -> build/lib.linux-aarch64-3.8/wx/lib/analogclock/lib_setup copying wx/lib/analogclock/lib_setup/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/analogclock/lib_setup creating build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/toolbar.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/panel.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/page.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/gallery.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/control.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/buttonbar.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/bar.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_osx.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_msw.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_internal.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_default.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_aui.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon creating build/lib.linux-aarch64-3.8/wx/lib/agw/persist copying wx/lib/agw/persist/persistencemanager.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/persist copying wx/lib/agw/persist/persist_handlers.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/persist copying wx/lib/agw/persist/persist_constants.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/persist copying wx/lib/agw/persist/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/persist creating build/lib.linux-aarch64-3.8/wx/lib/agw/aui copying wx/lib/agw/aui/tabmdi.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/aui copying wx/lib/agw/aui/tabart.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/aui copying wx/lib/agw/aui/framemanager.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/aui copying wx/lib/agw/aui/dockart.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/aui copying wx/lib/agw/aui/auibook.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/aui copying wx/lib/agw/aui/auibar.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/aui copying wx/lib/agw/aui/aui_utilities.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/aui copying wx/lib/agw/aui/aui_switcherdialog.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/aui copying wx/lib/agw/aui/aui_constants.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/aui copying wx/lib/agw/aui/__init__.py -> build/lib.linux-aarch64-3.8/wx/lib/agw/aui running egg_info writing wxPython.egg-info/PKG-INFO writing dependency_links to wxPython.egg-info/dependency_links.txt writing entry points to wxPython.egg-info/entry_points.txt writing requirements to wxPython.egg-info/requires.txt writing top-level names to wxPython.egg-info/top_level.txt reading manifest file 'wxPython.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/sphinx/build' warning: no previously-included files matching '.git' found under directory 'wx' warning: no previously-included files matching '*.pyc' found under directory 'wx' warning: no previously-included files matching '__pycache__' found under directory 'wx' writing manifest file 'wxPython.egg-info/SOURCES.txt' copying wx/_adv.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_aui.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_core.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_dataview.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_glcanvas.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_grid.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_html.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_html2.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_media.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_propgrid.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_ribbon.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_richtext.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_stc.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_xml.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/_xrc.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx copying wx/adv.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/aui.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/core.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/dataview.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/glcanvas.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/grid.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/html.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/html2.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/media.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/msw.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/propgrid.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/ribbon.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/richtext.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/stc.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/webkit.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/xml.pyi -> build/lib.linux-aarch64-3.8/wx copying wx/xrc.pyi -> build/lib.linux-aarch64-3.8/wx creating build/lib.linux-aarch64-3.8/wx/include creating build/lib.linux-aarch64-3.8/wx/include/wxPython copying wx/include/wxPython/sip.h -> build/lib.linux-aarch64-3.8/wx/include/wxPython copying wx/include/wxPython/wxpy_api.h -> build/lib.linux-aarch64-3.8/wx/include/wxPython creating build/lib.linux-aarch64-3.8/wx/locale creating build/lib.linux-aarch64-3.8/wx/locale/af creating build/lib.linux-aarch64-3.8/wx/locale/af/LC_MESSAGES copying wx/locale/af/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/af/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/an creating build/lib.linux-aarch64-3.8/wx/locale/an/LC_MESSAGES copying wx/locale/an/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/an/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/ar creating build/lib.linux-aarch64-3.8/wx/locale/ar/LC_MESSAGES copying wx/locale/ar/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/ar/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/ca creating build/lib.linux-aarch64-3.8/wx/locale/ca/LC_MESSAGES copying wx/locale/ca/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/ca/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/ca@valencia creating build/lib.linux-aarch64-3.8/wx/locale/ca@valencia/LC_MESSAGES copying wx/locale/ca@valencia/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/ca@valencia/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/cs creating build/lib.linux-aarch64-3.8/wx/locale/cs/LC_MESSAGES copying wx/locale/cs/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/cs/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/da creating build/lib.linux-aarch64-3.8/wx/locale/da/LC_MESSAGES copying wx/locale/da/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/da/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/de creating build/lib.linux-aarch64-3.8/wx/locale/de/LC_MESSAGES copying wx/locale/de/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/de/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/el creating build/lib.linux-aarch64-3.8/wx/locale/el/LC_MESSAGES copying wx/locale/el/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/el/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/es creating build/lib.linux-aarch64-3.8/wx/locale/es/LC_MESSAGES copying wx/locale/es/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/es/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/eu creating build/lib.linux-aarch64-3.8/wx/locale/eu/LC_MESSAGES copying wx/locale/eu/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/eu/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/fa_IR creating build/lib.linux-aarch64-3.8/wx/locale/fa_IR/LC_MESSAGES copying wx/locale/fa_IR/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/fa_IR/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/fi creating build/lib.linux-aarch64-3.8/wx/locale/fi/LC_MESSAGES copying wx/locale/fi/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/fi/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/fr creating build/lib.linux-aarch64-3.8/wx/locale/fr/LC_MESSAGES copying wx/locale/fr/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/fr/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/gl_ES creating build/lib.linux-aarch64-3.8/wx/locale/gl_ES/LC_MESSAGES copying wx/locale/gl_ES/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/gl_ES/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/hi creating build/lib.linux-aarch64-3.8/wx/locale/hi/LC_MESSAGES copying wx/locale/hi/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/hi/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/hr creating build/lib.linux-aarch64-3.8/wx/locale/hr/LC_MESSAGES copying wx/locale/hr/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/hr/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/hu creating build/lib.linux-aarch64-3.8/wx/locale/hu/LC_MESSAGES copying wx/locale/hu/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/hu/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/id creating build/lib.linux-aarch64-3.8/wx/locale/id/LC_MESSAGES copying wx/locale/id/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/id/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/it creating build/lib.linux-aarch64-3.8/wx/locale/it/LC_MESSAGES copying wx/locale/it/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/it/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/ja creating build/lib.linux-aarch64-3.8/wx/locale/ja/LC_MESSAGES copying wx/locale/ja/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/ja/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/ko_KR creating build/lib.linux-aarch64-3.8/wx/locale/ko_KR/LC_MESSAGES copying wx/locale/ko_KR/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/ko_KR/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/lt creating build/lib.linux-aarch64-3.8/wx/locale/lt/LC_MESSAGES copying wx/locale/lt/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/lt/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/lv creating build/lib.linux-aarch64-3.8/wx/locale/lv/LC_MESSAGES copying wx/locale/lv/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/lv/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/ms creating build/lib.linux-aarch64-3.8/wx/locale/ms/LC_MESSAGES copying wx/locale/ms/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/ms/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/nb creating build/lib.linux-aarch64-3.8/wx/locale/nb/LC_MESSAGES copying wx/locale/nb/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/nb/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/ne creating build/lib.linux-aarch64-3.8/wx/locale/ne/LC_MESSAGES copying wx/locale/ne/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/ne/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/nl creating build/lib.linux-aarch64-3.8/wx/locale/nl/LC_MESSAGES copying wx/locale/nl/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/nl/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/pl creating build/lib.linux-aarch64-3.8/wx/locale/pl/LC_MESSAGES copying wx/locale/pl/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/pl/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/pt creating build/lib.linux-aarch64-3.8/wx/locale/pt/LC_MESSAGES copying wx/locale/pt/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/pt/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/pt_BR creating build/lib.linux-aarch64-3.8/wx/locale/pt_BR/LC_MESSAGES copying wx/locale/pt_BR/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/pt_BR/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/ro creating build/lib.linux-aarch64-3.8/wx/locale/ro/LC_MESSAGES copying wx/locale/ro/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/ro/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/ru creating build/lib.linux-aarch64-3.8/wx/locale/ru/LC_MESSAGES copying wx/locale/ru/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/ru/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/sk creating build/lib.linux-aarch64-3.8/wx/locale/sk/LC_MESSAGES copying wx/locale/sk/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/sk/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/sl creating build/lib.linux-aarch64-3.8/wx/locale/sl/LC_MESSAGES copying wx/locale/sl/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/sl/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/sq creating build/lib.linux-aarch64-3.8/wx/locale/sq/LC_MESSAGES copying wx/locale/sq/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/sq/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/sv creating build/lib.linux-aarch64-3.8/wx/locale/sv/LC_MESSAGES copying wx/locale/sv/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/sv/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/ta creating build/lib.linux-aarch64-3.8/wx/locale/ta/LC_MESSAGES copying wx/locale/ta/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/ta/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/tr creating build/lib.linux-aarch64-3.8/wx/locale/tr/LC_MESSAGES copying wx/locale/tr/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/tr/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/uk creating build/lib.linux-aarch64-3.8/wx/locale/uk/LC_MESSAGES copying wx/locale/uk/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/uk/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/vi creating build/lib.linux-aarch64-3.8/wx/locale/vi/LC_MESSAGES copying wx/locale/vi/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/vi/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/zh_CN creating build/lib.linux-aarch64-3.8/wx/locale/zh_CN/LC_MESSAGES copying wx/locale/zh_CN/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/zh_CN/LC_MESSAGES creating build/lib.linux-aarch64-3.8/wx/locale/zh_TW creating build/lib.linux-aarch64-3.8/wx/locale/zh_TW/LC_MESSAGES copying wx/locale/zh_TW/LC_MESSAGES/wxstd.mo -> build/lib.linux-aarch64-3.8/wx/locale/zh_TW/LC_MESSAGES copying wx/svg/_nanosvg.cpython-38-aarch64-linux-gnu.so -> build/lib.linux-aarch64-3.8/wx/svg copying wx/py/CHANGES.txt -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/Py.ico -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PyCrust.ico -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PyCrust_16.png -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PyCrust_32.png -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PySlices.ico -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PySlices_16.png -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/PySlices_32.png -> build/lib.linux-aarch64-3.8/wx/py copying wx/py/README.txt -> build/lib.linux-aarch64-3.8/wx/py copying wx/lib/myole4ax.idl -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/myole4ax.tlb -> build/lib.linux-aarch64-3.8/wx/lib copying wx/lib/pubsub/LICENSE_BSD_Simple.txt -> build/lib.linux-aarch64-3.8/wx/lib/pubsub copying wx/lib/pubsub/README_WxPython.txt -> build/lib.linux-aarch64-3.8/wx/lib/pubsub copying wx/lib/pubsub/RELEASE_NOTES.txt -> build/lib.linux-aarch64-3.8/wx/lib/pubsub copying wx/lib/plot/CHANGELOG.md -> build/lib.linux-aarch64-3.8/wx/lib/plot copying wx/lib/plot/README.md -> build/lib.linux-aarch64-3.8/wx/lib/plot creating build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ArrowLeft.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ArrowRight.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/DirectionH.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/DirectionV.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerFirst.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerLast.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerNext.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerPrev.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/Printer.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ReadMe.txt -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/Save.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ZoomIn.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ZoomOut.png -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/encode_bitmaps.py -> build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps copying wx/lib/editor/README.txt -> build/lib.linux-aarch64-3.8/wx/lib/editor creating build/lib.linux-aarch64-3.8/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_1.png -> build/lib.linux-aarch64-3.8/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_1_thumb.png -> build/lib.linux-aarch64-3.8/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_2.png -> build/lib.linux-aarch64-3.8/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_2_thumb.png -> build/lib.linux-aarch64-3.8/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_3.png -> build/lib.linux-aarch64-3.8/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_3_thumb.png -> build/lib.linux-aarch64-3.8/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_4.png -> build/lib.linux-aarch64-3.8/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_4_thumb.png -> build/lib.linux-aarch64-3.8/wx/lib/agw/data copying wx/lib/agw/data/default_help_text.html -> build/lib.linux-aarch64-3.8/wx/lib/agw/data running install_lib creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64 creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8 creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/zh_TW creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/zh_TW/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/zh_TW/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/zh_TW/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/zh_CN creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/zh_CN/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/zh_CN/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/zh_CN/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/vi creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/vi/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/vi/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/vi/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/uk creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/uk/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/uk/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/uk/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/tr creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/tr/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/tr/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/tr/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ta creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ta/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/ta/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ta/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sv creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sv/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/sv/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sv/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sq creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sq/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/sq/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sq/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sl creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sl/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/sl/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sl/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sk creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sk/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/sk/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/sk/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ru creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ru/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/ru/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ru/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ro creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ro/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/ro/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ro/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/pt_BR creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/pt_BR/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/pt_BR/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/pt_BR/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/pt creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/pt/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/pt/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/pt/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/pl creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/pl/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/pl/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/pl/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/nl creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/nl/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/nl/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/nl/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ne creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ne/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/ne/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ne/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/nb creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/nb/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/nb/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/nb/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ms creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ms/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/ms/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ms/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/lv creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/lv/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/lv/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/lv/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/lt creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/lt/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/lt/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/lt/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ko_KR creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ko_KR/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/ko_KR/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ko_KR/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ja creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ja/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/ja/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ja/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/it creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/it/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/it/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/it/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/id creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/id/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/id/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/id/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/hu creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/hu/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/hu/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/hu/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/hr creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/hr/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/hr/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/hr/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/hi creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/hi/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/hi/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/hi/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/gl_ES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/gl_ES/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/gl_ES/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/gl_ES/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/fr creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/fr/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/fr/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/fr/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/fi creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/fi/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/fi/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/fi/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/fa_IR creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/fa_IR/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/fa_IR/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/fa_IR/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/eu creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/eu/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/eu/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/eu/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/es creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/es/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/es/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/es/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/el creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/el/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/el/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/el/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/de creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/de/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/de/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/de/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/da creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/da/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/da/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/da/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/cs creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/cs/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/cs/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/cs/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ca@valencia creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ca@valencia/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/ca@valencia/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ca@valencia/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ca creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ca/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/ca/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ca/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ar creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ar/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/ar/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/ar/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/an creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/an/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/an/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/an/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/af creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/af/LC_MESSAGES copying build/lib.linux-aarch64-3.8/wx/locale/af/LC_MESSAGES/wxstd.mo -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale/af/LC_MESSAGES creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/include creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/include/wxPython copying build/lib.linux-aarch64-3.8/wx/include/wxPython/wxpy_api.h -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/include/wxPython copying build/lib.linux-aarch64-3.8/wx/include/wxPython/sip.h -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/include/wxPython copying build/lib.linux-aarch64-3.8/wx/xrc.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/xml.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/webkit.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/stc.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/richtext.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/ribbon.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/propgrid.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/msw.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/media.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/html2.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/html.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/grid.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/glcanvas.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/dataview.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/core.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/aui.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/adv.pyi -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_xrc.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_xml.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_stc.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_richtext.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_ribbon.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_propgrid.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_media.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_html2.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_html.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_grid.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_glcanvas.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_dataview.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_core.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_aui.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/_adv.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/myole4ax.tlb -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/myole4ax.idl -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/data copying build/lib.linux-aarch64-3.8/wx/lib/agw/data/default_help_text.html -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/data copying build/lib.linux-aarch64-3.8/wx/lib/agw/data/ShortcutEditor_4_thumb.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/data copying build/lib.linux-aarch64-3.8/wx/lib/agw/data/ShortcutEditor_4.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/data copying build/lib.linux-aarch64-3.8/wx/lib/agw/data/ShortcutEditor_3_thumb.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/data copying build/lib.linux-aarch64-3.8/wx/lib/agw/data/ShortcutEditor_3.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/data copying build/lib.linux-aarch64-3.8/wx/lib/agw/data/ShortcutEditor_2_thumb.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/data copying build/lib.linux-aarch64-3.8/wx/lib/agw/data/ShortcutEditor_2.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/data copying build/lib.linux-aarch64-3.8/wx/lib/agw/data/ShortcutEditor_1_thumb.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/data copying build/lib.linux-aarch64-3.8/wx/lib/agw/data/ShortcutEditor_1.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/data creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui copying build/lib.linux-aarch64-3.8/wx/lib/agw/aui/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui copying build/lib.linux-aarch64-3.8/wx/lib/agw/aui/aui_constants.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui copying build/lib.linux-aarch64-3.8/wx/lib/agw/aui/aui_switcherdialog.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui copying build/lib.linux-aarch64-3.8/wx/lib/agw/aui/aui_utilities.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui copying build/lib.linux-aarch64-3.8/wx/lib/agw/aui/auibar.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui copying build/lib.linux-aarch64-3.8/wx/lib/agw/aui/auibook.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui copying build/lib.linux-aarch64-3.8/wx/lib/agw/aui/dockart.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui copying build/lib.linux-aarch64-3.8/wx/lib/agw/aui/framemanager.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui copying build/lib.linux-aarch64-3.8/wx/lib/agw/aui/tabart.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui copying build/lib.linux-aarch64-3.8/wx/lib/agw/aui/tabmdi.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/persist copying build/lib.linux-aarch64-3.8/wx/lib/agw/persist/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/persist copying build/lib.linux-aarch64-3.8/wx/lib/agw/persist/persist_constants.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/persist copying build/lib.linux-aarch64-3.8/wx/lib/agw/persist/persist_handlers.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/persist copying build/lib.linux-aarch64-3.8/wx/lib/agw/persist/persistencemanager.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/persist creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/art.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/art_aui.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/art_default.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/art_internal.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/art_msw.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/art_osx.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/bar.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/buttonbar.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/control.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/gallery.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/page.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/panel.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/ribbon/toolbar.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon copying build/lib.linux-aarch64-3.8/wx/lib/agw/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/advancedsplash.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/aquabutton.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/artmanager.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/balloontip.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/buttonpanel.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/cubecolourdialog.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/customtreectrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/flatmenu.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/flatnotebook.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/floatspin.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/fmcustomizedlg.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/fmresources.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/foldpanelbar.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/fourwaysplitter.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/genericmessagedialog.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/gradientbutton.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/hyperlink.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/hypertreelist.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/infobar.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/knobctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/labelbook.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/multidirdialog.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/peakmeter.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/piectrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/pybusyinfo.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/pycollapsiblepane.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/pygauge.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/pyprogress.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/rulerctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/scrolledthumbnail.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/shapedbutton.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/shortcuteditor.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/speedmeter.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/supertooltip.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/thumbnailctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/toasterbox.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/ultimatelistctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/xlsgrid.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw copying build/lib.linux-aarch64-3.8/wx/lib/agw/zoombar.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/lib_setup copying build/lib.linux-aarch64-3.8/wx/lib/analogclock/lib_setup/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/lib_setup copying build/lib.linux-aarch64-3.8/wx/lib/analogclock/lib_setup/buttontreectrlpanel.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/lib_setup copying build/lib.linux-aarch64-3.8/wx/lib/analogclock/lib_setup/fontselect.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/lib_setup copying build/lib.linux-aarch64-3.8/wx/lib/analogclock/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock copying build/lib.linux-aarch64-3.8/wx/lib/analogclock/analogclock.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock copying build/lib.linux-aarch64-3.8/wx/lib/analogclock/helpers.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock copying build/lib.linux-aarch64-3.8/wx/lib/analogclock/setup.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock copying build/lib.linux-aarch64-3.8/wx/lib/analogclock/styles.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/art copying build/lib.linux-aarch64-3.8/wx/lib/art/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/art copying build/lib.linux-aarch64-3.8/wx/lib/art/flagart.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/art copying build/lib.linux-aarch64-3.8/wx/lib/art/img2pyartprov.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/art creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser copying build/lib.linux-aarch64-3.8/wx/lib/colourchooser/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser copying build/lib.linux-aarch64-3.8/wx/lib/colourchooser/canvas.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser copying build/lib.linux-aarch64-3.8/wx/lib/colourchooser/intl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser copying build/lib.linux-aarch64-3.8/wx/lib/colourchooser/pycolourbox.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser copying build/lib.linux-aarch64-3.8/wx/lib/colourchooser/pycolourchooser.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser copying build/lib.linux-aarch64-3.8/wx/lib/colourchooser/pycolourslider.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser copying build/lib.linux-aarch64-3.8/wx/lib/colourchooser/pypalette.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/editor copying build/lib.linux-aarch64-3.8/wx/lib/editor/README.txt -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/editor copying build/lib.linux-aarch64-3.8/wx/lib/editor/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/editor copying build/lib.linux-aarch64-3.8/wx/lib/editor/editor.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/editor copying build/lib.linux-aarch64-3.8/wx/lib/editor/images.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/editor copying build/lib.linux-aarch64-3.8/wx/lib/editor/selection.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/editor creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/Utilities copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/Utilities/BBox.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/Utilities copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/Utilities/Colors.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/Utilities copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/Utilities/GUI.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/Utilities copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/Utilities/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/Utilities copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/FCEvents.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/FCObjects.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/FloatCanvas.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/GUIMode.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/NavCanvas.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/Resources.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/ScreenShot.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas copying build/lib.linux-aarch64-3.8/wx/lib/floatcanvas/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/gizmos copying build/lib.linux-aarch64-3.8/wx/lib/gizmos/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/gizmos copying build/lib.linux-aarch64-3.8/wx/lib/gizmos/dynamicsash.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/gizmos copying build/lib.linux-aarch64-3.8/wx/lib/gizmos/ledctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/gizmos copying build/lib.linux-aarch64-3.8/wx/lib/gizmos/treelistctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/gizmos creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked copying build/lib.linux-aarch64-3.8/wx/lib/masked/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked copying build/lib.linux-aarch64-3.8/wx/lib/masked/combobox.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked copying build/lib.linux-aarch64-3.8/wx/lib/masked/ctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked copying build/lib.linux-aarch64-3.8/wx/lib/masked/ipaddrctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked copying build/lib.linux-aarch64-3.8/wx/lib/masked/maskededit.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked copying build/lib.linux-aarch64-3.8/wx/lib/masked/numctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked copying build/lib.linux-aarch64-3.8/wx/lib/masked/textctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked copying build/lib.linux-aarch64-3.8/wx/lib/masked/timectrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins copying build/lib.linux-aarch64-3.8/wx/lib/mixins/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins copying build/lib.linux-aarch64-3.8/wx/lib/mixins/grid.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins copying build/lib.linux-aarch64-3.8/wx/lib/mixins/gridlabelrenderer.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins copying build/lib.linux-aarch64-3.8/wx/lib/mixins/imagelist.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins copying build/lib.linux-aarch64-3.8/wx/lib/mixins/inspection.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins copying build/lib.linux-aarch64-3.8/wx/lib/mixins/listctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins copying build/lib.linux-aarch64-3.8/wx/lib/mixins/rubberband.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins copying build/lib.linux-aarch64-3.8/wx/lib/mixins/treemixin.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl copying build/lib.linux-aarch64-3.8/wx/lib/ogl/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl copying build/lib.linux-aarch64-3.8/wx/lib/ogl/basic.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl copying build/lib.linux-aarch64-3.8/wx/lib/ogl/bmpshape.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl copying build/lib.linux-aarch64-3.8/wx/lib/ogl/canvas.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl copying build/lib.linux-aarch64-3.8/wx/lib/ogl/composit.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl copying build/lib.linux-aarch64-3.8/wx/lib/ogl/diagram.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl copying build/lib.linux-aarch64-3.8/wx/lib/ogl/divided.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl copying build/lib.linux-aarch64-3.8/wx/lib/ogl/drawn.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl copying build/lib.linux-aarch64-3.8/wx/lib/ogl/lines.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl copying build/lib.linux-aarch64-3.8/wx/lib/ogl/oglmisc.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/encode_bitmaps.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/ZoomOut.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/ZoomIn.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/Save.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/ReadMe.txt -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/Printer.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/PlayerPrev.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/PlayerNext.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/PlayerLast.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/PlayerFirst.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/DirectionV.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/DirectionH.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/ArrowRight.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/bitmaps/ArrowLeft.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/buttonpanel.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/images.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer copying build/lib.linux-aarch64-3.8/wx/lib/pdfviewer/viewer.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot copying build/lib.linux-aarch64-3.8/wx/lib/plot/README.md -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot copying build/lib.linux-aarch64-3.8/wx/lib/plot/CHANGELOG.md -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/examples copying build/lib.linux-aarch64-3.8/wx/lib/plot/examples/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/examples copying build/lib.linux-aarch64-3.8/wx/lib/plot/examples/demo.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/examples copying build/lib.linux-aarch64-3.8/wx/lib/plot/examples/simple_example.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/examples copying build/lib.linux-aarch64-3.8/wx/lib/plot/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot copying build/lib.linux-aarch64-3.8/wx/lib/plot/__main__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot copying build/lib.linux-aarch64-3.8/wx/lib/plot/plotcanvas.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot copying build/lib.linux-aarch64-3.8/wx/lib/plot/polyobjects.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot copying build/lib.linux-aarch64-3.8/wx/lib/plot/utils.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/RELEASE_NOTES.txt -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/README_WxPython.txt -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/LICENSE_BSD_Simple.txt -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1/listenerimpl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1/publisher.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1/publishermixin.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1/topicargspecimpl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/arg1/topicmgrimpl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1 creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs/datamsg.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs/listenerimpl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs/publisher.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs/publishermixin.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs/topicargspecimpl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/kwargs/topicmgrimpl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/callables.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/imp2.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/itopicdefnprovider.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/listener.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/listenerbase.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/notificationmgr.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/publisherbase.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/topicargspec.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/topicdefnprovider.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/topicexc.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/topicmgr.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/topicobj.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/topictreetraverser.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/topicutils.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/treeconfig.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/validatedefnargs.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/core/weakmethod.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils/exchandling.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils/misc.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils/notification.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils/topictreeprinter.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/utils/xmltopicdefnprovider.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/policies.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/pub.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/py2and3.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/setuparg1.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub copying build/lib.linux-aarch64-3.8/wx/lib/pubsub/setupkwargs.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/wxcairo copying build/lib.linux-aarch64-3.8/wx/lib/wxcairo/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/wxcairo copying build/lib.linux-aarch64-3.8/wx/lib/wxcairo/wx_cairocffi.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/wxcairo copying build/lib.linux-aarch64-3.8/wx/lib/wxcairo/wx_pycairo.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/wxcairo copying build/lib.linux-aarch64-3.8/wx/lib/CDate.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/ClickableHtmlWindow.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/activex.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/activexwrapper.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/anchors.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/busy.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/buttons.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/calendar.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/checkbox.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/colourdb.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/colourselect.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/colourutils.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/combotreebox.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/delayedresult.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/dialogs.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/docview.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/dragscroller.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/embeddedimage.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/eventStack.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/eventwatcher.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/evtmgr.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/expando.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/fancytext.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/filebrowsebutton.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/flashwin.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/flashwin_old.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/foldmenu.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/gestures.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/graphics.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/gridmovers.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/iewin.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/iewin_old.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/imagebrowser.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/imageutils.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/infoframe.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/inspection.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/intctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/itemspicker.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/langlistctrl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/layoutf.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/msgpanel.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/multisash.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/newevent.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/nvdlg.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/pdfwin.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/pdfwin_old.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/platebtn.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/popupctl.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/printout.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/progressindicator.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/pydocview.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/rcsizer.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/resizewidget.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/scrolledpanel.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/sheet.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/sized_controls.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/softwareupdate.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/splitter.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/statbmp.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/stattext.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/throbber.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/ticker.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/ticker_xrc.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/utils.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/wordwrap.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib copying build/lib.linux-aarch64-3.8/wx/lib/wxpTag.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/README.txt -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PySlices_32.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PySlices_16.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PySlices.ico -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PyCrust_32.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PyCrust_16.png -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PyCrust.ico -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/Py.ico -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/CHANGES.txt -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PyAlaCarte.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PyAlaMode.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PyAlaModeTest.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PyCrust.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PyFilling.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PyShell.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PySlices.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PySlicesShell.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/PyWrap.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/buffer.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/crust.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/crustslices.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/dispatcher.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/document.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/editor.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/editwindow.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/filling.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/frame.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/images.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/interpreter.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/introspect.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/magic.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/parse.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/path.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/pseudo.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/shell.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/sliceshell.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py copying build/lib.linux-aarch64-3.8/wx/py/version.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/svg copying build/lib.linux-aarch64-3.8/wx/svg/_nanosvg.cpython-38-aarch64-linux-gnu.so -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/svg copying build/lib.linux-aarch64-3.8/wx/svg/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/svg creating /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/tools/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/tools/dbg.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/tools/genaxmodule.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/tools/helpviewer.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/tools/img2img.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/tools/img2png.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/tools/img2py.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/tools/img2xpm.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/tools/pywxrc.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/tools/wxget.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/tools/wxget_docs_demo.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools copying build/lib.linux-aarch64-3.8/wx/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/__version__.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/adv.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/aui.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/core.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/dataview.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/gizmos.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/glcanvas.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/grid.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/html.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/html2.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/media.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/msw.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/propgrid.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/ribbon.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/richtext.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/stc.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/webkit.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/xml.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx copying build/lib.linux-aarch64-3.8/wx/xrc.py -> /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui/aui_constants.py to aui_constants.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui/aui_switcherdialog.py to aui_switcherdialog.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui/aui_utilities.py to aui_utilities.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui/auibar.py to auibar.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui/auibook.py to auibook.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui/dockart.py to dockart.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui/framemanager.py to framemanager.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui/tabart.py to tabart.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aui/tabmdi.py to tabmdi.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/persist/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/persist/persist_constants.py to persist_constants.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/persist/persist_handlers.py to persist_handlers.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/persist/persistencemanager.py to persistencemanager.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/art.py to art.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/art_aui.py to art_aui.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/art_default.py to art_default.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/art_internal.py to art_internal.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/art_msw.py to art_msw.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/art_osx.py to art_osx.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/bar.py to bar.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/buttonbar.py to buttonbar.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/control.py to control.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/gallery.py to gallery.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/page.py to page.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/panel.py to panel.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ribbon/toolbar.py to toolbar.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/advancedsplash.py to advancedsplash.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/aquabutton.py to aquabutton.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/artmanager.py to artmanager.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/balloontip.py to balloontip.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/buttonpanel.py to buttonpanel.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/cubecolourdialog.py to cubecolourdialog.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/customtreectrl.py to customtreectrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/flatmenu.py to flatmenu.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/flatnotebook.py to flatnotebook.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/floatspin.py to floatspin.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/fmcustomizedlg.py to fmcustomizedlg.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/fmresources.py to fmresources.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/foldpanelbar.py to foldpanelbar.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/fourwaysplitter.py to fourwaysplitter.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/genericmessagedialog.py to genericmessagedialog.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/gradientbutton.py to gradientbutton.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/hyperlink.py to hyperlink.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/hypertreelist.py to hypertreelist.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/infobar.py to infobar.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/knobctrl.py to knobctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/labelbook.py to labelbook.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/multidirdialog.py to multidirdialog.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/peakmeter.py to peakmeter.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/piectrl.py to piectrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/pybusyinfo.py to pybusyinfo.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/pycollapsiblepane.py to pycollapsiblepane.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/pygauge.py to pygauge.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/pyprogress.py to pyprogress.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/rulerctrl.py to rulerctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/scrolledthumbnail.py to scrolledthumbnail.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/shapedbutton.py to shapedbutton.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/shortcuteditor.py to shortcuteditor.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/speedmeter.py to speedmeter.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/supertooltip.py to supertooltip.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/thumbnailctrl.py to thumbnailctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/toasterbox.py to toasterbox.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/ultimatelistctrl.py to ultimatelistctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/xlsgrid.py to xlsgrid.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/agw/zoombar.py to zoombar.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/lib_setup/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/lib_setup/buttontreectrlpanel.py to buttontreectrlpanel.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/lib_setup/fontselect.py to fontselect.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/analogclock.py to analogclock.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/helpers.py to helpers.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/setup.py to setup.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/analogclock/styles.py to styles.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/art/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/art/flagart.py to flagart.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/art/img2pyartprov.py to img2pyartprov.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser/canvas.py to canvas.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser/intl.py to intl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser/pycolourbox.py to pycolourbox.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser/pycolourchooser.py to pycolourchooser.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser/pycolourslider.py to pycolourslider.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourchooser/pypalette.py to pypalette.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/editor/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/editor/editor.py to editor.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/editor/images.py to images.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/editor/selection.py to selection.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/Utilities/BBox.py to BBox.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/Utilities/Colors.py to Colors.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/Utilities/GUI.py to GUI.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/Utilities/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/FCEvents.py to FCEvents.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/FCObjects.py to FCObjects.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/FloatCanvas.py to FloatCanvas.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/GUIMode.py to GUIMode.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/NavCanvas.py to NavCanvas.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/Resources.py to Resources.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/ScreenShot.py to ScreenShot.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/floatcanvas/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/gizmos/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/gizmos/dynamicsash.py to dynamicsash.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/gizmos/ledctrl.py to ledctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/gizmos/treelistctrl.py to treelistctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked/combobox.py to combobox.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked/ctrl.py to ctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked/ipaddrctrl.py to ipaddrctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked/maskededit.py to maskededit.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked/numctrl.py to numctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked/textctrl.py to textctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/masked/timectrl.py to timectrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins/grid.py to grid.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins/gridlabelrenderer.py to gridlabelrenderer.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins/imagelist.py to imagelist.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins/inspection.py to inspection.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins/listctrl.py to listctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins/rubberband.py to rubberband.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/mixins/treemixin.py to treemixin.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl/basic.py to basic.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl/bmpshape.py to bmpshape.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl/canvas.py to canvas.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl/composit.py to composit.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl/diagram.py to diagram.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl/divided.py to divided.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl/drawn.py to drawn.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl/lines.py to lines.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ogl/oglmisc.py to oglmisc.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/bitmaps/encode_bitmaps.py to encode_bitmaps.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/buttonpanel.py to buttonpanel.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/images.py to images.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfviewer/viewer.py to viewer.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/examples/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/examples/demo.py to demo.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/examples/simple_example.py to simple_example.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/__main__.py to __main__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/plotcanvas.py to plotcanvas.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/polyobjects.py to polyobjects.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/plot/utils.py to utils.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1/listenerimpl.py to listenerimpl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1/publisher.py to publisher.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1/publishermixin.py to publishermixin.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1/topicargspecimpl.py to topicargspecimpl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/arg1/topicmgrimpl.py to topicmgrimpl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs/datamsg.py to datamsg.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs/listenerimpl.py to listenerimpl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs/publisher.py to publisher.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs/publishermixin.py to publishermixin.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs/topicargspecimpl.py to topicargspecimpl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/kwargs/topicmgrimpl.py to topicmgrimpl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/callables.py to callables.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/imp2.py to imp2.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/itopicdefnprovider.py to itopicdefnprovider.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/listener.py to listener.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/listenerbase.py to listenerbase.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/notificationmgr.py to notificationmgr.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/publisherbase.py to publisherbase.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/topicargspec.py to topicargspec.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/topicdefnprovider.py to topicdefnprovider.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/topicexc.py to topicexc.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/topicmgr.py to topicmgr.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/topicobj.py to topicobj.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/topictreetraverser.py to topictreetraverser.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/topicutils.py to topicutils.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/treeconfig.py to treeconfig.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/validatedefnargs.py to validatedefnargs.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/core/weakmethod.py to weakmethod.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils/exchandling.py to exchandling.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils/misc.py to misc.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils/notification.py to notification.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils/topictreeprinter.py to topictreeprinter.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/utils/xmltopicdefnprovider.py to xmltopicdefnprovider.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/policies.py to policies.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/pub.py to pub.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/py2and3.py to py2and3.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/setuparg1.py to setuparg1.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pubsub/setupkwargs.py to setupkwargs.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/wxcairo/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/wxcairo/wx_cairocffi.py to wx_cairocffi.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/wxcairo/wx_pycairo.py to wx_pycairo.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/CDate.py to CDate.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ClickableHtmlWindow.py to ClickableHtmlWindow.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/activex.py to activex.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/activexwrapper.py to activexwrapper.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/anchors.py to anchors.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/busy.py to busy.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/buttons.py to buttons.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/calendar.py to calendar.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/checkbox.py to checkbox.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourdb.py to colourdb.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourselect.py to colourselect.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/colourutils.py to colourutils.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/combotreebox.py to combotreebox.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/delayedresult.py to delayedresult.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/dialogs.py to dialogs.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/docview.py to docview.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/dragscroller.py to dragscroller.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/embeddedimage.py to embeddedimage.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/eventStack.py to eventStack.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/eventwatcher.py to eventwatcher.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/evtmgr.py to evtmgr.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/expando.py to expando.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/fancytext.py to fancytext.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/filebrowsebutton.py to filebrowsebutton.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/flashwin.py to flashwin.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/flashwin_old.py to flashwin_old.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/foldmenu.py to foldmenu.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/gestures.py to gestures.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/graphics.py to graphics.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/gridmovers.py to gridmovers.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/iewin.py to iewin.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/iewin_old.py to iewin_old.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/imagebrowser.py to imagebrowser.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/imageutils.py to imageutils.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/infoframe.py to infoframe.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/inspection.py to inspection.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/intctrl.py to intctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/itemspicker.py to itemspicker.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/langlistctrl.py to langlistctrl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/layoutf.py to layoutf.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/msgpanel.py to msgpanel.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/multisash.py to multisash.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/newevent.py to newevent.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/nvdlg.py to nvdlg.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfwin.py to pdfwin.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pdfwin_old.py to pdfwin_old.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/platebtn.py to platebtn.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/popupctl.py to popupctl.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/printout.py to printout.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/progressindicator.py to progressindicator.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/pydocview.py to pydocview.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/rcsizer.py to rcsizer.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/resizewidget.py to resizewidget.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/scrolledpanel.py to scrolledpanel.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/sheet.py to sheet.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/sized_controls.py to sized_controls.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/softwareupdate.py to softwareupdate.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/splitter.py to splitter.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/statbmp.py to statbmp.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/stattext.py to stattext.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/throbber.py to throbber.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ticker.py to ticker.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/ticker_xrc.py to ticker_xrc.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/utils.py to utils.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/wordwrap.py to wordwrap.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/lib/wxpTag.py to wxpTag.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/PyAlaCarte.py to PyAlaCarte.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/PyAlaMode.py to PyAlaMode.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/PyAlaModeTest.py to PyAlaModeTest.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/PyCrust.py to PyCrust.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/PyFilling.py to PyFilling.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/PyShell.py to PyShell.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/PySlices.py to PySlices.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/PySlicesShell.py to PySlicesShell.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/PyWrap.py to PyWrap.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/buffer.py to buffer.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/crust.py to crust.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/crustslices.py to crustslices.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/dispatcher.py to dispatcher.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/document.py to document.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/editor.py to editor.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/editwindow.py to editwindow.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/filling.py to filling.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/frame.py to frame.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/images.py to images.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/interpreter.py to interpreter.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/introspect.py to introspect.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/magic.py to magic.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/parse.py to parse.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/path.py to path.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/pseudo.py to pseudo.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/shell.py to shell.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/sliceshell.py to sliceshell.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/py/version.py to version.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/svg/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools/dbg.py to dbg.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools/genaxmodule.py to genaxmodule.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools/helpviewer.py to helpviewer.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools/img2img.py to img2img.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools/img2png.py to img2png.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools/img2py.py to img2py.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools/img2xpm.py to img2xpm.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools/pywxrc.py to pywxrc.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools/wxget.py to wxget.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/tools/wxget_docs_demo.py to wxget_docs_demo.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/__version__.py to __version__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/adv.py to adv.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/aui.py to aui.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/core.py to core.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/dataview.py to dataview.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/gizmos.py to gizmos.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/glcanvas.py to glcanvas.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/grid.py to grid.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/html.py to html.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/html2.py to html2.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/media.py to media.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/msw.py to msw.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/propgrid.py to propgrid.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/ribbon.py to ribbon.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/richtext.py to richtext.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/stc.py to stc.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/webkit.py to webkit.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/xml.py to xml.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/xrc.py to xrc.cpython-38.pyc running install_egg_info Copying wxPython.egg-info to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wxPython-4.1.1-py3.8.egg-info running install_scripts Installing helpviewer script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Installing img2png script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Installing img2py script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Installing img2xpm script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Installing pycrust script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Installing pyshell script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Installing pyslices script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Installing pyslicesshell script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Installing pywxrc script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Installing wxdemo script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Installing wxdocs script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Installing wxget script to /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin Will build using: "/usr/bin/python3" 3.8.7 (default, Jan 24 2021, 11:21:03) [GCC 10.2.1 20210123] Python's architecture is 64bit cfg.VERSION: 4.1.1 Running command: install_py "/usr/bin/python3" setup.py install --skip-build --root=/home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64 Finished command: install_py (0m5.505s) Done! + rm -f /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/helpviewer /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/img2png /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/img2py /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/img2xpm /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/pycrust /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/pyshell /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/pyslices /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/pyslicesshell /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/pywxrc /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/wxdemo /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/wxdocs /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/bin/wxget + rm -rf /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/locale + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 4.1.1-1.mga8 --unique-debug-suffix -4.1.1-1.mga8.aarch64 --unique-debug-src-base python-wxpython4-4.1.1-1.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/wxPython-4.1.1 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_aui.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_core.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_glcanvas.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_aui.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_core.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_glcanvas.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_html.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_adv.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_html.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_adv.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_html2.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_dataview.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_grid.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_dataview.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_grid.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_html2.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_media.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_media.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_propgrid.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_propgrid.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_ribbon.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_ribbon.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_richtext.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_richtext.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_stc.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_stc.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_xml.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_xml.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_xrc.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/_xrc.cpython-38-aarch64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/svg/_nanosvg.cpython-38-aarch64-linux-gnu.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8/site-packages/wx/svg/_nanosvg.cpython-38-aarch64-linux-gnu.so original debug info size: 282812kB, size after compression: 122192kB /usr/lib/rpm/sepdebugcrcfix: Updated 16 CRC32s, 0 CRC32s did match. 83470 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_richtext.cpython-38-aarch64-linux-gnu.so: libm.so.6 libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_propgrid.cpython-38-aarch64-linux-gnu.so: libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_xrc.cpython-38-aarch64-linux-gnu.so: libwx_baseu_net-3.1.so.5 libm.so.6 libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_ribbon.cpython-38-aarch64-linux-gnu.so: libm.so.6 libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_stc.cpython-38-aarch64-linux-gnu.so: libm.so.6 libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_xml.cpython-38-aarch64-linux-gnu.so: libm.so.6 libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_media.cpython-38-aarch64-linux-gnu.so: libm.so.6 libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_adv.cpython-38-aarch64-linux-gnu.so: libm.so.6 libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_grid.cpython-38-aarch64-linux-gnu.so: libm.so.6 libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_html.cpython-38-aarch64-linux-gnu.so: libm.so.6 libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_dataview.cpython-38-aarch64-linux-gnu.so: libm.so.6 libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_aui.cpython-38-aarch64-linux-gnu.so: libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_glcanvas.cpython-38-aarch64-linux-gnu.so: libm.so.6 libpthread.so.0 Warning: unused libraries in /usr/lib64/python3.8/site-packages/wx/_html2.cpython-38-aarch64-linux-gnu.so: libm.so.6 libpthread.so.0 + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 Bytecompiling .py files below /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib/debug/usr/lib64/python3.8 using /usr/bin/python3.8 Bytecompiling .py files below /home/iurt/rpmbuild/BUILDROOT/python-wxpython4-4.1.1-1.mga8.aarch64/usr/lib64/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.bjUSue + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd wxPython-4.1.1 + '[' 1 -eq 1 ']' + SKIP_TESTS=''\''not (display_Tests or glcanvas_Tests or mousemanager_Tests or numdlg_Tests or uiaction_MouseTests or uiaction_KeyboardTests or unichar_Tests or valtext_Tests or test_frameRestore or test_grid_pi)'\''' + ln -sf /usr/lib64/python3.8/site-packages/wx/siplib.so wx/siplib.so + xvfb-run -a /usr/bin/python3 build.py test --pytest_timeout=60 '--extra_pytest=-k '\''not (display_Tests or glcanvas_Tests or mousemanager_Tests or numdlg_Tests or uiaction_MouseTests or uiaction_KeyboardTests or unichar_Tests or valtext_Tests or test_frameRestore or test_grid_pi)'\''' --verbose ============================= test session starts ============================== platform linux -- Python 3.8.7, pytest-6.1.2, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /home/iurt/rpmbuild/BUILD/wxPython-4.1.1 plugins: timeout-1.4.2, xdist-2.1.0, forked-1.3.0 timeout: 60.0s timeout method: signal timeout func_only: False collecting ... collected 1750 items / 21 deselected / 1729 selected unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgGeneric PASSED [ 0%] unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgNative PASSED [ 0%] unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgProperties PASSED [ 0%] unittests/test_accel.py::accel_Tests::test_accelEntry1 PASSED [ 0%] unittests/test_accel.py::accel_Tests::test_accelEntry2 PASSED [ 0%] unittests/test_accel.py::accel_Tests::test_accelFlags PASSED [ 0%] unittests/test_accel.py::accel_Tests::test_accelNullObj PASSED [ 0%] unittests/test_accel.py::accel_Tests::test_accelTable1 PASSED [ 0%] unittests/test_accel.py::accel_Tests::test_accelTable2 PASSED [ 0%] unittests/test_access.py::access_Tests::test_access1 XFAIL [ 0%] unittests/test_activityindicator.py::activityindicator_Tests::test_activityindicator1 PASSED [ 0%] unittests/test_activityindicator.py::activityindicator_Tests::test_activityindicator2 PASSED [ 0%] unittests/test_affinematrix2d.py::affinematrix2d_Tests::test_affinematrix2d1 PASSED [ 0%] unittests/test_animate.py::animate_Tests::test_animate1 PASSED [ 0%] unittests/test_animate.py::animate_Tests::test_animate2 PASSED [ 0%] unittests/test_app.py::App::test_App PASSED [ 0%] unittests/test_app.py::App::test_App_OnInit PASSED [ 0%] unittests/test_app.py::App::test_CallAfter PASSED [ 1%] unittests/test_app.py::App::test_PySimpleApp PASSED [ 1%] unittests/test_app.py::App::test_version PASSED [ 1%] unittests/test_apptrait.py::AppTraitsTests::test_AppTraits PASSED [ 1%] unittests/test_arrayint.py::ArrayInt::test_ArrayIntTypemapErrors PASSED [ 1%] unittests/test_arrayint.py::ArrayInt::test_ArrayIntTypemaps PASSED [ 1%] unittests/test_arraystring.py::ArrayString::test_ArrayStringTypemapErrors PASSED [ 1%] unittests/test_arraystring.py::ArrayString::test_ArrayStringTypemaps PASSED [ 1%] unittests/test_artprov.py::artprov_Tests::test_artprovConstants PASSED [ 1%] unittests/test_artprov.py::artprov_Tests::test_artprovGetBitmap PASSED [ 1%] unittests/test_asserts.py::asserts_Tests::test_asserts1 PASSED [ 1%] unittests/test_asserts.py::asserts_Tests::test_asserts2 PASSED [ 1%] unittests/test_asserts.py::asserts_Tests::test_asserts3 PASSED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar01 PASSED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar02 PASSED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar03 PASSED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar04 PASSED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar05 PASSED [ 2%] unittests/test_auibar.py::auibar_Tests::test_auibar06 PASSED [ 2%] unittests/test_auibar.py::auibar_Tests::test_auibar07 PASSED [ 2%] unittests/test_auibar.py::auibar_Tests::test_auibar08 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook01 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook02 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook03 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook04 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook05 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook06 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook07 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook08 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook09 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook10 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook11 PASSED [ 2%] unittests/test_auidockart.py::auidockart_Tests::test_auidockart01 PASSED [ 2%] unittests/test_auidockart.py::auidockart_Tests::test_auidockart02 PASSED [ 2%] unittests/test_auidockart.py::auidockart_Tests::test_auidockart03 PASSED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager01 PASSED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager02 PASSED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager03 PASSED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager04 PASSED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager05 PASSED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager06 PASSED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager07 PASSED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager08 PASSED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager09 PASSED [ 3%] unittests/test_auitabmdi.py::auitabmdi_Tests::test_auitabmdi01 PASSED [ 3%] unittests/test_axbase.py::axbase_Tests::test_axbase1 SKIPPED [ 3%] unittests/test_axbase.py::axbase_Tests::test_axbase2 SKIPPED [ 3%] unittests/test_axbase.py::axbase_Tests::test_axbase3 SKIPPED [ 3%] unittests/test_bannerwindow.py::bannerwindow_Tests::test_bannerwindow1 PASSED [ 3%] unittests/test_bannerwindow.py::bannerwindow_Tests::test_bannerwindow2 PASSED [ 3%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor1 PASSED [ 3%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor2 PASSED [ 3%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor3 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor4 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor5 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor6 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapMask PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapMaskWithPalette SKIPPED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapNullBitmap PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapSetMaskColour PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_Bitmap__nonzero__ PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_EmptyBitmapFactory PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory1 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory2 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory3 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory4 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory5 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyFromBuffer1 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyFromBuffer2 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyFromBuffer3 PASSED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyToBuffer1 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyToBuffer2 PASSED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyToBuffer3 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapEmptyFactory1 PASSED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapEmptyFactory2 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapFormatConstants PASSED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapHandle FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapSetSize PASSED [ 5%] unittests/test_bmpbuttn.py::BitmapButtonTests::test_BitmapButtonCtor PASSED [ 5%] unittests/test_bmpbuttn.py::BitmapButtonTests::test_BitmapButtonDefaultCtor FAILED [ 5%] unittests/test_bmpcbox.py::bmpcbox_Tests::test_bmpcbox1 PASSED [ 5%] unittests/test_bmpcbox.py::bmpcbox_Tests::test_bmpcbox2 PASSED [ 5%] unittests/test_bookctrl.py::panel_Tests::test_bookctrl1 FAILED [ 5%] unittests/test_bookctrl.py::panel_Tests::test_bookctrl2 PASSED [ 5%] unittests/test_brush.py::BrushTests::test_BrushCtors PASSED [ 5%] unittests/test_brush.py::BrushTests::test_BrushOperators PASSED [ 5%] unittests/test_brush.py::BrushTests::test_StockBrushesExist FAILED [ 6%] unittests/test_brush.py::BrushTests::test_StockBrushesInitialized PASSED [ 6%] unittests/test_brush.py::BrushTests::test_brushOldStyleNames PASSED [ 6%] unittests/test_brush.py::BrushTests::test_nonzero PASSED [ 6%] unittests/test_busyinfo.py::busyinfo_Tests::test_busyinfo1 PASSED [ 6%] unittests/test_busyinfo.py::busyinfo_Tests::test_busyinfo2 PASSED [ 6%] unittests/test_button.py::ButtonTests::test_ButtonCtors FAILED [ 6%] unittests/test_button.py::ButtonTests::test_ButtonDefaultCtor PASSED [ 6%] unittests/test_button.py::ButtonTests::test_ButtonProperties FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl1 PASSED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl2 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl3 PASSED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl4 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calevt1 PASSED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calevt2 PASSED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_genericcalctrl2 PASSED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_genericcalctrl3 PASSED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_genericcalctrl4 PASSED [ 6%] unittests/test_caret.py::caret_Tests::test_caret1 PASSED [ 7%] unittests/test_caret.py::caret_Tests::test_caret2 PASSED [ 7%] unittests/test_checkbox.py::checkbox_Tests::test_checkboxCtors PASSED [ 7%] unittests/test_checkbox.py::checkbox_Tests::test_checkboxDefaultCtor PASSED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_CheckBoxCtors PASSED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_CheckListBoxDefaultCtor PASSED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_pyMethods1 PASSED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_pyMethods2 PASSED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_pyProperties PASSED [ 7%] unittests/test_choicdlg.py::choicdlg_Tests::test_choicdlgMulti PASSED [ 7%] unittests/test_choicdlg.py::choicdlg_Tests::test_choicdlgSingle PASSED [ 7%] unittests/test_choicdlg.py::choicdlg_Tests::test_choicdlgSingleFunc PASSED [ 7%] unittests/test_choice.py::ChoiceTests::test_ChoiceCtors PASSED [ 7%] unittests/test_choice.py::ChoiceTests::test_ChoiceDefaultCtor PASSED [ 7%] unittests/test_choice.py::ChoiceTests::test_ChoiceProperties FAILED [ 7%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk1 PASSED [ 7%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk2 PASSED [ 7%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk3 PASSED [ 8%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk4 PASSED [ 8%] unittests/test_clipbrd.py::clipbrd_Tests::test_clipbrd0 PASSED [ 8%] unittests/test_clipbrd.py::clipbrd_Tests::test_clipbrd1 PASSED [ 8%] unittests/test_clipbrd.py::clipbrd_Tests::test_clpbrd2 FAILED [ 8%] unittests/test_clntdatactnr.py::clntdatactnr_Tests::test_clntdatactnr1 PASSED [ 8%] unittests/test_clntdatactnr.py::clntdatactnr_Tests::test_clntdatactnr2 PASSED [ 8%] unittests/test_clntdatactnr.py::clntdatactnr_Tests::test_clntdatactnr3 PASSED [ 8%] unittests/test_cmdproc.py::cmdproc_Tests::test_cmdproc1 FAILED [ 8%] unittests/test_cmdproc.py::cmdproc_Tests::test_cmdproc2 PASSED [ 8%] unittests/test_cmdproc.py::cmdproc_Tests::test_cmdproc3 FAILED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_PD_PaperSize PASSED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_cmndataClassConstructors PASSED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_cppMethods PASSED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_nonzero PASSED [ 8%] unittests/test_collheaderctrl.py::collheaderctrl_Tests::test_collheaderctrl1 FAILED [ 8%] unittests/test_collheaderctrl.py::collheaderctrl_Tests::test_collheaderctrl2 PASSED [ 8%] unittests/test_collheaderctrl.py::collheaderctrl_Tests::test_collheaderctrl3 FAILED [ 9%] unittests/test_collpane.py::CollapsiblePaneTests::test_CollPaneCtors PASSED [ 9%] unittests/test_collpane.py::CollapsiblePaneTests::test_CollPaneDefaultCtor FAILED [ 9%] unittests/test_collpane.py::CollapsiblePaneTests::test_CollPaneProperties PASSED [ 9%] unittests/test_colordlg.py::colordlg_Tests::test_colordlg1 FAILED [ 9%] unittests/test_colordlg.py::colordlg_Tests::test_colordlg2 PASSED [ 9%] unittests/test_colour.py::Colour::test_ColourTypemaps PASSED [ 9%] unittests/test_colour.py::Colour::test_GetIM PASSED [ 9%] unittests/test_colour.py::Colour::test_GetPixel PASSED [ 9%] unittests/test_colour.py::Colour::test_converters PASSED [ 9%] unittests/test_colour.py::Colour::test_copy_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_default_ctor PASSED [ 9%] unittests/test_colour.py::Colour::test_numpy_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_rgb_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_rgba_ctor PASSED [ 9%] unittests/test_colour.py::Colour::test_seq_ctor1 FAILED [ 9%] unittests/test_colour.py::Colour::test_seq_ctor2 PASSED [ 9%] unittests/test_combo.py::combo_Tests::test_combo1 FAILED [ 10%] unittests/test_combo.py::combo_Tests::test_comboConstants PASSED [ 10%] unittests/test_combobox.py::ComboBoxTests::test_ComboBoxCtors PASSED [ 10%] unittests/test_combobox.py::ComboBoxTests::test_ComboBoxDefaultCtor PASSED [ 10%] unittests/test_combobox.py::ComboBoxTests::test_comboboxHasCut PASSED [ 10%] unittests/test_combobox.py::ComboBoxTests::test_comboboxSetSelection FAILED [ 10%] unittests/test_combobox.py::ComboBoxTests::test_comboboxTextSelection PASSED [ 10%] unittests/test_commandlinkbutton.py::commandlinkbutton_Tests::test_commandlinkbutton1 FAILED [ 10%] unittests/test_commandlinkbutton.py::commandlinkbutton_Tests::test_commandlinkbutton2 PASSED [ 10%] unittests/test_commandlinkbutton.py::commandlinkbutton_Tests::test_commandlinkbutton3 PASSED [ 10%] unittests/test_config.py::ConfigTests::test_Config1 FAILED [ 10%] unittests/test_config.py::ConfigTests::test_Config2 PASSED [ 10%] unittests/test_config.py::ConfigTests::test_Config3 FAILED [ 10%] unittests/test_config.py::ConfigTests::test_Config4 PASSED [ 10%] unittests/test_config.py::ConfigTests::test_Config5 PASSED [ 10%] unittests/test_config.py::ConfigTests::test_Config6 PASSED [ 10%] unittests/test_config.py::ConfigTests::test_ConfigEnums PASSED [ 10%] unittests/test_control.py::ControlTests::test_ControlCtors FAILED [ 10%] unittests/test_control.py::ControlTests::test_ControlDefaultCtor PASSED [ 11%] unittests/test_cshelp.py::cshelp_Tests::test_cshelp1 FAILED [ 11%] unittests/test_cshelp.py::cshelp_Tests::test_cshelp2 PASSED [ 11%] unittests/test_cursor.py::CursorTests::test_CursorCtors FAILED [ 11%] unittests/test_cursor.py::CursorTests::test_CursorStockIDsExist PASSED [ 11%] unittests/test_cursor.py::CursorTests::test_Cursor__nonzero__ FAILED [ 11%] unittests/test_cursor.py::CursorTests::test_NullCursor PASSED [ 11%] unittests/test_cursor.py::CursorTests::test_StockCursorsExist PASSED [ 11%] unittests/test_cursor.py::CursorTests::test_StockCursorsInitialized PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_BitmapDataObject PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_CustomDataObject PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataFormat PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataFormatIDsExist FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObject PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObject2 PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectComposite FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectGetAllFormats PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectSimple1 PASSED [ 12%] unittests/test_dataobj.py::DataObjTests::test_DataObjectSimple2 FAILED [ 12%] unittests/test_dataobj.py::DataObjTests::test_DataObjectSimple3 PASSED [ 12%] unittests/test_dataobj.py::DataObjTests::test_FileDataObject PASSED [ 12%] unittests/test_dataobj.py::DataObjTests::test_HTMLDataObject PASSED [ 12%] unittests/test_dataobj.py::DataObjTests::test_TextDataObject PASSED [ 12%] unittests/test_dataobj.py::DataObjTests::test_TextDataObjectClipboard PASSED [ 12%] unittests/test_dataobj.py::DataObjTests::test_URLDataObject PASSED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewColumn FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewConst PASSED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewCtrl1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewEvt1 PASSED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewEvt2 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewHitTest PASSED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIconText1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIconText2 PASSED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIndexListModel1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIndexListModel2 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem1 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem2 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem3 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem4 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem5 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem6 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem7 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem8 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItemAttr1 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItemAttr2 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewListCtrl1 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewListCtrl2 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModel1 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModel2 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModelNotifier1 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModelNotifier2 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer01 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer02 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer03 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer04 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer05 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer06 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer07 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer08 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer09 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer10 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer11 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer12 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewTreeCtrl1 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewTreeCtrl2 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewVirtualListModel1 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewVirtualModel2 PASSED [ 14%] unittests/test_datectrl.py::datectrl_Tests::test_datectrl1 FAILED [ 14%] unittests/test_datectrl.py::datectrl_Tests::test_datectrl2 PASSED [ 14%] unittests/test_datectrl.py::datectrl_Tests::test_genericdatectrl1 PASSED [ 15%] unittests/test_datectrl.py::datectrl_Tests::test_genericdatectrl2 FAILED [ 15%] unittests/test_dateevt.py::dateevt_Tests::test_dateevt1 PASSED [ 15%] unittests/test_dateevt.py::dateevt_Tests::test_dateevt2 FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_ConstantsExist PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_DCBrushChanger PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_DCClipper PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_DCFontChanger PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_DCPenChanger PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_DCTextColourChanger PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_FontMetrics PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeGTKHandle PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeHandle PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeMacHandle FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeWinHandle PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_dcContextManager FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_dcFullTextExtents PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_dcPointLists FAILED [ 16%] unittests/test_dc.py::dc_Tests::test_dcTextExtents PASSED [ 16%] unittests/test_dc.py::dc_Tests::test_trickyStuff PASSED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawElipseLists PASSED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawLineLists PASSED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawPloygonLists PASSED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawPointArray PASSED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawPointLists FAILED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawRectangleArray PASSED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawRectangleLists PASSED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawTextLists PASSED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_0_CheckKeepReference FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_AutoBufferedPaintDC PASSED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedDCConstantsExist FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedDCCtors PASSED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedDCDefaultCtor FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedPaintDC PASSED [ 16%] unittests/test_dcclient.py::ClientDCTests::test_ClientDC PASSED [ 17%] unittests/test_dcclient.py::ClientDCTests::test_PaintDC PASSED [ 17%] unittests/test_dcclient.py::ClientDCTests::test_WindowDC PASSED [ 17%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC1 PASSED [ 17%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC2 PASSED [ 17%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC3 SKIPPED [ 17%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC4 PASSED [ 17%] unittests/test_dcmemory.py::MemoryDCTests::test_MemoryDC1 PASSED [ 17%] unittests/test_dcmemory.py::MemoryDCTests::test_MemoryDC2 PASSED [ 17%] unittests/test_dcmemory.py::MemoryDCTests::test_MemoryDC3 FAILED [ 17%] unittests/test_dcmirror.py::MirrorDCTests::test_MirrorDC1 PASSED [ 17%] unittests/test_dcprint.py::dcprint_tests::test_PrinterDC1 SKIPPED [ 17%] unittests/test_dcps.py::dcps_tests::test_PostscriptDC1 FAILED [ 17%] unittests/test_dcscreen.py::ScreenDCTests::test_ScreenDC1 PASSED [ 17%] unittests/test_dcsvg.py::SvgDCTests::test_SvgDC1 PASSED [ 17%] unittests/test_deadobj.py::deadobj_Tests::test_deadobjException FAILED [ 17%] unittests/test_deadobj.py::deadobj_Tests::test_deadobj__nonzero__1 PASSED [ 17%] unittests/test_deadobj.py::deadobj_Tests::test_deadobj__nonzero__2 FAILED [ 17%] unittests/test_debug.py::debug_Tests::test_debug1 PASSED [ 18%] unittests/test_defs.py::defs_Tests::test_constants1 FAILED [ 18%] unittests/test_defs.py::defs_Tests::test_constants2 PASSED [ 18%] unittests/test_dialog.py::dialog_Tests::test_dialog1 FAILED [ 18%] unittests/test_dialog.py::dialog_Tests::test_dialogDefaultCtor PASSED [ 18%] unittests/test_dialog.py::dialog_Tests::test_dialogTextSizer FAILED [ 18%] unittests/test_dirctrl.py::dirctrl_Tests::test_dirctrlCtor PASSED [ 18%] unittests/test_dirctrl.py::dirctrl_Tests::test_dirctrlDefaultCtor FAILED [ 18%] unittests/test_dirctrl.py::dirctrl_Tests::test_dirctrlFlags PASSED [ 18%] unittests/test_dirdlg.py::dirdlg_Tests::test_dirdlg PASSED [ 18%] unittests/test_dnd.py::dnd_Tests::test_dnd1 FAILED [ 18%] unittests/test_dnd.py::dnd_Tests::test_dndDropSource PASSED [ 18%] unittests/test_dnd.py::dnd_Tests::test_dndDropTarget FAILED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag1 PASSED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag2 PASSED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag3 PASSED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag4 PASSED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag5 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag6 PASSED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag1 PASSED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag2 PASSED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag3 PASSED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag4 PASSED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag5 PASSED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag6 PASSED [ 19%] unittests/test_dtor.py::dtor_Tests::test_dtor PASSED [ 19%] unittests/test_editlbox.py::editlbox_Tests::test_editlbox1 PASSED [ 19%] unittests/test_editlbox.py::editlbox_Tests::test_editlbox2 PASSED [ 19%] unittests/test_editlbox.py::editlbox_Tests::test_editlbox3 PASSED [ 19%] unittests/test_event.py::Events::test_ActivateEvent_ctor PASSED [ 19%] unittests/test_event.py::Events::test_ChildFocusEvent_ctor PASSED [ 19%] unittests/test_event.py::Events::test_ClientData1 PASSED [ 19%] unittests/test_event.py::Events::test_ClientData2 PASSED [ 19%] unittests/test_event.py::Events::test_ClipboardTextEvent_ctor PASSED [ 19%] unittests/test_event.py::Events::test_CloseEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_CommandEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_ContextMenuEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_DisplayChangedEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_DropFilesEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_DropFilesEvent_tweaks PASSED [ 20%] unittests/test_event.py::Events::test_EraseEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_EventCategory PASSED [ 20%] unittests/test_event.py::Events::test_Event_ctor PASSED [ 20%] unittests/test_event.py::Events::test_FocusEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_HelpEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_IconizeEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_IdleEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_InitDialogEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_JoystickEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_KeyEvent_GetUnicodeKey FAILED [ 20%] unittests/test_event.py::Events::test_KeyEvent_SetKeyCode PASSED [ 20%] unittests/test_event.py::Events::test_KeyEvent_SetRawKeyCode PASSED [ 20%] unittests/test_event.py::Events::test_KeyEvent_SetRawKeyFlags PASSED [ 21%] unittests/test_event.py::Events::test_KeyEvent_SetUnicodeKey FAILED [ 21%] unittests/test_event.py::Events::test_KeyEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_MaximizeEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_MenuEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_MouseCaptureChangedEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_MouseCaptureLostEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_MouseEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_MoveEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_NavigationKeyEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_NotifyEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_PaletteChangedEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_QueryNewPaletteEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_ScrollEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_ScrollWinEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_SetCursorEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_ShowEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_SizeEvent_ctor PASSED [ 22%] unittests/test_event.py::Events::test_SysColourChangedEvent_ctor FAILED [ 22%] unittests/test_event.py::Events::test_UpdateUIEvent_ctor PASSED [ 22%] unittests/test_event.py::Events::test_WindowCreateEvent_ctor FAILED [ 22%] unittests/test_event.py::Events::test_WindowDestroyEvent_ctor PASSED [ 22%] unittests/test_event.py::Events::test_eventBinding FAILED [ 22%] unittests/test_event.py::Events::test_eventUnbinding1 PASSED [ 22%] unittests/test_event.py::Events::test_eventUnbinding2 PASSED [ 22%] unittests/test_event.py::Events::test_eventUnbinding3 PASSED [ 22%] unittests/test_event.py::Events::test_eventUnbinding4 FAILED [ 22%] unittests/test_event.py::Events::test_evtHandlerSubclass PASSED [ 22%] unittests/test_eventfilter.py::eventfilter_Tests::test_EventFilter_ctor PASSED [ 22%] unittests/test_eventfilter.py::eventfilter_Tests::test_EventFilter_subclass FAILED [ 22%] unittests/test_fdrepdlg.py::fdrepdlg_Tests::test_fdrepdlgConstants PASSED [ 22%] unittests/test_fdrepdlg.py::fdrepdlg_Tests::test_fdrepdlgDlg PASSED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl1 FAILED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl2 PASSED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl3 FAILED [ 23%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl4 PASSED [ 23%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl5 FAILED [ 23%] unittests/test_filedlg.py::filedlg_Tests::test_filedlg PASSED [ 23%] unittests/test_filedlg.py::filedlg_Tests::test_filedlgFlags FAILED [ 23%] unittests/test_filedlg.py::filedlg_Tests::test_filedlgProperties PASSED [ 23%] unittests/test_filedlg.py::filedlg_Tests::test_filedlgTweaks PASSED [ 23%] unittests/test_filehistory.py::filehistory_Tests::test_filehistory1 PASSED [ 23%] unittests/test_filehistory.py::filehistory_Tests::test_filehistory2 PASSED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesys02 PASSED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesys03 PASSED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesys04 PASSED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesysClasses PASSED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesysMemoryFSHandler PASSED [ 23%] unittests/test_font.py::font_Tests::test_font PASSED [ 23%] unittests/test_font.py::font_Tests::test_fontEquality PASSED [ 23%] unittests/test_font.py::font_Tests::test_fontFixedWidth PASSED [ 23%] unittests/test_font.py::font_Tests::test_fontFlags PASSED [ 24%] unittests/test_font.py::font_Tests::test_fontFlagsOld PASSED [ 24%] unittests/test_font.py::font_Tests::test_fontFontinfo1 PASSED [ 24%] unittests/test_font.py::font_Tests::test_fontFontinfo2 PASSED [ 24%] unittests/test_font.py::font_Tests::test_fontOk PASSED [ 24%] unittests/test_font.py::font_Tests::test_fontOldStyleNames PASSED [ 24%] unittests/test_font.py::font_Tests::test_fontProperties PASSED [ 24%] unittests/test_font.py::font_Tests::test_stockFonts PASSED [ 24%] unittests/test_fontdlg.py::fontdlg_Tests::test_fontdlg1 PASSED [ 24%] unittests/test_fontdlg.py::fontdlg_Tests::test_fontdlg2 PASSED [ 24%] unittests/test_fontenum.py::fontenum_Tests::test_fontenum1 PASSED [ 24%] unittests/test_fontenum.py::fontenum_Tests::test_fontenum2 PASSED [ 24%] unittests/test_fontenum.py::fontenum_Tests::test_fontenum3 PASSED [ 24%] unittests/test_fontmap.py::fontmap_Tests::test_fontmap1 PASSED [ 24%] unittests/test_fontmap.py::fontmap_Tests::test_fontmap2 PASSED [ 24%] unittests/test_fontmap.py::fontmap_Tests::test_fontmap3 PASSED [ 24%] unittests/test_fontutil.py::fontutil_Tests::test_fontutil PASSED [ 24%] unittests/test_fontutil.py::fontutil_Tests::test_fontutilProperties PASSED [ 24%] unittests/test_frame.py::frame_Tests::test_frameCtors PASSED [ 25%] unittests/test_frame.py::frame_Tests::test_frameProperties PASSED [ 25%] unittests/test_frame.py::frame_Tests::test_frameStyles PASSED [ 25%] unittests/test_frame.py::frame_Tests::test_frameTopLevelTweaks PASSED [ 25%] unittests/test_fswatcher.py::fswatcher_Tests::test_fswatcher1 PASSED [ 25%] unittests/test_gauge.py::gauge_Tests::test_gauge PASSED [ 25%] unittests/test_gauge.py::gauge_Tests::test_gaugeProperties FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_GetIM_position PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_GetIM_span PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos1 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos2 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos3 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos4 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_sizer1 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_sizer2 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_sizer3 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span1 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span2 PASSED [ 26%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span3 PASSED [ 26%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span4 PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_DefaultPosition PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_FullySpecified PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_Get PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_GetIM PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_RealPoint_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_bogus_ctor1 PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_bogus_ctor2 PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_converters PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_copy_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_default_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_floatingMultiply PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_magic PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_math PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_numpy_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_operators PASSED [ 27%] unittests/test_gdicmn.py::TestPoint::test_operators2 PASSED [ 27%] unittests/test_gdicmn.py::TestPoint::test_seq_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestPoint::test_xy PASSED [ 27%] unittests/test_gdicmn.py::TestPoint::test_xy_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_DecBy PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_DecTo PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_DefaultSize PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_FullySpecified PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_GetIM PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_GetSet PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_IncBy PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_IncTo PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_SetDefaults PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_bogus_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_converters PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_copy_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_default_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_floatingMultiply PASSED [ 28%] unittests/test_gdicmn.py::TestSize::test_magic PASSED [ 28%] unittests/test_gdicmn.py::TestSize::test_operators PASSED [ 28%] unittests/test_gdicmn.py::TestSize::test_properties PASSED [ 28%] unittests/test_gdicmn.py::TestSize::test_wh_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_GetIM PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_Point_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_copy_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_default_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_floatingMultiply PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_properties PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_xy_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_GetIM PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_converters PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_default_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_kwargs_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_numpy_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_possize_ctor PASSED [ 29%] unittests/test_gdicmn.py::TestRect::test_seq_ctor PASSED [ 29%] unittests/test_gdicmn.py::TestRect::test_size_ctor PASSED [ 29%] unittests/test_gdicmn.py::TestRect::test_tlbr_ctor PASSED [ 29%] unittests/test_gdicmn.py::TestRect::test_tlbr_ctor2 PASSED [ 29%] unittests/test_gdicmn.py::TestRect::test_xywh_ctor PASSED [ 29%] unittests/test_gdicmn.py::intersectRect_Tests::test_intersectRect01 PASSED [ 29%] unittests/test_gdicmn.py::intersectRect_Tests::test_intersectRect02 PASSED [ 29%] unittests/test_geometry.py::Point2D::test_GetIM PASSED [ 29%] unittests/test_geometry.py::Point2D::test_copy_ctor PASSED [ 29%] unittests/test_geometry.py::Point2D::test_default_ctor PASSED [ 29%] unittests/test_geometry.py::Point2D::test_xy_ctor PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_GetIM PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_copy_ctor PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_default_ctor PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_xywh_ctor PASSED [ 29%] unittests/test_graphics.py::graphics_Tests::test_gcCreate1 PASSED [ 29%] unittests/test_graphics.py::graphics_Tests::test_gcCreate2 PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreate3 PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreate4 PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateBitmap PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateBrush PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateFont PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateMatrix PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreatePath PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreatePen PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcDrawLines PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcGradientStops PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcNullObjects PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcStrokeLines1 PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcStrokeLines2 PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcStrokeLines3 PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcTextExtents FAILED [ 30%] unittests/test_grid.py::grid_Tests::test_GetIM FAILED [ 30%] unittests/test_grid.py::grid_Tests::test_grid00 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid01 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid02 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid03 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid04 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid05 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid06 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid07 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid08 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid09 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid10 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid11 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid12 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid13 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid14 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid15 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid16 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid17 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid17a FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid18 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid18a PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid19 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid20 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid21 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid22 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid23 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid24 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid25 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid26 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid27 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid28 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid29 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid30 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid31 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid32 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid33 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid34 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid35 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid36 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid37 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid38 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid39 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid40 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid41 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid43 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid44 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid45 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid46 PASSED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolAbsClass1 PASSED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolAbsClass2 PASSED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolConstants PASSED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolCtor1 PASSED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolCtor2 PASSED [ 34%] unittests/test_headercol.py::headercol_Tests::test_headercolProperties PASSED [ 34%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl1 PASSED [ 34%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl2 PASSED [ 34%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl3 PASSED [ 34%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl4 PASSED [ 34%] unittests/test_help.py::help_Tests::test_help1 PASSED [ 34%] unittests/test_helpctrl.py::helpctrl_Tests::test_helpctrl1 PASSED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata1 PASSED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata2 PASSED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata3 PASSED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata4 PASSED [ 34%] unittests/test_helpdlg.py::helpdlg_Tests::test_helpdlg1 PASSED [ 34%] unittests/test_helpext.py::helpext_Tests::test_helpext1 PASSED [ 34%] unittests/test_helpfrm.py::helpfrm_Tests::test_helpfrm1 PASSED [ 34%] unittests/test_helpwnd.py::helpwnd_Tests::test_helpwnd1 FAILED [ 34%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell1 PASSED [ 34%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell2 PASSED [ 34%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell3 FAILED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell4 PASSED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell5 PASSED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell6 PASSED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell7 PASSED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell8 PASSED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell9 PASSED [ 35%] unittests/test_htmldefs.py::htmldefs_Tests::test_htmldefs1 PASSED [ 35%] unittests/test_htmllbox.py::htmllbox_Tests::test_htmllbox1 PASSED [ 35%] unittests/test_htmllbox.py::htmllbox_Tests::test_htmllbox2 PASSED [ 35%] unittests/test_htmllbox.py::htmllbox_Tests::test_htmllbox3 PASSED [ 35%] unittests/test_htmlpars.py::htmlpars_Tests::test_htmlpars1 PASSED [ 35%] unittests/test_htmlprint.py::htmlprint_Tests::test_htmlprint1 PASSED [ 35%] unittests/test_htmlprint.py::htmlprint_Tests::test_htmlprint2 PASSED [ 35%] unittests/test_htmlprint.py::htmlprint_Tests::test_htmlprint3 PASSED [ 35%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin1 FAILED [ 35%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin2 PASSED [ 35%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin3 PASSED [ 36%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin4 FAILED [ 36%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin5 PASSED [ 36%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin6 FAILED [ 36%] unittests/test_htmlwinpars.py::htmlwinpars_Tests::test_htmlwinpars1 PASSED [ 36%] unittests/test_hyperlink.py::hyperlink_Tests::test_hyperlink1 PASSED [ 36%] unittests/test_hyperlink.py::hyperlink_Tests::test_hyperlink2 PASSED [ 36%] unittests/test_hyperlink.py::hyperlink_Tests::test_hyperlink3 FAILED [ 36%] unittests/test_icon.py::icon_Tests::test_icon1 FAILED [ 36%] unittests/test_icon.py::icon_Tests::test_icon2 PASSED [ 36%] unittests/test_icon.py::icon_Tests::test_icon3 FAILED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl1 PASSED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl2 FAILED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl3 PASSED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl4 FAILED [ 36%] unittests/test_iconloc.py::iconloc_Tests::test_iconloc1 PASSED [ 36%] unittests/test_iconloc.py::iconloc_Tests::test_iconloc2 PASSED [ 36%] unittests/test_image.py::image_Tests::test_imageCtor1 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor2 PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor3 PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor4 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor4b PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor4c FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor5 PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor5b PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor6 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor7 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor8 PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor9 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageGetAlpha PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageGetAlphaDataBuffer PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageGetData FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageGetDataBuffer PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageHandlerDerivation FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageHandlerStandardDerivations PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageHandlerStandardDerivationsDerivation FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageMethodChain PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageNestedClasses PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageOtherStuff PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageProperties PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageRGBHSV PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageSetAlpha1 PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageSetAlphaBuffer FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageSetData1 PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageSetData2 PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageSetDataBuffer1 PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageSetDataBuffer2 FAILED [ 38%] unittests/test_imaglist.py::image_Tests::test_imaglist PASSED [ 38%] unittests/test_imaglist.py::image_Tests::test_imaglistConstants FAILED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobar1 FAILED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobar2 FAILED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobarCtor PASSED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobarDefaultCtor PASSED [ 39%] unittests/test_intl.py::intl_Tests::test_intlConstants PASSED [ 39%] unittests/test_intl.py::intl_Tests::test_intlGetLocaleFunc PASSED [ 39%] unittests/test_intl.py::intl_Tests::test_intlGetString FAILED [ 39%] unittests/test_intl.py::intl_Tests::test_intlLanguageInfo FAILED [ 39%] unittests/test_intl.py::intl_Tests::test_intlLocale PASSED [ 39%] unittests/test_joystick.py::joystick_Tests::test_joystick1 PASSED [ 39%] unittests/test_joystick.py::joystick_Tests::test_joystick2 PASSED [ 39%] unittests/test_kbdstate.py::KeyboardState::test_KeyboardState PASSED [ 39%] unittests/test_layout.py::layout_Tests::test_layout PASSED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin1 PASSED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin2 PASSED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin3 PASSED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin4 PASSED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin5 FAILED [ 39%] unittests/test_lib_agw_advancedsplash.py::lib_agw_advancedsplash_Tests::test_lib_agw_advancedsplashConstantsExist FAILED [ 39%] unittests/test_lib_agw_advancedsplash.py::lib_agw_advancedsplash_Tests::test_lib_agw_advancedsplashCtor PASSED [ 39%] unittests/test_lib_agw_aquabutton.py::lib_agw_aquabutton_Tests::test_lib_agw_aquabuttonCtor PASSED [ 40%] unittests/test_lib_agw_aquabutton.py::lib_agw_aquabutton_Tests::test_lib_agw_aquabuttonMethods FAILED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_Tests::test_lib_agw_auiCtor PASSED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_additional_Tests::test_lib_agw_auiConstantsExist FAILED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_additional_Tests::test_lib_agw_auiEvents PASSED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_additional_Tests::test_lib_agw_aui_ToolbarCtor PASSED [ 40%] unittests/test_lib_agw_aui_dockart.py::lib_agw_aui_dockart_Tests::test_lib_agw_aui_dockartCtor PASSED [ 40%] unittests/test_lib_agw_aui_tabart.py::lib_agw_aui_tabart_Tests::test_lib_agw_aui_tabartCtor PASSED [ 40%] unittests/test_lib_agw_aui_utilities.py::lib_agw_aui_utilities_Tests::test_lib_agw_aui_utilititiesCtor PASSED [ 40%] unittests/test_lib_agw_balloontip.py::lib_agw_balloontip_Tests::test_lib_agw_balloontipConstantsExist FAILED [ 40%] unittests/test_lib_agw_balloontip.py::lib_agw_balloontip_Tests::test_lib_agw_balloontipCtor PASSED [ 40%] unittests/test_lib_agw_balloontip.py::lib_agw_balloontip_Tests::test_lib_agw_balloontipMethods PASSED [ 40%] unittests/test_lib_agw_buttonpanel.py::lib_agw_buttonpanel_Tests::test_lib_agw_buttonpanelConstantsExist FAILED [ 40%] unittests/test_lib_agw_buttonpanel.py::lib_agw_buttonpanel_Tests::test_lib_agw_buttonpanelCtor PASSED [ 40%] unittests/test_lib_agw_buttonpanel.py::lib_agw_buttonpanel_Tests::test_lib_agw_buttonpanelMethods FAILED [ 40%] unittests/test_lib_agw_cubecolourdialog.py::lib_agw_cubecolourdialog_Tests::test_lib_agw_cubecolourdialogConstantsExist FAILED [ 40%] unittests/test_lib_agw_cubecolourdialog.py::lib_agw_cubecolourdialog_Tests::test_lib_agw_cubecolourdialogCtor PASSED [ 40%] unittests/test_lib_agw_cubecolourdialog.py::lib_agw_cubecolourdialog_Tests::test_lib_agw_cubecolourdialogMethods PASSED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlConstantsExist FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlCtor FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlEventsExist PASSED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlGetSelections FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlItemCheck FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlSetWindow FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlTreeItem FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlTreeItemData FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlTreeItemPyData PASSED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuConstantsExist FAILED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuCtor PASSED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuEvents PASSED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuOpen PASSED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookConstantsExist PASSED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookCtor PASSED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookDeletePages PASSED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookEvents PASSED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookMethods PASSED [ 42%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookPages PASSED [ 42%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookTabStyles PASSED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinConstantsExist PASSED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinCtor FAILED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinEvents PASSED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinMethods PASSED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspin_fixedpoint PASSED [ 42%] unittests/test_lib_agw_fmcustomizedlg.py::lib_agw_fmcustomizedlg_Tests::test_lib_agw_fmcustomizedlgCtor PASSED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarConstantsExist PASSED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarCtor PASSED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarEvents PASSED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarMethods PASSED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterConstantsExist FAILED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterCtor PASSED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterEvents FAILED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterMethods PASSED [ 42%] unittests/test_lib_agw_genericmessagedialog.py::lib_agw_genericmessagedialog_Tests::test_lib_agw_genericmessagedialogConstantsExist PASSED [ 43%] unittests/test_lib_agw_genericmessagedialog.py::lib_agw_genericmessagedialog_Tests::test_lib_agw_genericmessagedialogCtor FAILED [ 43%] unittests/test_lib_agw_genericmessagedialog.py::lib_agw_genericmessagedialog_Tests::test_lib_agw_genericmessagedialogMethods FAILED [ 43%] unittests/test_lib_agw_gradientbutton.py::lib_agw_gradientbutton_Tests::test_lib_agw_gradientbuttonCtor PASSED [ 43%] unittests/test_lib_agw_gradientbutton.py::lib_agw_gradientbutton_Tests::test_lib_agw_gradientbuttonMethods PASSED [ 43%] unittests/test_lib_agw_hyperlink.py::lib_agw_hyperlink_Tests::test_lib_agw_hyperlinkCtor PASSED [ 43%] unittests/test_lib_agw_hyperlink.py::lib_agw_hyperlink_Tests::test_lib_agw_hyperlinkEvents PASSED [ 43%] unittests/test_lib_agw_hyperlink.py::lib_agw_hyperlink_Tests::test_lib_agw_hyperlinkMethods PASSED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistColourWholeItemColumns PASSED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistColumns PASSED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistConstantsExist FAILED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistCtor PASSED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistEvents FAILED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistSetItemColour PASSED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistSetItemColourOfColumns FAILED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistTreeItem PASSED [ 43%] unittests/test_lib_agw_infobar.py::lib_agw_infobar_Tests::test_lib_agw_infobar1 FAILED [ 43%] unittests/test_lib_agw_infobar.py::lib_agw_infobar_Tests::test_lib_agw_infobar2 PASSED [ 44%] unittests/test_lib_agw_infobar.py::lib_agw_infobar_Tests::test_lib_agw_infobarCtor PASSED [ 44%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlConstantsExist FAILED [ 44%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlCtor PASSED [ 44%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlEvents PASSED [ 44%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlMethods PASSED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookConstantsExist PASSED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookCtor FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookDeletePages PASSED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookEvents FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookPages FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookTabPosition PASSED [ 44%] unittests/test_lib_agw_multidirdialog.py::lib_agw_multidirdialog_Tests::test_lib_agw_multidirdialogConstantsExist FAILED [ 44%] unittests/test_lib_agw_multidirdialog.py::lib_agw_multidirdialog_Tests::test_lib_agw_multidirdialogCtor PASSED [ 44%] unittests/test_lib_agw_multidirdialog.py::lib_agw_multidirdialog_Tests::test_lib_agw_multidirdialogMethods FAILED [ 44%] unittests/test_lib_agw_peakmeter.py::lib_agw_peakmeter_Tests::test_lib_agw_peakmeterConstantsExist PASSED [ 44%] unittests/test_lib_agw_peakmeter.py::lib_agw_peakmeter_Tests::test_lib_agw_peakmeterCtor FAILED [ 44%] unittests/test_lib_agw_peakmeter.py::lib_agw_peakmeter_Tests::test_lib_agw_peakmeterMethods FAILED [ 44%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerConstantsExist PASSED [ 45%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerCtor PASSED [ 45%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerPersistValue PASSED [ 45%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerRestore FAILED [ 45%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerZZZZCleanup FAILED [ 45%] unittests/test_lib_agw_piectrl.py::lib_agw_piectrl_Tests::test_lib_agw_piectrlCtor PASSED [ 45%] unittests/test_lib_agw_piectrl.py::lib_agw_piectrl_Tests::test_lib_agw_piectrlMethods FAILED [ 45%] unittests/test_lib_agw_pybusyinfo.py::lib_agw_pybusyinfo_Tests::test_lib_agw_pybusyinfoCtor PASSED [ 45%] unittests/test_lib_agw_pycollapsiblepane.py::lib_agw_pycollapsiblepane_Tests::test_lib_agw_pycollapsiblepaneConstantsExist PASSED [ 45%] unittests/test_lib_agw_pycollapsiblepane.py::lib_agw_pycollapsiblepane_Tests::test_lib_agw_pycollapsiblepaneCtor FAILED [ 45%] unittests/test_lib_agw_pycollapsiblepane.py::lib_agw_pycollapsiblepane_Tests::test_lib_agw_pycollapsiblepaneEvents PASSED [ 45%] unittests/test_lib_agw_pycollapsiblepane.py::lib_agw_pycollapsiblepane_Tests::test_lib_agw_pycollapsiblepaneMethods PASSED [ 45%] unittests/test_lib_agw_pygauge.py::lib_agw_pygauge_Tests::test_lib_agw_pygaugeCtor PASSED [ 45%] unittests/test_lib_agw_pygauge.py::lib_agw_pygauge_Tests::test_lib_agw_pygaugeMethods PASSED [ 45%] unittests/test_lib_agw_pyprogress.py::lib_agw_pyprogress_Tests::test_lib_agw_pyprogressConstantsExists FAILED [ 45%] unittests/test_lib_agw_pyprogress.py::lib_agw_pyprogress_Tests::test_lib_agw_pyprogressCtor PASSED [ 45%] unittests/test_lib_agw_pyprogress.py::lib_agw_pyprogress_Tests::test_lib_agw_pyprogressMethods PASSED [ 45%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_pyprogressConstantsExists FAILED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonArtProviders PASSED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonControlCtor FAILED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonCtor PASSED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonEvents FAILED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonGalleryCtor PASSED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonPageCtor FAILED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonPanelCtor PASSED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonStyles PASSED [ 46%] unittests/test_lib_agw_rulerctrl.py::lib_agw_rulerctrl_Tests::test_lib_agw_rulerctrlCtor PASSED [ 46%] unittests/test_lib_agw_rulerctrl.py::lib_agw_rulerctrl_Tests::test_lib_agw_rulerctrlEvents PASSED [ 46%] unittests/test_lib_agw_rulerctrl.py::lib_agw_rulerctrl_Tests::test_lib_agw_rulerctrlMethods PASSED [ 46%] unittests/test_lib_agw_shapedbutton.py::lib_agw_shapedbuttons_Tests::test_lib_agw_shapedbutton1 PASSED [ 46%] unittests/test_lib_agw_shapedbutton.py::lib_agw_shapedbuttons_Tests::test_lib_agw_shapedbutton2 PASSED [ 46%] unittests/test_lib_agw_shortcuteditor.py::lib_agw_shortcuteditor_Tests::test_lib_agw_rulerctrlCtor FAILED [ 46%] unittests/test_lib_agw_shortcuteditor.py::lib_agw_shortcuteditor_Tests::test_lib_agw_shortcuteditorEvents PASSED [ 46%] unittests/test_lib_agw_speedmeter.py::lib_agw_speedmeter_Tests::test_lib_agw_peakmeterConstantsExist FAILED [ 46%] unittests/test_lib_agw_speedmeter.py::lib_agw_speedmeter_Tests::test_lib_agw_speedmeterCtor PASSED [ 47%] unittests/test_lib_agw_speedmeter.py::lib_agw_speedmeter_Tests::test_lib_agw_speedmeterMethods PASSED [ 47%] unittests/test_lib_agw_speedmeter.py::lib_agw_speedmeter_Tests::test_lib_agw_speedmeterSizerLayout FAILED [ 47%] unittests/test_lib_agw_supertooltip.py::lib_agw_supertooltip_Tests::test_lib_agw_supertooltipCtor PASSED [ 47%] unittests/test_lib_agw_thumbnailctrl.py::lib_agw_thumbnailctrl_Tests::test_lib_agw_thumbnailctrlCtor FAILED [ 47%] unittests/test_lib_agw_thumbnailctrl.py::lib_agw_thumbnailctrl_Tests::test_lib_agw_thumbnailctrlEvents FAILED [ 47%] unittests/test_lib_agw_toasterbox.py::lib_agw_toasterbox_Tests::test_lib_agw_thumbnailctrlStyles PASSED [ 47%] unittests/test_lib_agw_toasterbox.py::lib_agw_toasterbox_Tests::test_lib_agw_toasterboxCtor SKIPPED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_thumbnailctrlStyles PASSED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_ultimatelistctrlCtorIcon PASSED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_ultimatelistctrlCtorList PASSED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_ultimatelistctrlCtorReport PASSED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_ultimatelistctrlCtorVirtual PASSED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_ultimatelistctrlEvents FAILED [ 47%] unittests/test_lib_agw_xlsgrid.py::lib_agw_xlsgrid_Tests::test_lib_agw_xlsgridCtor PASSED [ 47%] unittests/test_lib_agw_zoombar.py::lib_agw_zoombar_Tests::test_lib_agw_thumbnailctrlEvents FAILED [ 47%] unittests/test_lib_agw_zoombar.py::lib_agw_zoombar_Tests::test_lib_agw_zoombarCtor PASSED [ 47%] unittests/test_lib_busy.py::lib_busy_Tests::test_lib_busy1 FAILED [ 48%] unittests/test_lib_busy.py::lib_busy_Tests::test_lib_busy2 FAILED [ 48%] unittests/test_lib_busy.py::lib_busy_Tests::test_lib_busy3 PASSED [ 48%] unittests/test_lib_busy.py::lib_busy_Tests::test_lib_busy4 FAILED [ 48%] unittests/test_lib_busy.py::lib_busy_Tests::test_lib_busy5 PASSED [ 48%] unittests/test_lib_buttons.py::lib_buttons_Tests::test_lib_buttons1 PASSED [ 48%] unittests/test_lib_buttons.py::lib_buttons_Tests::test_lib_buttons2 PASSED [ 48%] unittests/test_lib_calendar.py::lib_calendar_Tests::test_lib_calendar_CalenDlgCtor PASSED [ 48%] unittests/test_lib_calendar.py::lib_calendar_Tests::test_lib_calendar_CalendarCtor FAILED [ 48%] unittests/test_lib_calendar.py::lib_calendar_Tests::test_lib_calendar_CalendarMoveDate PASSED [ 48%] unittests/test_lib_calendar.py::lib_calendar_Tests::test_lib_calendar_CalendarSetDate PASSED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_DateCtor PASSED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_Dayofweek PASSED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_IsleapFalse FAILED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_IsleapTrue PASSED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_Julianday FAILED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_NowCtor PASSED [ 48%] unittests/test_lib_colourdb.py::lib_colourdb_Tests::test_lib_colourdb1 PASSED [ 48%] unittests/test_lib_colourselect.py::lib_colourselect_Tests::test_lib_colourselect1 PASSED [ 49%] unittests/test_lib_expando.py::lib_expando_Tests::test_lib_expando1 PASSED [ 49%] unittests/test_lib_fancytext.py::lib_fancytext_Tests::test_lib_fancytext_DateCtor FAILED [ 49%] unittests/test_lib_fancytext.py::lib_fancytext_Tests::test_lib_fancytext_Methods PASSED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testArrayConstruction PASSED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testCreates FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testDataType PASSED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testMinMax PASSED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testMinMax2 FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testMinMax3 PASSED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testMinMax4 PASSED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testShape FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testShape2 PASSED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testShape3 FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testType PASSED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testAsBBox::testPassArray FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testAsBBox::testPassArray2 PASSED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testAsBBox::testPassThrough FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testAsBBox::testPassThrough2 PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testAbove FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testBelow PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testCorner PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testInside FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testLeft PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testLowerLeft PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testLowerRight PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testOutside FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testRight PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testSame FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testTouch PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testUpperLeft PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testUpperRight PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testZeroSize FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testZeroSize2 PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testZeroSize3 FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testZeroSize4 PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testEquality::testIdentical FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testEquality::testNotSame PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testEquality::testSame PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testEquality::testWithArray FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testEquality::testWithArray2 PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testAbove PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testBelow PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testLeft PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testLowerLeft PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testLowerRight PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testPoint PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testPointOutside PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testRight PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testSame PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testUpperLeft PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testUpperRight PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testAbove PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testBelow PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testLeft PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testLowerLeft PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testLowerRight PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointIn PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointLeftTopLine PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointOnBottomLine PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointOnBottomRight PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointOnLeft PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointOnRight PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointOnTopLine PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testRight FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testUpperLeft PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testUpperRight FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testFromPoints::testCreate FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testFromPoints::testCreateInts PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testFromPoints::testListTuples FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testFromPoints::testSinglePoint PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testMerge::testDownLeft PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testMerge::testFullOutside FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testMerge::testInside PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testMerge::testUpRight FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testWidthHeight::testSetH FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testWidthHeight::testSetW FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testWidthHeight::testWidth PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testCenter::testCenter PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testCenter::testSetCenter PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testBBarray::testJoin FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testEquals PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testIsNull PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testMerge PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testNotEquals FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testNotEquals2 PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testOverlaps FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testOverlaps2 PASSED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testValues FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testEquals FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testMerge FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testMerge2 PASSED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testNotEquals FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testNotEquals2 PASSED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testOverlaps PASSED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testOverlaps2 FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testOverlaps3 FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testOverlaps4 PASSED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testOverlaps5 FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testValues PASSED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testSides::testBottom FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testSides::testLeft PASSED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testSides::testRight FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testSides::testTop FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_arc PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_arrow FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_arrowline PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_bitmap FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_circle PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_line FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_point FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_pointset FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_polygon PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_rectangle PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_recteclips FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_scaledbitmap PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_scaledbitmap2 PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_scaledtext FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_scaledtextbox PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_spline FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_squarepoint PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_text FAILED [ 56%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_floatcanvasCtor FAILED [ 56%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_floatcanvasEvents PASSED [ 56%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_navcanvasCtor PASSED [ 56%] unittests/test_lib_gizmos_ledctrl.py::lib_gizmos_ledctrl_Tests::test_defaultCtor PASSED [ 56%] unittests/test_lib_gizmos_ledctrl.py::lib_gizmos_ledctrl_Tests::test_normalCtor PASSED [ 56%] unittests/test_lib_imagebrowser.py::imagebrowser_Tests::test_imagebrowserDlg PASSED [ 56%] unittests/test_lib_imagebrowser.py::imagebrowser_Tests::test_imagebrowserDlgChangeTypes PASSED [ 56%] unittests/test_lib_imagebrowser.py::imagebrowser_Tests::test_imagebrowserDlgGetters PASSED [ 56%] unittests/test_lib_imageutils.py::lib_imageutils_Tests::test_lib_imageutils1 PASSED [ 56%] unittests/test_lib_intctrl.py::IntCtrlTests::test_canSetValueToNone PASSED [ 56%] unittests/test_lib_intctrl.py::IntCtrlTests::test_intctrlCtor PASSED [ 56%] unittests/test_lib_langlistctrl.py::langlistctrl_Tests::test_langlistctrlCtor PASSED [ 56%] unittests/test_lib_masked.py::MaskedComboBoxTests::test_ComboBoxCtors PASSED [ 56%] unittests/test_lib_masked.py::MaskedTextCtrlTests::test_textctrlCtor PASSED [ 56%] unittests/test_lib_masked.py::MaskedTextCtrlTests::test_textctrlProperties PASSED [ 56%] unittests/test_lib_masked.py::MaskedNumCtrlTests::test_numctrlCtor PASSED [ 56%] unittests/test_lib_masked.py::MaskedNumCtrlTests::test_numctrlProperties PASSED [ 57%] unittests/test_lib_masked.py::MaskedTimeCtrlTests::test_timectrlCtor PASSED [ 57%] unittests/test_lib_masked.py::MaskedTimeCtrlTests::test_timectrlIsValid PASSED [ 57%] unittests/test_lib_masked.py::MaskedTimeCtrlTests::test_timectrlProperties PASSED [ 57%] unittests/test_lib_masked.py::MaskedIpAddrCtrlTests::test_ipaddrctrlCtor FAILED [ 57%] unittests/test_lib_masked.py::MaskedIpAddrCtrlTests::test_ipaddrctrlProperties PASSED [ 57%] unittests/test_lib_mixins_inspection.py::wit_TestCase::test_App PASSED [ 57%] unittests/test_lib_mixins_inspection.py::wit_TestCase::test_App_OnInit PASSED [ 57%] unittests/test_lib_mixins_inspection.py::wit_TestCase::test_Wit_Mixin PASSED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglCircle PASSED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglCompositeShape PASSED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglCtor PASSED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglDivisonShape FAILED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglEllipseShape FAILED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglLineShape PASSED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglPolygonShape PASSED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglRectangle PASSED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglShapeRegion PASSED [ 58%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglTextShape FAILED [ 58%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_ogl_Constants PASSED [ 58%] unittests/test_lib_pdfviewer_pdfviewer.py::lib_pdfviewer_pdfviewer_Tests::test_lib_pdfviewer_loadFile SKIPPED [ 58%] unittests/test_lib_pdfviewer_pdfviewer.py::lib_pdfviewer_pdfviewer_Tests::test_lib_pdfviewer_pdfviewerButtonPanelCtor SKIPPED [ 58%] unittests/test_lib_pdfviewer_pdfviewer.py::lib_pdfviewer_pdfviewer_Tests::test_lib_pdfviewer_pdfviewerPdfViewerCtor SKIPPED [ 58%] unittests/test_lib_plot.py::lib_plot_PlotCanvas_Tests::test_lib_plot_plotcanvasCtor FAILED [ 58%] unittests/test_lib_plot.py::lib_plot_Tests::test_lib_plot_tempstyle_contextmanager PASSED [ 58%] unittests/test_lib_plot.py::lib_plot_Tests::test_lib_plot_tempstyle_decorator PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testAcceptAllArgs PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testArgSpecDerivation PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testDOAListenerPubsub PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testDeadListener PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testMissingReqdArgs PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testSendForUndefinedTopic PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testSendTopicWithMessage PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testSubscribe PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testTopicUnspecifiedError PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testUnsubAll PASSED [ 59%] unittests/test_lib_pubsub_defaultlog.py::lib_pubsub_DefaultLog::testNotifications PASSED [ 59%] unittests/test_lib_pubsub_except.py::lib_pubsub_Except::testHandleExcept1a PASSED [ 59%] unittests/test_lib_pubsub_except.py::lib_pubsub_Except::testHandleExcept1b PASSED [ 59%] unittests/test_lib_pubsub_except.py::lib_pubsub_Except::testHandleExcept2 PASSED [ 59%] unittests/test_lib_pubsub_except.py::lib_pubsub_Except::testNoExceptionHandling1 PASSED [ 59%] unittests/test_lib_pubsub_except.py::lib_pubsub_Except::testNoExceptionHandling2 PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test0_ArgsInfo PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test10_weakMethod PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test11_testNaming PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test2_Validation0 PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test2_Validation1 PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test3_IsCallable PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test4_WantTopic PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test5_DOAListeners PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test6_ListenerEq PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test7_DyingListenersClass PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test8_getArgsBadListener PASSED [ 60%] unittests/test_lib_pubsub_notify.py::lib_pubsub_Notify::testNotifyByPrint PASSED [ 60%] unittests/test_lib_pubsub_notify2.py::lib_pubsub_Notify2::test0_NotificationTopics PASSED [ 60%] unittests/test_lib_pubsub_notify2_1.py::lib_pubsub_Notify2_1::test1_SubscribeNotify PASSED [ 60%] unittests/test_lib_pubsub_notify2_2.py::lib_pubsub_Notify2_2::test2_SendNotify PASSED [ 60%] unittests/test_lib_pubsub_notify3.py::lib_pubsub_NotifyFlagChanges::testFlagChanges PASSED [ 60%] unittests/test_lib_pubsub_notify4.py::lib_pubsub_NotifyN::testNotifications PASSED [ 60%] unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test1 PASSED [ 60%] unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test2_import_export_no_change SKIPPED [ 60%] unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test_module_as_class PASSED [ 60%] unittests/test_lib_pubsub_spec.py::lib_pubsub_Specs::test1_create PASSED [ 60%] unittests/test_lib_pubsub_spec.py::lib_pubsub_Specs::test2_update PASSED [ 60%] unittests/test_lib_pubsub_spec.py::lib_pubsub_Specs::test3_filter PASSED [ 60%] unittests/test_lib_pubsub_topic.py::lib_pubsub_Topic::test0_CreateRoot PASSED [ 60%] unittests/test_lib_pubsub_topic.py::lib_pubsub_Topic::test1_SubUnsub PASSED [ 60%] unittests/test_lib_pubsub_topic.py::lib_pubsub_Topic::test2_CreateChild PASSED [ 60%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr0_Basic::test10_BadTopicNames PASSED [ 60%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr0_Basic::test10_GoodTopicNames PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr1_GetOrCreate_NoDefnProv::test10_NoProtoListener PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr1_GetOrCreate_NoDefnProv::test20_WithProtoListener PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr2_GetOrCreate_DefnProv::test10_DefnProvider PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr2_GetOrCreate_DefnProv::test20_UseProvider PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr2_GetOrCreate_DefnProv::test30_DelTopic PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr3_TreeTraverser::test1 PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr3_TreeTraverser::test2 PASSED [ 61%] unittests/test_lib_resizewidget.py::lib_resizewidget_Tests::test_lib_resizewidget PASSED [ 61%] unittests/test_lib_resizewidget.py::lib_resizewidget_Tests::test_lib_resizewidget_Constants PASSED [ 61%] unittests/test_lib_scrolledpanel.py::lib_scrolledpanel_Tests::test_lib_scrolled1 PASSED [ 61%] unittests/test_lib_sized_controls.py::sizedFrame_Tests::test_frameCtors PASSED [ 61%] unittests/test_lib_sized_controls.py::sizedFrame_Tests::test_frameProperties PASSED [ 61%] unittests/test_lib_sized_controls.py::sizedFrame_Tests::test_frameStyles FAILED [ 61%] unittests/test_lib_sized_controls.py::sizedDialog_Tests::test_dialog1 FAILED [ 61%] unittests/test_lib_sized_controls.py::sizedDialog_Tests::test_dialog2 PASSED [ 61%] unittests/test_lib_sized_controls.py::sizedDialog_Tests::test_dialogTextSizer PASSED [ 61%] unittests/test_lib_sized_controls.py::sizedPanel_Tests::test_panelCtor PASSED [ 62%] unittests/test_lib_sized_controls.py::sizedScrolledPanel_Tests::test_panelCtor PASSED [ 62%] unittests/test_lib_splitter.py::splitter_Tests::test_splitterCtor PASSED [ 62%] unittests/test_lib_splitter.py::splitter_Tests::test_splitterMulti PASSED [ 62%] unittests/test_lib_statbmp.py::lib_statbmp_Tests::test_lib_statbmp1 PASSED [ 62%] unittests/test_lib_stattext.py::lib_stattext_Tests::test_lib_stattext1 PASSED [ 62%] unittests/test_lib_throbber.py::lib_throbber_Tests::test_lib_throbber PASSED [ 62%] unittests/test_lib_throbber.py::lib_throbber_Tests::test_lib_throbber_Events FAILED [ 62%] unittests/test_lib_ticker.py::lib_ticker_Tests::test_lib_ticker PASSED [ 62%] unittests/test_listbook.py::listbook_Tests::test_listbook1 PASSED [ 62%] unittests/test_listbook.py::listbook_Tests::test_listbook2 PASSED [ 62%] unittests/test_listbook.py::listbook_Tests::test_listbook3 PASSED [ 62%] unittests/test_listbox.py::listbox_Tests::test_ComboBoxCtors PASSED [ 62%] unittests/test_listbox.py::listbox_Tests::test_ComboBoxDefaultCtor PASSED [ 62%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlConstants FAILED [ 62%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlCtor PASSED [ 62%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlDefaultCtor PASSED [ 62%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlDeleteAllColumns FAILED [ 62%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlEvent FAILED [ 63%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlEventTypes PASSED [ 63%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlItemData01 PASSED [ 63%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlItemData02 PASSED [ 63%] unittests/test_log.py::log_Tests::test_log PASSED [ 63%] unittests/test_log.py::log_Tests::test_lognull_is_context_mgr PASSED [ 63%] unittests/test_longlong.py::longlong_Tests::test_longlong PASSED [ 63%] unittests/test_mdi.py::mdi_Tests::test_mdiChildFrame1 FAILED [ 63%] unittests/test_mdi.py::mdi_Tests::test_mdiChildFrame2 PASSED [ 63%] unittests/test_mdi.py::mdi_Tests::test_mdiClientWindow FAILED [ 63%] unittests/test_mdi.py::mdi_Tests::test_mdiParentFrame1 FAILED [ 63%] unittests/test_mdi.py::mdi_Tests::test_mdiParentFrame2 FAILED [ 63%] unittests/test_mediactrl.py::mediactrl_Tests::test_mediactrl1 FAILED [ 63%] unittests/test_mediactrl.py::mediactrl_Tests::test_mediactrl2 FAILED [ 63%] unittests/test_mediactrl.py::mediactrl_Tests::test_mediactrl3 PASSED [ 63%] unittests/test_mediactrl.py::mediactrl_Tests::test_mediactrl4 PASSED [ 63%] unittests/test_mediactrl.py::mediactrl_Tests::test_mediactrl5 PASSED [ 63%] unittests/test_menu.py::menu_Tests::test_menu1 PASSED [ 64%] unittests/test_menu.py::menu_Tests::test_menu2 PASSED [ 64%] unittests/test_menu.py::menu_Tests::test_menu3 PASSED [ 64%] unittests/test_menu.py::menu_Tests::test_menuBar1 PASSED [ 64%] unittests/test_menu.py::menu_Tests::test_menuBar2 PASSED [ 64%] unittests/test_menu.py::menu_Tests::test_menuBar3 FAILED [ 64%] unittests/test_menuitem.py::menuitem_Tests::test_menuitemCtor PASSED [ 64%] unittests/test_menuitem.py::menuitem_Tests::test_menuitemKinds FAILED [ 64%] unittests/test_menuitem.py::menuitem_Tests::test_menuitemProperties PASSED [ 64%] unittests/test_metafile.py::MetafileDCTests::test_MetafileDC1 SKIPPED [ 64%] unittests/test_mimetype.py::mimetype_Tests::test_mimetype1 FAILED [ 64%] unittests/test_mimetype.py::mimetype_Tests::test_mimetype2 PASSED [ 64%] unittests/test_mimetype.py::mimetype_Tests::test_mimetype3 FAILED [ 64%] unittests/test_mimetype.py::mimetype_Tests::test_mimetype4 FAILED [ 64%] unittests/test_mimetype.py::mimetype_Tests::test_mimetype5 FAILED [ 64%] unittests/test_minifram.py::minifram_Tests::test_minifram1 PASSED [ 64%] unittests/test_minifram.py::minifram_Tests::test_minifram2 PASSED [ 64%] unittests/test_modalhook.py::modalhook_Tests::test_modalhook1 FAILED [ 65%] unittests/test_mousestate.py::MouseState::test_MouseState PASSED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_gmsgdlg1 PASSED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_gmsgdlg2 PASSED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_gmsgdlg3 PASSED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlg1 PASSED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlg2 PASSED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlg3 PASSED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlgIconConstants FAILED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlgLabels1 PASSED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlgLabels2 PASSED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlgProperties PASSED [ 65%] unittests/test_mustHaveApp.py::TestMustHaveApp::test_mustHaveApp0 PASSED [ 65%] unittests/test_mustHaveApp.py::TestMustHaveApp::test_mustHaveApp1 PASSED [ 65%] unittests/test_notebook.py::notebook_Tests::test_notebookCtor PASSED [ 65%] unittests/test_notebook.py::notebook_Tests::test_notebookDefaultCtor PASSED [ 65%] unittests/test_notebook.py::notebook_Tests::test_notebookEventTypes PASSED [ 65%] unittests/test_notebook.py::notebook_Tests::test_notebookPageAlias PASSED [ 65%] unittests/test_notebook.py::notebook_Tests::test_notebookPages PASSED [ 66%] unittests/test_notebook.py::notebook_Tests::test_notebookStyles PASSED [ 66%] unittests/test_notifmsg.py::notifmsg_Tests::test_notifmsg1 PASSED [ 66%] unittests/test_odcombo.py::odcombo_Tests::test_odcombo1 PASSED [ 66%] unittests/test_odcombo.py::odcombo_Tests::test_odcombo2 PASSED [ 66%] unittests/test_overlay.py::overlay_Tests::test_overlay1 PASSED [ 66%] unittests/test_palette.py::palette_Tests::test_nullPalette PASSED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCreate1 PASSED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCreate2 PASSED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCtor1 PASSED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCtor2 PASSED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCtor3 FAILED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCtor4 FAILED [ 66%] unittests/test_panel.py::panel_Tests::test_panelCtor PASSED [ 66%] unittests/test_panel.py::panel_Tests::test_panelDefaultCtor PASSED [ 66%] unittests/test_pen.py::pen_Tests::test_penConstants PASSED [ 66%] unittests/test_pen.py::pen_Tests::test_penCtor1 PASSED [ 66%] unittests/test_pen.py::pen_Tests::test_penCtor2 PASSED [ 67%] unittests/test_pen.py::pen_Tests::test_penCtor3 PASSED [ 67%] unittests/test_pen.py::pen_Tests::test_penDashes PASSED [ 67%] unittests/test_pen.py::pen_Tests::test_penNonzero PASSED [ 67%] unittests/test_pen.py::pen_Tests::test_penNull PASSED [ 67%] unittests/test_pen.py::pen_Tests::test_penOldStyleNames PASSED [ 67%] unittests/test_pen.py::pen_Tests::test_penProperties FAILED [ 67%] unittests/test_pen.py::pen_Tests::test_penStock PASSED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant1 PASSED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant2 FAILED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant3 PASSED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant4 FAILED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant5 PASSED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant6 FAILED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant7 PASSED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant8 PASSED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant9 FAILED [ 67%] unittests/test_pi_import.py::PIImportTest::test_adv_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_core_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_dataview_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_glcanvas_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_html2_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_html_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_media_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_msw_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_propgrid_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_ribbon_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_richtext_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_stc_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_webkit_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_xml_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_xrc_pi SKIPPED [ 68%] unittests/test_pickers.py::pickers_Tests::test_pickersColour PASSED [ 68%] unittests/test_pickers.py::pickers_Tests::test_pickersColourConstants PASSED [ 68%] unittests/test_pickers.py::pickers_Tests::test_pickersDir PASSED [ 68%] unittests/test_pickers.py::pickers_Tests::test_pickersFile PASSED [ 69%] unittests/test_pickers.py::pickers_Tests::test_pickersFileConstants PASSED [ 69%] unittests/test_pickers.py::pickers_Tests::test_pickersFont PASSED [ 69%] unittests/test_pickers.py::pickers_Tests::test_pickersFontConstatnt PASSED [ 69%] unittests/test_platinfo.py::platinfo_Tests::test_platinfo PASSED [ 69%] unittests/test_platinfo.py::platinfo_Tests::test_platinfoFlags PASSED [ 69%] unittests/test_platinfo.py::platinfo_Tests::test_platinfoProperties PASSED [ 69%] unittests/test_popupwin.py::popupwin_Tests::test_popuptranswinCtor PASSED [ 69%] unittests/test_popupwin.py::popupwin_Tests::test_popupwinCtor PASSED [ 69%] unittests/test_popupwin.py::popupwin_Tests::test_popupwinDefaultCtor PASSED [ 69%] unittests/test_position.py::position_Tests::test_GetIM PASSED [ 69%] unittests/test_position.py::position_Tests::test_positionCopyCtor PASSED [ 69%] unittests/test_position.py::position_Tests::test_positionCtors PASSED [ 69%] unittests/test_position.py::position_Tests::test_positionMath1 PASSED [ 69%] unittests/test_position.py::position_Tests::test_positionMath2 PASSED [ 69%] unittests/test_position.py::position_Tests::test_positionProperties1 PASSED [ 69%] unittests/test_position.py::position_Tests::test_positionProperties2 FAILED [ 69%] unittests/test_power.py::power_Tests::test_power1 PASSED [ 70%] unittests/test_preferences.py::preferences_Tests::test_preferences1 FAILED [ 70%] unittests/test_printdlg.py::printdlg_Tests::test_printdlg1 PASSED [ 70%] unittests/test_printdlg.py::printdlg_Tests::test_printdlg2 FAILED [ 70%] unittests/test_printfw.py::printfw_Tests::test_printfw1 PASSED [ 70%] unittests/test_printfw.py::printfw_Tests::test_printfw2 PASSED [ 70%] unittests/test_process.py::process_Tests::test_process1 Fatal Python error: Bus error Current thread 0x0000ffff947d2010 (most recent call first): File "/home/iurt/rpmbuild/BUILD/wxPython-4.1.1/unittests/test_process.py", line 16 in test_process1 File "/usr/lib64/python3.8/unittest/case.py", line 633 in _callTestMethod File "/usr/lib64/python3.8/unittest/case.py", line 676 in run File "/usr/lib64/python3.8/unittest/case.py", line 736 in __call__ File "/usr/lib/python3.8/site-packages/_pytest/unittest.py", line 278 in runtest File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 163 in pytest_runtest_call File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 256 in File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 310 in from_call File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 255 in call_runtest_hook File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 216 in call_and_report File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 127 in runtestprotocol File "/usr/lib/python3.8/site-packages/pytest_forked/__init__.py", line 62 in runforked File "/usr/lib/python3.8/site-packages/py/_process/forkedfunc.py", line 65 in _child File "/usr/lib/python3.8/site-packages/py/_process/forkedfunc.py", line 50 in __init__ File "/usr/lib/python3.8/site-packages/pytest_forked/__init__.py", line 67 in forked_run_report File "/usr/lib/python3.8/site-packages/pytest_forked/__init__.py", line 46 in pytest_runtest_protocol File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 338 in pytest_runtestloop File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 313 in _main File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 257 in wrap_session File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 306 in pytest_cmdline_main File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.8/site-packages/_pytest/config/__init__.py", line 164 in main File "/usr/lib/python3.8/site-packages/_pytest/config/__init__.py", line 187 in console_main File "/usr/lib/python3.8/site-packages/pytest/__main__.py", line 5 in File "/usr/lib64/python3.8/runpy.py", line 87 in _run_code File "/usr/lib64/python3.8/runpy.py", line 194 in _run_module_as_main FAILED [ 70%] unittests/test_process.py::process_Tests::test_process2 FAILED [ 70%] unittests/test_progdlg.py::progdlg_Tests::test_progdlg1 PASSED [ 70%] unittests/test_progdlg.py::progdlg_Tests::test_progdlg2 FAILED [ 70%] unittests/test_propdlg.py::propdlg_Tests::test_propdlg1 PASSED [ 70%] unittests/test_propdlg.py::propdlg_Tests::test_propgrid2 FAILED [ 70%] unittests/test_propdlg.py::propdlg_Tests::test_propgrid3 FAILED [ 70%] unittests/test_propdlg.py::propdlg_Tests::test_propgrid4 PASSED [ 70%] unittests/test_propgrid.py::propgrid_Tests::test_propgrid01 PASSED [ 70%] unittests/test_propgrid.py::propgrid_Tests::test_propgrid02 FAILED [ 70%] unittests/test_propgrid.py::propgrid_Tests::test_propgrid03 FAILED [ 70%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops01 PASSED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops02 PASSED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops03 PASSED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops04 FAILED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops05 PASSED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops06 FAILED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops07 FAILED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops08 PASSED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops09 FAILED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops10 PASSED [ 71%] unittests/test_propgriddefs.py::propgriddefs_Tests::test_propgriddefs1 FAILED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors01 PASSED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors02 PASSED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors03 FAILED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors04 PASSED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors05 PASSED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors06 PASSED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors07 FAILED [ 72%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors08 PASSED [ 72%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors09 PASSED [ 72%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors10 PASSED [ 72%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors11 PASSED [ 72%] unittests/test_propgridiface.py::propgridiface_Tests::test_propgridiface01 FAILED [ 72%] unittests/test_propgridiface.py::propgridiface_Tests::test_propgridiface02 PASSED [ 72%] unittests/test_propgridiface.py::propgridiface_Tests::test_propgridiface03 FAILED [ 72%] unittests/test_propgridmanager.py::propgridmanager_Tests::test_propgridmanager01 FAILED [ 72%] unittests/test_propgridmanager.py::propgridmanager_Tests::test_propgridmanager02 PASSED [ 72%] unittests/test_propgridpagestate.py::propgridpagestate_Tests::test_propgridpagestate01 FAILED [ 72%] unittests/test_propgridpagestate.py::propgridpagestate_Tests::test_propgridpagestate02 FAILED [ 72%] unittests/test_propgridpagestate.py::propgridpagestate_Tests::test_propgridpagestate03 PASSED [ 72%] unittests/test_propgridpagestate.py::propgridpagestate_Tests::test_propgridpagestate04 FAILED [ 72%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty01 PASSED [ 72%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty03 PASSED [ 72%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty04 PASSED [ 72%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty05 PASSED [ 72%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty06 PASSED [ 73%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty08 PASSED [ 73%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty09 FAILED [ 73%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty10 PASSED [ 73%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty11 FAILED [ 73%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty12 PASSED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops01 PASSED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops02 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops03 PASSED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops04 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops05 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops06 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops07 PASSED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops08 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops09 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops10 PASSED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops11 SKIPPED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops12 PASSED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops13 SKIPPED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops14 PASSED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops15 PASSED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops16 PASSED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops17 FAILED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops18 PASSED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc01 PASSED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc02 PASSED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc03 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc04 PASSED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc05 PASSED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc06 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc07 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc08 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc09 PASSED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc10 FAILED [ 74%] unittests/test_py_introspect.py::py_introspect_Tests::test_getAutoCompleteList PASSED [ 75%] unittests/test_pyevent.py::PyEvents::test_CppClone PASSED [ 75%] unittests/test_pyevent.py::PyEvents::test_CppCloneDerived PASSED [ 75%] unittests/test_pyevent.py::PyEvents::test_CppCloneRefCounts SKIPPED [ 75%] unittests/test_pyevent.py::PyEvents::test_PyCommandEvent PASSED [ 75%] unittests/test_pyevent.py::PyEvents::test_PyEvent PASSED [ 75%] unittests/test_pyevent.py::PyEvents::test_PyEvtCloneRefCounts PASSED [ 75%] unittests/test_pyevent.py::SendingPyEvents::test_PyCommandEventDerivedClone FAILED [ 75%] unittests/test_pyevent.py::SendingPyEvents::test_PyEventDerivedClone FAILED [ 75%] unittests/test_pyevent.py::SendingPyEvents::test_PyEventDerivedPostEvent FAILED [ 75%] unittests/test_pyevent.py::SendingPyEvents::test_PyEventDerivedProcessEvent PASSED [ 75%] unittests/test_radiobox.py::radiobox_Tests::test_radioboxCtor FAILED [ 75%] unittests/test_radiobox.py::radiobox_Tests::test_radioboxDefaultCtor PASSED [ 75%] unittests/test_radiobox.py::radiobox_Tests::test_radioboxTweaks FAILED [ 75%] unittests/test_radiobut.py::radiobut_Tests::test_radiobutCtors PASSED [ 75%] unittests/test_radiobut.py::radiobut_Tests::test_radiobutDefaultCtor PASSED [ 75%] unittests/test_radiobut.py::radiobut_Tests::test_radiobutValue PASSED [ 75%] unittests/test_rawbmp.py::rawbmp_Tests::test_rawbmp1 FAILED [ 75%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl1 PASSED [ 76%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl2 FAILED [ 76%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl3 FAILED [ 76%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl4 PASSED [ 76%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl5 PASSED [ 76%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl6 FAILED [ 76%] unittests/test_region.py::region_Tests::test_regionCtors PASSED [ 76%] unittests/test_region.py::region_Tests::test_regionIterator1 PASSED [ 76%] unittests/test_region.py::region_Tests::test_regionIterator2 PASSED [ 76%] unittests/test_region.py::region_Tests::test_regionOtherRandomStuff FAILED [ 76%] unittests/test_renderer.py::renderer_Tests::test_renderer1 FAILED [ 76%] unittests/test_renderer.py::renderer_Tests::test_renderer2 PASSED [ 76%] unittests/test_renderer.py::renderer_Tests::test_renderer3 FAILED [ 76%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art1 PASSED [ 76%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art2 FAILED [ 76%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art3 PASSED [ 76%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art4 PASSED [ 76%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art5 PASSED [ 77%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art6 PASSED [ 77%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art7 PASSED [ 77%] unittests/test_ribbon_bar.py::ribbon_bar_Tests::test_ribbon_bar1 PASSED [ 77%] unittests/test_ribbon_bar.py::ribbon_bar_Tests::test_ribbon_bar2 PASSED [ 77%] unittests/test_ribbon_bar.py::ribbon_bar_Tests::test_ribbon_bar3 FAILED [ 77%] unittests/test_ribbon_bar.py::ribbon_bar_Tests::test_ribbon_bar4 PASSED [ 77%] unittests/test_ribbon_bar.py::ribbon_bar_Tests::test_ribbon_bar5 FAILED [ 77%] unittests/test_ribbon_buttonbar.py::ribbon_buttonbar_Tests::test_ribbon_buttonbar1 PASSED [ 77%] unittests/test_ribbon_buttonbar.py::ribbon_buttonbar_Tests::test_ribbon_buttonbar2 FAILED [ 77%] unittests/test_ribbon_buttonbar.py::ribbon_buttonbar_Tests::test_ribbon_buttonbar3 PASSED [ 77%] unittests/test_ribbon_buttonbar.py::ribbon_buttonbar_Tests::test_ribbon_buttonbar4 PASSED [ 77%] unittests/test_ribbon_buttonbar.py::ribbon_buttonbar_Tests::test_ribbon_buttonbar5 FAILED [ 77%] unittests/test_ribbon_control.py::ribbon_control_Tests::test_ribbon_control1 PASSED [ 77%] unittests/test_ribbon_control.py::ribbon_control_Tests::test_ribbon_control2 FAILED [ 77%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery1 PASSED [ 77%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery2 PASSED [ 77%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery3 FAILED [ 78%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery4 PASSED [ 78%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery5 FAILED [ 78%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery6 PASSED [ 78%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery7 FAILED [ 78%] unittests/test_ribbon_page.py::ribbon_page_Tests::test_ribbon_page1 PASSED [ 78%] unittests/test_ribbon_page.py::ribbon_page_Tests::test_ribbon_page2 FAILED [ 78%] unittests/test_ribbon_panel.py::ribbon_panel_Tests::test_ribbon_panel1 PASSED [ 78%] unittests/test_ribbon_panel.py::ribbon_panel_Tests::test_ribbon_panel2 PASSED [ 78%] unittests/test_ribbon_panel.py::ribbon_panel_Tests::test_ribbon_panel3 FAILED [ 78%] unittests/test_ribbon_panel.py::ribbon_panel_Tests::test_ribbon_panel4 PASSED [ 78%] unittests/test_ribbon_toolbar.py::ribbon_toolbar_Tests::test_ribbon_toolbar1 PASSED [ 78%] unittests/test_ribbon_toolbar.py::ribbon_toolbar_Tests::test_ribbon_toolbar2 FAILED [ 78%] unittests/test_ribbon_toolbar.py::ribbon_toolbar_Tests::test_ribbon_toolbar3 PASSED [ 78%] unittests/test_ribbon_toolbar.py::ribbon_toolbar_Tests::test_ribbon_toolbar4 FAILED [ 78%] unittests/test_ribbon_toolbar.py::ribbon_toolbar_Tests::test_ribbon_toolbar5 PASSED [ 78%] unittests/test_richmsgdlg.py::richmsgdlg_Tests::test_richmsgdlg1 PASSED [ 78%] unittests/test_richmsgdlg.py::richmsgdlg_Tests::test_richmsgdlg2 FAILED [ 79%] unittests/test_richmsgdlg.py::richmsgdlg_Tests::test_richmsgdlg3 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_GetIM FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer01 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer02 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer03 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer04 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer05 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer06 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer07 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer08 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer09 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer10 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer11 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer12 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer13 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer14a FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer14b PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer14c FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer14d PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer14e FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer15 PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer16 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer17 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer18 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer19 PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer20 PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer21 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer22 PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer23 PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer24 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer25 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer26 PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer27 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer28 PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer29 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer30 PASSED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer31 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer32 PASSED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer33 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer34 PASSED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer35 PASSED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer36 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer37 PASSED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer38 PASSED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer39 FAILED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl1 FAILED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl2 FAILED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl3 PASSED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl4 FAILED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl5 PASSED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl6 FAILED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl7 PASSED [ 82%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl8 FAILED [ 82%] unittests/test_richtextformatdlg.py::richtextformatdlg_Tests::test_richtextformatdlg1 PASSED [ 82%] unittests/test_richtextformatdlg.py::richtextformatdlg_Tests::test_richtextformatdlg2 FAILED [ 82%] unittests/test_richtexthtml.py::richtexthtml_Tests::test_richtexthtml1 PASSED [ 82%] unittests/test_richtextprint.py::richtextprint_Tests::test_richtextprint1 FAILED [ 82%] unittests/test_richtextprint.py::richtextprint_Tests::test_richtextprint2 PASSED [ 82%] unittests/test_richtextprint.py::richtextprint_Tests::test_richtextprint3 FAILED [ 82%] unittests/test_richtextprint.py::richtextprint_Tests::test_richtextprint4 PASSED [ 82%] unittests/test_richtextstyledlg.py::richtextstyledlg_Tests::test_richtextstyledlg1 FAILED [ 82%] unittests/test_richtextstyledlg.py::richtextstyledlg_Tests::test_richtextstyledlg2 PASSED [ 82%] unittests/test_richtextstyledlg.py::richtextstyledlg_Tests::test_richtextstyledlg3 FAILED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles01 FAILED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles02 PASSED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles03 FAILED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles04 PASSED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles05 FAILED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles06 PASSED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles07 PASSED [ 83%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles08 FAILED [ 83%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles09 FAILED [ 83%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles10 FAILED [ 83%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles6 PASSED [ 83%] unittests/test_richtextsymboldlg.py::richtextsymboldlg_Tests::test_richtextsymboldlg1 FAILED [ 83%] unittests/test_richtextsymboldlg.py::richtextsymboldlg_Tests::test_richtextsymboldlg2 PASSED [ 83%] unittests/test_richtextxml.py::richtextxml_Tests::test_richtextxml1 PASSED [ 83%] unittests/test_richtooltip.py::richtooltip_Tests::test_richtooltip1 FAILED [ 83%] unittests/test_richtooltip.py::richtooltip_Tests::test_richtooltip2 PASSED [ 83%] unittests/test_sashwin.py::sashwin_Tests::test_sashwin1 FAILED [ 83%] unittests/test_sashwin.py::sashwin_Tests::test_sashwin2 PASSED [ 83%] unittests/test_sashwin.py::sashwin_Tests::test_sashwin3 PASSED [ 83%] unittests/test_scrolbar.py::scrolbar_Tests::test_scrolbarCtor PASSED [ 83%] unittests/test_scrolbar.py::scrolbar_Tests::test_scrolbarDefaultCtor PASSED [ 83%] unittests/test_scrolbar.py::scrolbar_Tests::test_scrolbarEvents PASSED [ 83%] unittests/test_scrolbar.py::scrolbar_Tests::test_scrolbarProperties FAILED [ 83%] unittests/test_scrolwin.py::scrolwin_Tests::test_SetFocusIgnoringChildren PASSED [ 84%] unittests/test_scrolwin.py::scrolwin_Tests::test_scrolcvsCtor FAILED [ 84%] unittests/test_scrolwin.py::scrolwin_Tests::test_scrolcvsDefaultCtor PASSED [ 84%] unittests/test_scrolwin.py::scrolwin_Tests::test_scrolwinCtor PASSED [ 84%] unittests/test_scrolwin.py::scrolwin_Tests::test_scrolwinDefaultCtor FAILED [ 84%] unittests/test_scrolwin.py::scrolwin_Tests::test_scrolwinOnDraw PASSED [ 84%] unittests/test_settings.py::settings_Tests::test_settingsConstants PASSED [ 84%] unittests/test_settings.py::settings_Tests::test_settingsGetColour PASSED [ 84%] unittests/test_settings.py::settings_Tests::test_settingsGetFont FAILED [ 84%] unittests/test_settings.py::settings_Tests::test_settingsGetMetric PASSED [ 84%] unittests/test_simplebook.py::simplebook_Tests::test_simplebook01 PASSED [ 84%] unittests/test_simplebook.py::simplebook_Tests::test_simplebook02 PASSED [ 84%] unittests/test_simplebook.py::simplebook_Tests::test_simplebook03 PASSED [ 84%] unittests/test_sizer.py::sizer_Tests::test_iter PASSED [ 84%] unittests/test_sizer.py::sizer_Tests::test_sizer2 FAILED [ 84%] unittests/test_sizer.py::sizer_Tests::test_sizerAddMany PASSED [ 84%] unittests/test_sizer.py::sizer_Tests::test_sizerBool FAILED [ 84%] unittests/test_sizer.py::sizer_Tests::test_sizerBox PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerFlags PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerFlexGrid PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerFlexGrid2 FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerGrid PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerOrientation FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers1 PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers2 PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers3 FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers4 PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers5 FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers6 PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerStatBox PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerUserData FAILED [ 85%] unittests/test_slider.py::slider_Tests::test_sliderCtor PASSED [ 85%] unittests/test_slider.py::slider_Tests::test_sliderDefaultCtor FAILED [ 85%] unittests/test_slider.py::slider_Tests::test_sliderFlags PASSED [ 85%] unittests/test_slider.py::slider_Tests::test_sliderProperties PASSED [ 86%] unittests/test_slider.py::slider_Tests::test_sliderRange FAILED [ 86%] unittests/test_slider.py::slider_Tests::test_sliderRange2 FAILED [ 86%] unittests/test_snglinst.py::snglinst_Tests::test_snglinstCtor PASSED [ 86%] unittests/test_snglinst.py::snglinst_Tests::test_snglinstDefaultCtor FAILED [ 86%] unittests/test_sound.py::sound_Tests::test_sound1 PASSED [ 86%] unittests/test_sound.py::sound_Tests::test_sound2 PASSED [ 86%] unittests/test_sound.py::sound_Tests::test_sound3 PASSED [ 86%] unittests/test_sound.py::sound_Tests::test_sound4 FAILED [ 86%] unittests/test_spinbutt.py::spinbutt_Tests::test_spinbuttCtor PASSED [ 86%] unittests/test_spinbutt.py::spinbutt_Tests::test_spinbuttDefaultCtor FAILED [ 86%] unittests/test_spinbutt.py::spinbutt_Tests::test_spinbuttOther PASSED [ 86%] unittests/test_spinbutt.py::spinbutt_Tests::test_spinctrlProperties FAILED [ 86%] unittests/test_spinbutt.py::spinbutt_Tests::test_spinctrlPropertiesInAction PASSED [ 86%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlCtor PASSED [ 86%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlDefaultCtor FAILED [ 86%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlDoubleCtor PASSED [ 86%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlDoubleDefaultCtor FAILED [ 86%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlDoubleProperties FAILED [ 87%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlOther PASSED [ 87%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlProperties FAILED [ 87%] unittests/test_splash.py::splash_Tests::test_splash1 FAILED [ 87%] unittests/test_splash.py::splash_Tests::test_splash2 PASSED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterCtor FAILED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterDefaultCtor FAILED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterEventTypes PASSED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterFlags FAILED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterProperties FAILED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterSplits PASSED [ 87%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlCtor FAILED [ 87%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlDefaultCtor FAILED [ 87%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlEventBinding PASSED [ 87%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlGetSetValue FAILED [ 87%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlHasTextCtrlMethods PASSED [ 87%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlProperties PASSED [ 87%] unittests/test_statbmp.py::statbmp_Tests::test_statbmpCtor FAILED [ 88%] unittests/test_statbmp.py::statbmp_Tests::test_statbmpDefaultCtor PASSED [ 88%] unittests/test_statbmp.py::statbmp_Tests::test_statbmpProperties FAILED [ 88%] unittests/test_statbox.py::statbox_Tests::test_statboxCtor PASSED [ 88%] unittests/test_statbox.py::statbox_Tests::test_statboxDefaultCtor FAILED [ 88%] unittests/test_statbox.py::statbox_Tests::test_statboxGetBordersForSizer PASSED [ 88%] unittests/test_statline.py::statline_Tests::test_statlineCtor PASSED [ 88%] unittests/test_statline.py::statline_Tests::test_statlineDefaultCtor FAILED [ 88%] unittests/test_stattext.py::stattext_Tests::test_stattextCtor PASSED [ 88%] unittests/test_stattext.py::stattext_Tests::test_stattextDefaultCtor FAILED [ 88%] unittests/test_stattext.py::stattext_Tests::test_stattextFlags FAILED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarCtor PASSED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarDefaultCtor FAILED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarFlags PASSED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarFrameUse1 PASSED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarFrameUse2 FAILED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarFrameUse3 PASSED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarGetFielRect FAILED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarStatusBarPane PASSED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarStyles PASSED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarWidths1 PASSED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarWidths2 FAILED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarWidths3 FAILED [ 89%] unittests/test_stc.py::stc_Tests::test_stcCtor PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcDefaultCtor FAILED [ 89%] unittests/test_stc.py::stc_Tests::test_stcEvent PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcEventBinderssExist PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcEventConstantsExist FAILED [ 89%] unittests/test_stc.py::stc_Tests::test_stcHasTextCtrlMethods PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl1 FAILED [ 89%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl2 PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl3 PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl5 FAILED [ 89%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl6 PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl8 FAILED [ 89%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrlConstantsExist FAILED [ 90%] unittests/test_stdpaths.py::stdpaths_Tests::test_stdpaths PASSED [ 90%] unittests/test_stockgdi.py::stockgdi_Tests::test_stockgdi1 PASSED [ 90%] unittests/test_stockgdi.py::stockgdi_Tests::test_stockgdi2 FAILED [ 90%] unittests/test_stockgdi.py::stockgdi_Tests::test_stockgdi3 FAILED [ 90%] unittests/test_stockitem.py::stockitem_Tests::test_stockitem1 FAILED [ 90%] unittests/test_stopwatch.py::stopwatch_Tests::test_stopwatch1 FAILED [ 90%] unittests/test_stream.py::stream_Tests::test_inputStreamParam PASSED [ 90%] unittests/test_stream.py::stream_Tests::test_outputStreamParam FAILED [ 90%] unittests/test_string.py::String::test_StringTypemapsPy3 PASSED [ 90%] unittests/test_sysopt.py::sysopt_Tests::test_sysopt1 PASSED [ 90%] unittests/test_taskbar.py::taskbar_Tests::test_taskbar1 FAILED [ 90%] unittests/test_taskbar.py::taskbar_Tests::test_taskbar2 PASSED [ 90%] unittests/test_textcompleter.py::testcompleter_Tests::test_textCompleter1 FAILED [ 90%] unittests/test_textcompleter.py::testcompleter_Tests::test_textCompleterSimple PASSED [ 90%] unittests/test_textcompleter.py::testcompleter_Tests::test_textcompleterClasses PASSED [ 90%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlCtor PASSED [ 90%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlDefaultCtor FAILED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlFlags FAILED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlNativeCaret PASSED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlProperties FAILED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlTextAttr PASSED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlTextAttrProperties PASSED [ 91%] unittests/test_textdlg.py::textdlg_Tests::test_textdlg1 FAILED [ 91%] unittests/test_textdlg.py::textdlg_Tests::test_textdlg2 FAILED [ 91%] unittests/test_tglbtn.py::tglbtn_Tests::test_ButtonDefaultCtor FAILED [ 91%] unittests/test_tglbtn.py::tglbtn_Tests::test_ButtonDefaultEvt PASSED [ 91%] unittests/test_tglbtn.py::tglbtn_Tests::test_tglbtnCtors FAILED [ 91%] unittests/test_timectrl.py::timectrl_Tests::test_timectrl1 PASSED [ 91%] unittests/test_timer.py::timer_Tests::test_timerCallLater1 FAILED [ 91%] unittests/test_timer.py::timer_Tests::test_timerCallLater2 PASSED [ 91%] unittests/test_timer.py::timer_Tests::test_timerDerivedClass FAILED [ 91%] unittests/test_timer.py::timer_Tests::test_timerOwner1 PASSED [ 91%] unittests/test_timer.py::timer_Tests::test_timerOwner2 FAILED [ 91%] unittests/test_timer.py::timer_Tests::test_timerPyTimer PASSED [ 92%] unittests/test_tipdlg.py::tipdlg_Tests::test_tipdlg1 FAILED [ 92%] unittests/test_tipdlg.py::tipdlg_Tests::test_tipdlg2 FAILED [ 92%] unittests/test_tipwin.py::tipwin_Tests::test_tipwinCtor PASSED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbar1 FAILED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbar2 PASSED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbarClientData1 FAILED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbarClientData2 PASSED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbarStyles FAILED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbarTools1 PASSED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbarTools2 FAILED [ 92%] unittests/test_toolbook.py::toolbook_Tests::test_toolbook1 PASSED [ 92%] unittests/test_toolbook.py::toolbook_Tests::test_toolbook2 FAILED [ 92%] unittests/test_toolbook.py::toolbook_Tests::test_toolbook3 PASSED [ 92%] unittests/test_tooltip.py::tooltip_Tests::test_tooltip FAILED [ 92%] unittests/test_tooltip.py::tooltip_Tests::test_tooltipStatics PASSED [ 92%] unittests/test_translation.py::translation_Tests::test_translation1 FAILED [ 92%] unittests/test_treebook.py::treebook_Tests::test_treebook1 PASSED [ 93%] unittests/test_treebook.py::treebook_Tests::test_treebook2 PASSED [ 93%] unittests/test_treebook.py::treebook_Tests::test_treebook3 FAILED [ 93%] unittests/test_treebook.py::treebook_Tests::test_treebook4 PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treeEventsExist PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlConstantsExist PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlCtor PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlDefaultCtor PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlGetFirstNext PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlGetSelections PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlTreeItemData PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlTreeItemId01 PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlTreeItemId02 PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlTreeItemId03 PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlTreeItemPyData PASSED [ 93%] unittests/test_treelist.py::treelist_Tests::test_treelist1 PASSED [ 93%] unittests/test_treelist.py::treelist_Tests::test_treelist2 PASSED [ 93%] unittests/test_treelist.py::treelist_Tests::test_treelist3 PASSED [ 93%] unittests/test_treelist.py::treelist_Tests::test_treelist4 PASSED [ 94%] unittests/test_treelist.py::treelist_Tests::test_treelistitem_hashable PASSED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsBusyCursor PASSED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsBusyCursor2 PASSED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsBusyCursor3 PASSED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsSomeOtherStuff PASSED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsVersionInfo PASSED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsWindowDisabler PASSED [ 94%] unittests/test_validate.py::validate_Tests::test_validateDefault PASSED [ 94%] unittests/test_validate.py::validate_Tests::test_validateTransfer PASSED [ 94%] unittests/test_variant.py::variant_Tests::test_variant1 PASSED [ 94%] unittests/test_variant.py::variant_Tests::test_variant2 PASSED [ 94%] unittests/test_variant.py::variant_Tests::test_variant3 PASSED [ 94%] unittests/test_variant.py::variant_Tests::test_variantArrayString1 PASSED [ 94%] unittests/test_variant.py::variant_Tests::test_variantArrayString2 PASSED [ 94%] unittests/test_variant.py::variant_Tests::test_variantDateTime1 PASSED [ 94%] unittests/test_variant.py::variant_Tests::test_variantDateTime2 PASSED [ 94%] unittests/test_variant.py::variant_Tests::test_variantNone PASSED [ 95%] unittests/test_variant.py::variant_Tests::test_variantPyObject PASSED [ 95%] unittests/test_vidmode.py::vidmode_Tests::test_defaultVidmode PASSED [ 95%] unittests/test_vidmode.py::vidmode_Tests::test_vidmode PASSED [ 95%] unittests/test_virtualOverride.py::virtualOverride_Tests::test_virtualOverride PASSED [ 95%] unittests/test_vlbox.py::vlbox_Tests::test_vlbox1 PASSED [ 95%] unittests/test_vlbox.py::vlbox_Tests::test_vlbox2 FAILED [ 95%] unittests/test_vlbox.py::vlbox_Tests::test_vlbox3 PASSED [ 95%] unittests/test_vlbox.py::vlbox_Tests::test_vlbox4 FAILED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_HScrolledWindow1 PASSED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_HScrolledWindow2 PASSED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_HVScrolledWindow1 PASSED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_HVScrolledWindow2 PASSED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_VScrolledWindow1 PASSED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_VScrolledWindow2 PASSED [ 95%] unittests/test_wacky_ints.py::wacky_ints_Tests::test_wacky1 PASSED [ 95%] unittests/test_wacky_ints.py::wacky_ints_Tests::test_wacky2 PASSED [ 95%] unittests/test_wacky_ints.py::wacky_ints_Tests::test_wacky3 PASSED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit01 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit02 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit03 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit04 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit05 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit06 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit07 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit08 SKIPPED [ 96%] unittests/test_webview.py::webview_Tests::test_webview1 PASSED [ 96%] unittests/test_webview.py::webview_Tests::test_webview2 FAILED [ 96%] unittests/test_webview.py::webview_Tests::test_webview3 PASSED [ 96%] unittests/test_webview.py::webview_Tests::test_webview5 PASSED [ 96%] unittests/test_webview.py::webview_Tests::test_webview6 PASSED [ 96%] unittests/test_window.py::WindowTests::test_DLG_UNIT FAILED [ 96%] unittests/test_window.py::WindowTests::test_SimpleWindowCtor PASSED [ 96%] unittests/test_window.py::WindowTests::test_vizattrs1 PASSED [ 96%] unittests/test_window.py::WindowTests::test_vizattrs2 PASSED [ 96%] unittests/test_window.py::WindowTests::test_vizattrs3 PASSED [ 97%] unittests/test_window.py::WindowTests::test_windowCoordConvFunctions PASSED [ 97%] unittests/test_window.py::WindowTests::test_windowFunctions PASSED [ 97%] unittests/test_window.py::WindowTests::test_windowHandle PASSED [ 97%] unittests/test_window.py::WindowTests::test_windowProperties FAILED [ 97%] unittests/test_windowid.py::IdManagerTest::test_WindowIDRef01 PASSED [ 97%] unittests/test_windowid.py::IdManagerTest::test_WindowIDRef02 PASSED [ 97%] unittests/test_windowid.py::IdManagerTest::test_WindowIDRef03 PASSED [ 97%] unittests/test_windowid.py::IdManagerTest::test_idManager PASSED [ 97%] unittests/test_windowid.py::IdManagerTest::test_newIdRef01 PASSED [ 97%] unittests/test_windowid.py::IdManagerTest::test_newIdRef02 PASSED [ 97%] unittests/test_windowid.py::IdManagerTest::test_newIdRef03 FAILED [ 97%] unittests/test_windowid.py::IdManagerTest::test_newIdRef04 FAILED [ 97%] unittests/test_windowlist.py::WindowList::test_WindowList_GetChildren PASSED [ 97%] unittests/test_windowlist.py::WindowList::test_WindowList_GetTLW1 PASSED [ 97%] unittests/test_windowlist.py::WindowList::test_WindowList_repr FAILED [ 97%] unittests/test_wizard.py::wizard_Tests::test_wizard1 PASSED [ 97%] unittests/test_wizard.py::wizard_Tests::test_wizard2 PASSED [ 98%] unittests/test_wizard.py::wizard_Tests::test_wizard3 PASSED [ 98%] unittests/test_wizard.py::wizard_Tests::test_wizard4 FAILED [ 98%] unittests/test_wrapsizer.py::wrapsizer_Tests::test_wrapsize PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetime1 PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetime2 FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetime3 FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetime4 PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeConvertFromPyDate FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeConvertFromPyDatetime FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeConvertHelpers PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeFormatParse PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeGetAmPm PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDate1 PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDate2 FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDate3 PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDateTime1 PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDateTime2 FAILED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDateTime3 PASSED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseFormat1 PASSED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseFormat2 PASSED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseRfc822Date PASSED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseTime1 FAILED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeProperties FAILED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeSet PASSED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeTm FAILED [ 99%] unittests/test_xml.py::xml_Tests::test_xml1 PASSED [ 99%] unittests/test_xml.py::xml_Tests::test_xml2 PASSED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc1 PASSED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc2 PASSED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc3 PASSED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc4 PASSED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc5 PASSED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc6 PASSED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc7 FAILED [100%] =================================== FAILURES =================================== _____________________ BitmapTests.test_bitmapCopyToBuffer1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ BitmapTests.test_bitmapCopyToBuffer3 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ BitmapTests.test_bitmapEmptyFactory2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ BitmapTests.test_bitmapHandle _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ BitmapButtonTests.test_BitmapButtonDefaultCtor ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ panel_Tests.test_bookctrl1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ BrushTests.test_StockBrushesExist _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ ButtonTests.test_ButtonCtors _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ButtonTests.test_ButtonProperties _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ calctrl_Tests.test_calctrl2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ calctrl_Tests.test_calctrl4 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ChoiceTests.test_ChoiceProperties _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ clipbrd_Tests.test_clpbrd2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ cmdproc_Tests.test_cmdproc1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ cmdproc_Tests.test_cmdproc3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ collheaderctrl_Tests.test_collheaderctrl1 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ collheaderctrl_Tests.test_collheaderctrl3 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ CollapsiblePaneTests.test_CollPaneDefaultCtor _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ colordlg_Tests.test_colordlg1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ Colour.test_copy_ctor _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ Colour.test_numpy_ctor ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ Colour.test_rgb_ctor _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ Colour.test_seq_ctor1 _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ combo_Tests.test_combo1 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ ComboBoxTests.test_comboboxSetSelection ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ commandlinkbutton_Tests.test_commandlinkbutton1 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ ConfigTests.test_Config1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ ConfigTests.test_Config3 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ ControlTests.test_ControlCtors ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ cshelp_Tests.test_cshelp1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ CursorTests.test_CursorCtors _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ CursorTests.test_Cursor__nonzero__ ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ DataObjTests.test_DataFormatIDsExist _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ DataObjTests.test_DataObjectComposite _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ DataObjTests.test_DataObjectSimple2 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewColumn ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewCtrl1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ dataview_Tests.test_dataviewEvt2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewIconText1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ dataview_Tests.test_dataviewIndexListModel1 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewItem6 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewItemAttr1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewListCtrl1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewRenderer02 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewRenderer04 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewRenderer06 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ dataview_Tests.test_dataviewVirtualListModel1 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ datectrl_Tests.test_datectrl1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ datectrl_Tests.test_genericdatectrl2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ dateevt_Tests.test_dateevt2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dc_Tests.test_NativeMacHandle _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dc_Tests.test_dcContextManager ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ dc_Tests.test_dcPointLists __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ dcDrawLists_Tests.test_dcDrawPointLists ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ BufferedDCTests.test_0_CheckKeepReference ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ BufferedDCTests.test_BufferedDCConstantsExist _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ BufferedDCTests.test_BufferedDCDefaultCtor __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ MemoryDCTests.test_MemoryDC3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dcps_tests.test_PostscriptDC1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ deadobj_Tests.test_deadobjException ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ deadobj_Tests.test_deadobj__nonzero__2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ defs_Tests.test_constants1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ dialog_Tests.test_dialog1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dialog_Tests.test_dialogTextSizer _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dirctrl_Tests.test_dirctrlDefaultCtor _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ dnd_Tests.test_dnd1 ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ dnd_Tests.test_dndDropTarget _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dragimag_Tests.test_dragimag5 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ Events.test_FocusEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ Events.test_IconizeEvent_ctor _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ Events.test_InitDialogEvent_ctor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ Events.test_KeyEvent_GetUnicodeKey ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ Events.test_KeyEvent_SetUnicodeKey ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ Events.test_MaximizeEvent_ctor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ Events.test_MouseCaptureChangedEvent_ctor ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ Events.test_MouseCaptureLostEvent_ctor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ Events.test_MoveEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ Events.test_QueryNewPaletteEvent_ctor _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ Events.test_ScrollWinEvent_ctor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ Events.test_ShowEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ Events.test_SysColourChangedEvent_ctor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ Events.test_WindowCreateEvent_ctor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ Events.test_eventBinding ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ Events.test_eventUnbinding4 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ eventfilter_Tests.test_EventFilter_subclass __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ filectrl_Tests.test_filectrl1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ filectrl_Tests.test_filectrl3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ filectrl_Tests.test_filectrl5 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ filedlg_Tests.test_filedlgFlags ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ gauge_Tests.test_gaugeProperties _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ graphics_Tests.test_gcTextExtents _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_GetIM _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid04 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid12 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid15 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ grid_Tests.test_grid17a ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid22 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid23 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid38 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid39 ____________________________ self = def test_grid39(self): wx.grid.wxEVT_GRID_CELL_LEFT_CLICK wx.grid.wxEVT_GRID_CELL_RIGHT_CLICK wx.grid.wxEVT_GRID_CELL_LEFT_DCLICK wx.grid.wxEVT_GRID_CELL_RIGHT_DCLICK wx.grid.wxEVT_GRID_LABEL_LEFT_CLICK wx.grid.wxEVT_GRID_LABEL_RIGHT_CLICK wx.grid.wxEVT_GRID_LABEL_LEFT_DCLICK wx.grid.wxEVT_GRID_LABEL_RIGHT_DCLICK wx.grid.wxEVT_GRID_ROW_SIZE wx.grid.wxEVT_GRID_COL_SIZE > wx.grid.wxEVT_GRID_RANGE_SELECT E AttributeError: module 'wx.grid' has no attribute 'wxEVT_GRID_RANGE_SELECT' unittests/test_grid.py:253: AttributeError _________________________ helpwnd_Tests.test_helpwnd1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmlcell_Tests.test_htmlcell3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ htmlwin_Tests.test_htmlwin1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ htmlwin_Tests.test_htmlwin4 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ htmlwin_Tests.test_htmlwin6 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ hyperlink_Tests.test_hyperlink3 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ icon_Tests.test_icon1 _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ icon_Tests.test_icon3 _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ iconbndl_Tests.test_iconbndl2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ iconbndl_Tests.test_iconbndl4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor4 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor4c _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor6 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor7 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor9 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ image_Tests.test_imageGetData _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ image_Tests.test_imageHandlerDerivation ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ image_Tests.test_imageHandlerStandardDerivationsDerivation __________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ image_Tests.test_imageSetAlphaBuffer _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ image_Tests.test_imageSetDataBuffer2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ image_Tests.test_imaglistConstants ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ infobar_Tests.test_infobar1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ infobar_Tests.test_infobar2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ intl_Tests.test_intlGetString _________________________ self = def test_intlGetString(self): # This tests if we're able to pull translations from the wx message catalogs loc = wx.Locale(wx.LANGUAGE_SPANISH) st = loc.GetString('Next') > self.assertEqual(st, 'Siguiente') E AssertionError: 'Next' != 'Siguiente' E - Next E + Siguiente unittests/test_intl.py:32: AssertionError ----------------------------- Captured stderr call ----------------------------- 12:20:59: Warning: Cannot set locale to language "Spanish". _______________________ intl_Tests.test_intlLanguageInfo _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ laywin_Tests.test_laywin5 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____ lib_agw_advancedsplash_Tests.test_lib_agw_advancedsplashConstantsExist ____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________ lib_agw_aquabutton_Tests.test_lib_agw_aquabuttonMethods ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_aui_additional_Tests.test_lib_agw_auiConstantsExist __________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________ lib_agw_balloontip_Tests.test_lib_agw_balloontipConstantsExist ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_agw_buttonpanel_Tests.test_lib_agw_buttonpanelConstantsExist _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_buttonpanel_Tests.test_lib_agw_buttonpanelMethods ___________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __ lib_agw_cubecolourdialog_Tests.test_lib_agw_cubecolourdialogConstantsExist __ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlConstantsExist ____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlCtor _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlGetSelections _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlItemCheck _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlSetWindow _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlTreeItem _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlTreeItemData _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_flatmenu_Tests.test_lib_agw_flatmenuConstantsExist __________ self = def setUp(self): ''' Monkey patch some methods which don't behave well without a MainLoop. We could restore them in tearDown, but there's no need because self.frame will be destroyed in tearDown. ''' > super(lib_agw_flatmenu_Tests, self).setUp() unittests/test_lib_agw_flatmenu.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_floatspin_Tests.test_lib_agw_floatspinCtor ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___ lib_agw_fourwaysplitter_Tests.test_lib_agw_fourwaysplitterConstantsExist ___ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_agw_fourwaysplitter_Tests.test_lib_agw_fourwaysplitterEvents _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___ lib_agw_genericmessagedialog_Tests.test_lib_agw_genericmessagedialogCtor ___ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _ lib_agw_genericmessagedialog_Tests.test_lib_agw_genericmessagedialogMethods __ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_agw_hypertreelist_Tests.test_lib_agw_hypertreelistConstantsExist _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_hypertreelist_Tests.test_lib_agw_hypertreelistEvents _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _ lib_agw_hypertreelist_Tests.test_lib_agw_hypertreelistSetItemColourOfColumns _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ lib_agw_infobar_Tests.test_lib_agw_infobar1 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_knobctrl_Tests.test_lib_agw_knobctrlConstantsExist __________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_labelbook_Tests.test_lib_agw_labelbookCtor ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_labelbook_Tests.test_lib_agw_labelbookEvents _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_labelbook_Tests.test_lib_agw_labelbookPages ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____ lib_agw_multidirdialog_Tests.test_lib_agw_multidirdialogConstantsExist ____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_agw_multidirdialog_Tests.test_lib_agw_multidirdialogMethods ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_peakmeter_Tests.test_lib_agw_peakmeterCtor ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________ lib_agw_peakmeter_Tests.test_lib_agw_peakmeterMethods _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___ lib_agw_persist_persistencemanager_Tests.test_persistencemanagerRestore ____ self = def setUp(self): > super(lib_agw_persist_persistencemanager_Tests, self).setUp() unittests/test_lib_agw_persist_persistencemanager.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _ lib_agw_persist_persistencemanager_Tests.test_persistencemanagerZZZZCleanup __ self = def setUp(self): > super(lib_agw_persist_persistencemanager_Tests, self).setUp() unittests/test_lib_agw_persist_persistencemanager.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_piectrl_Tests.test_lib_agw_piectrlMethods _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______ lib_agw_pycollapsiblepane_Tests.test_lib_agw_pycollapsiblepaneCtor ______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_agw_pyprogress_Tests.test_lib_agw_pyprogressConstantsExists ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_ribbon_Tests.test_lib_agw_pyprogressConstantsExists __________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_ribbon_Tests.test_lib_agw_ribbonControlCtor ______________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ lib_agw_ribbon_Tests.test_lib_agw_ribbonEvents ________________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ lib_agw_ribbon_Tests.test_lib_agw_ribbonPageCtor _______________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________ lib_agw_shortcuteditor_Tests.test_lib_agw_rulerctrlCtor ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________ lib_agw_speedmeter_Tests.test_lib_agw_peakmeterConstantsExist _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_speedmeter_Tests.test_lib_agw_speedmeterSizerLayout __________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_thumbnailctrl_Tests.test_lib_agw_thumbnailctrlCtor __________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_thumbnailctrl_Tests.test_lib_agw_thumbnailctrlEvents _________ self = def test_lib_agw_thumbnailctrlEvents(self): > TNC.EVT_THUMBNAILS_CAPTION_CHANGED E AttributeError: module 'wx.lib.agw.thumbnailctrl' has no attribute 'EVT_THUMBNAILS_CAPTION_CHANGED' unittests/test_lib_agw_thumbnailctrl.py:15: AttributeError ______ lib_agw_ultimatelistctrl_Tests.test_lib_agw_ultimatelistctrlEvents ______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________ lib_agw_zoombar_Tests.test_lib_agw_thumbnailctrlEvents ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ lib_busy_Tests.test_lib_busy1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ lib_busy_Tests.test_lib_busy2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ lib_busy_Tests.test_lib_busy4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_calendar_Tests.test_lib_calendar_CalendarCtor _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ lib_cdate_Tests.test_lib_cdate_IsleapFalse __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ lib_cdate_Tests.test_lib_cdate_Julianday ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ lib_fancytext_Tests.test_lib_fancytext_DateCtor ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testCreator.testCreates ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testCreator.testMinMax2 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testCreator.testShape _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testCreator.testShape3 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testAsBBox.testPassArray ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testAsBBox.testPassThrough __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testIntersect.testAbove ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testIntersect.testInside ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testIntersect.testOutside ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testIntersect.testSame ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testIntersect.testZeroSize __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testIntersect.testZeroSize3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testEquality.testIdentical __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testEquality.testWithArray __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testPointInside.testRight ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ testPointInside.testUpperRight ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testFromPoints.testCreate ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ testFromPoints.testListTuples _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testMerge.testFullOutside ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testMerge.testUpRight _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testWidthHeight.testSetH ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testWidthHeight.testSetW ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ testBBarray.testJoin _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testNullBBox.testNotEquals __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testNullBBox.testOverlaps ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testNullBBox.testValues ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testInfBBox.testEquals ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testInfBBox.testMerge _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testInfBBox.testNotEquals ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testInfBBox.testOverlaps2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testInfBBox.testOverlaps3 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testInfBBox.testOverlaps5 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ testSides.testBottom _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ testSides.testRight ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________________ testSides.testTop _______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_arrow ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_bitmap _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_line ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_point ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_pointset ______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_recteclips _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_scaledtext _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_spline _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_text ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_floatcanvasCtor ____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ MaskedIpAddrCtrlTests.test_ipaddrctrlCtor ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ lib_ogl_Tests.test_lib_oglDivisonShape ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ lib_ogl_Tests.test_lib_oglEllipseShape ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ lib_ogl_Tests.test_lib_oglTextShape ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________ lib_plot_PlotCanvas_Tests.test_lib_plot_plotcanvasCtor ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ sizedFrame_Tests.test_frameStyles _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizedDialog_Tests.test_dialog1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ lib_throbber_Tests.test_lib_throbber_Events __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ listctrl_Tests.test_listctrlConstants _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ listctrl_Tests.test_listctrlDeleteAllColumns _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ listctrl_Tests.test_listctrlEvent _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mdi_Tests.test_mdiChildFrame1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mdi_Tests.test_mdiClientWindow ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mdi_Tests.test_mdiParentFrame1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mdi_Tests.test_mdiParentFrame2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ mediactrl_Tests.test_mediactrl1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ mediactrl_Tests.test_mediactrl2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ menu_Tests.test_menuBar3 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ menuitem_Tests.test_menuitemKinds _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mimetype_Tests.test_mimetype1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mimetype_Tests.test_mimetype3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mimetype_Tests.test_mimetype4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mimetype_Tests.test_mimetype5 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ modalhook_Tests.test_modalhook1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ msgdlg_Tests.test_msgdlgIconConstants _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ palette_Tests.test_paletteCtor3 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ palette_Tests.test_paletteCtor4 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ pen_Tests.test_penProperties _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ pgvariant_Tests.test_pgvariant2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ pgvariant_Tests.test_pgvariant4 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ pgvariant_Tests.test_pgvariant6 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ pgvariant_Tests.test_pgvariant9 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ position_Tests.test_positionProperties2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ preferences_Tests.test_preferences1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ printdlg_Tests.test_printdlg2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ process_Tests.test_process1 __________________________ :-1: running the test CRASHED with signal 7 _________________________ process_Tests.test_process2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ progdlg_Tests.test_progdlg2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ propdlg_Tests.test_propgrid2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ propdlg_Tests.test_propgrid3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ propgrid_Tests.test_propgrid02 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ propgrid_Tests.test_propgrid03 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ propgridadvprops_Tests.test_propgridadvprops04 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ propgridadvprops_Tests.test_propgridadvprops06 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ propgridadvprops_Tests.test_propgridadvprops07 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ propgridadvprops_Tests.test_propgridadvprops09 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ propgriddefs_Tests.test_propgriddefs1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors03 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors07 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridiface_Tests.test_propgridiface01 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridiface_Tests.test_propgridiface03 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgridmanager_Tests.test_propgridmanager01 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ propgridpagestate_Tests.test_propgridpagestate01 _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ propgridpagestate_Tests.test_propgridpagestate02 _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ propgridpagestate_Tests.test_propgridpagestate04 _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ property_Tests.test_propgridproperty09 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ property_Tests.test_propgridproperty11 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops02 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops04 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops05 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops06 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops08 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops09 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops17 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc03 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc06 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc07 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc08 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc10 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ SendingPyEvents.test_PyCommandEventDerivedClone ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ SendingPyEvents.test_PyEventDerivedClone ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ SendingPyEvents.test_PyEventDerivedPostEvent _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ radiobox_Tests.test_radioboxCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ radiobox_Tests.test_radioboxTweaks ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ rawbmp_Tests.test_rawbmp1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ rearrangectrl_Tests.test_rearrangectrl2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ rearrangectrl_Tests.test_rearrangectrl3 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ rearrangectrl_Tests.test_rearrangectrl6 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ region_Tests.test_regionOtherRandomStuff ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ renderer_Tests.test_renderer1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ renderer_Tests.test_renderer3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_art_Tests.test_ribbon_art2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_bar_Tests.test_ribbon_bar3 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_bar_Tests.test_ribbon_bar5 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ ribbon_buttonbar_Tests.test_ribbon_buttonbar2 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ ribbon_buttonbar_Tests.test_ribbon_buttonbar5 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_control_Tests.test_ribbon_control2 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_gallery_Tests.test_ribbon_gallery3 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_gallery_Tests.test_ribbon_gallery5 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_gallery_Tests.test_ribbon_gallery7 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ ribbon_page_Tests.test_ribbon_page2 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ ribbon_panel_Tests.test_ribbon_panel3 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_toolbar_Tests.test_ribbon_toolbar2 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_toolbar_Tests.test_ribbon_toolbar4 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ richmsgdlg_Tests.test_richmsgdlg2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ richtextbuffer_Tests.test_GetIM ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer01 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer03 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer07 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer11 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer13 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ richtextbuffer_Tests.test_richtextbuffer14a __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ richtextbuffer_Tests.test_richtextbuffer14c __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ richtextbuffer_Tests.test_richtextbuffer14e __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer16 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer17 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer18 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer21 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer24 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer25 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer27 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer29 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer31 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer33 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer36 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer39 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ richtextctrl_Tests.test_richtextctrl1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ richtextctrl_Tests.test_richtextctrl2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ richtextctrl_Tests.test_richtextctrl4 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ richtextctrl_Tests.test_richtextctrl6 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ richtextctrl_Tests.test_richtextctrl8 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ richtextformatdlg_Tests.test_richtextformatdlg2 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ richtextprint_Tests.test_richtextprint1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ richtextprint_Tests.test_richtextprint3 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ richtextstyledlg_Tests.test_richtextstyledlg1 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ richtextstyledlg_Tests.test_richtextstyledlg3 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles01 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles03 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles05 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles08 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles09 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles10 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ richtextsymboldlg_Tests.test_richtextsymboldlg1 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ richtooltip_Tests.test_richtooltip1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ sashwin_Tests.test_sashwin1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ scrolbar_Tests.test_scrolbarProperties ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ scrolwin_Tests.test_scrolcvsCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ scrolwin_Tests.test_scrolwinDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ settings_Tests.test_settingsGetFont ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ sizer_Tests.test_sizer2 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ sizer_Tests.test_sizerBool __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ sizer_Tests.test_sizerFlexGrid2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ sizer_Tests.test_sizerOrientation _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizer_Tests.test_sizerSpacers3 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizer_Tests.test_sizerSpacers5 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizer_Tests.test_sizerUserData ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ slider_Tests.test_sliderDefaultCtor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ slider_Tests.test_sliderRange _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ slider_Tests.test_sliderRange2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ snglinst_Tests.test_snglinstDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ sound_Tests.test_sound4 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ spinbutt_Tests.test_spinbuttDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ spinbutt_Tests.test_spinctrlProperties ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ spinctrl_Tests.test_spinctrlDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ spinctrl_Tests.test_spinctrlDoubleDefaultCtor _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ spinctrl_Tests.test_spinctrlDoubleProperties _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ spinctrl_Tests.test_spinctrlProperties ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ splash_Tests.test_splash1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ splitter_Tests.test_splitterCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ splitter_Tests.test_splitterDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ splitter_Tests.test_splitterFlags _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ splitter_Tests.test_splitterProperties ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ srchctrl_Tests.test_srchctrlCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ srchctrl_Tests.test_srchctrlDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ srchctrl_Tests.test_srchctrlGetSetValue ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ statbmp_Tests.test_statbmpCtor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ statbmp_Tests.test_statbmpProperties _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ statbox_Tests.test_statboxDefaultCtor _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ statline_Tests.test_statlineDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ stattext_Tests.test_stattextDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ stattext_Tests.test_stattextFlags _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ statusbar_Tests.test_statusbarDefaultCtor ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ statusbar_Tests.test_statusbarFrameUse2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ statusbar_Tests.test_statusbarGetFielRect ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ statusbar_Tests.test_statusbarWidths2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ statusbar_Tests.test_statusbarWidths3 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ stc_Tests.test_stcDefaultCtor _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ stc_Tests.test_stcEventConstantsExist _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ stc_Tests.test_stcStyleTextCtrl1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ stc_Tests.test_stcStyleTextCtrl5 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ stc_Tests.test_stcStyleTextCtrl8 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ stc_Tests.test_stcStyleTextCtrlConstantsExist _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ stockgdi_Tests.test_stockgdi2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ stockgdi_Tests.test_stockgdi3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ stockitem_Tests.test_stockitem1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ stopwatch_Tests.test_stopwatch1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ stream_Tests.test_outputStreamParam ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ taskbar_Tests.test_taskbar1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ testcompleter_Tests.test_textCompleter1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ textctrl_Tests.test_textctrlDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ textctrl_Tests.test_textctrlFlags _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ textctrl_Tests.test_textctrlProperties ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ textdlg_Tests.test_textdlg1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ textdlg_Tests.test_textdlg2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ tglbtn_Tests.test_ButtonDefaultCtor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ tglbtn_Tests.test_tglbtnCtors _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ timer_Tests.test_timerCallLater1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ timer_Tests.test_timerDerivedClass ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ timer_Tests.test_timerOwner2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ tipdlg_Tests.test_tipdlg1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ tipdlg_Tests.test_tipdlg2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ toolbar_Tests.test_toolbar1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ toolbar_Tests.test_toolbarClientData1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ toolbar_Tests.test_toolbarStyles _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ toolbar_Tests.test_toolbarTools2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ toolbook_Tests.test_toolbook2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ tooltip_Tests.test_tooltip __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ translation_Tests.test_translation1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ treebook_Tests.test_treebook3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ vlbox_Tests.test_vlbox2 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ vlbox_Tests.test_vlbox4 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ webview_Tests.test_webview2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ WindowTests.test_DLG_UNIT ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ WindowTests.test_windowProperties _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ IdManagerTest.test_newIdRef03 _________________________ self = def test_newIdRef03(self): """Check that Auto ID Management is enabled (--enable-autoidman)""" # This test is expected to fail if autoID mangagement is turned on # because a reference to the ID is not being saved, so it will be # unreserved when the first widget is destroyed. id = wx.Window.NewControlId() b = wx.Button(self.frame, id, 'button') b.Destroy() self.myYield() with self.assertRaises(wx.wxAssertionError): b = wx.Button(self.frame, id, 'button') > b.Destroy() E AssertionError: wxAssertionError not raised unittests/test_windowid.py:45: AssertionError ________________________ IdManagerTest.test_newIdRef04 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ WindowList.test_WindowList_repr ________________________ self = def setUp(self): > super(WindowList, self).setUp() unittests/test_windowlist.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ wizard_Tests.test_wizard4 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ datetime_Tests.test_datetime2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ datetime_Tests.test_datetime3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ datetime_Tests.test_datetimeConvertFromPyDate _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ datetime_Tests.test_datetimeConvertFromPyDatetime _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ datetime_Tests.test_datetimeParseDate2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ datetime_Tests.test_datetimeParseDateTime2 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ datetime_Tests.test_datetimeParseTime1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ datetime_Tests.test_datetimeProperties ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ datetime_Tests.test_datetimeTm ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ xrc_Tests.test_xrc7 ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) wx/core.py:2207: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused =============================== warnings summary =============================== unittests/test_dataview.py:248 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/unittests/test_dataview.py:248: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma? return 'value(%d, %d)' (row, col) wx/lib/agw/aui/framemanager.py:3947 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/agw/aui/framemanager.py:3947: DeprecationWarning: invalid escape sequence \` """ wx/lib/masked/maskededit.py:909 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:909: DeprecationWarning: invalid escape sequence \d hours = '(0\d| \d|1[012])' wx/lib/masked/maskededit.py:946 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:946: DeprecationWarning: invalid escape sequence \( 'validRegex': "^\(\d{3}\) \d{3}-\d{4}", wx/lib/masked/maskededit.py:952 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:952: DeprecationWarning: invalid escape sequence \d 'validRegex': "^\d{3}-\d{3}-\d{4}", wx/lib/masked/maskededit.py:958 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:958: DeprecationWarning: invalid escape sequence \( 'validRegex': "^\(\d{3}\) \d{3}-\d{4}", wx/lib/masked/maskededit.py:964 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:964: DeprecationWarning: invalid escape sequence \d 'validRegex': "^\d{3}-\d{3}-\d{4}", wx/lib/masked/maskededit.py:988 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:988: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/' + '\d{4} ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', wx/lib/masked/maskededit.py:995 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:995: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '-' + days + '-' + '\d{4} ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', wx/lib/masked/maskededit.py:1001 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1001: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/' + '\d{4} ' + milhours + ':' + minutes + ':' + seconds, wx/lib/masked/maskededit.py:1007 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1007: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '-' + days + '-' + '\d{4} ' + milhours + ':' + minutes + ':' + seconds, wx/lib/masked/maskededit.py:1014 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1014: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/' + '\d{4} ' + hours + ':' + minutes + ' (A|P)M', wx/lib/masked/maskededit.py:1020 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1020: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/' + '\d{4} ' + milhours + ':' + minutes, wx/lib/masked/maskededit.py:1027 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1027: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '-' + days + '-' + '\d{4} ' + hours + ':' + minutes + ' (A|P)M', wx/lib/masked/maskededit.py:1033 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1033: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '-' + days + '-' + '\d{4} ' + milhours + ':' + minutes, wx/lib/masked/maskededit.py:1039 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1039: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/' + '\d{4}', wx/lib/masked/maskededit.py:1045 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1045: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/\d\d', wx/lib/masked/maskededit.py:1051 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1051: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '-' + days + '-' +'\d{4}', wx/lib/masked/maskededit.py:1058 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1058: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '/' + months + '/' + days, wx/lib/masked/maskededit.py:1064 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1064: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '.' + months + '.' + days, wx/lib/masked/maskededit.py:1070 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1070: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + months + '/' + '\d{4}', wx/lib/masked/maskededit.py:1076 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1076: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + months + '.' + '\d{4}', wx/lib/masked/maskededit.py:1082 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1082: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + charmonths + '.' + '\d{4}', wx/lib/masked/maskededit.py:1088 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1088: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + charmonths + '/' + '\d{4}', wx/lib/masked/maskededit.py:1096 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1096: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '/' + months + '/' + days + ' ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', wx/lib/masked/maskededit.py:1103 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1103: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '.' + months + '.' + days + ' ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', wx/lib/masked/maskededit.py:1110 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1110: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + months + '/' + '\d{4} ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', wx/lib/masked/maskededit.py:1117 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1117: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + months + '.' + '\d{4} ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', wx/lib/masked/maskededit.py:1125 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1125: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '/' + months + '/' + days + ' ' + hours + ':' + minutes + ' (A|P)M', wx/lib/masked/maskededit.py:1132 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1132: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '.' + months + '.' + days + ' ' + hours + ':' + minutes + ' (A|P)M', wx/lib/masked/maskededit.py:1139 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1139: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + months + '/' + '\d{4} ' + hours + ':' + minutes + ' (A|P)M', wx/lib/masked/maskededit.py:1146 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1146: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + months + '.' + '\d{4} ' + hours + ':' + minutes + ' (A|P)M', wx/lib/masked/maskededit.py:1153 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1153: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '/' + months + '/' + days + ' ' + milhours + ':' + minutes + ':' + seconds, wx/lib/masked/maskededit.py:1159 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1159: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '.' + months + '.' + days + ' ' + milhours + ':' + minutes + ':' + seconds, wx/lib/masked/maskededit.py:1165 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1165: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + months + '/' + '\d{4} ' + milhours + ':' + minutes + ':' + seconds, wx/lib/masked/maskededit.py:1171 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1171: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + months + '.' + '\d{4} ' + milhours + ':' + minutes + ':' + seconds, wx/lib/masked/maskededit.py:1176 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1176: DeprecationWarning: invalid escape sequence \d 'formatcodes': 'DF','validRegex': '^' + '\d{4}'+ '/' + months + '/' + days + ' ' + milhours + ':' + minutes, wx/lib/masked/maskededit.py:1182 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1182: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '.' + months + '.' + days + ' ' + milhours + ':' + minutes, wx/lib/masked/maskededit.py:1188 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1188: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + months + '/' + '\d{4} ' + milhours + ':' + minutes, wx/lib/masked/maskededit.py:1194 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1194: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + months + '.' + '\d{4} ' + milhours + ':' + minutes, wx/lib/masked/maskededit.py:1227 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1227: DeprecationWarning: invalid escape sequence \d 'validRegex': "\d{3}-\d{2}-\d{4}", wx/lib/masked/maskededit.py:1233 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1233: DeprecationWarning: invalid escape sequence \d 'validRegex': "\d{4}-\d{4}-\d{4}-\d{4}", wx/lib/masked/maskededit.py:1239 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1239: DeprecationWarning: invalid escape sequence \d 'validRegex': "^" + months + "/\d\d", wx/lib/masked/maskededit.py:1245 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1245: DeprecationWarning: invalid escape sequence \d 'validRegex': "^\d{5}", wx/lib/masked/maskededit.py:1251 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1251: DeprecationWarning: invalid escape sequence \d 'validRegex': "\d{5}-(\s{4}|\d{4})", wx/lib/masked/maskededit.py:1257 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1257: DeprecationWarning: invalid escape sequence \d 'validRegex': "^0.\d\d", wx/lib/masked/maskededit.py:1270 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1270: DeprecationWarning: invalid escape sequence \w 'validRegex': "^\w+([\-\.]\w+)*@((([a-zA-Z0-9]+(\-[a-zA-Z0-9]+)*\.)+)[a-zA-Z]{2,4}|\[(\d|\d\d|(1\d\d|2[0-4]\d|25[0-5]))(\.(\d|\d\d|(1\d\d|2[0-4]\d|25[0-5]))){3}\]) *$", wx/lib/masked/maskededit.py:1276 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:1276: DeprecationWarning: invalid escape sequence \d 'validRegex': "( \d| \d\d|(1\d\d|2[0-4]\d|25[0-5]))(\.( \d| \d\d|(1\d\d|2[0-4]\d|25[0-5]))){3}", wx/lib/masked/maskededit.py:2262 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:2262: DeprecationWarning: invalid escape sequence \{ rex = re.compile('([' + "".join(maskchars) + '])\{(\d+)\}') wx/lib/masked/maskededit.py:6460 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:6460: DeprecationWarning: invalid escape sequence \. filter = re.compile("[ ]?[#]+\.[#]+\n") wx/lib/masked/maskededit.py:6583 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:6583: DeprecationWarning: invalid escape sequence \( ("Phone No", "(###) ###-#### x:###", "", 'F!^-R', "^\(\d\d\d\) \d\d\d-\d\d\d\d", (),[],''), wx/lib/masked/maskededit.py:6586 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:6586: DeprecationWarning: invalid escape sequence \d ("Social Sec#", "###-##-####", "", 'F', "\d{3}-\d{2}-\d{4}", (),[],''), wx/lib/masked/maskededit.py:6587 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:6587: DeprecationWarning: invalid escape sequence \d ("U.S. Zip+4", "#{5}-#{4}", "", 'F', "\d{5}-(\s{4}|\d{4})",(),[],''), wx/lib/masked/maskededit.py:6589 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:6589: DeprecationWarning: invalid escape sequence \C ("Customer No", "\CAA-###", "", 'F!', "C[A-Z]{2}-\d{3}", (),[],''), wx/lib/masked/maskededit.py:6589 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:6589: DeprecationWarning: invalid escape sequence \d ("Customer No", "\CAA-###", "", 'F!', "C[A-Z]{2}-\d{3}", (),[],''), wx/lib/masked/maskededit.py:6596 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/maskededit.py:6596: DeprecationWarning: invalid escape sequence \d ("fraction selector","#/##", "", 'F', "^\d\/\d\d?", (), wx/lib/masked/numctrl.py:48 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/numctrl.py:48: DeprecationWarning: invalid escape sequence \* """ wx/lib/masked/timectrl.py:585 /home/iurt/rpmbuild/BUILD/wxPython-4.1.1/wx/lib/masked/timectrl.py:585: DeprecationWarning: invalid escape sequence \d hourfield = Field(formatcodes='0r