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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@workshop ~]$ sam
 File "/usr/local/bin/sam", line 152
   print ''
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print('')?
[groucho@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@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup

_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup



[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]

  Powered by Linux