Bug 17860 - crashes on .fig (incomplete deps?)
Summary: crashes on .fig (incomplete deps?)
Status: CLOSED WONTFIX
Alias: None
Product: Branch 4.1
Classification: Distributions
Component: uniconvertor (show other bugs)
Version: unspecified
Hardware: all Linux
: P2 critical
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-4.1@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 01:36 MSK by Ivan Zakharyaschev
Modified: 2014-11-05 20:41 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2008-11-12 01:36:32 MSK
uniconvertor-1.1.1-alt1

$ uniconv /usr/share/doc/HOWTO/HTML/en/Printing-HOWTO/images/cups-overview.fig a.fig
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 337, in load_drawing_from_file
    doc = loader.Load()
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/xfigloader.py", line 519, in Load
    function(rest)
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/xfigloader.py", line 307, in read_polyline
    self.fill(fill_color, area_fill)
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/xfigloader.py", line 217, in fill
    pattern = self.get_pattern(color, style)
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/xfigloader.py", line 170, in get_pattern
    rgb = Blend(self.colors[WHITE], rgb, (20 - style) / 20.0)
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/Graphics/blend.py", line 23, in Blend
    return obj1.Blend(obj2, frac1, frac2)
app.events.skexceptions.SketchLoadError: error in line 285:
'2 1 0 1 231 -1 15 0 20 0.000 2 0 -1 0 0 2\n'
$
Comment 1 Ivan Zakharyaschev 2008-11-12 01:38:28 MSK
Works for .svg:

$ uniconv /usr/share/pixmaps/seahorse/scalable/seahorse-key.svg a.svg
$ 
Comment 2 Michael Shigorin 2014-11-05 20:41:20 MSK
В 4.1/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф.