Added errmsg in conn. with issue 3066.

svn: r12696
This commit is contained in:
Peter Landgren 2009-06-22 10:24:02 +00:00
parent 77164c848e
commit cdf0e98a55

View File

@ -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]