In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)b3 wont start
Pages: [1]   Go Down
  Print  
Author Topic: b3 wont start  (Read 834 times) Bookmark and Share
Newbie
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 8
Offline Offline
WWW
« on: September 09, 2011, 09:44:03 PM »

Hey there,

I have trouble with installing the new version of b3 for urbanterror
i had version 1.5 before <- runned perfect

but the 1.71 says when i type :

./b3_run.py -c /home/b3/conf/b3.distribution.xml

checking for updates...
latest B3 version is 1.7.1
...no update available.
Starting www.bigbrotherbot.net (b3) v1.7.1 [posix] [Myrthe]

Using config file: /home/b3/conf/b3.distribution.xml
/usr/local/games/b3/b3/storage/database.py:190: Warning: 'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
  File "/usr/local/games/b3/b3/run.py", line 185, in main
    run(config=options.config, nosetup=options.nosetup)
  File "/usr/local/games/b3/b3/run.py", line 141, in run
    b3.start(config, nosetup)
  File "/usr/local/games/b3/b3/__init__.py", line 154, in start
    parser = loadParser(parserType, configFile, nosetup)
  File "/usr/local/games/b3/b3/__init__.py", line 78, in loadParser
    mod = __import__(name)
  File "/usr/local/games/b3/b3/parsers/iourt41.py", line 142, in <module>
    from b3.parsers.q3a.abstractParser import AbstractParser
  File "/usr/local/games/b3/b3/parsers/q3a/abstractParser.py", line 86, in <module>
    import b3.parser
  File "/usr/local/games/b3/b3/parser.py", line 139, in <module>
    import b3.storage
  File "/usr/local/games/b3/b3/storage/__init__.py", line 85, in <module>
    from database import DatabaseStorage
  File "/usr/local/games/b3/b3/storage/database.py", line 190
     with open(sqlFile) as f:
             ^
 SyntaxError: invalid syntax
x210:/usr/local/games/b3#


i tryrd to set log level in the xml to debug, but i dont get a logfile.

i run it on an amd 64bit with debian


thx for your help Smiley

« Last Edit: September 09, 2011, 09:48:23 PM by jezus » Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: September 10, 2011, 01:39:02 AM »

you need python 2.6 to have it working
Logged

Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 244
Offline Offline
« Reply #2 on: September 10, 2011, 02:12:14 AM »

If it's not a problem, you can install python 2.7.2 (from my experience on python 2.7 the bot takes MUCH less memory than on 2.6). But yes, your problem is connected with old python version.
Logged

Newbie
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 8
Offline Offline
WWW
« Reply #3 on: September 10, 2011, 03:22:29 AM »

Ok its running now Smiley

thx a lot, i got some help from a friend... he installed 2.6 for me (it was a bit tricky)

but maybe update the readme :

### Requirements

1. Python 2.4+ - http://www.python.org 

this is in the readme from the NEW bot

cya around
Logged
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 244
Offline Offline
« Reply #4 on: September 10, 2011, 02:39:45 PM »

Sure, 2.6 is good enough:) However I hate old linux distros where installing newer python is pain in the ...., now I'm using Arch Linux on a server, and installing newest python is done by entering command pacman -S python2 <enter> Smiley
Logged

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


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal