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)[SOLVED] B3 still not responding on Free BSD (and Mac OSX)
Pages: 1 [2]   Go Down
  Print  
Author Topic: [SOLVED] B3 still not responding on Free BSD (and Mac OSX)  (Read 1670 times) Bookmark and Share
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #15 on: May 24, 2011, 01:02:42 PM »

so we know where the issue is, but yet you have to find a workaround
Logged


Newbie
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 8
Offline Offline
« Reply #16 on: May 26, 2011, 02:41:14 AM »

Workaround completed. Now B3 might be working properly. Here is output from bug #8893 reproduction.
It behaves just like Linux.

olidammara [~]$ uname -sr; python 8893.py
NetBSD 5.1.0_PATCH
read     :  ['oink', 'oink']
readlines:  ['oink\n', 'oink\n']
readline :  

http://bugs.python.org/file17542/fileobject.diff is the patch I used.

That patch is for 2.6.5, where NetBSD's pkgsrc currently pulls 2.6.6.
There are only three hunks so I manually applied it and recompiled.

I wonder if anyone has experienced this same issue in other BSD variants.
« Last Edit: May 26, 2011, 02:42:57 AM by strata » Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #17 on: May 26, 2011, 03:30:45 AM »

Thanks a lot for the feed back. I'm sure this will help others
Logged

Newbie
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 9
Offline Offline
Keep it simple.
WWW
« Reply #18 on: June 19, 2011, 03:34:21 PM »

Thanks a lot for the feed back. I'm sure this will help others

Indeed!
Thank you!
I was about to submit quite a long post about my local B3 not recognizing ingame input, when I found this thread.
So to answer strata's question: Mac OS X 10.6.7 (Python 2.6.1) has the same problem, probably because it's based on BSD.

No oink:
Code:
f5:Desktop fab$ python 8893.py
read     :  []
readlines:  []
readline : 
f5:Desktop fab$

Since I'm not really a Unix/Linux person and not very familiar with adding patches to python an recompiling and all that stuff, I tried Courgette's hack for parser.py and it seems to solve it for me.

Thanks again!
« Last Edit: June 19, 2011, 09:09:18 PM by Courgette » Logged

--
Signatures are profoundly overrated.
Tags: BSD mac 
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal