I am trying to install your r.colors.out_sld plugin using g.extension, but I am getting the following error message:
Compiling...
/tmp/grass7-paulo-7909/tmpBesVaZ/r.colors.out_sld/docs/html/r.colors.out_sld.html:73:0: Error (IndexError('pop from empty list',)): export of contious color rules (ramp).</p>
This looks like it might be an issue with the html page, which does not seem to follow the guidelines. Attached a patch file (r.colors.out_sld_html.patch) with some changes to comply with the guidelines, which perhaps solves above.
After copying the script to the script folder, the plugin runs fine for maps with categories, but gives an error for raster layers without categories. The attached patch (r.colors.out_sld.patch) corrects this I hope.
On 21 December 2016 at 16:37, Paulo van Breugel <p.vanbreugel@gmail.com> wrote:
Hi Hamish
Hi all,
I am trying to install your r.colors.out_sld plugin using g.extension, but I
am getting the following error message:
Compiling...
/tmp/grass7-paulo-7909/tmpBesVaZ/r.colors.out_sld/docs/html/r.colors.out_sld.html:73:0:
Error (IndexError('pop from empty list',)): export of contious color rules
(ramp).</p>
This looks like it might be an issue with the html page, which does not seem
to follow the guidelines. Attached a patch file
(r.colors.out_sld_html.patch) with some changes to comply with the
guidelines, which perhaps solves above.
After copying the script to the script folder, the plugin runs fine for maps
with categories, but gives an error for raster layers without categories.
The attached patch (r.colors.out_sld.patch) corrects this I hope.