ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Raymond LeClair <raymond.leclair@synterein.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Creation of PDF Oddly Differs on Ubuntu and Mac OS X
Date: Wed, 16 Mar 2011 17:10:17 -0400	[thread overview]
Message-ID: <CBDF44B5-3C43-4338-BEFC-B47F2BB45F9F@synterein.com> (raw)
In-Reply-To: <9C2923B4-6BFC-468B-838C-258CD1C11823@synterein.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 2661 bytes --]

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,
> 
> 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.zip
> 
> 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.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.1.2: Type: text/html, Size: 3828 bytes --]

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 3284 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2011-03-16 21:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 12:49 Raymond LeClair
2011-03-16 21:10 ` Raymond LeClair [this message]
2011-03-17  7:52   ` Taco Hoekwater
2011-03-17  8:01     ` Mojca Miklavec
2011-03-17 13:08       ` Raymond LeClair
2011-03-18 19:51   ` PDF Version Selection Raymond LeClair
2011-03-18 21:00     ` Hans Hagen
2011-03-18 21:05       ` Aditya Mahajan
2011-03-18 21:41         ` Hans Hagen
2011-03-19 13:23         ` Raymond LeClair

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CBDF44B5-3C43-4338-BEFC-B47F2BB45F9F@synterein.com \
    --to=raymond.leclair@synterein.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).