Opened 11 years ago

Closed 4 years ago

#2217 closed defect (fixed)

Win 7 Grass 6.4.2 and 6.4.3 - location wizard not creating mapset AND cannot launch with any mapset

Reported by: jvdmdoacpro Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: wxGUI Version: 6.4.3
Keywords: location wizard Cc:
CPU: x86-32 Platform: MSWindows 7

Description (last modified by neteler)

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

Attachments (1)

Crash.jpg (29.1 KB ) - added by jvdmdoacpro 11 years ago.
Picture of empty error form

Download all attachments as: .zip

Change History (5)

by jvdmdoacpro, 11 years ago

Attachment: Crash.jpg added

Picture of empty error form

comment:1 by neteler, 11 years ago

Description: modified (diff)
Keywords: location wizard added
Platform: UnspecifiedMSWindows 7

comment:2 by hamish, 11 years ago

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

comment:3 by neteler, 9 years ago

Milestone: 6.4.46.4.6

comment:4 by wenzeslaus, 4 years ago

Resolution: fixed
Status: newclosed

Neither of the tracebacks can be matched with current code (v7.8): No ctypes are loaded on GUI start and there is not attr1 in location wizard. Assuming this was fixed.

Note: See TracTickets for help on using tickets.