Bug 512635 - a2x looks for non-existent /etc/asciidoc/dblatex/asciidoc-dblatex.sty
Summary: a2x looks for non-existent /etc/asciidoc/dblatex/asciidoc-dblatex.sty
Keywords:
Status: CLOSED DUPLICATE of bug 480288
Alias: None
Product: Fedora
Classification: Fedora
Component: asciidoc
Version: rawhide
Hardware: noarch
OS: Linux
low
medium
Target Milestone: ---
Assignee: Chris Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-20 04:27 UTC by Horst H. von Brand
Modified: 2009-09-17 21:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-17 21:11:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
A proposed spec that fixes the problem here (2.92 KB, text/plain)
2009-07-20 04:27 UTC, Horst H. von Brand
no flags Details

Description Horst H. von Brand 2009-07-20 04:27:45 UTC
Created attachment 354301 [details]
A proposed spec that fixes the problem here

Description of problem:
Running a2x as prescribed looks for non.existent files (and spews Python warnings). There is no directory /etc/asciidoc/dblatex here

Version-Release number of selected component (if applicable):
asciidoc-8.4.5-1.fc12.noarch
dblatex-0.2.10-2.fc12.noarch

How reproducible:
Always

Steps to Reproduce:
1. a2x -f pdf tstfile.txt
2.
3.
  
Actual results:
/usr/lib/python2.6/site-packages/dbtexmf/dblatex/grubber/util.py:8: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Error: Latex style '/etc/asciidoc/dblatex/asciidoc-dblatex.sty' not found
a2x: failed: dblatex -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty"  "./tstfile.xml"

Expected results:
A PDF file...

Additional info:
The attached spec file fixes this problem. It essentially rips out the hand installation, replacing it with the traditional configure/make/make install mantra instead. This updates some of the paths used internally.

Comment 1 Ville Skyttä 2009-09-17 21:11:42 UTC
The changes from bug 480288 which were just committed take a similar approach and fix this issue among others.

*** This bug has been marked as a duplicate of bug 480288 ***


Note You need to log in before you can comment on or make changes to this bug.