Bug 673129

Summary: [abrt] grass-6.3.0-17.fc14: gis_set.py:608:OnCreateMapset:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Otso Helenius <fedora>
Component: grassAssignee: Devrim Gündüz <devrim>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: devrim, pertusus, vijivijayakumar, volker27
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:94060c6e
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-30 20:46:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Otso Helenius 2011-01-27 14:28:44 UTC
abrt version: 1.1.14
architecture: x86_64
cmdline: python /usr/lib64/grass-6.3.0/etc/wxpython/gis_set.py
component: grass
executable: /usr/lib64/grass-6.3.0/etc/wxpython/gis_set.py
kernel: 2.6.35.10-74.fc14.x86_64
package: grass-6.3.0-17.fc14
reason: gis_set.py:608:OnCreateMapset:IndexError: list index out of range
release: Fedora release 14 (Laughlin)
time: 1296138420
uid: 500

backtrace
-----
gis_set.py:608:OnCreateMapset:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/lib64/grass-6.3.0/etc/wxpython/gis_set.py", line 608, in OnCreateMapset
    location = self.listOfLocations[self.lblocations.GetSelection()]
IndexError: list index out of range

Local variables in innermost frame:
self: <__main__.GRASSStartup; proxy of <Swig Object of type 'wxFrame *' at 0x17925c0> >
event: <wx._core.CommandEvent; proxy of <Swig Object of type 'wxCommandEvent *' at 0x7fff2e92b3b0> >

How to reproduce
-----
1. Start GrassGIS
2. Create a new GIS Data Directory
3. Press the "Create Mapset" button
4. Python crash:

Traceback (most recent call last):
  File "/usr/lib64/grass-6.3.0/etc/wxpython/gis_set.py", line 608, in OnCreateMapset
    location = self.listOfLocations[self.lblocations.GetSelection()]
IndexError: list index out of range

Comment 1 Otso Helenius 2011-01-27 14:28:47 UTC
Created attachment 475609 [details]
File: backtrace

Comment 2 Volker Fröhlich 2011-08-20 23:18:28 UTC
Probably connected to #642626

Comment 3 Volker Fröhlich 2011-08-30 20:46:28 UTC
Works for me in 6.4.0-3.

Please re-open if the problem still exists.