Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins Discussion (Moderator: MordyT)[SOLVED] CRITICAL Error loading plugin: No module named ...
Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] CRITICAL Error loading plugin: No module named ...  (Read 1082 times) Bookmark and Share
Former Dev. (senate)
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: OpenArena
Posts: 258
Offline Offline
« on: August 09, 2010, 09:51:35 PM »

Hello there,

While trying to upload and use my dynamiclogin plugin online on my production server, I got a very weird error that almost driven me crazy :

Code:
091030 09:59:42   CRITICAL   Error loading plugin: No module named xlrstats
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/b3-1.2.1-py2.5.egg/b3/parser.py", line 437, in loadPlugins
    pluginModule = self.pluginImport(p)
  File "/usr/lib/python2.5/site-packages/b3-1.2.1-py2.5.egg/b3/parser.py", line 500, in pluginImport
    fp, pathname, description = imp.find_module(name, [self.config.getpath('plugins', 'external_dir')])
ImportError: No module named xlrstats

Here it's a snippet a took elsewhere on the web, but it's the same kind of error, just replace xlrstats by the name of the plugin.

Finally I did found that it simply was because I had 2 different versions of the script at different places : one in @conf and one in @b3/extplugins. In the end, I simply deleted the one in @conf and it worked.

I post it here so maybe it can be of use for someone else as, as Ive seen in the other threads, the problem still seems mysterious while it's almost certainly comes from here, from the description Ive read.
Logged

Tags: error loading plugin 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal