Speech-friendly alsa mixer (sam) released, testers needed

Willem van der Walt wvdwalt at csir.co.za
Wed Apr 10 05:54:32 EDT 2019


Hi Chuck,
Samuel is correct. You are clearly running python3 which require print() 
and some other stuff too.
You can check if you do not have python2 installed.
On my box, which python2 comes up with /usr/bin/python2
If it does on your side too, I would say the safest way is to force sam to 
use python2 by editing the very first line of the script, replacing
/usr/bin/env python with /usr/bin/python2 or whatever your path is.
Yes, you can change all print statements to the python3 way, but I do not 
know what else would break then.
HTH, Willem


On Wed, 10 Apr 2019, Chuck Hallenbeck wrote:

> [The e-mail server of the sender could not be verified (SPF Record)]
>
> Hi Willem,
>
> I am using arch, and had to use pyalsaaudio from the AUR to satisfy the
> requirements for sam, but on first executing it, I get this:
>
> [groucho at workshop ~]$ sam
>  File "/usr/local/bin/sam", line 152
>    print ''
>           ^
> SyntaxError: Missing parentheses in call to 'print'. Did you mean
> print('')?
> [groucho at workshop ~]$
>
>
> Any suggestions? Looks like an interesting idea.
>
> Chuck
>
> -- 
> Here In Northeast Ohio, The Moon is Waxing Crescent (25% of Full)
> If you don't stand for something, you will fall for anything.
> Sent from Lula's missing iPhone.
> _______________________________________________
> Speakup mailing list
> Speakup at linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>


More information about the Speakup mailing list