Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33946 - Sketch pdf saving requires reportlab
Summary: Sketch pdf saving requires reportlab
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-20 10:02 UTC by Gwenn
Modified: 2004-02-09 14:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gwenn 2003-11-20 10:02:51 UTC
When saving to pdf, sketch fails if dev-python/reportlab is not merged :

When importing plugin pdfgensaver
Traceback (most recent call last):
  File "/usr/bin/../lib/sketch-0.6.15/Sketch/Base/plugins.py", line 200, in __call__
    module = self.load_module()
  File "/usr/bin/../lib/sketch-0.6.15/Sketch/Base/plugins.py", line 83, in
load_module
    desc)
  File "/usr/bin/../lib/sketch-0.6.15/Sketch/../Plugins/Filters/pdfgensaver.py",
line 30, in ?
    import reportlab.pdfgen.canvas
ImportError: No module named reportlab.pdfgen.canvas
Traceback (most recent call last):
  File "/usr/bin/../lib/sketch-0.6.15/Sketch/UI/command.py", line 58, in Invoke
    apply(self.get_method(self.command), self.args + args)
  File "/usr/bin/../lib/sketch-0.6.15/Sketch/UI/mainwindow.py", line 245, in
SaveToFileInteractive
    self.SaveToFile(filename, fileformat, compressed, compressed_file)
  File "/usr/bin/../lib/sketch-0.6.15/Sketch/UI/mainwindow.py", line 287, in
SaveToFile
    saver(self.document, filename)
  File "/usr/bin/../lib/sketch-0.6.15/Sketch/Base/plugins.py", line 203, in __call__
    raise SketchError(_("Cannot load filter %(name)s")
SketchError: Cannot load filter pdfgensaver


Reproducible: Always
Steps to Reproduce:
Comment 1 Hanno Böck gentoo-dev 2004-02-09 14:59:08 UTC
added as DEPEND.