scenario shows "access is denied" error; new scenario fixes it; why?

I'm not sure what I'm asking here, so bear with me. I don't think the problem is related to my xml project but Oxygen itself. I'm processing a docbook 5 file with xincludes, a customization layer, a title.xsl. I'm using 1.7.5.2 to use the epub output. I'm using oxygen to generate the html output which I will then manually zip into an epub file. I've created a custom transform scenario to use a custom xsl (which references the epub/docbook.xsl file and includes a few parameters). This probably is not relevant. I have to specify the location of a directory for the epub output using a parameter. The project validates, and most of the time everything works fine. But sometimes I get a cryptic error message "access is denied". I get this message even if I have made no changes to any of the source. Sometimes deleting the output files will "fix" the problem. A few days ago I discovered that creating a new scenario entirely from scratch for my scenario will fix the problem. That leads me to believe that there is something wrong with the .xpr file itself. Why does this sort of thing occur and how can I prevent it? Is the solution simply to create a brand new project and add your source to it again? I'm on Vista 64. Thanks. MESSAGES [Saxon6.5.5] Note: namesp. cut : stripped namespace before processing 99 Erotic Notions [Saxon6.5.5] Note: namesp. cut : processing stripped document 99 Erotic Notions [Saxon6.5.5] Writing output/OEBPS/bk01-toc.html for book (this is where it stops--at the first write). SystemID: I:\My Documents\xml\docbook-xsl-1.75.2\docbook-xsl-1.75.2\xhtml-1_1\chunker.xsl Severity: fatal Description: Failed to create output file output/OEBPS/bk01-toc.html - Access is denied Start location: 197:0 SystemID: I:\My Documents\xml\docbook-xsl-1.75.2\docbook-xsl-1.75.2\xhtml-1_1\chunker.xsl Severity: error Description: Failed to create output file output/OEBPS/bk01-toc.html - Access is denied Start location: 197:0 Robert Nagle

Hello, The file output/OEBPS/bk01-toc.html cannot be created because the current user does not have write permission for that location. What is the full path that is obtained from the relative path from the error message? Does the folder output/OEBPS exist or must be created by the transformer? If it exists what are the write permissions for that folder? Does the current Windows user have write permission for that folder? Regards, Sorin Robert Nagle wrote:
SystemID: I:\My Documents\xml\docbook-xsl-1.75.2\docbook-xsl-1.75.2\xhtml-1_1\chunker.xsl Severity: fatal Description: Failed to create output file output/OEBPS/bk01-toc.html - Access is denied Start location: 197:0
SystemID: I:\My Documents\xml\docbook-xsl-1.75.2\docbook-xsl-1.75.2\xhtml-1_1\chunker.xsl Severity: error Description: Failed to create output file output/OEBPS/bk01-toc.html - Access is denied Start location: 197:0

Oxygen does not lock the output files of the transformation. Maybe the zip application locks the files. Deleting the files will fix the problem because that is a case when the zip application does not have a lock on the files anymore. Please make sure the zip application is closed completely when you try to overwrite the output files with a new transformation in Oxygen. Do you access the files with other applications? Regards, Sorin Robert Nagle wrote:
I'm using oxygen to generate the html output which I will then manually zip into an epub file.
The project validates, and most of the time everything works fine. But sometimes I get a cryptic error message "access is denied". I get this message even if I have made no changes to any of the source.
Sometimes deleting the output files will "fix" the problem.
participants (2)
-
Robert Nagle
-
Sorin Ristache