[GRASS-dev] [GRASS GIS] #2283: wingrass: failure when loading addons

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: blocker | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------
WinGRASS currently fails with not understandable error message attachment
:addons-error.png when installed addons are incompatible with launched
GRASS. Some better error tracking is needed.

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

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: blocker | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------

Comment(by wenzeslaus):

Can you please elaborate more on how the addons are handled and what
actually went wrong? I tis not clear to me if this is something which
happens all the time or just when there is error in the source code.

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

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: critical | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------
Changes (by martinl):

  * priority: blocker => critical

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

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: critical | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------

Comment(by neteler):

Is this still an issue?

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

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: critical | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------

Comment(by martinl):

Replying to [comment:3 neteler]:
> Is this still an issue?

yes

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

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: critical | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------

Comment(by hellik):

Replying to [comment:1 wenzeslaus]:
> Can you please elaborate more on how the addons are handled and what
actually went wrong? I tis not clear to me if this is something which
happens all the time or just when there is error in the source code.

the failure comes up if you have installed a binary addon (e.g.
r.geomorphon) built upon an another winGRASS version (e.g. winGRASS7beta1)
and you try now to use it with another/newer version (e.g. winGRASS7beta3
or winGRASS trunk).

the error message should contain something like: "you are trying to use an
addon built upon an another/older version of winGRASS; please update your
addon by reinstalling".

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

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: critical | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------

Comment(by hellik):

Replying to [comment:5 hellik]:
> Replying to [comment:1 wenzeslaus]:
> > Can you please elaborate more on how the addons are handled and what
actually went wrong? I tis not clear to me if this is something which
happens all the time or just when there is error in the source code.
>
[...]
> the error message should contain something like: "you are trying to use
an addon built upon an another/older version of winGRASS; please update
your addon by reinstalling".

I've seen that in C:\Users\xxxxx\AppData\Roaming\GRASS7\addons\modules.xml
there is following entry:

{{{
         <libgis revision="62177" />
}}}

using this information for a wxGUI-startup message which indicates to a
needed addon update?

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

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: critical | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------

Comment(by neteler):

Perhaps the issue got now solved in r64581?

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

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: critical | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------

Comment(by martinl):

Replying to [comment:6 hellik]:
> I've seen that in
C:\Users\xxxxx\AppData\Roaming\GRASS7\addons\modules.xml there is
following entry:
>
> {{{
> <libgis revision="62177" />
> }}}
>
> using this information for a wxGUI-startup message which indicates to a
needed addon update?

yes, I was thinking about that, but it's not implemented yet.

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

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: critical | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------

Comment(by martinl):

Replying to [comment:7 neteler]:
> Perhaps the issue got now solved in r64581?

no, loading addons by wxGUI on start has been disabled in r64533. But not
yet backported.

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

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: critical | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------

Comment(by annakrat):

Replying to [comment:9 martinl]:
> Replying to [comment:7 neteler]:
> > Perhaps the issue got now solved in r64581?
>
> no, loading addons by wxGUI on start has been disabled in r64533. But
not yet backported.

I was just looking at it, do you plan to backport first the ones (r64499,
r64504, r64532) listed on the wiki? r64533 will be easier to backport
then.

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

#2283: wingrass: failure when loading addons
------------------------------+---------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: minor | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Keywords: wingrass, launch | Platform: MSWindows 2K
      Cpu: Unspecified |
------------------------------+---------------------------------------------
Changes (by annakrat):

  * priority: critical => minor

Comment:

Everything related to this seems to backported (r64628, r64629). I am
downgrading this ticket because it would be still nice to be able to know
if addons are compatible or not.

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