Parrot 2

Parrot 2

727k Downloads

Lua Error: There's already a sink by the short name "Parrot".

aeger opened this issue ยท 8 comments

commented

What steps will reproduce the problem?

  1. Lua error on login.

What version of Parrot are you using?

2.0.0

Do you have an error log of what happened?

16x ...rfaceParrot\libs\LibSink-2.0\LibSink-2.0-90103.lua:661: There's already a sink by the short name "Parrot".
[C]: in function error' ...rfaceParrot\libs\LibSink-2.0\LibSink-2.0-90103.lua:661: in functionRegisterSink'
Parrot\Code\Parrot-v2.0.0.lua:269: in function <Parrot\Code\Parrot.lua:227>

Please provide any additional information below. (example: localization of your client if not enUS or enGB)

commented

You have another addon registering the "Parrot" sink (probably as a fix for the old Parrot)

commented

Found it. It's Omen3

commented

I'll leave this open for now, I'm sure there are other people that have code for that somewhere

commented

Apologies if I'm misunderstanding something here. I have the same error, and am using Omen. Do I need to use a different threat addon, or is there something I can do to fix this?

commented

Sorry, I guess I wasn't terribly clear about the issue. Omen itself has no code to support Parrot. When the LibSink author removed Parrot support, a number of "patches" popped up for various addons that use LibSink to readd Parrot support. You'll have have to search your addons directory for what's adding it.

For example, you can shift-right click -> Open command window here in World of Warcraft/Interface/AddOns and run findstr /src:"RegisterSink\(['\"]Parrot" *.lua

Then you should remove that RegisterSink line and either report the problem to that addon's author or let me know what addon caused it so I can try to submit a fix (assuming it's something they did and not something you copy/pasted from somewhere, of course ๐Ÿ˜œ)

commented

Hey thanks a lot for the help. I appreciate your time.
Interestingly enough, running the command only found that line in Parrot\Code\Parrot.lua
It's definitely Omen causing the issue though, the error pops up the instant I enable it.

commented

Oh hmm, I see the problem. Any addon that has an old version of LibSink included (like Omen), will still have the Parrot sink registered. If you install LibSink-2.0 itself (so it loads firsts), the problem should stop. I'll see if I can get someone to tag a new version of Omen.

commented

Yep, worked like a charm. Thanks again for your help. Very much appreciated.