When I run emerge wspr, proces is ok without errors. After trying to run, it gives a error and wspr doesn't show up. Reproducible: Always Steps to Reproduce: 1.emerge wspr 2.wspr or python wspr.py 3.error Actual Results: I tried two way's to run wspr: teun@i5-750 ~ $ wspr File "/usr//bin/wspr.py", line 33 print "******************************************************************" ^ SyntaxError: invalid syntax teun@i5-750 ~ $ python wspr.py /usr/bin/python3.2: can't open file 'wspr.py': [Errno 2] No such file or directory As root I have the same problem.
Created attachment 336618 [details] emerge --info
Seems you run python3 as your default python interpreter. I know wspr does not work with python3 yet. But I will look a little bit closer into it the next days.
(In reply to comment #0) > teun@i5-750 ~ $ python wspr.py > /usr/bin/python3.2: can't open file 'wspr.py': [Errno 2] No such file or > directory > > Teun, please try to run 'python2 /usr/bin/wspr.py' and report what happens for you.
Tom, I tried: teun@i5-750 ~ $ python2 /usr/bin/wspr.py python2: can't open file '/usr/bin/wspr.py': [Errno 2] No such file or directory teun@i5-750 ~ $ To show that python2 is working: i5-750 teun # python2 Python 2.7.3 (default, Jan 24 2013, 17:48:58) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
Tom, it works now with python2 /usr/bin/wspr.py python2 /usr/bin/wspr.py ****************************************************************** WSPR Version 2.0_r1714 , by K1JT Run date: Thu Jan 31 18:53:27 2013 UTC ALSA lib pcm_dsnoop.c:612:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave ^CTraceback (most recent call last): File "/usr/bin/wspr.py", line 1474, in <module> root.mainloop() File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1017, in mainloop self.tk.mainloop(n) KeyboardInterrupt Thanks Teun
(In reply to comment #5) > Tom, it works now with python2 /usr/bin/wspr.py > Good to hear. Anyway I just working on a fix to make calling wspr itself easier by using the new python-r1 eclass infrastructure. sew Bug #453570