Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93103

Re: Why does the unit test fail of the pyPDF2 package?

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'heavily': 0.04; 'from:addr:yahoo.co.uk': 0.05; 'installed.': 0.05; 'mrab': 0.05; 'test,': 0.05; 'mouse': 0.07; 'subject:test': 0.07; 'wednesday,': 0.07; 'cmd': 0.09; 'fails.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Why': 0.09; 'python': 0.11; '2.7': 0.13; 'file,': 0.15; '24,': 0.16; 'encryption': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.16; 'url:view': 0.18; 'language': 0.19; 'thanks,': 0.19; '>>>': 0.20; 'windows': 0.20; 'lawrence': 0.22; 'pass': 0.22; '2015': 0.23; 'file.': 0.24; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'skip:" 20': 0.26; 'coding': 0.27; 'not.': 0.27; 'package.': 0.27; 'command': 0.28; 'far,': 0.29; 'follows': 0.29; 'pointer.': 0.29; 'python"': 0.29; 'selection': 0.29; 'window': 0.31; 'screen': 0.32; 'language.': 0.32; 'windows.': 0.33; 'subject:?': 0.34; 'skip:c 30': 0.35; 'to:addr :python-list': 0.35; 'really': 0.35; 'but': 0.36; 'text': 0.36; 'hi,': 0.37; 'subject:: ': 0.37; 'version': 0.38; 'received:org': 0.38; 'unit': 0.38; 'to:addr:python.org': 0.39; 'mark': 0.40; 'subject:the': 0.40; 'some': 0.40; 'learn': 0.60; 'even': 0.61; "you've": 0.61; 'show': 0.62; 'relatively': 0.63; 'our': 0.64; 'charset:windows-1252': 0.65; 'here': 0.66; 'encrypted': 0.66; 'life': 0.66; 'cut': 0.67; 'overcome': 0.72; 'hoping': 0.73; 'pdf.': 0.84; 'pythonistas,': 0.84; 'received:as9105.com': 0.84; 'received:dsl.as9105.com': 0.84; 'received:dynamic.dsl.as9105.com': 0.84; 'utc-7,': 0.84; 'url:php': 0.86; 'url:tinypic': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Why does the unit test fail of the pyPDF2 package?
Date Wed, 24 Jun 2015 21:02:45 +0100
References <3d9cd33f-f12d-48bc-a645-26e55c31f168@googlegroups.com> <252d5aad-e71e-4916-803a-f3b1762f2123@googlegroups.com> <558AFB85.8020602@mrabarnett.plus.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 80-44-192-143.dynamic.dsl.as9105.com
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
In-Reply-To <558AFB85.8020602@mrabarnett.plus.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.33.1435176176.3674.python-list@python.org> (permalink)
Lines 52
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1435176177 news.xs4all.nl 2968 [2001:888:2000:d::a6]:45189
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:93103

Show key headers only | View raw


On 24/06/2015 19:48, MRAB wrote:
> On 2015-06-24 18:52, fl wrote:
>> On Wednesday, June 24, 2015 at 9:54:12 AM UTC-7, fl wrote:
>>> Hi,
>>> I want to learn some coding on PDF. After I download and install pyPDF2,
>>> it cannot pass unit test, which is coming from the package.
>>>
>>> I put a screen shot link here to show the console message:
>>>
>>> http://tinypic.com/view.php?pic=fbdpg0&s=8#.VYre8_lVhBc
>>>
>>> [IMG]http://i57.tinypic.com/fbdpg0.png[/IMG]
>>>
>>>
>>> This Windows 7 PC has both Python 2.7 and Enthought Canopy (3.4?)
>>> installed.
>>>
>>> I don't know whether it has conflicts or not.
>>>
>>>
>>> Thanks,
>>
>> Thanks, Steven. I don't know how to copy command console window contents
>> to the forum post. I even try redirection hoping to screen contents to a
>> text file, but it fails.
>>
> You can make a rectangular selection by dragging over the console
> window the mouse pointer.
>

An alternative is to install ConEmu and set up a startup.txt file.  My 
heavily encrypted :) version follows

cmd /F:ON /T:02 /K cd C:\Users\Mark\Documents\MyPython 
"-new_console:t:MyPython"
cmd /F:ON /T:02 /K cd c:\Users\Mark\pythonissues "-new_console:t:Python 
Issues"
cmd /F:ON /T:02 /K cd c:\cPython\PCBuild "-new_console:t:cPython"
cmd /F:ON /T:02 /K cd C:\Users\Mark\Documents\Cash\Python 
"-new_console:t:Cash Python"
C:\Python34\Scripts\ipython.exe --matplotlib "-new_console:t:iPython"

Once you've overcome the encryption life is far, far easier on Windows. 
  You can do really advanced concepts like cut and paste relatively 
easily, but please don't take my word for it, try it yourself.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Why does the unit test fail of the pyPDF2 package? fl <rxjwg98@gmail.com> - 2015-06-24 09:53 -0700
  Re: Why does the unit test fail of the pyPDF2 package? Steven D'Aprano <steve@pearwood.info> - 2015-06-25 03:35 +1000
  Re: Why does the unit test fail of the pyPDF2 package? fl <rxjwg98@gmail.com> - 2015-06-24 10:52 -0700
    Re: Why does the unit test fail of the pyPDF2 package? MRAB <python@mrabarnett.plus.com> - 2015-06-24 19:48 +0100
    Re: Why does the unit test fail of the pyPDF2 package? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-06-24 21:02 +0100
    Re: Why does the unit test fail of the pyPDF2 package? Steven D'Aprano <steve@pearwood.info> - 2015-06-25 11:20 +1000
    Re: Why does the unit test fail of the pyPDF2 package? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-06-24 21:39 -0400
  Re: Why does the unit test fail of the pyPDF2 package? fl <rxjwg98@gmail.com> - 2015-06-24 12:02 -0700
    Re: Why does the unit test fail of the pyPDF2 package? John Gordon <gordon@panix.com> - 2015-06-24 19:13 +0000
    Re: Why does the unit test fail of the pyPDF2 package? Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2015-06-24 19:13 +0000
  Re: Why does the unit test fail of the pyPDF2 package? fl <rxjwg98@gmail.com> - 2015-06-24 12:50 -0700

csiph-web