[Clipart] SVGscan
Stephen Silver
ocalocal at btinternet.com
Sat Aug 20 06:52:44 PDT 2005
Jonadab wrote:
> jonadab at vestibule:~/img/download/openclipart/svgscan$ ls -l
> total 40
> -rw-r--r-- 1 jonadab jonadab 7894 2005-08-16 04:28 decimals.py
> -rw-r--r-- 1 jonadab jonadab 8853 2005-08-16 04:28 path_d.py
> -rw-r--r-- 1 jonadab jonadab 6229 2005-08-20 05:10 README.txt
> -rwxr-xr-x 1 jonadab jonadab 10885 2005-08-20 04:39 svgscan.py
There should also be a file called svgdata.py.
> jonadab at vestibule:~/img/download/openclipart/svgscan$ ./svgscan.py
> Traceback (most recent call last):
> File "./svgscan.py", line 13, in ?
> import path_d
> File "/home/jonadab/img/download/openclipart/svgscan/path_d.py", line 14
> from decimals import (parse_decimal, simplify_decimal)
> ^
> SyntaxError: invalid syntax
I think this means that you're using an old version of Python. Try
python -V
to see what version you've got. SVGscan needs Python 2.4.
I could change the above so that it would work with older versions of
Python, but SVGscan really needs Python 2.4 anyway, because in earlier
versions xml.parsers.expat didn't have the CurrentLineNumber and
CurrentColumnNumber that I use for reporting the location of problems.
--
Stephen Silver
More information about the clipart
mailing list