Pages: [1]   Go Down
  Print  
Author Topic: Login Plugin B3V1.2.0  (Read 1180 times) Bookmark and Share
Jr. Member
**
Posts: 21
Offline Offline
« on: September 12, 2009, 01:47:59 PM »

I updated my copy of B3 and I get this error now and bot fails to start.


090912 17:45:46   CRITICAL   Error loading plugin: unindent does not match any outer indentation level (login.py, line 42)
Traceback (most recent call last):
  File "C:\Servers\ETS\ETSB341\b3\parser.py", line 385, in loadPlugins
    pluginModule = self.pluginImport(p)
  File "C:\Servers\ETS\ETSB341\b3\parser.py", line 421, in pluginImport
    mod = __import__(module)
  File "C:\Servers\ETS\ETSB341\b3\plugins\login.py", line 42
     def onLoadConfig(self):
                           
^
 IndentationError: unindent does not match any outer indentation level
Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #1 on: September 12, 2009, 02:09:35 PM »

argh.

Not many people use login, so it's a pain when there are bugs. This one was caused by the fact that Thorn used tabs, not spaces as indents, and notepad++ (or whatever xlr8or uses) would probably not differentiate unless told to.

Use this file until the version in the bot has been fixed.

Replace login.py with it.

[attachment deleted by maintenance - older than 60 days]
Logged

Jr. Member
**
Posts: 21
Offline Offline
« Reply #2 on: September 12, 2009, 02:20:58 PM »

I used the old login.py file I had.

Though thinking about what you said, I think I will just remove the plugin.  Really not needed in COD4.  That be one less thing to always needing to bugger around with lol.
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #3 on: September 13, 2009, 12:23:16 AM »

The release has been fixed.

If you download the pypi release v1.2.0b now the login plugin and changelog have been fixed.

So if you have downloaded v1.2.0b from pypi in the last 9 hours or so, and you are using the login plugin, just download the source and overwrite the login.py file in the plugins folder.
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal