Invalid RGBA arg

Posted on
Sat Oct 19, 2019 7:29 am
Londonmark offline
Posts: 401
Joined: Feb 29, 2012

Invalid RGBA arg

Hi,

Not having the smoothest upgrade to 7.4 and Catalina... Currently getting some error in MatPlotLib. Log shows this...

19 Oct 2019 at 14:23:36
Matplotlib Warning [Composite weather daily] This device type only supports Fantastic Weather (v0.1.05 or later) and WUnderground forecast devices.
Matplotlib Warning [Composite weather daily] to_rgba: Invalid rgba arg "#"
to_rgb: Invalid rgb arg "#"
invalid hex color string "#". See plugin log for more information.
Matplotlib Warning [Composite weather weekly] This device type only supports Fantastic Weather (v0.1.05 or later) and WUnderground forecast devices.
Matplotlib Warning [Composite weather weekly] to_rgba: Invalid rgba arg "#"
to_rgb: Invalid rgb arg "#"
invalid hex color string "#". See plugin log for more information.
Matplotlib Warning [Day ahead weather] This device type only supports Fantastic Weather (v0.1.05 or later) and WUnderground forecast devices.
Matplotlib Warning [Day ahead weather] to_rgba: Invalid rgba arg "#"
to_rgb: Invalid rgb arg "#"
invalid hex color string "#". See plugin log for more information.
Matplotlib Warning [Week ahead weather] This device type only supports Fantastic Weather (v0.1.05 or later) and WUnderground forecast devices.
Matplotlib Warning [Week ahead weather] to_rgba: Invalid rgba arg "#"
to_rgb: Invalid rgb arg "#"
invalid hex color string "#". See plugin log for more information.

I'm running 0.8.27 and Fantastic Weather 3.0.3. Charts don't seem to be updating properly.

(Loving the new functionality of Matplot lib by the way - big thanks. Will be good to get it back up and running.)

Posted on
Sun Oct 20, 2019 3:58 am
DaveL17 offline
User avatar
Posts: 5943
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Invalid RGBA arg

Sorry to hear that you're having trouble. The upgrade to 7.4 *shouldn't* be a factor; I know there are many who have upgraded with no problems (me included). Haven't heard any complaints about Catalina with respect to the plugin either, but that doesn't mean that one or the combination aren't causing what you're seeing.

Take a look in the plugin log to see whether the error message that's being written there has any more insight. That's located at:
Code: Select all
/Library/Application Support/Perceptive Automation/Indigo 7.4/Logs/com.fogbert.indigoplugin.matplotlib/plugin.log

The second thing is to inspect the device definition of one of the devices displaying the error. Please execute the following code into an Indigo Python window so we can inspect the color arguments:
Code: Select all
dev = indigo.devices[12345678]  # Replace with the device ID of one of the devices above
indigo.server.log(u"{0}".format(dev))

The third thing is to take *one* of the devices above and open the config dialog and hit save without changing anything to see if the error goes away for that device. (I'm guessing it won't fix the error.)

The version of the Fantastic Weather plugin shouldn't be a factor.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Oct 20, 2019 3:11 pm
Londonmark offline
Posts: 401
Joined: Feb 29, 2012

Re: Invalid RGBA arg

Dave,

Thanks for coming back quickly. On the first, this is what I get...
Code: Select all
2019-10-20 22:05:46.678   INFO         Plugin.pluginEnvironmentLogger      =======================================================================================================================================
2019-10-20 22:05:46.722   INFO         Plugin.audit_device_props           Updating device properties to match current plugin version.
2019-10-20 22:05:46.743   DEBUG        Plugin.audit_device_props           [Data for plots] prop obsolete prop [addItemFieldsCompleted] will be removed
2019-10-20 22:05:46.809   DEBUG        Plugin.audit_save_paths             Auditing path IO. Path OK: /users/markcaines/documents/Indigo logs/
2019-10-20 22:05:46.809   DEBUG        Plugin.audit_save_paths             Auditing path IO. Path OK: /Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoWebServer/images/controls/static/
2019-10-20 22:05:46.814   DEBUG        Plugin.clean_props                  [Composite weather daily] prefs cleaned.
2019-10-20 22:05:46.823   DEBUG        Plugin.clean_props                  [Composite weather weekly] prefs cleaned.
2019-10-20 22:05:46.832   DEBUG        Plugin.clean_props                  [Data for plots] prefs cleaned.
2019-10-20 22:05:46.840   DEBUG        Plugin.clean_props                  [Day ahead weather] prefs cleaned.
2019-10-20 22:05:46.859   DEBUG        Plugin.clean_props                  [new device 1] prefs cleaned.
2019-10-20 22:05:46.870   DEBUG        Plugin.clean_props                  [Week ahead weather] prefs cleaned.
2019-10-20 22:05:46.883   DEBUG        Plugin.clean_props                  [Data for plots] prefs cleaned.
2019-10-20 22:05:47.967   CRITICAL     Plugin.pluginErrorHandler           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! TRACEBACK !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2019-10-20 22:05:47.968   CRITICAL     Plugin.pluginErrorHandler           !!! Traceback (most recent call last):
2019-10-20 22:05:47.969   CRITICAL     Plugin.pluginErrorHandler           !!!   File "plugin.py", line 4621, in chart_weather_composite
2019-10-20 22:05:47.969   CRITICAL     Plugin.pluginErrorHandler           !!!     self.save_chart_image(plt, p_dict, k_dict, log, size={'bottom': bottom_space, 'left': 0.07, 'top': top_space, 'right': 0.95})
2019-10-20 22:05:47.970   CRITICAL     Plugin.pluginErrorHandler           !!!   File "plugin.py", line 5740, in save_chart_image
2019-10-20 22:05:47.975   CRITICAL     Plugin.pluginErrorHandler           !!!     plot.savefig(u'{0}{1}'.format(p_dict['chartPath'], p_dict['fileName']), **k_dict['k_plot_fig'])
2019-10-20 22:05:47.975   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/pyplot.py", line 561, in savefig
2019-10-20 22:05:47.976   CRITICAL     Plugin.pluginErrorHandler           !!!     return fig.savefig(*args, **kwargs)
2019-10-20 22:05:47.977   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/figure.py", line 1421, in savefig
2019-10-20 22:05:47.977   CRITICAL     Plugin.pluginErrorHandler           !!!     self.canvas.print_figure(*args, **kwargs)
2019-10-20 22:05:48.024   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backend_bases.py", line 2220, in print_figure
2019-10-20 22:05:48.025   CRITICAL     Plugin.pluginErrorHandler           !!!     **kwargs)
2019-10-20 22:05:48.026   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backends/backend_agg.py", line 505, in print_png
2019-10-20 22:05:48.026   CRITICAL     Plugin.pluginErrorHandler           !!!     FigureCanvasAgg.draw(self)
2019-10-20 22:05:48.027   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backends/backend_agg.py", line 451, in draw
2019-10-20 22:05:48.028   CRITICAL     Plugin.pluginErrorHandler           !!!     self.figure.draw(self.renderer)
2019-10-20 22:05:48.028   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:48.029   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:48.030   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/figure.py", line 1034, in draw
2019-10-20 22:05:48.031   CRITICAL     Plugin.pluginErrorHandler           !!!     func(*args)
2019-10-20 22:05:48.031   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:48.032   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:48.032   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/axes.py", line 2086, in draw
2019-10-20 22:05:48.035   CRITICAL     Plugin.pluginErrorHandler           !!!     a.draw(renderer)
2019-10-20 22:05:48.058   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:48.060   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:48.061   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/text.py", line 563, in draw
2019-10-20 22:05:48.063   CRITICAL     Plugin.pluginErrorHandler           !!!     gc.set_foreground(self.get_color())
2019-10-20 22:05:48.064   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backend_bases.py", line 921, in set_foreground
2019-10-20 22:05:48.067   CRITICAL     Plugin.pluginErrorHandler           !!!     self._rgb = colors.colorConverter.to_rgba(fg)
2019-10-20 22:05:48.068   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/colors.py", line 365, in to_rgba
2019-10-20 22:05:48.068   CRITICAL     Plugin.pluginErrorHandler           !!!     'to_rgba: Invalid rgba arg "%s"\n%s' % (str(arg), exc))
2019-10-20 22:05:48.069   CRITICAL     Plugin.pluginErrorHandler           !!! ValueError: to_rgba: Invalid rgba arg "#"
2019-10-20 22:05:48.069   CRITICAL     Plugin.pluginErrorHandler           !!! to_rgb: Invalid rgb arg "#"
2019-10-20 22:05:48.070   CRITICAL     Plugin.pluginErrorHandler           !!! invalid hex color string "#"
2019-10-20 22:05:48.070   CRITICAL     Plugin.pluginErrorHandler           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2019-10-20 22:05:48.074   WARNING      Plugin.processLogQueue              [Composite weather daily] This device type only supports Fantastic Weather (v0.1.05 or later) and WUnderground forecast devices.
2019-10-20 22:05:48.075   WARNING      Plugin.processLogQueue              [Composite weather daily] to_rgba: Invalid rgba arg "#"
to_rgb: Invalid rgb arg "#"
invalid hex color string "#". See plugin log for more information.
2019-10-20 22:05:48.410   CRITICAL     Plugin.pluginErrorHandler           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! TRACEBACK !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2019-10-20 22:05:48.411   CRITICAL     Plugin.pluginErrorHandler           !!! Traceback (most recent call last):
2019-10-20 22:05:48.411   CRITICAL     Plugin.pluginErrorHandler           !!!   File "plugin.py", line 4621, in chart_weather_composite
2019-10-20 22:05:48.412   CRITICAL     Plugin.pluginErrorHandler           !!!     self.save_chart_image(plt, p_dict, k_dict, log, size={'bottom': bottom_space, 'left': 0.07, 'top': top_space, 'right': 0.95})
2019-10-20 22:05:48.412   CRITICAL     Plugin.pluginErrorHandler           !!!   File "plugin.py", line 5740, in save_chart_image
2019-10-20 22:05:48.413   CRITICAL     Plugin.pluginErrorHandler           !!!     plot.savefig(u'{0}{1}'.format(p_dict['chartPath'], p_dict['fileName']), **k_dict['k_plot_fig'])
2019-10-20 22:05:48.413   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/pyplot.py", line 561, in savefig
2019-10-20 22:05:48.414   CRITICAL     Plugin.pluginErrorHandler           !!!     return fig.savefig(*args, **kwargs)
2019-10-20 22:05:48.414   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/figure.py", line 1421, in savefig
2019-10-20 22:05:48.415   CRITICAL     Plugin.pluginErrorHandler           !!!     self.canvas.print_figure(*args, **kwargs)
2019-10-20 22:05:48.415   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backend_bases.py", line 2220, in print_figure
2019-10-20 22:05:48.416   CRITICAL     Plugin.pluginErrorHandler           !!!     **kwargs)
2019-10-20 22:05:48.416   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backends/backend_agg.py", line 505, in print_png
2019-10-20 22:05:48.417   CRITICAL     Plugin.pluginErrorHandler           !!!     FigureCanvasAgg.draw(self)
2019-10-20 22:05:48.417   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backends/backend_agg.py", line 451, in draw
2019-10-20 22:05:48.418   CRITICAL     Plugin.pluginErrorHandler           !!!     self.figure.draw(self.renderer)
2019-10-20 22:05:48.418   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:48.419   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:48.419   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/figure.py", line 1034, in draw
2019-10-20 22:05:48.420   CRITICAL     Plugin.pluginErrorHandler           !!!     func(*args)
2019-10-20 22:05:48.420   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:48.421   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:48.421   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/axes.py", line 2086, in draw
2019-10-20 22:05:48.422   CRITICAL     Plugin.pluginErrorHandler           !!!     a.draw(renderer)
2019-10-20 22:05:48.423   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:48.423   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:48.424   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/text.py", line 563, in draw
2019-10-20 22:05:48.424   CRITICAL     Plugin.pluginErrorHandler           !!!     gc.set_foreground(self.get_color())
2019-10-20 22:05:48.425   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backend_bases.py", line 921, in set_foreground
2019-10-20 22:05:48.425   CRITICAL     Plugin.pluginErrorHandler           !!!     self._rgb = colors.colorConverter.to_rgba(fg)
2019-10-20 22:05:48.426   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/colors.py", line 365, in to_rgba
2019-10-20 22:05:48.426   CRITICAL     Plugin.pluginErrorHandler           !!!     'to_rgba: Invalid rgba arg "%s"\n%s' % (str(arg), exc))
2019-10-20 22:05:48.426   CRITICAL     Plugin.pluginErrorHandler           !!! ValueError: to_rgba: Invalid rgba arg "#"
2019-10-20 22:05:48.427   CRITICAL     Plugin.pluginErrorHandler           !!! to_rgb: Invalid rgb arg "#"
2019-10-20 22:05:48.427   CRITICAL     Plugin.pluginErrorHandler           !!! invalid hex color string "#"
2019-10-20 22:05:48.428   CRITICAL     Plugin.pluginErrorHandler           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2019-10-20 22:05:48.429   WARNING      Plugin.processLogQueue              [Composite weather weekly] This device type only supports Fantastic Weather (v0.1.05 or later) and WUnderground forecast devices.
2019-10-20 22:05:48.430   WARNING      Plugin.processLogQueue              [Composite weather weekly] to_rgba: Invalid rgba arg "#"
to_rgb: Invalid rgb arg "#"
invalid hex color string "#". See plugin log for more information.
2019-10-20 22:05:48.898   CRITICAL     Plugin.pluginErrorHandler           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! TRACEBACK !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2019-10-20 22:05:48.899   CRITICAL     Plugin.pluginErrorHandler           !!! Traceback (most recent call last):
2019-10-20 22:05:48.900   CRITICAL     Plugin.pluginErrorHandler           !!!   File "plugin.py", line 4956, in chart_weather_forecast
2019-10-20 22:05:48.901   CRITICAL     Plugin.pluginErrorHandler           !!!     self.save_chart_image(plt, p_dict, k_dict, log, size={'left': 0.05, 'right': 0.95})
2019-10-20 22:05:48.902   CRITICAL     Plugin.pluginErrorHandler           !!!   File "plugin.py", line 5740, in save_chart_image
2019-10-20 22:05:48.902   CRITICAL     Plugin.pluginErrorHandler           !!!     plot.savefig(u'{0}{1}'.format(p_dict['chartPath'], p_dict['fileName']), **k_dict['k_plot_fig'])
2019-10-20 22:05:48.903   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/pyplot.py", line 561, in savefig
2019-10-20 22:05:48.904   CRITICAL     Plugin.pluginErrorHandler           !!!     return fig.savefig(*args, **kwargs)
2019-10-20 22:05:48.905   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/figure.py", line 1421, in savefig
2019-10-20 22:05:48.906   CRITICAL     Plugin.pluginErrorHandler           !!!     self.canvas.print_figure(*args, **kwargs)
2019-10-20 22:05:48.907   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backend_bases.py", line 2220, in print_figure
2019-10-20 22:05:48.908   CRITICAL     Plugin.pluginErrorHandler           !!!     **kwargs)
2019-10-20 22:05:48.910   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backends/backend_agg.py", line 505, in print_png
2019-10-20 22:05:48.910   CRITICAL     Plugin.pluginErrorHandler           !!!     FigureCanvasAgg.draw(self)
2019-10-20 22:05:48.911   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backends/backend_agg.py", line 451, in draw
2019-10-20 22:05:48.911   CRITICAL     Plugin.pluginErrorHandler           !!!     self.figure.draw(self.renderer)
2019-10-20 22:05:48.912   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:48.912   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:48.913   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/figure.py", line 1034, in draw
2019-10-20 22:05:48.913   CRITICAL     Plugin.pluginErrorHandler           !!!     func(*args)
2019-10-20 22:05:48.914   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:48.915   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:48.915   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/axes.py", line 2086, in draw
2019-10-20 22:05:48.916   CRITICAL     Plugin.pluginErrorHandler           !!!     a.draw(renderer)
2019-10-20 22:05:48.916   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:48.917   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:48.917   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/axis.py", line 1105, in draw
2019-10-20 22:05:48.918   CRITICAL     Plugin.pluginErrorHandler           !!!     self.label.draw(renderer)
2019-10-20 22:05:48.918   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:48.919   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:48.919   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/text.py", line 563, in draw
2019-10-20 22:05:48.920   CRITICAL     Plugin.pluginErrorHandler           !!!     gc.set_foreground(self.get_color())
2019-10-20 22:05:48.920   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backend_bases.py", line 921, in set_foreground
2019-10-20 22:05:48.921   CRITICAL     Plugin.pluginErrorHandler           !!!     self._rgb = colors.colorConverter.to_rgba(fg)
2019-10-20 22:05:48.922   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/colors.py", line 365, in to_rgba
2019-10-20 22:05:48.922   CRITICAL     Plugin.pluginErrorHandler           !!!     'to_rgba: Invalid rgba arg "%s"\n%s' % (str(arg), exc))
2019-10-20 22:05:48.923   CRITICAL     Plugin.pluginErrorHandler           !!! ValueError: to_rgba: Invalid rgba arg "#"
2019-10-20 22:05:48.924   CRITICAL     Plugin.pluginErrorHandler           !!! to_rgb: Invalid rgb arg "#"
2019-10-20 22:05:48.924   CRITICAL     Plugin.pluginErrorHandler           !!! invalid hex color string "#"
2019-10-20 22:05:48.925   CRITICAL     Plugin.pluginErrorHandler           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2019-10-20 22:05:48.926   WARNING      Plugin.processLogQueue              [Day ahead weather] This device type only supports Fantastic Weather (v0.1.05 or later) and WUnderground forecast devices.
2019-10-20 22:05:48.927   WARNING      Plugin.processLogQueue              [Day ahead weather] to_rgba: Invalid rgba arg "#"
to_rgb: Invalid rgb arg "#"
invalid hex color string "#". See plugin log for more information.
2019-10-20 22:05:49.328   CRITICAL     Plugin.pluginErrorHandler           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! TRACEBACK !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2019-10-20 22:05:49.329   CRITICAL     Plugin.pluginErrorHandler           !!! Traceback (most recent call last):
2019-10-20 22:05:49.330   CRITICAL     Plugin.pluginErrorHandler           !!!   File "plugin.py", line 4956, in chart_weather_forecast
2019-10-20 22:05:49.330   CRITICAL     Plugin.pluginErrorHandler           !!!     self.save_chart_image(plt, p_dict, k_dict, log, size={'left': 0.05, 'right': 0.95})
2019-10-20 22:05:49.331   CRITICAL     Plugin.pluginErrorHandler           !!!   File "plugin.py", line 5740, in save_chart_image
2019-10-20 22:05:49.331   CRITICAL     Plugin.pluginErrorHandler           !!!     plot.savefig(u'{0}{1}'.format(p_dict['chartPath'], p_dict['fileName']), **k_dict['k_plot_fig'])
2019-10-20 22:05:49.332   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/pyplot.py", line 561, in savefig
2019-10-20 22:05:49.332   CRITICAL     Plugin.pluginErrorHandler           !!!     return fig.savefig(*args, **kwargs)
2019-10-20 22:05:49.333   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/figure.py", line 1421, in savefig
2019-10-20 22:05:49.333   CRITICAL     Plugin.pluginErrorHandler           !!!     self.canvas.print_figure(*args, **kwargs)
2019-10-20 22:05:49.333   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backend_bases.py", line 2220, in print_figure
2019-10-20 22:05:49.334   CRITICAL     Plugin.pluginErrorHandler           !!!     **kwargs)
2019-10-20 22:05:49.334   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backends/backend_agg.py", line 505, in print_png
2019-10-20 22:05:49.335   CRITICAL     Plugin.pluginErrorHandler           !!!     FigureCanvasAgg.draw(self)
2019-10-20 22:05:49.335   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backends/backend_agg.py", line 451, in draw
2019-10-20 22:05:49.336   CRITICAL     Plugin.pluginErrorHandler           !!!     self.figure.draw(self.renderer)
2019-10-20 22:05:49.336   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:49.336   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:49.337   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/figure.py", line 1034, in draw
2019-10-20 22:05:49.338   CRITICAL     Plugin.pluginErrorHandler           !!!     func(*args)
2019-10-20 22:05:49.338   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:49.340   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:49.341   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/axes.py", line 2086, in draw
2019-10-20 22:05:49.342   CRITICAL     Plugin.pluginErrorHandler           !!!     a.draw(renderer)
2019-10-20 22:05:49.342   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:49.343   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:49.343   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/axis.py", line 1105, in draw
2019-10-20 22:05:49.344   CRITICAL     Plugin.pluginErrorHandler           !!!     self.label.draw(renderer)
2019-10-20 22:05:49.344   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:05:49.345   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:05:49.345   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/text.py", line 563, in draw
2019-10-20 22:05:49.346   CRITICAL     Plugin.pluginErrorHandler           !!!     gc.set_foreground(self.get_color())
2019-10-20 22:05:49.346   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backend_bases.py", line 921, in set_foreground
2019-10-20 22:05:49.347   CRITICAL     Plugin.pluginErrorHandler           !!!     self._rgb = colors.colorConverter.to_rgba(fg)
2019-10-20 22:05:49.347   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/colors.py", line 365, in to_rgba
2019-10-20 22:05:49.348   CRITICAL     Plugin.pluginErrorHandler           !!!     'to_rgba: Invalid rgba arg "%s"\n%s' % (str(arg), exc))
2019-10-20 22:05:49.348   CRITICAL     Plugin.pluginErrorHandler           !!! ValueError: to_rgba: Invalid rgba arg "#"
2019-10-20 22:05:49.348   CRITICAL     Plugin.pluginErrorHandler           !!! to_rgb: Invalid rgb arg "#"
2019-10-20 22:05:49.349   CRITICAL     Plugin.pluginErrorHandler           !!! invalid hex color string "#"
2019-10-20 22:05:49.349   CRITICAL     Plugin.pluginErrorHandler           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2019-10-20 22:05:49.351   WARNING      Plugin.processLogQueue              [Week ahead weather] This device type only supports Fantastic Weather (v0.1.05 or later) and WUnderground forecast devices.
2019-10-20 22:05:49.352   WARNING      Plugin.processLogQueue              [Week ahead weather] to_rgba: Invalid rgba arg "#"
to_rgb: Invalid rgb arg "#"
invalid hex color string "#". See plugin log for more information.
2019-10-20 22:07:34.543   INFO         Plugin.csv_refresh_process          [Data for plots] CSV data updated successfully.
2019-10-20 22:09:19.875   CRITICAL     Plugin.pluginErrorHandler           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! TRACEBACK !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2019-10-20 22:09:19.876   CRITICAL     Plugin.pluginErrorHandler           !!! Traceback (most recent call last):
2019-10-20 22:09:19.876   CRITICAL     Plugin.pluginErrorHandler           !!!   File "plugin.py", line 3937, in chart_line
2019-10-20 22:09:19.876   CRITICAL     Plugin.pluginErrorHandler           !!!     self.save_chart_image(plt, p_dict, k_dict, log)
2019-10-20 22:09:19.877   CRITICAL     Plugin.pluginErrorHandler           !!!   File "plugin.py", line 5740, in save_chart_image
2019-10-20 22:09:19.877   CRITICAL     Plugin.pluginErrorHandler           !!!     plot.savefig(u'{0}{1}'.format(p_dict['chartPath'], p_dict['fileName']), **k_dict['k_plot_fig'])
2019-10-20 22:09:19.877   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/pyplot.py", line 561, in savefig
2019-10-20 22:09:19.878   CRITICAL     Plugin.pluginErrorHandler           !!!     return fig.savefig(*args, **kwargs)
2019-10-20 22:09:19.878   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/figure.py", line 1421, in savefig
2019-10-20 22:09:19.879   CRITICAL     Plugin.pluginErrorHandler           !!!     self.canvas.print_figure(*args, **kwargs)
2019-10-20 22:09:19.879   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backend_bases.py", line 2220, in print_figure
2019-10-20 22:09:19.879   CRITICAL     Plugin.pluginErrorHandler           !!!     **kwargs)
2019-10-20 22:09:19.880   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backends/backend_agg.py", line 505, in print_png
2019-10-20 22:09:19.880   CRITICAL     Plugin.pluginErrorHandler           !!!     FigureCanvasAgg.draw(self)
2019-10-20 22:09:19.880   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backends/backend_agg.py", line 451, in draw
2019-10-20 22:09:19.880   CRITICAL     Plugin.pluginErrorHandler           !!!     self.figure.draw(self.renderer)
2019-10-20 22:09:19.881   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:09:19.881   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:09:19.881   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/figure.py", line 1034, in draw
2019-10-20 22:09:19.882   CRITICAL     Plugin.pluginErrorHandler           !!!     func(*args)
2019-10-20 22:09:19.882   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:09:19.882   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:09:19.883   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/axes.py", line 2086, in draw
2019-10-20 22:09:19.883   CRITICAL     Plugin.pluginErrorHandler           !!!     a.draw(renderer)
2019-10-20 22:09:19.883   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:09:19.884   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:09:19.884   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/axis.py", line 1105, in draw
2019-10-20 22:09:19.884   CRITICAL     Plugin.pluginErrorHandler           !!!     self.label.draw(renderer)
2019-10-20 22:09:19.884   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/artist.py", line 55, in draw_wrapper
2019-10-20 22:09:19.885   CRITICAL     Plugin.pluginErrorHandler           !!!     draw(artist, renderer, *args, **kwargs)
2019-10-20 22:09:19.885   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/text.py", line 563, in draw
2019-10-20 22:09:19.885   CRITICAL     Plugin.pluginErrorHandler           !!!     gc.set_foreground(self.get_color())
2019-10-20 22:09:19.886   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/backend_bases.py", line 921, in set_foreground
2019-10-20 22:09:19.886   CRITICAL     Plugin.pluginErrorHandler           !!!     self._rgb = colors.colorConverter.to_rgba(fg)
2019-10-20 22:09:19.886   CRITICAL     Plugin.pluginErrorHandler           !!!   File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/colors.py", line 365, in to_rgba
2019-10-20 22:09:19.887   CRITICAL     Plugin.pluginErrorHandler           !!!     'to_rgba: Invalid rgba arg "%s"\n%s' % (str(arg), exc))
2019-10-20 22:09:19.887   CRITICAL     Plugin.pluginErrorHandler           !!! ValueError: to_rgba: Invalid rgba arg "#"
2019-10-20 22:09:19.887   CRITICAL     Plugin.pluginErrorHandler           !!! to_rgb: Invalid rgb arg "#"
2019-10-20 22:09:19.887   CRITICAL     Plugin.pluginErrorHandler           !!! invalid hex color string "#"
2019-10-20 22:09:19.888   CRITICAL     Plugin.pluginErrorHandler           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2019-10-20 22:09:19.889   WARNING      Plugin.processLogQueue              [new device 1] to_rgba: Invalid rgba arg "#"
to_rgb: Invalid rgb arg "#"
invalid hex color string "#". See plugin log for more information.
2019-10-20 22:10:17.642   INFO         Plugin.closedPrefsConfigUi          Verbose logging is off.  It is best to leave this turned off unless directed.


