[GRASS-dev] [GRASS GIS] #168: WinGRASS: i.ortho.photo fails

#168: WinGRASS: i.ortho.photo fails
------------------------+---------------------------------------------------
Reporter: 4everskiff | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Keywords: |
------------------------+---------------------------------------------------
Ortho photo rectification fails.

error output:

can't unset "env(GRASS_RENDER_IMMEDIATE)": no such element in array
can't unset "env(GRASS_RENDER_IMMEDIATE)": no such element in array
     while executing
"unset env(GRASS_RENDER_IMMEDIATE)"
     (menu invoke)

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

#168: WinGRASS: i.ortho.photo fails
-------------------------+--------------------------------------------------
  Reporter: 4everskiff | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Comment (by hamish):

i.ortho.photo will not work in native MS-Windows. It needs xmons.
The imagery/Makefile should ensure that it is only built if GRASS is
compiled with X11 support. Is the module present if you try from the
command line?

?
Hamish

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

#168: WinGRASS: i.ortho.photo fails
-------------------------+--------------------------------------------------
  Reporter: 4everskiff | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Comment (by marcopx):

Replying to [comment:1 hamish]:
> i.ortho.photo will not work in native MS-Windows. It needs xmons.
> The imagery/Makefile should ensure that it is only built if GRASS is
compiled with X11 support. Is the module present if you try from the
command line?
>
>
> ?
> Hamish

NO, you're right. Since I didn't have i.ortho.photo module in my *not
built modules* list after make command, I supposed that the monitors
problem was fixed in it (I didn't know that the make rules was changed).

Good to know, I have to add it to the missing modules list [1]
What are the other modules not built, over the ones already listed in [1]?

[1]
http://grass.osgeo.org/grass63/binary/mswindows/native/#Missing%20Modules

Thanks

Marco

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

#168: WinGRASS: i.ortho.photo fails
-------------------------+--------------------------------------------------
  Reporter: 4everskiff | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Comment (by hamish):

> What are the other modules not built,

Anything that needs X11 will not work.

For the Imagery modules, see those listed as XMONBASED:
http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/imagery/Makefile

optimally the GUI should grey out their menu entries if they are not
present.

r.digit now has a Makefile entry like the imagery modules. Probably many
of the d.* will not work (d.where, d.what.*, etc), although some of those
have non-interactive modes now (e.g. d.path).

It is not a matter of simply "fixing" those modules. They require xmons to
work and need to be completely rewritten before they can function on
native MS Windows.

As for r.li I am not aware of the issues causing them to fail.

Hamish

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

#168: WinGRASS: i.ortho.photo fails
-------------------------+--------------------------------------------------
  Reporter: 4everskiff | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Comment (by martinl):

Replying to [comment:3 hamish]:

> optimally the GUI should grey out their menu entries if they are not
present.

done for wxPython GUI

r31362

Martin

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

#168: WinGRASS: i.ortho.photo fails
-------------------------+--------------------------------------------------
  Reporter: 4everskiff | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Comment (by glynn):

Replying to [comment:3 hamish]:

> Anything that needs X11 will not work.

To be precise, anything which requires monitors (X or otherwise) will not
work. The problem is the monitor/driver architecture, not X. We already
have libW11, which allows the use of XDRIVER under Cygwin without
requiring X.

In practice, it doesn't really matter, as anything which works with the
PNG driver will likely work with direct rendering. I only mention this in
case someone is thinking of fixing the issue, in which case it needs to be
remembered that it's not X which is the problem, but the communication
between the client and the monitor.

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

#168: WinGRASS: i.ortho.photo fails
-------------------------+--------------------------------------------------
  Reporter: 4everskiff | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Comment (by hamish):

> Hamish:
> > optimally the GUI should grey out their menu entries if they are not
present.

Replying to [comment:4 martinl]:
> done for wxPython GUI
>
> r31362

nice one.

H

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

#168: WinGRASS: i.ortho.photo fails
--------------------------+-------------------------------------------------
  Reporter: 4everskiff | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: wontfix | Keywords:
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by martinl):

  * status: new => closed
  * platform: => Unspecified
  * resolution: => wontfix
  * cpu: => Unspecified

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