Package: autodia
Version: 2.10-1
Severity: grave
Tags: patch
Justification: renders package unusable
when I try to run autodia on any file I get a parse error and the
proram dies:
0 ja...@chicken:~$ autodia -l php -i test.php
getting handlers..
getting pattern for php
AutoDia - version 2.10(c) Copyright 2003 A Trevena
using language : php
..using Autodia::Handler::PHP
opening test.php
using default (dia) template
Diagram.pm : Dependancies : no dependancies to be printed - ignoring..
Realizations Diagram.pm : none to be printed - ignoring..
Diagram.pm : Relations : no Relations to be printed - ignoring..
Diagram.pm : Dependancies : no dependancies to be printed - ignoring..
Realizations Diagram.pm : none to be printed - ignoring..
Diagram.pm : Relations : no Relations to be printed - ignoring..
file error - parse error - input text line 260-261: unexpected token
(_Bottom_Left)
[% realization.Orth
_Bottom_Left %]9 ja...@chicken:~$
The attached patch fixes the problem.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages autodia depends on:
ii libtemplate-perl 2.22-0.1 template processing system written
ii perl 5.10.1-14 Larry Wall's Practical Extraction
autodia recommends no packages.
Versions of packages autodia suggests:
pn libgraphviz-perl <none> (no description available)
-- no debconf information
--- /usr/share/perl5/Autodia/Diagram.pm.orig 2010-08-24 21:31:23.000000000
-0400
+++ /usr/share/perl5/Autodia/Diagram.pm 2010-08-24 21:31:38.000000000 -0400
@@ -2142,8 +2142,7 @@
<dia:point val="[% realization.Orth_Top_Right %]"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="[% realization.Orth_Top_Right %];[% realization.Orth
-_Bottom_Left %]"/>
+ <dia:rectangle val="[% realization.Orth_Top_Right %];[%
realization.Orth_Bottom_Left %]"/>
</dia:attribute>
<dia:attribute name="orth_points">
<dia:point val="[% realization.Orth_Bottom_Left%]"/>