thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
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 ]

Author Topic: [SOLVED] B3 still not responding on Free BSD (and Mac OSX)  (Read 9437 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: B3 still not responding
« Reply #15 on: May 24, 2011, 11:02:42 PM »
so we know where the issue is, but yet you have to find a workaround

Offline strata

  • Newbie
  • *
  • Posts: 8
Re: B3 still not responding
« Reply #16 on: May 26, 2011, 12:41:14 PM »
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, 12:42:57 PM by strata »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: B3 still not responding
« Reply #17 on: May 26, 2011, 01:30:45 PM »
Thanks a lot for the feed back. I'm sure this will help others

Offline fab1An

  • Newbie
  • *
  • Posts: 9
  • Keep it simple.
    • Bleilust (GER)
« Reply #18 on: June 20, 2011, 01:34:21 AM »
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: [Select]
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 20, 2011, 07:09:18 AM by Courgette »
--
Signatures are profoundly overrated.

Offline [McG]Lucky Luke

  • Newbie
  • *
  • Posts: 3
Re: B3 still not responding
« Reply #19 on: June 25, 2012, 10:42:42 PM »
so we know where the issue is, but yet you have to find a workaround

Dude could you please help me everything is loaded right but no luck starting b3.?????????? :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(

 


Rate this page +1 at Google Search