Menu

#629 Can't figure out how to resolve: Plugin already loaded. when loading Titan BankItems addon

Invalid
nobody
None
2011-03-14
2010-11-21
Anonymous
No

Originally created by: robertmk...@gmail.com

What version of Titan Panel are you using and on what operating system?
5.0.0.40000 on 4.0.3 on Win7/64.

What steps will reproduce the problem?
1. Include BankItems and Titan BankItems plugins
2. On log in to the world, Titan spits out an error message:
Titan prints: Error Registering Plugin: name: 'BankItems' issue: 'Plugin already loaded.' button: 'TitanPanelBankItemsButton'

What is the expected output? What do you see instead?
In previous version of Titan, the addon worked. Instead, the addon does not display on the titan toolbar.

I'm reviewing Titan Bank Item's code, and I'm having a hard time figuring out what went wrong as I don't really have an exception stack to work with to figure out where I can fix this problem. Can you offer any suggestions? Is there something deprecated that got removed with this release and that this addon needs some updating in order to support new Titan?

Thanks.

Related

Wiki: Titan_Panel_Version_History

Discussion

  • Anonymous

    Anonymous - 2010-11-21

    Originally posted by: urn...@gmail.com

    Hi-
    Titan believes there is a plugin with that name is already registered.
    A couple suggestions
    - Is there an 'old' BankItems folder? It is possible Titan bank items changed the folder name it is installed at.
    - Are there extra files in Titan bank items folder? It is a good idea to delete the folder then reinstall the plugin. Titan bank items may have changed files names and you have to files creating the plugin.
    - Did Bank Items implement a Titan plugin?
    Looking at the Titan Bank Items code won't help much. There is another piece of code such as
        self.registry = {
            id = "BankItems"
    where id is also set to "BankItems".
    Good luck! If you have other questions, please ask.

     
  • Anonymous

    Anonymous - 2010-11-21

    Originally posted by: Honor...@gmail.com

    This is being caused by the LDB module within BankItems which is registering "BankItems".  Just change your self.registry within TitanBankItems to "TitanBankItems" and you should be good to go.

    Status: Pending

     
  • Anonymous

    Anonymous - 2010-11-22

    Originally posted by: robertmk...@gmail.com

    urnati's comments were making sense when I went debugging. I ended up saying WTF when I disabled the addon and the functionality was working as expected. I didn't see anyone else register the Bank Items addon like a Titan plugin. Then HonorGoG's comment made me look up what LDB was. I didn't realize that LDB was a common interface to register plugins to "bars". So yes, the error message was completely valid. The only possible suggestion is to help future noobs - the error message could say something like check to see if the register was added via Titan addon interface or thru LDB means, etc...

    No further issues remain for me and I'm good to go for now.

    Thanks!

     
  • Anonymous

    Anonymous - 2010-11-23

    Originally posted by: kernig...@gmail.com

    This will be fixed in the next Titan BankItems release.  Bankitems may be LDB compatible, but I get errors with it and TP.

     
  • Anonymous

    Anonymous - 2010-11-24

    Originally posted by: Honor...@gmail.com

    Really?  I disabled Titan BankItemss and then enabled BankItems from the right-click menu and never received an error.  What error are you seeing?  Please paste it in here.

    Status: Helping

     
  • Anonymous

    Anonymous - 2010-11-26

    Originally posted by: senio.ro...@gmail.com

    Having a similar issue. If I load the addon "Bankitems v4000" somehow Titanpanel sees it and I'm able to make it appear on the panel (altough with limited functionalities).
    If I load "Titan Panel [BankItems] 2.0.6", which is supposedly an addon made specifically to make BankItems work perfectly witn TitanPanel, then I get the issue described in the first post of this thread, and the result is I'm unable to make bankitems appear in anyway on Titanpanel.

     
  • Anonymous

    Anonymous - 2011-03-14

    Originally posted by: joeja...@gmail.com

    The LDB plugin included with BankItems appears to be woking just fine in Titan Panel.  I suggest users delete the separate Titan Panel [BankItems] plugin and use the LDB version.

    Kernigan, I suggest you remove the standalone Titan Panel version from the download sites.  If you are still having problems with the LDB version (I haven't once I removed the Titan version), drop us a line using a New Issue.

    Status: Invalid

     

Log in to post a comment.