On Sunday 31 January 2016 11:34:46 Fox Mulder wrote:

> Am 31.01.2016 um 16:19 schrieb Gene Heskett:
> > On Sunday 31 January 2016 07:48:43 Fox Mulder wrote:
> >> Am 30.01.2016 um 02:10 schrieb Gene Heskett:
> >>> On Friday 29 January 2016 16:52:58 Gene Heskett wrote:
> >>>> On Friday 29 January 2016 15:01:16 Fox Mulder wrote:
> >>>>> Am 29.01.2016 um 04:49 schrieb Gene Heskett:
> >>>>>> On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
> >>>>>>> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
> >>>>>>>> Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> >>>>>>>>> On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
> >>>>>>>>>> Am 26.01.2016 um 13:20 schrieb Gene Heskett:
> >>
> >> Here is the new script which needs a few new python packages
> >> installed. For me in debian it was python3-pil,
> >> python3-pil.imagetk, python3-tk.
> >
> > I hope they are available in wheezy.  Checking now.  The first 2 are
> > not. 3.2.3 Compatible deb's?  URL IOW. python3-tk now installed.
>
> Best way for you would be to use python2 where these packages would be
> called python-imaging and python-imaging-tk. I think wheezy doesn't
> have these packages for python3 included.
>
Got those already.

> Alternatively you could try and use python pip to install these
> packages for python3.
>
I tried both pips. The 4 modules named are not available.

gene@GO704:~/linuxcnc$ sudo /usr/bin/pip-3.2 install python3-pil 
python3-pil.imagetk
[sudo] password for gene: 
Downloading/unpacking python3-pil
  Could not find any downloads that satisfy the requirement python3-pil
No distributions at all found for python3-pil
Storing complete log in /root/.pip/pip.log
gene@GO704:~/linuxcnc$ sudo /usr/bin/pip install python-imaging 
python-imageing-tk
Downloading/unpacking python-imaging
  Could not find any downloads that satisfy the requirement 
python-imaging
No distributions at all found for python-imaging
Storing complete log in /root/.pip/pip.log

>From that log:

/usr/bin/pip run on Sun Jan 31 16:19:17 2016
Downloading/unpacking python-imaging

  Getting page http://pypi.python.org/simple/python-imaging
  Could not fetch URL http://pypi.python.org/simple/python-imaging: HTTP 
Error 404: Not Found
  Will skip URL http://pypi.python.org/simple/python-imaging when looking 
for download links for python-imaging
  Getting page http://pypi.python.org/simple/
  URLs to search for versions for python-imaging:
  * http://pypi.python.org/simple/python-imaging/
  Getting page http://pypi.python.org/simple/python-imaging/
  Could not fetch URL http://pypi.python.org/simple/python-imaging/: HTTP 
Error 404: Not Found
  Will skip URL http://pypi.python.org/simple/python-imaging/ when 
looking for download links for python-imaging
  Could not find any downloads that satisfy the requirement 
python-imaging

No distributions at all found for python-imaging

Is pypi.python.org down?> >> http://pastebin.com/YaCqLNzz

Very very slow ping, perhaps >5 seconds per ping response coming back.

The pip request may be timing out.  So I added 60 seconds, but the 
failure is in just 3 seconds.  I'll ask on the python list.

> > Got it, thank you. In the previous script this new camera does
> > 1280x1024 natively so I updated that in the two places shown as 960.
> >  That worked well except the bottom of the display was clipped off.
> > So I need to find where I can expand the display window for that
> > setting.
>
> Normally the size of the tk window should resize to the given
> resolution. The window itself is larger than the video resolution
> because of the toolbar and the menu around it.
> This is around ~86 pixels more in height which gives 1024 + 86 = 1110
> pixels in height. So if your monitor doesn't have a high resolution
> the window is at it's maximum and the lower end of the video get's
> cropped off. Even Full-HD isn't enough for that resolution because 30
> pixels are missing in height (1110 - 1080 = 30 pixels too large). I
> didn't implement any video resizing to get around this problem.
>
The monitor is a 16x9 ratio of 1920x 1080 IIRC, its a Samsung hidef 23" 
tv with a failed tuner.

The window opens in the lower right corner, with the upper left corner 
nominally centered on the screen, so if it was better centered (raised) 
vertically, it might not be clipped off. Where do I adjust that? In the 
original script or in this one if I can get it to run.

> Ciao,
>      Rainer
>
> ----------------------------------------------------------------------
>-------- Site24x7 APM Insight: Get Deep Visibility into Application
> Performance APM + Mobile APM + RUM: Monitor 3 App instances at just
> $35/Month Monitor end-to-end web transactions and take corrective
> actions now Troubleshoot faster and improve end-user experience.
> Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to