[GRASS-dev] [GRASS GIS] #2217: Win 7 Grass 6.4.2 and 6.4.3 - location wizard not creating mapset AND cannot launch with any mapset

#2217: Win 7 Grass 6.4.2 and 6.4.3 - location wizard not creating mapset AND
cannot launch with any mapset
-------------------------+--------------------------------------------------
Reporter: jvdmdoacpro | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: 6.4.3
Keywords: | Platform: Unspecified
      Cpu: x86-32 |
-------------------------+--------------------------------------------------
Grass installation on Win 7 - location wizard not creating mapset.

It seems these problems are related to Python modules

Starting from command prompt, selecting "Location Wizard" and following
prompts END UP with Empty Error From -> see ECHO 1 of Win 7 feedback AND
Picture attached

Running on mapset created with linux grass on external device crashes with
Win 7 feedback as ECHO 2

----
ECHO 1
----
C:\GRASS64>grass64
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'

C:\Users\jvdm>

----

ECHO 2

----

C:\GRASS64>grass64
Traceback (most recent call last):
   File "C:/GRASS64/etc/wxpython/wxgui.py", line 65, in <module>
     from gui_modules import layertree
   File "C:\GRASS64\etc\wxpython\gui_modules\layertree.py", line 44, in
<module>
     import toolbars
   File "C:\GRASS64\etc\wxpython\gui_modules\toolbars.py", line 44, in
<module>
     from vdigit import VDigitSettingsDialog, haveVDigit, VDigit
   File "C:\GRASS64\etc\wxpython\gui_modules\vdigit.py", line 43, in
<module>
     from wxvdigit import IVDigit, GV_LINES
   File "C:\GRASS64\etc\wxpython\gui_modules\wxvdigit.py", line 25, in
<module>
     from wxvdriver import DisplayDriver
   File "C:\GRASS64\etc\wxpython\gui_modules\wxvdriver.py", line 28, in
<module>
     from grass.lib.gis import *
   File "C:\GRASS64\etc\python\grass\lib\__init__.py", line 4, in <module>
     import proj
   File "C:\GRASS64\etc\python\grass\lib\proj.py", line 23, in <module>
     _libs["grass_gproj.6.4.2"] = load_library("grass_gproj.6.4.2")
   File "C:\GRASS64\etc\python\grass\lib\ctypes_loader.py", line 55, in
load_libr
ary
     return self.load(path)
   File "C:\GRASS64\etc\python\grass\lib\ctypes_loader.py", line 221, in
load
     return _WindowsLibrary(path)
   File "C:\GRASS64\etc\python\grass\lib\ctypes_loader.py", line 207, in
__init__

     self.cdll = ctypes.cdll.LoadLibrary(path)
   File "C:\GRASS64\Python27\lib\ctypes\__init__.py", line 431, in
LoadLibrary
     return self._dlltype(name)
   File "C:\GRASS64\Python27\lib\ctypes\__init__.py", line 353, in __init__
     self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is not a valid Win32 application

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2217&gt;
GRASS GIS <http://grass.osgeo.org>

#2217: Win 7 Grass 6.4.2 and 6.4.3 - location wizard not creating mapset AND
cannot launch with any mapset
-----------------------------+----------------------------------------------
Reporter: jvdmdoacpro | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: 6.4.3
Keywords: location wizard | Platform: MSWindows 7
      Cpu: x86-32 |
-----------------------------+----------------------------------------------
Changes (by neteler):

  * keywords: => location wizard
  * platform: Unspecified => MSWindows 7

Old description:

Grass installation on Win 7 - location wizard not creating mapset.

It seems these problems are related to Python modules

Starting from command prompt, selecting "Location Wizard" and following
prompts END UP with Empty Error From -> see ECHO 1 of Win 7 feedback AND
Picture attached

Running on mapset created with linux grass on external device crashes
with Win 7 feedback as ECHO 2

----
ECHO 1
----
C:\GRASS64>grass64
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
592, in On
GetItemAttr
    return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
  File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line
594, in On
GetItemAttr
    return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'

C:\Users\jvdm>

----

ECHO 2

----

C:\GRASS64>grass64
Traceback (most recent call last):
  File "C:/GRASS64/etc/wxpython/wxgui.py", line 65, in <module>
    from gui_modules import layertree
  File "C:\GRASS64\etc\wxpython\gui_modules\layertree.py", line 44, in
<module>
    import toolbars
  File "C:\GRASS64\etc\wxpython\gui_modules\toolbars.py", line 44, in
<module>
    from vdigit import VDigitSettingsDialog, haveVDigit, VDigit
  File "C:\GRASS64\etc\wxpython\gui_modules\vdigit.py", line 43, in
<module>
    from wxvdigit import IVDigit, GV_LINES
  File "C:\GRASS64\etc\wxpython\gui_modules\wxvdigit.py", line 25, in
