Flight Map

30 - 4.0.3-beta-nolib don't load library

What steps will reproduce the problem?
1. Install FlightMap v4.0.3-beta-nolib
2. Install library separatly (LibBabble-Zone-3.0 and LibStub)
3. Disabled all other addons
4. I see five lua errors on login

What is the expected output? What do you see instead?
FlightMad v4.0.3-beta-nolib don't load library correctly.
The error occur with the 4.0.3-beta-nolib version and all library installed separatly.
No error with the standard 4.0.3-beta version.

(Removed all savedvariables before testing).

What version of the product are you using?
WoW 4.0.3.13329-frFR
FlightMad v4.0.3-beta-nolib
LibBabble-Zone-3.0 r305
LibStub-1.0 v1.0.2

Do you have an error log of what happened?

Error 1 :
Message: Interface\AddOns\FlightMap\Defaults.lua:8: attempt to call global 'LibStub' (a nil value)
Count: 1
Stack: [C]: in function `LibStub'
Interface\AddOns\FlightMap\Defaults.lua:8: in main chunk

Error 2 :
Message: Interface\AddOns\FlightMap\Default-Flights.lua:4: attempt to index global 'BabbleZone' (a nil value)
Count: 1
Stack: [C]: ?
Interface\AddOns\FlightMap\Default-Flights.lua:4: in main chunk

Error 3 :
Message: Interface\AddOns\FlightMap\FlightMap.lua:29: attempt to call global 'LibStub' (a nil value)
Count: 1
Stack: [C]: in function `LibStub'
Interface\AddOns\FlightMap\FlightMap.lua:29: in main chunk

Error 4 :
Message: [string "FlightMapFrame:OnLoad"]:1: attempt to call global 'FlightMap_OnLoad' (a nil value)
Count: 1
Stack: [C]: in function `FlightMap_OnLoad'
[string "*:OnLoad"]:1: in function <[string "*:OnLoad"]:1>

Error 5 :
Message: [string "InterfaceOptionsFlightMapPanel:OnLoad"]:1: attempt to call global 'FlightMapOptionsFrame_OnLoad' (a nil value)
Time: 12/13/10 07:46:20
Count: 1
Stack: [C]: in function `FlightMapOptionsFrame_OnLoad'
[string "*:OnLoad"]:1: in function <[string "*:OnLoad"]:1>

Please provide any additional information below.
Thanks for your great addon, and sorry for my bad english.

User When Change
Moncai Dec 13, 2010 at 10:55 UTC Changed status from New to Declined
Mang Dec 13, 2010 at 07:05 UTC Changed description:
  [b]What steps will reproduce the problem?[/b]
  1. Install FlightMap v4.0.3-beta-nolib
  2. Install library separatly (LibBabble-Zone-3.0 and LibStub)
- 4. Disabled all other addons
+ 3. Disabled all other addons
- 3. I see five lua errors on login
+ 4. I see five lua errors on login
  [b]What is the expected output? What do you see instead?[/b]
  FlightMad v4.0.3-beta-nolib don't load library correctly.
Mang Dec 13, 2010 at 07:03 UTC Create

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

  • 1 comment
  • Avatar of Moncai Moncai Dec 13, 2010 at 10:55 UTC - 0 likes

    On second thought, nolib is not supported for LibStub and LibBabble isn't really that large. I will disable nolib generation in future updates.

  • 1 comment

Facts

Last updated
Dec 13, 2010
Reported
Dec 13, 2010
Status
Declined - We decided not to take action on this ticket.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees