Unable to open PCD
drlkf opened this issue ยท 4 comments
Hi,
since the last update I cannot open the PCD thingy anymore. I enabled lua errors and got this, hope this helps:
Message: Interface\AddOns\ProfessionCooldown\pcd.lua:503: bad argument #1 to 'pairs' (table expected, got number)
Time: Thu Jul 1 20:21:20 2021
Count: 3
Stack: Interface\AddOns\ProfessionCooldown\pcd.lua:503: bad argument #1 to 'pairs' (table expected, got number)
[string "@Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua"]:758: in function <...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717>
[string "=[C]"]: ?
[string "=[C]"]: in function `pairs'
[string "@Interface\AddOns\ProfessionCooldown\pcd.lua"]:503: in function `GetAllNamesAndCdsOnAccount'
[string "@Interface\AddOns\ProfessionCooldown\pcd.lua"]:632: in function `CreatePCDFrame'
[string "@Interface\AddOns\ProfessionCooldown\pcd.lua"]:790: in function `?'
[string "@Interface\FrameXML\ChatFrame.lua"]:4825: in function `ChatEdit_ParseText'
[string "@Interface\FrameXML\ChatFrame.lua"]:4488: in function `ChatEdit_SendText'
[string "@Interface\FrameXML\ChatFrame.lua"]:2916: in function <Interface\FrameXML\ChatFrame.lua:2909>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `UseAction'
[string "@Interface\FrameXML\SecureTemplates.lua"]:338: in function `handler'
[string "@Interface\FrameXML\SecureTemplates.lua"]:616: in function <Interface\FrameXML\SecureTemplates.lua:564>
[string "=[C]"]: ?
[string "@Interface\FrameXML\SecureHandlers.lua"]:266: in function <Interface\FrameXML\SecureHandlers.lua:263>
[string "=[C]"]: ?
[string "@Interface\FrameXML\SecureHandlers.lua"]:296: in function <Interface\FrameXML\SecureHandlers.lua:279>
[string "=(tail call)"]: ?
Locals: errMsg = "Interface\AddOns\ProfessionCooldown\pcd.lua:503: bad argument #1 to 'pairs' (table expected, got number)"
isBugGrabber = nil
tsmErrMsg = nil
oldModule = nil
private = <table> {
globalNameTranslation = <table> {
}
FormatErrorMessageSection = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:517
ErrorHandler = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:134
origErrorHandler = <function> defined @Interface\SharedXML\SharedBasicControls.lua:296
hitInternalError = false
CreateErrorFrame = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:536
num = 0
SanitizeString = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:510
AddonBlockedHandler = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:502
GetStackLevelInfo = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:344
ParseLocals = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:396
ignoreErrors = false
errorReports = <table> {
}
IsTSMAddon = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:478
localLinesTemp = <table> {
}
GetStackInfo = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:313
}
MAX_STACK_DEPTH = 50
OLD_TSM_MODULES = <table> {
1 = "TradeSkillMaster_Accounting"
2 = "TradeSkillMaster_AuctionDB"
3 = "TradeSkillMaster_Auctioning"
4 = "TradeSkillMaster_Crafting"
5 = "TradeSkillMaster_Destroying"
6 = "TradeSkillMaster_Mailing"
7 = "TradeSkillMaster_Shopping"
8 = "TradeSkillMaster_Vendoring"
9 = "TradeSkillMaster_Warehousing"
}
@nieejl I have the same problem :( can you check this?
Awesome plugin so far worked well the last weeks.
I haven't been able to reproduce the issue, but I made an attempt at fixing it in the newest version.
Please let me know if this version works for you. If the issue persists, it would be very helpful if you could share the saved variables file with me. It is located in:
C:\Program Files (x86)\World of Warcraft_classic_\WTF\Account\NFE\SavedVariables
and is named ProfessionCooldown.lua.
Another way that you may be able to fix it, is by resetting the addon's saved variables using the command /pcd resetalldata.
quick info from my side:
- I did /pcd resetalldata
- I logged into 2-3 characters and it still worked
- It stopped working at the 4th character and then didn't work on any character again.
(moved now back to 1.0.3 which works without issues)