Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 13121] New: TRIGGERS needs "urgent" option

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 13121] New: TRIGGERS needs "urgent" option
  • Date: 19 Sep 2006 08:58:41 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13121

Summary: TRIGGERS needs "urgent" option
Product: Sorcery
Version: 1.14.x
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Cast
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: iuso AT sourcemage.org


We should have an option to declare a trigger urgent (it would be acted upon
_immediately_), so that everything else (including summon) would be halted
until it has finished. Let me rationalize:

A while ago I updated some old spells. Included was a gettext version bump
from 0.14.6 to 0.15 which broke lib compatibility for wget. Although wget has
a cast_self trigger for when gettext is cast, it wasn't added as the next
spell in the queue, but much later on.

This caused all summons which had to download something to fail until wget
was
cast many spells later. Because of the failed summons a lot of spells failed
cast and were dropped.

The reason this "urgent" feature should also halt all summons is because
naturally sorcery would also try to summon with a broken wget while it is
being recast.

So, in my opinion this line in wget's TRIGGERS:

on_cast gettext cast_self urgent

...should:
1) Stop all summons right before gettext INSTALL is started,
2) add wget in the install queue right after gettext,
3) proceed in halted mode until wget INSTALL is completed.

I'll attach a snippet from my activity log demonstrating what happened. It
actually shows another problem as well: immediately after gettext is dispeled
during before INSTALL summons start failing - of course, because wget uses
the
dispeled libs... But I guess that's another issue to ponder.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 13121] New: TRIGGERS needs "urgent" option, bugzilla-daemon, 09/19/2006

Archive powered by MHonArc 2.6.24.

Top of Page