| 1 |
The AutoDIAL FAQ |
| 2 |
|
| 3 |
An uptodate copy of this document can be |
| 4 |
found at http://www.aarontrevena.co.uk/opensource/autodia/faq.txt |
| 5 |
|
| 6 |
Q: Why is autodia. not processing my file |
| 7 |
A: Have you used the -i option, if not try |
| 8 |
autodia -i filename or |
| 9 |
autodia -i "filea fileb filec" |
| 10 |
|
| 11 |
Q: I get a "can't locate Template.pm in @INC" error mesage or similar |
| 12 |
A: It is likely that you don't have template toolkit installed, it is not |
| 13 |
part of the perl core libraries, but is available through CPAN as |
| 14 |
Template. |
| 15 |
|
| 16 |
Q: Why does only the first file get processed? |
| 17 |
A: If you are entering the filenames as -i filename filename rather than -i "filename |
| 18 |
filename" only the first will be processed. If you aren't using any other |
| 19 |
options than -i it would probably be easier to just use 'autodia filename |
| 20 |
filename'. |
| 21 |
|
| 22 |
Q: When I use the -O option I get stuff mixed in with my xml, how do I stop that |
| 23 |
happening? |
| 24 |
A: When using -O, the usual messages are output to STDOUT, as well as the xml - but the |
| 25 |
xml will not contain any messages it can be used as is. To stop any output to STDOUT |
| 26 |
other than the dia xml use the -S option which suppresses messages. |
| 27 |
|
| 28 |
Q: Why does my option get ignored? |
| 29 |
A: If you don't use the -i option to specify which file to use autodial just takes the |
| 30 |
argument as a list of files to use and ignores any options. |
| 31 |
|
| 32 |
Q: How do I make autodia handle my preferred language? |
| 33 |
A: Read the guide to creating your own handler in the DEVELOP file. |
| 34 |
|
| 35 |
Q: Why does it take so long? |
| 36 |
A: AutoDia does all kinds of strange things and has been designed for |
| 37 |
clarity and reliability rather than speed - for an idea of how long things |
| 38 |
should take see the benchmarks in README and DEVELOP. |
| 39 |
|
| 40 |
Q: Why didn't you do this in C (or java or python)? |
| 41 |
A: Because it is so much easier in perl. Perl is good for parsing text and |
| 42 |
also interfaces very well with databases and other sources of data making |
| 43 |
it the prime choice of language for this task. |
| 44 |
|
| 45 |
Q: Why don't you do this for Visio |
| 46 |
A: i) Because Visio *STILL* uses proprietary formats and requires lots of |
| 47 |
NDAs and license fees to be able to integrate with. |
| 48 |
ii) Because Dia is used by perl developers more than Visio. |
| 49 |
iii) Because Visio is Proprietary and Dia is free software, I want to |
| 50 |
Dia to be better and more popular than Visio and I hope this helps. |
| 51 |
|
| 52 |
Q: Why is AutoDia so rubbish. |
| 53 |
A: Because Trelane told me to 'just release it'. |
| 54 |
|
| 55 |
Any corrections or contributions to the faq should be mailed to me at |
| 56 |
[email protected] |