I'm not able to identify anything in there that helps me.

Will come back on the others in a moment.

Posted on
Sun Oct 20, 2019 3:14 pm
Londonmark offline
Posts: 401
Joined: Feb 29, 2012

Re: Invalid RGBA arg

On the second step, I get this...

Code: Select all
20 Oct 2019 at 22:13:01
   Embedded script executor host2 started
   Script                          address :
batteryLevel : None
buttonGroupCount : 0
configured : True
description :
deviceTypeId : compositeForecastDevice
displayStateId : onOffState
displayStateImageSel : SensorOn
displayStateValRaw : True
displayStateValUi : Updated
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 45990640
globalProps : MetaProps : (dict)
     com.fogbert.indigoplugin.matplotlib : (dict)
          chartTitle : Forecast for the week (string)
          component_list : (list)
               Item : show_wind (string)
               Item : show_precipitation (string)
          customSizeFont : false (bool)
          customTickFontSize : 8 (string)
          customTitleFontSize : 12 (string)
          fileName : Composite weekly (string)
          forecastSourceDevice : 1501513207 (string)
          height : 600 (string)
          humidity_max :  (string)
          humidity_min :  (string)
          isChart : true (bool)
          lineColor : FB 02 80 (string)
          lineMarkerColor : 00 00 80 (string)
          precipitation_max : 24 (string)
          precipitation_min : 0 (string)
          pressure_max :  (string)
          pressure_min :  (string)
          refreshInterval : 900 (string)
          showLegend : false (bool)
          showxAxisGrid : false (bool)
          showyAxisGrid : false (bool)
          temperature_max : 30 (string)
          temperature_min : 0 (string)
          width : 400 (string)
          wind_max : 30 (string)
          wind_min : 0 (string)
          xAxisBins : daily (string)
          xAxisLabel : true (bool)
          xAxisLabelFormat : %a (string)
          yAxisLabel : true (bool)
          yAxisPrecision : 0 (string)
