Greg,
Thanks for the responses.
Yes, the i386 laptop is running 14.04, not 14.10 like the machine giving me
trouble. I didn't consider that to be an issue, but I'm not familiar with
python or its libraries.
Hopefully the fix is not too difficult. I'll keep an eye on the mailing
list for updates.
Thanks,
Eric
On Sun, Dec 7, 2014 at 7:26 PM, Greg Beam <ki...@yahoo.com> wrote:
> Hi Eric
>
> The problem is what I stated before, 2.3.0 v.s. 2.6.1. python.pil.imagtk
> is a transitional or dummy package (it does not provide any packages
> itself), it depends on python3-tk and python3-pil. The problem is with
> python3-pil package, it is PIL v 2.6.1
>
> Utopic: Ubuntu – Details of package python3-pil.imagetk in utopic
> <http://packages.ubuntu.com/utopic/python3-pil.imagetk>
> Truty: Ubuntu – Details of package python3-pil.imagetk in trusty
> <http://packages.ubuntu.com/trusty/python3-pil.imagetk>
>
> Utopic, at the moment, does not provide a backport for v2.3.0 which WSPR
> and WSJT works with ( present in Trusty repos) but not 2.6.1 which is the
> Utpoic package. I dont know of a v2.5.x seris package for Utopic or Trusty.
>
> If you wnat WPSR or WSJT to work with Utopic (14.10), you'll need to dive
> into the WSPR / WSJT Python code and bring it up to PIL v2.6.1 requirements.
>
> The package system Alan is working with is based on Fedora if I recall,
> not Ubuntu / Debian. You need to be mindful of this when discusscing
> package versions and dependencies, as they can be very different.
>
> 73's
> Greg, KI7MT
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Sunday, December 7, 2014 4:23 PM, Eric Thornton <km4...@gmail.com>
> wrote:
>
>
> 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
>
>
>
>
> ------------------------------------------------------------------------------
> 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