From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67083 Path: news.gmane.org!not-for-mail From: Raymond LeClair Newsgroups: gmane.comp.tex.context Subject: Re: Creation of PDF Oddly Differs on Ubuntu and Mac OS X Date: Wed, 16 Mar 2011 17:10:17 -0400 Message-ID: References: <9C2923B4-6BFC-468B-838C-258CD1C11823@synterein.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: multipart/mixed; boundary="===============0287243558==" X-Trace: dough.gmane.org 1300309835 2245 80.91.229.12 (16 Mar 2011 21:10:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2011 21:10:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 16 22:10:31 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PzxzC-0008Pp-P4 for gctc-ntg-context-518@m.gmane.org; Wed, 16 Mar 2011 22:10:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A7492CAAE1; Wed, 16 Mar 2011 22:10:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Tf5W5CykVbuC; Wed, 16 Mar 2011 22:10:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BCFC1CAAE8; Wed, 16 Mar 2011 22:10:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A870ECAAE8 for ; Wed, 16 Mar 2011 22:10:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DSyd+7mxZ0Kd for ; Wed, 16 Mar 2011 22:10:21 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id ABE7FCAAE1 for ; Wed, 16 Mar 2011 22:10:21 +0100 (CET) Original-Received: from cathcart.site5.com (cathcart.site5.com [74.54.107.137]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2GLAJI1026878 for ; Wed, 16 Mar 2011 22:10:21 +0100 Original-Received: from [173.9.90.161] (helo=[192.168.222.78]) by cathcart.site5.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1Pzxz0-0007CO-25 for ntg-context@ntg.nl; Wed, 16 Mar 2011 16:10:18 -0500 In-Reply-To: <9C2923B4-6BFC-468B-838C-258CD1C11823@synterein.com> X-Mailer: Apple Mail (2.1082) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cathcart.site5.com X-AntiAbuse: Original Domain - ntg.nl X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - synterein.com X-Source: X-Source-Args: X-Source-Dir: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.54.107.137; country=US; region=TX; city=Houston; postalcode=77002; latitude=29.7523; longitude=-95.3670; metrocode=618; areacode=713; http://maps.google.com/maps?q=29.7523,-95.3670&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rEjVakQI - 3cfaa1725232 - 20110316 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:67083 Archived-At: --===============0287243558== Content-Type: multipart/signed; boundary=Apple-Mail-6--119929830; protocol="application/pkcs7-signature"; micalg=sha1 --Apple-Mail-6--119929830 Content-Type: multipart/alternative; boundary=Apple-Mail-5--119929843 --Apple-Mail-5--119929843 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii All, I could have phrased my question better ... here is another attempt: I use ConTeXt to generate a PDF for upload using the command "context = filename" on either Mac OS X or Ubuntu. I have installed ConTeXt by = installing a TeX Live distribution on each platform. The command = completes without error on either platform. The PDFs open in Preview (a = Mac OS X application for viewing PDFs) and appear to be correct, = regardless of on which platform the PDFs were created. However, the = upload of the PDF created on Mac OS X fails, while the upload of the PDF = created on Ubuntu works. So, there is something different about these two PDFs which I cannot = determine by opening them in an application for viewing PDFs. But I do = not know what is different, or how to find out. I have posted an archive that illustrates the issue at = http://www.synterein.com/lulu_context_issues/lulu_context_issue_01.zip Any and all ideas would be appreciated. Ray. On Mar 16, 2011, at 8:49 AM, Raymond LeClair wrote: > All, >=20 > I am using ConTeXt to create a PDF for upload to Lulu.com. >=20 > I am getting the following exception using the LuLu Python publication = API on Mac OS X 10.6.6 with Python 2.6.6 or 2.7.1: > ServiceError: Couldn't create Lulu project. '{"error_type": = "LFilesystemException", "error_value": "shell command failed: rm -rf = \'/opt/stable/stable/htdocs/items/volume_69/10290000/10290657\' = 2>&1\\nrm: cannot remove directory = `/opt/stable/stable/htdocs/items/volume_69/10290000/10290657/1/cover\': = Directory not empty", "HTTPErrorCode": 500}' >=20 > Oddly, the exact same code works fine on Ubuntu 10.04 LTS with Python = 2.6.5. >=20 > I have track down the issue to the difference between the _cover_ PDF = created on Ubuntu with ConTeXt ver: 2009.11.26 16:28 MKIV and on Mac OS = X with ConTeXt ver: 2010.05.24 13:05 MKIV, although the cover PDF = generated on either platform appears correctly in Preview. >=20 > I have posted an archive that illustrates the issue at = http://www.synterein.com/lulu_context_issues/lulu_context_issue_01.zip >=20 > Any wisdom out there? What should I look for next? > Ray. >=20 > 978-621-5755 >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail-5--119929843 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

So, there is something different about = these two PDFs which I cannot determine by opening them in an = application for viewing PDFs. But I do not know what is different, or = how to find out.

I have posted an archive that = illustrates the issue at http://www.synterein.com/lulu_context_issues/lulu_context_issue_01.z= ip

Any and all ideas would be = appreciated.

Ray.

<= div>On Mar 16, 2011, at 8:49 AM, Raymond LeClair wrote:

All,

I am = using ConTeXt to create a PDF for upload to Lulu.com.

I am = getting the following exception using the LuLu Python publication API on = Mac OS X 10.6.6 with Python 2.6.6 or 2.7.1:

ServiceError: Couldn't create Lulu project. = '{"error_type": "LFilesystemException", "error_value": "shell command = failed: rm -rf = \'/opt/stable/stable/htdocs/items/volume_69/10290000/10290657\' = 2>&1\\nrm: cannot remove directory = `/opt/stable/stable/htdocs/items/volume_69/10290000/10290657/1/cover\': = Directory not empty", "HTTPErrorCode": 500}'

Oddly, the exact = same code works fine on Ubuntu 10.04 LTS with Python 2.6.5.

I = have track down the issue to the difference between the _cover_ PDF = created on Ubuntu with ConTeXt  ver: 2009.11.26 16:28 MKIV and = on Mac OS X with ConTeXt  ver: 2010.05.24 13:05 MKIV, although = the cover PDF generated on either platform appears correctly in = Preview.

I have posted an archive that illustrates the issue = at http://www.synterein.com/lulu_context_issues/lulu_context_issue_01.z= ip

Any wisdom out there? What should I look = for = next?

Ray.

978-621-5755

__________________________________________________________= _________________________
If your question is of interest to others = as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/= mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive =  : http://foundry.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail-5--119929843-- --Apple-Mail-6--119929830 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJEjCCA/Iw ggLaoAMCAQICCQC9F9Es/nPRGjANBgkqhkiG9w0BAQUFADCBuDELMAkGA1UEBhMCVVMxFjAUBgNV BAgTDU1hc3NhY2h1c2V0dHMxEDAOBgNVBAcTB0NvbmNvcmQxFzAVBgNVBAoTDlN5bnRlcmVpbiwg TExDMR4wHAYDVQQLExVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxGDAWBgNVBAMTD1JheW1vbmQgTGVD bGFpcjEsMCoGCSqGSIb3DQEJARYdcmF5bW9uZC5sZWNsYWlyQHN5bnRlcmVpbi5jb20wHhcNMTAw NjEwMjM1MjMyWhcNMTEwNjEwMjM1MjMyWjCBvjELMAkGA1UEBhMCVVMxFjAUBgNVBAgTDU1hc3Nh Y2h1c2V0dHMxEDAOBgNVBAcTB0NvbmNvcmQxHDAaBgNVBAoTE0NyZXcgRmluYW5jaWFsLCBMTEMx HzAdBgNVBAsTFkNsaWVudCBSYXltb25kIExlQ2xhaXIxGDAWBgNVBAMTD1JheW1vbmQgTGVDbGFp cjEsMCoGCSqGSIb3DQEJARYdcmF5bW9uZC5sZWNsYWlyQHN5bnRlcmVpbi5jb20wgZ8wDQYJKoZI hvcNAQEBBQADgY0AMIGJAoGBANDKl9cczlVPw8j6NoXBuS/UsUzEujRu/1w9b8n+bE1pVof8zXYb WOGsX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wJVUzEWMBQGA1UECBMNTWFz c2FjaHVzZXR0czEQMA4GA1UEBxMHQ29uY29yZDEXMBUGA1UEChMOU3ludGVyZWluLCBMTEMxHjAc BgNVBAsTFUNlcnRpZmljYXRlIEF1dGhvcml0eTEYMBYGA1UEAxMPUmF5bW9uZCBMZUNsYWlyMSww KgYJKoZIhvcNAQkBFh1yYXltb25kLmxlY2xhaXJAc3ludGVyZWluLmNvbQIJAL0X0Sz+c9DVMA0G CSqGSIb3DQEBAQUABIGAcsOlB9bNz8NU+TDA3K82BVek6Zba7oLA8Ht/DkpS4vRZ6oDKRIyr89RC W6jAw04bfrJMbpeB7i9ExQcX9U39LZuE1txhpVTUnM+VCVWglJv2JXCOPPWsM3Jr+puvwdQGMeMD oywr501zOu3g/HZzahHPsSkANquNf73tVIIieoYAAAAAAAA= --Apple-Mail-6--119929830-- --===============0287243558== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0287243558==--