id : 88551402
lastChanged : 2019-10-20 22:05:48
lastSuccessfulComm : 2019-10-20 22:05:48
model : Composite Forecast Chart
name : Composite weather weekly
ownerProps : com.fogbert.indigoplugin.matplotlib : (dict)
     chartTitle : Forecast for the week (string)
     component_list : (list)
          Item : show_wind (string)
          Item : show_precipitation (string)
     customSizeFont : false (bool)
     customTickFontSize : 8 (string)
     customTitleFontSize : 12 (string)
     fileName : Composite weekly (string)
     forecastSourceDevice : 1501513207 (string)
     height : 600 (string)
     humidity_max :  (string)
     humidity_min :  (string)
     isChart : true (bool)
     lineColor : FB 02 80 (string)
     lineMarkerColor : 00 00 80 (string)
     precipitation_max : 24 (string)
     precipitation_min : 0 (string)
     pressure_max :  (string)
     pressure_min :  (string)
     refreshInterval : 900 (string)
     showLegend : false (bool)
     showxAxisGrid : false (bool)
     showyAxisGrid : false (bool)
     temperature_max : 30 (string)
     temperature_min : 0 (string)
     width : 400 (string)
     wind_max : 30 (string)
     wind_min : 0 (string)
     xAxisBins : daily (string)
     xAxisLabel : true (bool)
     xAxisLabelFormat : %a (string)
     yAxisLabel : true (bool)
     yAxisPrecision : 0 (string)
