<div dir="ltr">Dear Hamzeh,<div>what happens if you open the python console in QGIS and run the following command?</div><div><br></div><div>QgsStyle().defaultStyle().colorRampNames().index('Spectral')<br></div><div><br></div><div>In my QGIS <span style="white-space:pre-wrap">3.12.1-București running on </span><span style="white-space:pre-wrap">Ubuntu 18.04.4 LTS</span>, the item 'Spectral' is found in the list, so that command does not raise any exception. It looks like in your machine the 'Spectral' color ramp name is not included in that list, for some reason that is not clear to me.</div><div><br></div><div>Best regards,</div><div>Paolo</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 19, 2020 at 2:55 PM Alexander Bruy <<a href="mailto:alexander.bruy@gmail.com">alexander.bruy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Hamzeh,<br>
<br>
you should contact plugin authors with this issue.<br>
<br>
нд, 19 квіт. 2020 о 15:51 Hamzeh Mohammadigheymasi <<a href="mailto:hamzeh@ubi.pt" target="_blank">hamzeh@ubi.pt</a>> пише:<br>
><br>
> Hi<br>
><br>
>  I am running 3.12.1-București on an Ubuntu 18.04. The goal is to run OpenQuake IRMT plugin. It runs well and gives the outputs, however, I have problems loading the results; more precisely, when I load the outputs, I receive the following error:<br>
><br>
><br>
> ValueError: 'Spectral' is not in list<br>
> Traceback (most recent call last):<br>
>   File "/home/shazam/.local/share/QGIS/QGIS3/profiles/default/python/plugins/svir/dialogs/load_gmf_data_as_layer_dialog.py", line 165, in accept<br>
>     super().accept()<br>
>   File "/home/shazam/.local/share/QGIS/QGIS3/profiles/default/python/plugins/svir/dialogs/load_output_as_layer_dialog.py", line 875, in accept<br>
>     self.load_from_npz()<br>
>   File "/home/shazam/.local/share/QGIS/QGIS3/profiles/default/python/plugins/svir/dialogs/load_gmf_data_as_layer_dialog.py", line 174, in load_from_npz<br>
>     self.iface, self.output_type)<br>
>   File "/home/shazam/.local/share/QGIS/QGIS3/profiles/default/python/plugins/svir/dialogs/load_output_as_layer_dialog.py", line 581, in style_maps<br>
>     ramp_type_idx = default_color_ramp_names.index('Spectral')<br>
> ValueError: 'Spectral' is not in list<br>
><br>
><br>
> Please help me to solve the problem.<br>
><br>
> Best Regards,<br>
> Hamzeh<br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
<br>
<br>
-- <br>
Alexander Bruy<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><br>

<span><strong>PAOLO TORMENE</strong> </span>
<span> senior software developer </span>
 +39 0382 5169882  
<br>
<div> </div>

<strong>GLOBAL EARTHQUAKE MODEL </strong> 
working together to assess risk
<br>
<div> </div>

<span><strong>GEM -</strong>
<a href="http://www.globalquakemodel.org" target="_blank">globalquakemodel.org</a> </span>

<span><strong>T -</strong>
<a href="http://twitter.com/GEMwrld" target="_blank">@GEMwrld</a> </span>

<strong>F -</strong>
<a href="http://www.facebook.com/GEMwrld" target="_blank">GEMwrld</a> <br></div></div>