Installed but not running Linux Debian

34 views
Skip to first unread message

IonCube khanz

unread,
Jun 10, 2017, 5:32:35 PM6/10/17
to sofastatistics
@
Linux ion-bunsenlab 3.16.0-4-686-pae #1 SMP Debian 3.16.43-2 (2017-04-30) i686 GNU/Linux

I have installed the deb file with no issues, it automatically downloaded all prerequisites. But when I run it, it fails. Following is the terminal output

sofastats
Just imported warnings
Just imported codecs
Just imported datetime
Just imported gettext
Just imported glob
Just imported os
Just imported platform
Just imported shutil
Just imported sqlite3
Just imported sys
Just imported traceback
Just ran wxversion
Traceback (most recent call last):
 
File "/usr/share/pyshared/sofastats/start.py", line 22, in <module>
   
import home
 
File "/usr/share/pyshared/sofastats/home.py", line 58, in <module>
   
import setup # if any modules are going to fail, it will be when this imported
 
File "/usr/share/pyshared/sofastats/setup.py", line 62, in <module>
   
import wx
 
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 14822, in <module>
   
from _gdi import *
 
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 4, in <module>
   
import _gdi_
ImportError: /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so: symbol _ZN14wxGnomePrintDC13GetResolutionEv, version WXU_2.8 not defined in file libwx_gtk2u_core-2.8.so.0 with link time reference


Via Synaptic history following packages were installed
  • libwxbase2.8-dev (2.8.12.1+dfsg2-dmo4)
  • libwxgtk2.8-dev (2.8.12.1+dfsg2-dmo4)
  • wx-common (3.0.2-1+b1)
  • wx2.8-headers (2.8.12.1+dfsg2-dmo4)
Also note that my system indicates that I also have following package (different version) but Synaptic reports no conflicts & installation was flawless
  • libwxgtk3.0-0

IonCube khanz

unread,
Jun 10, 2017, 7:07:33 PM6/10/17
to sofastatistics
Ok finally a solution 
  1. Via Synaptic Packet Manager added PPA deb http://archive.ubuntu.com/ubuntu wily main universe 
  2. After running update changed following package versions to Ubuntu-Wiley (via Force Package Version...)
    • python-wxgtk2.8 (2.8.12.1-12) to 2.8.12.1+dfsg2-2ubuntu2
    • libwxbase2.8-0
    • libwxgtk2.8-0
  3. Application ran flawlessly
  4. Unchecked added PPA from rep manager

Its a crude way of doing things

Reply all
Reply to author
Forward
0 new messages