openSUSE-11.2: whyteboard - no module named wx ? whyteboard won't run

Does anyone have whyteboard running? I saw it mentioned in the Dec-2010 issue of Linuxjournal, but I can’t get it to run, either from the rpm in the build service, nor from the tarball on the whyteboard website, nor from the rpm on the whyteboard web site.

In all cases I get an error something like:

oldcpu@hal2009:~> python whyteboard.py
Traceback (most recent call last):
  File "whyteboard.py", line 46, in <module>
    import wx
ImportError: No module named wx

I would be surprised if I am missing the prerequisite wx, as I have:


oldcpu@hal2009:~> rpm -qa '*wx*'
libwxsvg0-1.0.7.1-1.pm.1.1.x86_64
python-wxGTK-wxtools-2.8.10.1-2.pm.20.6.x86_64
wxGTK-2.8.10.1-5.6.x86_64
wxWidgets-2.8.10.1-2.pm.20.6.x86_64
wxGTK-gl-2.8.10.1-5.6.x86_64
wxWidgets-compat-2.8.10.1-2.pm.20.6.x86_64
wxScintilla-1.69.2-0.pm.1.1.x86_64
wxcam-1.0.6-0.pm.4.12.x86_64
wxsvg-1.0.7.1-1.pm.1.1.x86_64
wxWidgets-gl-compat-2.8.10.1-2.pm.20.6.x86_64
python-wxGTK-2.8.10.1-2.pm.20.6.x86_64
wxGTK-compat-2.8.10.1-5.6.x86_64
wxWidgets-gl-2.8.10.1-2.pm.20.6.x86_64
wxWidgets-devel-2.8.10.1-2.pm.20.6.x86_64

and for python:

oldcpu@hal2009:~> rpm -qa '*pyth*'
python-gobject2-devel-2.20.0-2.2.x86_64
libxml2-python-2.7.3-2.2.x86_64        
libboost_python1_39_0-1.39.0-4.3.1.x86_64
python-wxGTK-wxtools-2.8.10.1-2.pm.20.6.x86_64
python-gtk-devel-2.16.0-2.3.x86_64            
rpm-python-4.7.1-6.7.1.x86_64                 
python-gnome-2.28.0-2.3.x86_64                
python-gtk-2.16.0-2.3.x86_64                  
python-urlgrabber-3.1.0-182.1.noarch          
python-devel-2.6.2-6.5.1.x86_64               
libpython2_6-1_0-2.6.2-6.5.1.x86_64           
python-simplejson-2.0.9-0.pm.4.1.x86_64       
python-lxml-2.2.2-2.1.x86_64                  
python-enchant-1.5.1-1.1.x86_64               
python-pyxdg-0.19-0.pm.1.1.noarch             
python-base-2.6.2-6.5.1.x86_64                
python-mlt-0.5.10-1.pm.1.2.x86_64             
python-xml-2.6.2-6.5.1.x86_64                 
python-goocanvas-0.14.1-2.3.x86_64            
python-numpy-1.3.0-0.pm.3.1.x86_64            
python-satsolver-0.14.17-1.1.2.x86_64         
python-cairo-devel-1.8.6-2.1.x86_64           
python-kdebase4-4.3.5-0.2.1.x86_64            
python-tk-2.6.2-6.5.1.x86_64                  
python-cups-1.9.42-5.1.x86_64
python-wxGTK-2.8.10.1-2.pm.20.6.x86_64
python-kde4-4.3.5-0.1.4.x86_64
python-imaging-1.1.6-214.1.x86_64
python-pyexiv2-0.2.2-0.pm.2.1.x86_64
xchat-python-2.8.6-44.45.2.x86_64
python-Editra-2.8.10.1-2.pm.20.6.noarch
python-orbit-2.24.0-2.5.x86_64
python-qt4-4.6.1-1.1.1.x86_64
python-sip-4.9.1-1.1.1.x86_64
dbus-1-python-0.83.0-28.2.x86_64
python-cairo-1.8.6-2.1.x86_64
python-cupshelpers-1.1.12-2.2.1.x86_64
python-farsight2-0.0.16-2.3.x86_64
python-gobject2-2.20.0-2.2.x86_64
python-XRCed-2.8.10.1-2.pm.20.6.noarch
python-2.6.2-6.5.1.x86_64
python-gnome-extras-2.25.3-6.6.x86_64
gimp-plugins-python-2.6.8-1.1.1.x86_64

I think it’s broken -
Installing the rpm into a 32-bit 11.3,
It won’t run due to numerous code errors

SuSEBOX:/home/tony # which whyteboard
/usr/bin/whyteboard
SuSEBOX:/home/tony # /usr/bin/whyteboard --help
Traceback (most recent call last):
  File "/usr/bin/whyteboard", line 47, in <module>
    from whyteboard import WhyteboardApp
  File "/usr/lib/whyteboard/whyteboard/__init__.py", line 4, in <module>
    from whyteboard.gui import WhyteboardApp
  File "/usr/lib/whyteboard/whyteboard/gui/__init__.py", line 25, in <module>
    from panels import ControlPanel, MediaPanel, SidePanel
  File "/usr/lib/whyteboard/whyteboard/gui/panels.py", line 29, in <module>
    import wx.media
  File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/media.py", line 8, in <module>
    import _media
ImportError: /usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_media.so: undefined symbol: wxEVT_MEDIA_FINISHED
SuSEBOX:/home/tony # 

I didn’t try running it purely off the tarball, I assume the rpm should be based on the tarball and IMO the errors are likely too basic to make a diff.

Hi
You can always check the requires here;
https://build.opensuse.org/package/view_file?file=whyteboard.spec&package=whyteboard&project=home%3Al1zard&srcmd5=4d825644cbec8487f5dfa818378d43bc

You need python, python-wxGTK, ImageMagick


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 Milestone 3 of 6 (i586) Kernel 2.6.36-18-desktop
up 0:11, 2 users, load average: 1.11, 0.82, 0.52
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

I have met those dependencies, but I get the same error.

I think the package is broken for openSUSE, because of something that openSUSE does different from the distribution in which the package was created. I don’t think the package is broken for all distributions.

There is a ‘glowing’ review/article on this application in the December 2010 issue of LinuxJournal, and presumably the application had to run for that article to be written.

I note the inability to easily modify PDF files is one of the MAIN reasons why my wife refuses to use Linux, and hence I confess to having some selfish reasons for wanting to see this run on openSUSE.

When I skimmed the documentation, it looked like PDFs aren’t actually modified, Whyteboard applies its own graphic layer on top of the PDF, and that layer is never integrated/exported/merged with the PDF. If true, then Whyteboard may not really be much different than using GIMP, and GIMP will save as a single universally readable file.

As or “easily” modifying PDF files, have you tried OpenOffice Writer?
Although I’m having some issues with Writer sometimes reading formats (particularly tables) correctly, it will edit PDFs.

Tony

Tony

Yes, I have tried it, and unfortunately my wife finds it comes up lacking. She prefers Adobe software under windoze over what she can do with openoffice in Linux.

Unfortunately,
I’d have to agree with her. If I’m doing anything for myself I’m willing to use various “free” apps but when I build something professionally to distribute to others I find I have to use MS, always. Adobe options are getting better, but the same generally applies.

Tony

Hi
Will look at it as see what’s up with it…


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (i586) Kernel 2.6.32.24-0.2-pae
up 0:34, 2 users, load average: 0.25, 0.09, 0.12
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME