From: SourceForge.net <no...@so...> - 2010-09-13 22:40:48
|
Bugs item #3065489, was opened at 2010-09-13 19:24 Message generated for change (Comment added) made by honyk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3065489&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: ePub Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jan Tosovsky (honyk) Assigned to: Keith Fahlgren (abdelazer) Summary: Permission denied during compacting the same file twice Initial Comment: When there are multiple instances of a single image in my document, I am getting the following error during compacting the files using dbtoepub utility (in Cygwin environment on my Win7/64bit): fileutils.rb:1262:in 'initialize': Permission denied - C:/path/image.gif (Errno::EACCES) from fileutils.rb:1262:in 'open' from fileutils.rb:1262:in 'copy_file' ... If that instance is renamed so each file name is unique, everything is Ok. ---------------------------------------------------------------------- Comment By: Jan Tosovsky (honyk) Date: 2010-09-13 22:40 Message: It seems to be fixed! Well done, thanks a lot. ---------------------------------------------------------------------- Comment By: Keith Fahlgren (abdelazer) Date: 2010-09-13 22:00 Message: Please replace your /home/Honza/epub/bin/lib/docbook.rb with the attached file and let me know if the issue remains. ---------------------------------------------------------------------- Comment By: Jan Tosovsky (honyk) Date: 2010-09-13 20:56 Message: My version is 1.76.0. The complete error message follows: /usr/lib/ruby/1.8/fileutils.rb:1262:in `initialize': Permission denied - C:/Users/Honza/.epubtmp1284410907.46679/OEBPS/images/divider.gif (Errno::EACCES) from /usr/lib/ruby/1.8/fileutils.rb:1262:in `open' from /usr/lib/ruby/1.8/fileutils.rb:1262:in `copy_file' from /usr/lib/ruby/1.8/fileutils.rb:1261:in `open' from /usr/lib/ruby/1.8/fileutils.rb:1261:in `copy_file' from /usr/lib/ruby/1.8/fileutils.rb:463:in `copy_file' from /usr/lib/ruby/1.8/fileutils.rb:383:in `cp' from /usr/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest' from /usr/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0' from /usr/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest' from /usr/lib/ruby/1.8/fileutils.rb:382:in `cp' from /home/Honza/epub/bin/lib/docbook.rb:180:in `copy_images' from /home/Honza/epub/bin/lib/docbook.rb:170:in `each' from /home/Honza/epub/bin/lib/docbook.rb:170:in `copy_images' from /home/Honza/epub/bin/lib/docbook.rb:102:in `bundle_epub' from /home/Honza/epub/bin/lib/docbook.rb:44:in `render_to_file' from ./dbtoepub:73 from ./dbtoepub:62:in `each' from ./dbtoepub:62 ---------------------------------------------------------------------- Comment By: Keith Fahlgren (abdelazer) Date: 2010-09-13 20:07 Message: What version of the stylesheets are you using? Is this error present in the 1.76.0 testing release? ---------------------------------------------------------------------- Comment By: Keith Fahlgren (abdelazer) Date: 2010-09-13 20:06 Message: Does this error prevent the EPUB from being outputted? What are the last few lines of the error output? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3065489&group_id=21935 |