Package: python-uniconvertor Version: 1.1.2-1 Severity: normal uniconvertor does not work when attempting to convert from CGM to any other format. In contrast, here are some things that do work.
I can convert from sketch/skencil format *.sk to *.svg, and the displayed results look good. I can also convert from *.sk to *.cgm with the following warning The design you tried to save in CGM Version 1 format hit some limitations - CGM has no Bezier curves. These are flattened I mention that warning for completeness, but I don't think that is relevant to the font bug I found when attempting to convert from *.cgm files produced by uniconvertor to anything else. Such attempts produce the following error message: fntlist = [] Cannot load plugin module cgmloader Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/plugins.py", line 73, in load_module desc) File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/cgmloader.py", line 336, in <module> init.text.fontindex = fntlst.index("Times-Roman") ValueError: list.index(x): x not in list When importing plugin cgmloader Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/plugins.py", line 147, in __call__ module = self.load_module() File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/plugins.py", line 73, in load_module desc) File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/cgmloader.py", line 336, in <module> init.text.fontindex = fntlst.index("Times-Roman") ValueError: list.index(x): x not in list Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.5/site-packages/uniconvertor/__init__.py", line 70, in <module> doc = load.load_drawing(sys.argv[1]) File "/usr/lib/python2.5/site-packages/uniconvertor/app/io/load.py", line 364, in load_drawing return load_drawing_from_file(file, filename) File "/usr/lib/python2.5/site-packages/uniconvertor/app/io/load.py", line 325, in load_drawing_from_file loader = info(file, filename, match) File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/plugins.py", line 154, in __call__ 'message':self.class_name}) app.events.skexceptions.SketchError: Cannot load filter cgmloader.CGMLoader The first line of that error message was produced by applying the following debugging patch: --- cgmloader.py_original 2009-03-08 12:04:55.000000000 -0700 +++ cgmloader.py 2009-03-08 12:05:37.000000000 -0700 @@ -149,7 +149,7 @@ cp = copy.deepcopy fntlst = map(lambda l: l[0], app.Graphics.font.fontlist) -#print fntlst +print "fntlist =", fntlst fntalias = { 'AvantGarde' : () , Clearly, the problem is that fntlist is empty so that fntlst.index("Times-Roman") fails. I haven't traced the issue further than that, but I assume the issue is that app.Graphics.font.fontlist is not finding any of the fonts installed by Debian. CGM format is a long-established (since 1987) open standard for vector graphics that is supported by w3c (see http://www.w3.org/Graphics/WebCGM/). Despite its openness, CGM has never gotten much support within the free software community (probably because it was ahead of its time). For example, Debian doesn't package the ralcgm cgm viewer/converter. Therefore, when confronted by CGM files (like I am right now), Debian users are really stuck. For this reason, it is important to get transformation of *.cgm to other formats (such as *.svg which has lots of viewers) working properly with Debian uniconvertor. Alan W. Irwin -- System Information: Debian Release: 5.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-uniconvertor depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii python 2.5.2-3 An interactive high-level object-o ii python-central 0.6.8 register and build utility for Pyt ii python-imaging 1.1.6-3 Python Imaging Library python-uniconvertor recommends no packages. Versions of packages python-uniconvertor suggests: pn python-uniconvertor-dbg <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org