FS#48487 - [kicad] Pcbnew fails to open if wxpython is not installed

Attached to Project: Community Packages
Opened by cyrozap (cyrozap) - Monday, 07 March 2016, 00:21 GMT
Last edited by Kyle Keen (keenerd) - Friday, 11 March 2016, 20:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

When opening a schematic with Pcbnew, this error appears and Pcbnew fails to start:

Python error -1 occurred running string `import wxversion; wxversion.select('3.0')`
pcbnewInitPythonScripting() failed.


Additional info:
* Package version: 4.0.2-3
* config and/or log files etc.


Steps to reproduce:
1. Open a Kicad project
2. Try opening a .kicad_pcb file inside that project
3. The above message appears


Looking at the package history, this can be fixed by making wxpython a required dependency instead of an optional one.
This task depends upon

Closed by  Kyle Keen (keenerd)
Friday, 11 March 2016, 20:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  kicad-4.0.2-4
Comment by Nick (nickoe) - Monday, 07 March 2016, 06:46 GMT
FWIW, you can just open pcbnew directly on the commandline.
Comment by Kyle (2bluesc) - Friday, 11 March 2016, 15:16 GMT
This occurs to me as well with kicad 4.0.2-3 and was fasily fixed with installation of wxpython 3.0.2.0-2.

The error results in a number of frustrating side effect:
* No response when trying to close kicad windows by clicking the "x" in Gnome 3
* Navigating in hierarchical sheets using right click -> leave sheet didn't respond

Loading...