Ok, i have tried to make it with python3, but there is still a problem
related to the Alsa driver:

python3 -O ./wsjt.py
******************************************************************
WSJT Version 10.0 r5755 , by K1JT
Revision date: 2015-08-05 22:04:20 +0200 (on., 05 aug. 2015)
Run date:   Sat Aug 29 13:18:17 2015 UTC
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
Expression 'alsa_snd_pcm_hw_params_set_rate_near( pcm, hwParams,
&setRate, NULL )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3201
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started

Audio     Input    Output     Device Name
Device  Channels  Channels
------------------------------------------------------------------
   0        2         8       HDA Intel PCH: ALC892 Analog (hw:0,0)
   1        0         2       HDA Intel PCH: ALC892 Digital (hw:0,1)
   2        2         0       HDA Intel PCH: ALC892 Alt Analog (hw:0,2)
   3        0         8       HDA NVidia: HDMI 0 (hw:1,3)
   4        0         8       HDA NVidia: HDMI 1 (hw:1,7)
   5        0         8       HDA NVidia: HDMI 2 (hw:1,8)
   6        0         8       HDA NVidia: HDMI 3 (hw:1,9)
   7        1         2       RIGblaster Advantage Audio: USB Audio (hw:2,0)
   8       128        128       sysdefault
   9        0         8       front
  10        0         8       surround40
  11        0        128       surround41
  12        0        128       surround50
  13        0         8       surround51
  14        0         8       surround71
  15        0         2       iec958
  16        0         2       spdif
  17       32        32       pulse
  18        0         2       dmix
  19       32        32       default

User requested devices:   Input =  7   Output =  7
Default devices:          Input = 19   Output = 19
Will open devices:        Input =  7   Output =  7
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
Expression 'alsa_snd_pcm_hw_params_set_rate_near( pcm, hwParams,
&setRate, NULL )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3201
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Expression 'parameters->channelCount <= maxChans' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1514
Expression 'ValidateParameters( inputParameters, hostApi,
StreamDirection_In )' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line: 1838
Error opening input audio stream.
        Errortext: Invalid number of channels
        Number: -9998
Error opening output audio stream.
        Errortext: Invalid sample rate
        Number: -9997
Error  3 in JTaudio, you will only be able to work offline.



I suggest that the fsk441 protocol is implemented in wsjtx,since the
latest stable version works without problems here.
I know that many other folks running Linux mint 17 and a rigblaster
advantage has the same problem.
Also,perhaps changing it to use a different sound mobile, perhaps
portaudio is a solution.

I am tired of hassling with this problem, and i am simply giving it up
until the bugs in ALSA or WSJT are solved by the developers.

Den 29. aug. 2015 13:35, skrev Bill Somerville:
> On 29/08/2015 12:19, Richard Bown wrote:
>> Edit the Makefile
>>
>> change the python and f2py lines to this:-
>> # WSJT specific Fortran flags
>> FFLAGS          +=      -O2 -fbounds-check -fno-second-underscore -Wall 
>> -Wno-conversion -Wno-character-truncation
>> CFLAGS          +=      -I. -DBIGSYM -DHAVE_STRUCT_TIMESPEC -fPIC
>>
>> PYTHON          ?=      /usr/bin/python3    <<<<<
>> F2PY            ?=      /usr/bin/f2py3.4    <<<<<
>>
>> run make
> There should be no need to change the Makefile directly. Makefile 
> variables can be overridden from the make command line:
> 
>   $ make PYTHON=/usr/bin/python3 F2PY=/usr/bin/f2py3.4
> 
> I am no expert in WSJT building so even this my not be necessary but if 
> it is then this is the safest way to do it.
> 
> 73
> Bill
> G4WJS.
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
> 

-- 
-----------
Håken Hveem

------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to