pluginId : com.fogbert.indigoplugin.matplotlib
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
     chartLastUpdated : 2019-10-20 22:05:48.430732 (string)
     onOffState : true (bool)
     onOffState.ui : Updated (string)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : False
version : None

Posted on
Sun Oct 20, 2019 3:15 pm
Londonmark offline
Posts: 401
Joined: Feb 29, 2012

Re: Invalid RGBA arg

And on the third, I've tried that, and also tried creating new devices - which has the same problem, regardless of whether they tap into Fantastic Weather or not. Even really basic charts throw up the same problem.

Posted on
Sun Oct 20, 2019 3:36 pm
DaveL17 offline
User avatar
Posts: 5943
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Invalid RGBA arg

Thanks for reporting back. I'll take a look at what you've provided and see what I can come up with. One more favor to ask when you can. Can you please share the line from the plugin initialization logging that starts with:
Code: Select all
2019-10-20 16:31:42.280   THREADDEBUG   Plugin.pluginEnvironmentLogger      Initial Plugin Prefs:
It should be right above the log entries you posted. Make sure to inspect it for anything sensitive before you post it.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Oct 21, 2019 11:32 am
Londonmark offline
Posts: 401
Joined: Feb 29, 2012

Re: Invalid RGBA arg

Here we go...

