a_whg_bo_bl_090921bc.jpgb_bo_vo_01.jpgbo_vo_03.jpgc_sh_20090810_1219137715a.jpgd_sh_20090810_1884408984a.jpgf_no_kanal_brunsb_01.jpgg_zuletzt_20110323_1260177973a.jpgs_schillig-reede_03.jpg

26.01.2013

Last year I tried to compile WSPR on my Medion Akoya Netbooks, under ubuntu 10.x, 11.x and 12.04 without any success. I remember the error messages like 'cannot import name w' or a string-to-float conversion problem and so on. Compiling or using the .deb package and running 'python wspr.py' in the wspr directory under Debian 6 however was no problem, though I didn't test the CAT function.
By the way, Ubuntu 12.10 with kernel 3.5 does not run on the Akoya 1230, but Ubuntu 13.04 alpha with kernel 3.7 can be installed without a crash of the x server. On the other hand both Ubuntu versions work without problems on the Akoya 1210 and 1312.

At first I installed a fresh ubuntu system 12.10 and 13.04 alpha resp. and some other programs I need like gnome-environment, synaptic, gnome-schedule, wsjt and fldigi.
The CAT function of WSPR is a must-have for me and so at first I intended to install virtualbox with Windows XP, but finally I decided to compile WSPR again, and it worked!

The known procedure was as follows:
$ sudo apt-get install subversion python2.7-dev python-numpy python-imaging-tk python-pmw libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 python-dev libhamlib-utils
$ svn co http://svn.berlios.de/svnroot/repos/wsjt/branches/wspr
$ cd wspr
$ ./configure --with-portaudio-lib-dir=/usr/lib/i386-linux-gnu/
$ make
(may be some warnings and errors, but no interrupt)
WSPR runs with
'python wspr.py' in the wspr directory

To use the CAT function you must have installed libhamlib-utils and the usb to serial converter working (dev/ttyUSB0). (The correct detection and allocation of the converter you can find in the kernel log with the command 'dmesg').
Finally you have to add the group 'dialout' to user.
And so WSPR 4.0 (r2874) works for me starting together with ntpdate and fldigi.

Two annoying probably hardware related problems remain: audio output does not start until I click in ubuntu's audio vulume menue, the adjustment of the display's brightness does not work, neither with the Fn keys nor with the ubuntu system settings 'Brightness and Lock'.

73, Wolfgang DL8YCA    2013-01-25

 

addendum 2013-03-07

 It's really a pain with Ubuntu and WSPR!

After updating Ubuntu 13.04 alpha last week WSPR doesn't work correctly any more. Changing from RX to TX status the WSPR window freezes, but TX with CAT works on.

Error Message:
 
Exception in Tkinter callback
Traceback (most recent call last):

  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1473, in __call__ return self.func(*args)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 534, in callit     func(*args)
  File "wspr.py", line 1228, in update
    draw.text((x,148),tw[i],fill=253)        #Insert time label
  File "/usr/lib/python2.7/dist-packages/PIL/ImageDraw.py", line 256, in text
    ink, fill = self._getink(fill)
  File "/usr/lib/python2.7/dist-packages/PIL/ImageDraw.py", line 144, in _getink
    if self.palette and not Image.isNumberType(ink):
AttributeError: 'module' object has no attribute 'isNumberType'

Very angry about this without further ado I commented out the following lines in wspr.py:

1228 draw.text((x,148),tw[i],fill=253)        #Insert time label
1229                if i<len(fw):
1230                    draw.text((x+10,1),fw[i],fill=253)   #Insert band label

And.. WSPR worked again.

Let's see what'll happen next!

Wolfgang,  DL8YCA

 

Template by a4joomla, modified by DL8YCA         Impressum