Skip to content

Commit

Permalink
g.gui.timeline: improve missing package msg
Browse files Browse the repository at this point in the history
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'
...
```
  • Loading branch information
neteler committed Jul 25, 2020
1 parent 5e29802 commit b9575e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/wxpython/timeline/frame.py
Expand Up @@ -8,7 +8,7 @@
- frame::TimelineFrame
- 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
(>=v2). Read the file COPYING that comes with GRASS for details.
Expand Down Expand Up @@ -38,7 +38,7 @@
from matplotlib import cbook
except ImportError as e:
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

Expand Down

0 comments on commit b9575e5

Please sign in to comment.