FlightHUD

47 - doesn't work in disembeded mode

What steps will reproduce the problem?

use the-nolib version

What is the expected output? What do you see instead?

Cannot find a library instance of LibAboutPanel

You need to define the ' OptionalDeps:' TOC header so that WoW loads your add-on after its dependencies.

It should be:

## OptionalDeps: Ace3, Astrolabe, LibAboutPanel, QuestHelper

You should also une the <!@no-lib-strip@><!@end-no-lib-strip@> packager tags to avoid errors in FrameXML.log

such as this:

<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">
<!--@no-lib-strip@-->

  <Script file="Libs\LibStub\LibStub.lua"/>
  <Include file="Libs\Astrolabe\Load.xml"/>
  <Include file="Libs\CallbackHandler-1.0\CallbackHandler-1.0.xml"/>
  <Include file="Libs\AceAddon-3.0\AceAddon-3.0.xml"/>
  <Include file="Libs\AceDB-3.0\AceDB-3.0.xml"/>
  <Include file="Libs\AceGUI-3.0\AceGUI-3.0.xml"/>
  <Include file="Libs\AceConfig-3.0\AceConfig-3.0.xml"/>
  <Include file="Libs\AceConsole-3.0\AceConsole-3.0.xml"/>
  <Include file="Libs\AceEvent-3.0\AceEvent-3.0.xml"/>
  <Include file="Libs\AceLocale-3.0\AceLocale-3.0.xml"/>
  <Include file="Libs\LibAboutPanel\lib.xml"/>

<!--@end-no-lib-strip@-->

</Ui>

What version of the product are you using?
v0.12.6

Do you have an error log of what happened?

FlightHUD\FlightHUD-v0.12.6.lua:500: Cannot find a library instance of "LibAboutPanel".
<in C code>
Ace3-r1064\LibStub\LibStub-1.0.3-50001.lua:23: in function "LibStub"
FlightHUD\FlightHUD-v0.12.6.lua:500: in function <FlightHUD\FlightHUD.lua:441>
(tail call): ?
<in C code>
<string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
(tail call): ?
Ace3-r1064\AceAddon-3.0\AceAddon-3.0-11.lua:514: in function "InitializeAddon"
Ace3-r1064\AceAddon-3.0\AceAddon-3.0-11.lua:629: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:621>

Please provide any additional information below.

User When Change
Barfolomeu Sep 10, 2012 at 18:19 UTC
Archarodim Sep 09, 2012 at 16:34 UTC Changed name from doesn't work in disembeded mod to doesn't work in disembeded mode
Archarodim Sep 09, 2012 at 16:34 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of Barfolomeu Barfolomeu Sep 09, 2012 at 20:11 UTC - 0 likes

    My bad. Seem I forgot what so-called "optional" deps do. Reverted the deps in trunk. Will cut a new release later today. Thanks for the report.

  • 1 comment

Facts

Last updated
Sep 10, 2012
Reported
Sep 09, 2012
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees