Pcbnew closes immediately

Asked by Jesse Millwood

Application: Pcbnew
Version: (2014-03-31 BZR 4779)-product Release build
wxWidgets: Version 2.8.12 (release,Unicode,compiler with C++ ABI 1002,GCC 4.8.1,wx containers,compatible with 2.6)
Platform: Linux 3.11.0-18-generic x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

When I click on Pcbnew, the main Kicad window prompt prints that it opens and then immediately closes. When I open Kicad from the terminal and then click the Pcbnew icon the following is printed out in the teminal:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 4, in <module>
    import _core_
ImportError: /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so: undefined symbol: PyExc_ValueError
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 64, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python2.7/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 16, in <module>
    from xml.parsers.expat import ExpatError
  File "/usr/lib/python2.7/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: /usr/lib/python2.7/lib-dynload/pyexpat.x86_64-linux-gnu.so: undefined symbol: _Py_ZeroStruct

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 4, in <module>
    import _core_
ImportError: /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so: undefined symbol: PyExc_ValueError

I am not sure if this is considered a bug or if I am using the wrong wxpython or something, in which case it would be on my end and not the developers. I know Kicad is going through some massive changes right now and I am not sure if this caused from it or again, if it is me.

Additional Information:
  System: Xubuntu 13.10 64bit
  Computer: Hp nc6320

Any insight is appreciated
Jesse Millwood

Question information

Language:
English Edit question
Status:
Answered
For:
KiCad Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Reiner Schmidt (reinermschmidt) said :
#1

I have experienced the same error. It must have something to do with the pcb file. I can run PCBnew just fine it only crahes with a particular file. Ill keep looking into this.

Revision history for this message
Lorenzo Marcantonio (l-marcantonio) said :
#2

It could be a known bug affecting scripting-enabled builds. Try to update in a few days, they are working on it.

Can you help with this problem?

Provide an answer of your own, or ask Jesse Millwood for more information if necessary.

To post a message you must log in.