Alan,

Thanks for the hint. After I followed your fix, I got the following:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/PIL/ImageTk.py", line 178,
in paste
    tk.call("PyImagingPhoto", self.__photo, block.id)
_tkinter.TclError: invalid command name "PyImagingPhoto"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "wspr.py", line 174, in <module>
    pim=ImageTk.PhotoImage(im)
  File "/usr/local/lib/python3.4/dist-packages/PIL/ImageTk.py", line 113,
in __init__
    self.paste(image)
  File "/usr/local/lib/python3.4/dist-packages/PIL/ImageTk.py", line 182,
in paste
    from PIL import _imagingtk
ImportError: cannot import name '_imagingtk'

OK, so imagingtk isn't being pulled in. sudo apt-get install
python3-imaging-tk gives me this.

Package python3-imaging-tk is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python3-pil.imagetk:i386 python3-pil.imagetk

But I already have the latest version of python3-pil.imagetk installed.

What am I missing?

Thanks,

Eric




On Sun, Dec 7, 2014 at 1:30 AM, Alan VK2ZIW <bea...@unixservice.com.au>
wrote:

>
>
>
>
>
>
>
>
>
>
>
>
> *Hi Eric, Here is your solutopn: It's your Python Image Library version.
> Remove Pillow 2.6.1 and revert to 2.5.3 thus: /usr/bin/pip3 install -I
> pillow==2.5.3 Have fun. (After a MONTH of Frustration!!!!) Alan VK2ZIW On
> Sun, 7 Dec 2014 01:22:42 -0500, Eric Thornton wrote*
> > I saw one reference to this issue in the recent archives, but no
> resolution.
> >
> > I'm running Ubuntu 14.10 on amd64 and installed wspr r4522 through the
> ppa that ki7mt is managing (thanks!).  Every time the program starts to
> decode, I get a segmentation fault and the program crashes. I've tried both
> recorded audio and the included sample file and they both crash.  I've
> tried the following:
> >
> > -Compiled python3-numpty from source: no improvement
> > -Tried compiling with g95 instead of gfortran: compile failed
> > -Compling with standard options from svn archive: also seg faults at
> decode
> >
> > This evening I tried the ppa version on an older i386 laptop with Ubuntu
> and it runs and decodes without issue. I've run out of ideas at this point,
> so any help would be greatly appreciated. From the gdb output, I'm guessing
> python doesn't like some variable length conversion function that is
> specific to 64 bit machines. wsjtx from ki7mt's ppa runs great, but I know
> they use a different framework.
> >
> > command line output from crash:
> >
> > /usr/bin/wspr: line 42:  1592 Segmentation fault      (core dumped)
> /usr/bin/python3 -O wspr.py
> >
> > "gdb python3 core" output
> >
> > Core was generated by `/usr/bin/python3 -O wspr.py'.
> > Program terminated with signal SIGSEGV, Segmentation fault.
> > #0  0x00000000004e67d1 in PyLong_AsLong ()
> >
> > Thanks,
> >
> > Eric
> > KM4DSJ
>
>
> Alan
>
> Man's greatest waste of time: Worshipping the wrong God.
> Consider Jesus.
> ---------------------------------------------------------------------------
>
> Alan Beard               Unix Support Technician from 1984 to today
> 70 Wedmore Rd.           Sun Solaris, AIX, HP/UX, Linux, SCO OpenServer
> 5.0.X
> Emu Heights N.S.W. 2750  Routers, terminal servers, printers, terminals
> etc..
> +61 2 47353013 (h)       Support Programming, shell scripting, "C",
> assembler
> 0414 353013 (mobile)     After uni, electr
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to