Opened 6 years ago

Closed 6 years ago

#2833 closed defect (fixed)

g.gui.metadata export to pdf fails

Reported by: pvanbosgeo Owned by: krejcmat
Priority: normal Milestone: 7.0.3
Component: Addons Version: svn-releasebranch70
Keywords: metadata Cc: grass-dev@…
CPU: Unspecified Platform: Unspecified

Description

In the file ~/.grass7/addons/etc/wx.metadata/mdlib/mdpdffactory.py on line 137 there is a reference to "/home/matt/Dropbox/GSOC2015/pdfExp/logo.png". This causes the pdf export of the metadata file to fail.

Replacing that reference for an existing file will ensure the pdf export to work.

It would be a nice option to have the user to select the path/name to her/own logo.

Change History (5)

comment:1 Changed 6 years ago by krejcmat

Owner: changed from grass-dev@… to krejcmat
Status: newassigned

Bug with path should be fixed. Please test and close the ticket.

comment:2 Changed 6 years ago by martinl

Cc: grass-dev@… added

comment:3 Changed 6 years ago by pvanbosgeo

Still fails. It is now expecting the logo to be in ~/.grass7/addons/etc/wx.metadata/config/logo_variant_bg.png. It isn't however, also not after a fresh install with g.extension

comment:4 Changed 6 years ago by krejcmat

I have fixed Makefile. In r67341 copying logo to config dir is working.

It would be a nice option to have the user to select the path/name to her/own logo.

I have started with implementation of basic manager for configuring pdf reports.

comment:5 Changed 6 years ago by pvanbosgeo

Resolution: fixed
Status: assignedclosed

The export as pdf now works, closing as fixed

Note: See TracTickets for help on using tickets.