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: smime.p7s
Description: S/MIME cryptographic signature

___________________________________________________________________________________
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 via email to