Opened 11 years ago

Closed 6 years ago

#2283 closed task (worksforme)

wingrass: failure when loading addons

Reported by: martinl Owned by: grass-dev@…
Priority: minor Milestone: 7.0.7
Component: Addons Version: svn-trunk
Keywords: wingrass, launch Cc:
CPU: Unspecified Platform: MSWindows 2K

Description

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.

Attachments (1)

addons-error.png (9.5 KB ) - added by martinl 11 years ago.
addons error

Download all attachments as: .zip

Change History (16)

by martinl, 11 years ago

Attachment: addons-error.png added

addons error

comment:1 by wenzeslaus, 10 years ago

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.

comment:2 by martinl, 10 years ago

Priority: blockercritical

comment:3 by neteler, 10 years ago

Is this still an issue?

in reply to:  3 comment:4 by martinl, 10 years ago

Replying to neteler:

Is this still an issue?

yes

in reply to:  1 ; comment:5 by hellik, 10 years ago

Replying to 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".

in reply to:  5 ; comment:6 by hellik, 10 years ago

Replying to hellik:

Replying to 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?

comment:7 by neteler, 10 years ago

Perhaps the issue got now solved in r64581?

in reply to:  6 comment:8 by martinl, 10 years ago

Replying to 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.

in reply to:  7 ; comment:9 by martinl, 10 years ago

Replying to 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.

in reply to:  9 comment:10 by annakrat, 10 years ago

Replying to martinl:

Replying to 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.

comment:11 by annakrat, 10 years ago

Priority: criticalminor

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.

comment:12 by martinl, 9 years ago

Milestone: 7.0.07.0.5

comment:13 by neteler, 8 years ago

Milestone: 7.0.57.0.6

comment:14 by neteler, 7 years ago

Milestone: 7.0.67.0.7

comment:15 by martinl, 6 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.