[Qgis-user] MMQGIS plugin - Color Map error

Cameron Munro cameron.munro at yahoo.com
Mon Feb 14 01:46:43 PST 2011


Hi Noli

Thanks for your suggestion. I assume you to mean a blank ascii file will suffice 
(I can find no mmqgis.qml as part of the std plugin installation). I've tried 
putting such an empty file in \.qgis\python\plugins\mmqgis\tmp and a few other 
spots but without success. Is there something obvious I'm missing, or perhaps 
somewhere in the tree I should have such an empty file?

Cheers

Cameron.



----- Original Message ----
From: Noli Sicad <nsicad at gmail.com>
To: Cameron Munro <cameron.munro at yahoo.com>
Cc: qgis-user at lists.osgeo.org
Sent: Sun, February 13, 2011 10:06:10 PM
Subject: Re: [Qgis-user] MMQGIS plugin - Color Map error

Hi Cameron,

Try to create a "tmp" directory,  then save "mmqgis.qml" file first.

'/tmp/mmqgis.qml'

Then, this error will go away, I think.

I have similar problem with mmqgis before.

Noli

On 2/13/11, Cameron Munro <cameron.munro at yahoo.com> wrote:
> I'm running QGIS1.6 and Win7. The mmqgis plugin package is terrific, except
> I
> get an error when I try color map (below), seems not to be able to find
> mmqgis.qml. Does anyone else experience this issue, and if so is there a
> solution/workaround? I've tried reinstalling the plugin without success, and
> have observed the same issue trying it in QGIS1.5.
>
> Cheers
>
> Cameron.
>
>
> An error has occured while executing Python code:
>
> Traceback (most recent call last):
>   File "C:/Users/Cameron/.qgis/python/plugins\mmqgis\mmqgis_dialogs.py",
> line
> 292, in run
>     int(self.highcolor.palette().color(QPalette.Normal,
> QPalette.Button).rgb()))
>   File "C:/Users/Cameron/.qgis/python/plugins\mmqgis\mmqgis_library.py",
> line
> 251, in mmqgis_set_color_map
>     outfile = open(temp_filename, 'w')
> IOError: [Errno 2] No such file or directory: '/tmp/mmqgis.qml'
>
> Python version:
> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
> <snip>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>




More information about the Qgis-user mailing list