[GRASS-dev] [GRASS GIS] #2833: g.gui.metadata export to pdf fails

#2833: g.gui.metadata export to pdf fails
-------------------------+---------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.3
Component: Addons | Version: svn-releasebranch70
Keywords: metadata | CPU: Unspecified
Platform: Unspecified |
-------------------------+---------------------------------
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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2833&gt;
GRASS GIS <https://grass.osgeo.org>

#2833: g.gui.metadata export to pdf fails
--------------------------+---------------------------------
  Reporter: pvanbosgeo | Owner: krejcmat
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.0.3
Component: Addons | Version: svn-releasebranch70
Resolution: | Keywords: metadata
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Changes (by krejcmat):

* owner: grass-dev@… => krejcmat
* status: new => assigned

Comment:

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

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2833#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#2833: g.gui.metadata export to pdf fails
--------------------------+---------------------------------
  Reporter: pvanbosgeo | Owner: krejcmat
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.0.3
Component: Addons | Version: svn-releasebranch70
Resolution: | Keywords: metadata
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2833#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#2833: g.gui.metadata export to pdf fails
--------------------------+---------------------------------
  Reporter: pvanbosgeo | Owner: krejcmat
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.0.3
Component: Addons | Version: svn-releasebranch70
Resolution: | Keywords: metadata
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (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

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2833#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#2833: g.gui.metadata export to pdf fails
--------------------------+---------------------------------
  Reporter: pvanbosgeo | Owner: krejcmat
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.0.3
Component: Addons | Version: svn-releasebranch70
Resolution: | Keywords: metadata
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2833#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>

#2833: g.gui.metadata export to pdf fails
--------------------------+---------------------------------
  Reporter: pvanbosgeo | Owner: krejcmat
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.3
Component: Addons | Version: svn-releasebranch70
Resolution: fixed | Keywords: metadata
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Changes (by pvanbosgeo):

* status: assigned => closed
* resolution: => fixed

Comment:

The export as pdf now works, closing as fixed

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2833#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>