[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#518816: marked as done (python-uniconvertor: Cannot load plugin module cgmloader)



Your message dated Tue, 20 Aug 2019 04:10:22 +0000
with message-id <[🔎] E1hzvTS-0007Um-SJ@fasolo.debian.org>
and subject line Bug#935129: Removed package(s) from unstable
has caused the Debian Bug report #518816,
regarding python-uniconvertor: Cannot load plugin module cgmloader
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
518816: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518816
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Version: 1.1.5-4+rm

Dear submitter,

as the package python-uniconvertor has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/935129

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: