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


Groups > comp.lang.python > #93006

Re: Opening PDF Using subprocess.Popen Failing

Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'broken': 0.03; 'subject:skip:s 10': 0.05; 'enabled.': 0.07; 'performs': 0.07; 'prevents': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'says.': 0.09; 'cc:addr :python-list': 0.10; 'example:': 0.11; 'do,': 0.15; 'applies': 0.15; 'file,': 0.15; 'properly': 0.15; 'adjacent': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'folder.': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'subject:Opening': 0.16; 'unsupported': 0.16; 'url:adobe': 0.16; 'workflows,': 0.16; 'config': 0.18; 'laura': 0.18; 'windows': 0.20; 'machine': 0.21; 'cc:addr:python.org': 0.21; 'cc:2**1': 0.22; 'disable': 0.22; 'fixing': 0.22; 'component': 0.23; 'file.': 0.24; 'header:In- Reply-To:1': 0.24; 'admin': 0.24; 'install': 0.25; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'mode': 0.31; 'creating': 0.32; 'skip:p 30': 0.32; 'problem': 0.33; 'third': 0.33; 'machine.': 0.33; 'policies': 0.33; 'file': 0.34; 'that,': 0.34; 'useful': 0.35; 'configured': 0.35; 'list': 0.35; 'actions': 0.36; 'cases': 0.36; 'so,': 0.37; 'two': 0.37; 'subject:: ': 0.37; 'files': 0.38; 'test': 0.39; 'where': 0.40; 'called': 0.40; 'your': 0.60; 'default': 0.61; 'header:Message-Id:1': 0.62; 'more': 0.62; 'policy': 0.63; 'skip:\xe2 10': 0.70; '8bit%:20': 0.72; 'applying': 0.73; '8bit%:46': 0.76; 'received:89': 0.80; 'subject:Using': 0.84; 'reside': 0.91
To Naftali <nmichalowsky@gmail.com>
cc python-list@python.org, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: Opening PDF Using subprocess.Popen Failing
In-Reply-To Message from Naftali <nmichalowsky@gmail.com> of "Mon, 22 Jun 2015 06:15:51 -0700." <5358b9aa-8d0a-44bf-a5bc-782c05588845@googlegroups.com>
References <4857b9a4-386f-4ae4-861b-09a9564557c7@googlegroups.com><5358b9aa-8d0a-44bf-a5bc-782c05588845@googlegroups.com>
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-ID <6581.1434980253.1@fido>
Content-Transfer-Encoding 8bit
Date Mon, 22 Jun 2015 15:37:33 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Mon, 22 Jun 2015 15:37:35 +0200 (CEST)
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.707.1434980269.13271.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1434980269 news.xs4all.nl 2916 [2001:888:2000:d::a6]:51918
X-Complaints-To abuse@xs4all.nl
Path csiph.com!usenet.pasdenom.info!news.stben.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Xref csiph.com comp.lang.python:93006

Show key headers only | View raw


I think that your problem is that you have Protected Mode enabled.
If you do, you either have to disable that, or write a policy config
file.

https://www.adobe.com/devnet-docs/acrobatetk/tools/AppSec/protectedmode.html

says.
From: Policy configuration

Protected mode prevents a number of actions which IT can bypass by
creating a white list of allowed actions. The component that reads
these policies is called a “broker.” The broker performs actions based
on those policies, and when an admin provides a properly configured
policy file, the broker can bypass the application’s default
restrictions.

The broker first reads and applies all custom policies prior to
applying the default policies. Since custom policies take precedence,
they are useful for fixing broken workflows, supporting third party
plug-ins, and cases where unsupported machine configurations cause the
Protected Mode to impair required functionality.

Configurable policies have two requirements:

    They must reside in the Reader install directory adjacent to
        AcroRd32.exe in the install folder. for example: D:\Program
        Files (x86)\Adobe\Reader 10.0\Reader\ The name of the policy
        file must be ProtectedModeWhitelistConfig.txt.

So, well, I don't have a windows machine.  I cannot test this any more
for you, alas.

Laura

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


Thread

Opening PDF Using subprocess.Popen Failing Naftali <nmichalowsky@gmail.com> - 2015-06-19 10:24 -0700
  Re: Opening PDF Using subprocess.Popen Failing Laura Creighton <lac@openend.se> - 2015-06-19 20:17 +0200
  Re: Opening PDF Using subprocess.Popen Failing Naftali <nmichalowsky@gmail.com> - 2015-06-19 11:45 -0700
  Re: Opening PDF Using subprocess.Popen Failing Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-06-20 09:50 -0400
  Re: Opening PDF Using subprocess.Popen Failing Naftali <nmichalowsky@gmail.com> - 2015-06-20 20:14 -0700
    Re: Opening PDF Using subprocess.Popen Failing Robin Becker <robin@reportlab.com> - 2015-06-22 11:33 +0100
    Re: Opening PDF Using subprocess.Popen Failing Robin Becker <robin@reportlab.com> - 2015-06-22 11:55 +0100
  Re: Opening PDF Using subprocess.Popen Failing Naftali <nmichalowsky@gmail.com> - 2015-06-22 06:15 -0700
    Re: Opening PDF Using subprocess.Popen Failing Laura Creighton <lac@openend.se> - 2015-06-22 15:37 +0200
  Re: Opening PDF Using subprocess.Popen Failing Naftali <nmichalowsky@gmail.com> - 2015-06-22 07:23 -0700
  Re: Opening PDF Using subprocess.Popen Failing Naftali <nmichalowsky@gmail.com> - 2015-06-22 09:13 -0700

csiph-web