[Clipart] SVGscan

Jonadab the Unsightly One jonadab at bright.net
Sat Aug 20 05:54:01 PDT 2005


"Stephen Silver" <ocalocal at btinternet.com> writes:

> The Python script I've been using to find problems with SVG files
> in the OCAL collection is now in a semi-presentable state (I hope),
> so here it is:
> 
>   http://www.argentum.freeserve.co.uk/svgscan.zip

Hmmm...  Do I have Python installed here yet?  [checks] 

Yes, I do already.  Good.

> Running this on release 0.16 with the -most option finds 1456
> problems in 944 files, all of which probably need to be fixed.

Wow.  That's going to probably become a medium-term project.

Oh, and...

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
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
jonadab at vestibule:~/img/download/openclipart/svgscan$

I don't remember Python well enough to investigate that much further.
It's been years since I dabbled in Python.

-- 
Open Clip Art Library:  Drawing Together
http://www.openclipart.org/




More information about the clipart mailing list