Code: Select all
2019-10-20 22:05:46.525   THREADDEBUG   Plugin.__init__                     Initializing maintenance framework.
2019-10-20 22:05:46.672   INFO         Plugin.pluginEnvironmentLogger     
2019-10-20 22:05:46.672   INFO         Plugin.pluginEnvironmentLogger      ======================================================= Matplotlib Environment ========================================================
2019-10-20 22:05:46.673   INFO         Plugin.pluginEnvironmentLogger      Matplotlib version:             1.3.1
2019-10-20 22:05:46.674   INFO         Plugin.pluginEnvironmentLogger      Numpy version:                  1.8.0rc1
2019-10-20 22:05:46.674   INFO         Plugin.pluginEnvironmentLogger      Matplotlib RC Path:             /Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/matplotlib-2.indigoPlugin/Contents/Server Plugin/matplotlibrc
2019-10-20 22:05:46.676   INFO         Plugin.pluginEnvironmentLogger      Matplotlib Plugin log location: /Library/Application Support/Perceptive Automation/Indigo 7.4/Logs/com.fogbert.indigoplugin.matplotlib
2019-10-20 22:05:46.676   INFO         Plugin.pluginEnvironmentLogger      Number of Chart Devices:        5
2019-10-20 22:05:46.677   INFO         Plugin.pluginEnvironmentLogger      Number of CSV Engine Devices:   1
2019-10-20 22:05:46.677   THREADDEBUG   Plugin.pluginEnvironmentLogger      Matplotlib base rcParams:       {'figure.subplot.right': 0.9, 'animation.frame_format': 'png', 'mathtext.cal': 'cursive', 'font.fantasy': ['Comic Sans MS', 'Chicago', 'Charcoal', 'ImpactWestern', 'fantasy'], 'grid.alpha': 1.0, 'xtick.minor.pad': 4, 'tk.pythoninspect': False, 'pgf.texsystem': 'xelatex', 'svg.fonttype': 'path', 'font.cursive': ['Apple Chancery', 'Textile', 'Zapf Chancery', 'Sand', 'cursive'], 'figure.subplot.hspace': 0.2, 'keymap.fullscreen': ('f', 'ctrl+f'), 'mathtext.bf': 'serif:bold', 'savefig.extension': 'png', 'xtick.direction': 'in', 'axes.facecolor': 'w', 'mathtext.fontset': 'cm', 'animation.mencoder_path': 'mencoder', 'keymap.pan': 'p', 'animation.writer': 'ffmpeg', 'path.snap': True, 'svg.image_inline': True, 'animation.bitrate': -1, 'lines.markersize': 6, 'figure.dpi': 80, 'text.usetex': False, 'image.origin': 'upper', 'patch.edgecolor': 'k', 'legend.labelspacing': 0.5, 'animation.convert_path': 'convert', 'examples.directory': '', 'text.antialiased': True, 'animation.ffmpeg_args': '', 'lines.solid_joinstyle': 'round', 'savefig.bbox': None, 'mathtext.rm': 'serif', 'axes.formatter.limits': [-7, 7], 'xtick.minor.size': 2, 'font.serif': ['Bitstream Vera Serif', 'DejaVu Serif', 'New Century Schoolbook', 'Century Schoolbook L', 'Utopia', 'ITC Bookman', 'Bookman', 'Nimbus Roman No9 L', 'Times New Roman', 'Times', 'Palatino', 'Charter', 'serif'], 'image.cmap': 'jet', 'lines.marker': 'None', 'tk.window_focus': False, 'axes.formatter.use_mathtext': False, 'ytick.major.width': 0.5, 'path.effects': [], 'figure.subplot.wspace': 0.2, 'backend.qt4': 'PyQt4', 'webagg.port_retries': 50, 'axes.xmargin': 0, 'savefig.facecolor': 'w', 'pgf.preamble': [''], 'ytick.minor.size': 2, 'savefig.pad_inches': 0.1, 'font.stretch': 'normal', 'text.dvipnghack': None, 'path.sketch': None, 'savefig.directory': '~', 'figure.subplot.bottom': 0.1, 'ytick.color': 'k', 'image.aspect': 'equal', 'lines.linestyle': '-', 'axes.ymargin': 0, 'xtick.color': 'k', 'savefig.jpeg_quality': 95, 'savefig.frameon': True, 'xtick.major.pad': 10.0, 'patch.facecolor': 'b', 'figure.figsize': [8.0, 6.0], 'axes.linewidth': 1.0, 'backend': 'agg', 'legend.handletextpad': 0.8, 'mathtext.fallback_to_cm': True, 'lines.linewidth': 1.0, 'savefig.dpi': 100, 'font.family': 'sans-serif', 'svg.image_noscale': False, 'docstring.hardcopy': False, 'font.size': 12, 'ps.fonttype': 3, 'path.simplify': True, 'keymap.all_axes': 'a', 'keymap.quit': ('ctrl+w', 'cmd+w'), 'polaraxes.grid': True, 'toolbar': 'toolbar2', 'savefig.edgecolor': 'w', 'animation.mencoder_args': '', 'legend.frameon': True, 'figure.autolayout': False, 'figure.facecolor': '0.75', 'figure.max_open_warning': 20, 'animation.convert_args': '', 'ps.usedistiller': False, 'legend.isaxes': True, 'animation.ffmpeg_path': 'ffmpeg', 'figure.edgecolor': 'w', 'mathtext.tt': 'monospace', 'contour.negative_linestyle': 'dashed', 'savefig.format': 'png', 'axes.formatter.use_locale': False, 'lines.markeredgewidth': 0.5, 'legend.fontsize': 'large', 'keymap.home': ['h', 'r', 'home'], 'axes3d.grid': True, 'legend.scatterpoints': 3, 'axes.edgecolor': 'k', 'lines.solid_capstyle': 'projecting', 'ytick.minor.width': 0.5, 'axes.titlesize': 'large', 'image.interpolation': 'bilinear', 'keymap.zoom': 'o', 'xtick.major.size': 4, 'keymap.xscale': ['k', 'L'], 'animation.avconv_args': '', 'legend.shadow': False, 'mathtext.it': 'serif:italic', 'keymap.save': ('s', 'ctrl+s'), 'font.variant': 'normal', 'text.hinting': True, 'xtick.labelsize': 'medium', 'axes.unicode_minus': True, 'figure.frameon': True, 'text.hinting_factor': 8, 'ps.distiller.res': 6000, 'pdf.compression': 6, 'pdf.fonttype': 3, 'ytick.minor.pad': 4, 'pdf.inheritcolor': False, 'axes.color_cycle': ['b', 'g', 'r', 'c', 'm', 'y', 'k'], 'lines.dash_capstyle': 'butt', 'ytick.direction': 'in', 'figure.subplot.top': 0.9, 'pdf.use14corefonts': False, 'legend.markerscale': 1.0, 'patch.antialiased': True, 'backend_fallback': True, 'font.style': 'normal', 'keymap.forward': ['right', 'v'], 'grid.linewidth': 0.5, 'legend.fancybox': False, 'grid.linestyle': ':', 'axes.labelcolor': 'k', 'text.color': 'k', 'xtick.minor.width': 0.5, 'ps.useafm': False, 'legend.loc': 'upper right', 'interactive': False, 'lines.antialiased': True, 'webagg.port': 8988, 'savefig.orientation': 'portrait', 'axes.axisbelow': False, 'ytick.major.size': 4, 'axes.grid': False, 'pgf.debug': False, 'plugins.directory': '.matplotlib_plugins', 'grid.color': 'k', 'ytick.major.pad': 5.0, 'timezone': 'UTC', 'pgf.rcfonts': True, 'legend.borderpad': 0.4, 'lines.dash_joinstyle': 'round', 'axes.labelweight': 'normal', 'datapath': '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/mpl-data', 'text.latex.unicode': False, 'legend.handleheight': 0.7, 'image.lut': 256, 'animation.avconv_path': 'avconv', 'animation.codec': 'mpeg4', 'text.latex.preamble': [''], 'legend.numpoints': 2, 'legend.handlelength': 2.0, 'keymap.grid': 'g', 'font.sans-serif': ['Bitstream Vera Sans', 'DejaVu Sans', 'Lucida Grande', 'Verdana', 'Geneva', 'Lucid', 'Arial', 'Helvetica', 'Avant Garde', 'sans-serif'], 'verbose.fileo': 'sys.stdout', 'xtick.major.width': 0.5, 'axes.labelsize': 'medium', 'patch.linewidth': 1.0, 'legend.borderaxespad': 0.5, 'mathtext.sf': 'sans\\-serif', 'axes.hold': True, 'verbose.level': 'silent', 'mathtext.default': 'it', 'figure.subplot.left': 0.125, 'legend.columnspacing': 2.0, 'webagg.open_in_browser': True, 'text.latex.preview': False, 'font.weight': 'normal', 'lines.color': 'b', 'keymap.yscale': 'l', 'image.resample': False, 'font.monospace': ['Bitstream Vera Sans Mono', 'DejaVu Sans Mono', 'Andale Mono', 'Nimbus Mono L', 'Courier New', 'Courier', 'Fixed', 'Terminal', 'monospace'], 'agg.path.chunksize': 0, 'path.simplify_threshold': 0.1111111111111111, 'ytick.labelsize': 'medium', 'ps.papersize': 'letter', 'keymap.back': ['left', 'c', 'backspace'], 'svg.embed_char_paths': True}
2019-10-20 22:05:46.677   THREADDEBUG   Plugin.pluginEnvironmentLogger      Initial Plugin Prefs:           {u'snappyConfigMenus': False, u'sqChartSize': u'250', u'faceColor': u'E6 E6 E6', u'rectChartLabel': u'', u'infoLabel1': u'', u'dataPath': u'/users/markcaines/documents/Indigo logs/', u'showDebugLevel': u'10', u'spineColor': u'E6 E6 E6', u'lineWeight': u'1.0', u'promoteCustomLineSegments': False, u'tickColor': u'E6 E6 E6', u'fontColor': u'', u'enableCustomLineSegments': False, u'rectChartWideLabel': u'', u'tickSize': u'4', u'updaterLastCheck': 1556015360.0, u'rectChartWideSeparator': u'', u'updaterEmail': u'', u'debugHeaderSpace': u'', u'backgroundColorOther': True, u'rectChartWideWidth': u'1000', u'mainFontSize': u'10', u'space05': u'', u'space07': u'', u'space06': u'', u'gridColor': u'E6 E6 E6', u'rectChartSeparator': u'', u'backgroundColor': u'E6 E6 E6', u'notificationsLabel': u'', u'faceColorOther': False, u'sqChartSeparator': u'', u'space00': u'', u'infoLabel0': u'', u'chartResolution': u'100', u'rectChartWideHeight': u'250', u'dpiWarningFlag': True, u'updaterEmailsEnabled': False, u'forceOriginLines': False, u'verboseLoggingLabel': u'', u'tickFontSize': u'8', u'space01': u'', u'fontColorAnnotation': u'E6 E6 E6', u'refreshInterval': 900, u'chartPropsSeparator': u'', u'legendFontSize': u'6', u'verboseLogging': False, u'gridStyle': u':', u'debugLabel': u'', u'chartPropsLabel': u'', u'oldDebugLevel': u'20', u'chartPath': u'/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoWebServer/images/controls/static/', u'separator02': u'', u'separator00': u'', u'separator01': u'', u'fontMain': u'Arial', u'notificationsHeaderSpace': u'', u'rectChartHeight': u'250', u'sqChartLabel': u'', u'logEachChartCompleted': True, u'rectChartWidth': u'600'}
2019-10-20 22:05:46.678   INFO         Plugin.pluginEnvironmentLogger      =======================================================================================================================================
2019-10-20 22:05:46.722   INFO         Plugin.audit_device_props           Updating device properties to match current plugin version.
2019-10-20 22:05:46.743   DEBUG        Plugin.audit_device_props           [Data for plots] prop obsolete prop [addItemFieldsCompleted] will be removed
2019-10-20 22:05:46.809   DEBUG        Plugin.audit_save_paths             Auditing path IO. Path OK: /users/xxxxx/documents/Indigo logs/
2019-10-20 22:05:46.809   DEBUG        Plugin.audit_save_paths             Auditing path IO. Path OK: /Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoWebServer/images/controls/static/
2019-10-20 22:05:46.814   DEBUG        Plugin.clean_props                  [Composite weather daily] prefs cleaned.
2019-10-20 22:05:46.823   DEBUG        Plugin.clean_props                  [Composite weather weekly] prefs cleaned.
2019-10-20 22:05:46.832   DEBUG        Plugin.clean_props                  [Data for plots] prefs cleaned.
2019-10-20 22:05:46.840   DEBUG        Plugin.clean_props                  [Day ahead weather] prefs cleaned.
2019-10-20 22:05:46.859   DEBUG        Plugin.clean_props                  [new device 1] prefs cleaned.
2019-10-20 22:05:46.870   DEBUG        Plugin.clean_props                  [Week ahead weather] prefs cleaned.
2019-10-20 22:05:46.883   DEBUG        Plugin.clean_props                  [Data for plots] prefs cleaned.

Posted on
Mon Oct 21, 2019 2:30 pm
DaveL17 offline
User avatar
Posts: 5943
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Invalid RGBA arg

Thanks. For some reason, your default Font Color value is empty. Please open the plugin configuration dialog, select a Font Color, and then Save. Hopefully, this will silence the errors.

I'll look at the plugin's internal logic with respect to this setting and see how best to trap this condition so that it's handled more smoothly.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Oct 22, 2019 2:03 am
Londonmark offline
Posts: 401
Joined: Feb 29, 2012

Re: Invalid RGBA arg

That fixed it! Thanks. Funny thing is that I had gone through and changed all of the colours just in case, but somehow missed the font one.

Posted on
Tue Oct 22, 2019 5:40 am
DaveL17 offline
User avatar
Posts: 5943
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Invalid RGBA arg

Londonmark wrote:
That fixed it! Thanks. Funny thing is that I had gone through and changed all of the colours just in case, but somehow missed the font one.

Terrific. Thanks for letting me know.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests

cron