Browse Source

g.gui.timeline: improve missing package msg

Be less obscure with the error:

```
Unable to start Timeline Tool.
Reason: The Timeline Tool needs the "matplotlib" (python-rmatplotlib)
package to be installed. No module named
‘mmatplotlib.backends.backend_wxagg'
...
```
Markus Neteler 4 years ago
parent
commit
b9575e542d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      gui/wxpython/timeline/frame.py

+ 2 - 2
gui/wxpython/timeline/frame.py

@@ -8,7 +8,7 @@ Classes:
  - frame::TimelineFrame
  - frame::TimelineFrame
  - frame::LookUp
  - frame::LookUp
 
 
-(C) 2012-2016 by the GRASS Development Team
+(C) 2012-2020 by the GRASS Development Team
 
 
 This program is free software under the GNU General Public License
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
 (>=v2). Read the file COPYING that comes with GRASS for details.
@@ -38,7 +38,7 @@ try:
     from matplotlib import cbook
     from matplotlib import cbook
 except ImportError as e:
 except ImportError as e:
     raise ImportError(_('The Timeline Tool needs the "matplotlib" '
     raise ImportError(_('The Timeline Tool needs the "matplotlib" '
-                        '(python-matplotlib) package to be installed. {0}').format(e))
+                        '(python-matplotlib and on some systems also python-matplotlib-wx) package(s) to be installed. {0}').format(e))
 
 
 import grass.script as grass
 import grass.script as grass