From cdf0e98a559f50ba328730842fae849743dfbc8d Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Mon, 22 Jun 2009 10:24:02 +0000 Subject: [PATCH] Added errmsg in conn. with issue 3066. svn: r12696 --- src/DataViews/PlaceView.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/DataViews/PlaceView.py b/src/DataViews/PlaceView.py index 6dcb31f41..e2b7aa54f 100644 --- a/src/DataViews/PlaceView.py +++ b/src/DataViews/PlaceView.py @@ -219,6 +219,13 @@ class PlaceView(PageView.ListView): """ Run the map service """ + #First test if any map service is available + if not len(self.mapservicedata): + msg = _("No map service is available.") + msg2 = _("Check your installation.") + ErrorDialog(msg, msg2) + return + place_handles = self.selected_handles() try: place_handle = self.selected_handles()[0]