<module>
    from wxvdriver import DisplayDriver
  File "C:\GRASS64\etc\wxpython\gui_modules\wxvdriver.py", line 28, in
<module>
    from grass.lib.gis import *
  File "C:\GRASS64\etc\python\grass\lib\__init__.py", line 4, in <module>
    import proj
  File "C:\GRASS64\etc\python\grass\lib\proj.py", line 23, in <module>
    _libs["grass_gproj.6.4.2"] = load_library("grass_gproj.6.4.2")
  File "C:\GRASS64\etc\python\grass\lib\ctypes_loader.py", line 55, in
load_libr
ary
    return self.load(path)
  File "C:\GRASS64\etc\python\grass\lib\ctypes_loader.py", line 221, in
load
    return _WindowsLibrary(path)
  File "C:\GRASS64\etc\python\grass\lib\ctypes_loader.py", line 207, in
__init__

    self.cdll = ctypes.cdll.LoadLibrary(path)
  File "C:\GRASS64\Python27\lib\ctypes\__init__.py", line 431, in
LoadLibrary
    return self._dlltype(name)
  File "C:\GRASS64\Python27\lib\ctypes\__init__.py", line 353, in
__init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is not a valid Win32 application

New description:

Grass installation on Win 7 - location wizard not creating mapset.

It seems these problems are related to Python modules

Starting from command prompt, selecting "Location Wizard" and following
prompts END UP with Empty Error From -> see ECHO 1 of Win 7 feedback AND
Picture attached

Running on mapset created with linux grass on external device crashes with
Win 7 feedback as ECHO 2

----
ECHO 1
----

{{{
C:\GRASS64>grass64
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 592,
in On
GetItemAttr
     return self.attr2
AttributeError: 'ItemList' object has no attribute 'attr2'
Traceback (most recent call last):
   File "C:\GRASS64\etc\wxpython\gui_modules\location_wizard.py", line 594,
in On
GetItemAttr
     return self.attr1
AttributeError: 'ItemList' object has no attribute 'attr1'

C:\Users\jvdm>
}}}

----

ECHO 2

----

{{{
C:\GRASS64>grass64
Traceback (most recent call last):
   File "C:/GRASS64/etc/wxpython/wxgui.py", line 65, in <module>
     from gui_modules import layertree
   File "C:\GRASS64\etc\wxpython\gui_modules\layertree.py", line 44, in
<module>
     import toolbars
   File "C:\GRASS64\etc\wxpython\gui_modules\toolbars.py", line 44, in
<module>
     from vdigit import VDigitSettingsDialog, haveVDigit, VDigit
   File "C:\GRASS64\etc\wxpython\gui_modules\vdigit.py", line 43, in
<module>
     from wxvdigit import IVDigit, GV_LINES
   File "C:\GRASS64\etc\wxpython\gui_modules\wxvdigit.py", line 25, in
<module>
     from wxvdriver import DisplayDriver
   File "C:\GRASS64\etc\wxpython\gui_modules\wxvdriver.py", line 28, in
<module>
     from grass.lib.gis import *
   File "C:\GRASS64\etc\python\grass\lib\__init__.py", line 4, in <module>
     import proj
   File "C:\GRASS64\etc\python\grass\lib\proj.py", line 23, in <module>
     _libs["grass_gproj.6.4.2"] = load_library("grass_gproj.6.4.2")
   File "C:\GRASS64\etc\python\grass\lib\ctypes_loader.py", line 55, in
load_libr
ary
     return self.load(path)
   File "C:\GRASS64\etc\python\grass\lib\ctypes_loader.py", line 221, in
load
     return _WindowsLibrary(path)
   File "C:\GRASS64\etc\python\grass\lib\ctypes_loader.py", line 207, in
__init__

     self.cdll = ctypes.cdll.LoadLibrary(path)
   File "C:\GRASS64\Python27\lib\ctypes\__init__.py", line 431, in
LoadLibrary
     return self._dlltype(name)
   File "C:\GRASS64\Python27\lib\ctypes\__init__.py", line 353, in __init__
     self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is not a valid Win32 application
}}}

--

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2217#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2217: Win 7 Grass 6.4.2 and 6.4.3 - location wizard not creating mapset AND
cannot launch with any mapset
-----------------------------+----------------------------------------------
Reporter: jvdmdoacpro | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: 6.4.3
Keywords: location wizard | Platform: MSWindows 7
      Cpu: x86-32 |
-----------------------------+----------------------------------------------

Comment(by hamish):

just to note that the wxPython Location Wizard improved a lot between
6.4.2 and 6.4.3, so tests should be done against 6.4.3.

{{{
WindowsError: [Error 193] %1 is not a valid Win32 application
}}}

hmm, '%1' passed as a literal string due to quoting error?

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2217#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>