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 ]

Pages: [1]   Go Down
  Print  
Author Topic: error :(  (Read 1304 times) Bookmark and Share
Newbie
*
Posts: 6
Offline Offline
« on: December 11, 2009, 08:24:41 AM »

Hey Every1,

I got B3 Mod installed. Using FTP B3. It works good. But after 10/15 min. The B3 mods stops working Sad

B3 log says
Code:
091210 22:33:05 DEBUG FtpytailPlugin: FTP = <ftplib.FTP instance at 0x00EC66E8>
091210 22:40:15 DEBUG FtpytailPlugin: timed out
091210 22:40:15 DEBUG FtpytailPlugin: Lost connection to server, pausing until updated properly, Sleeping 10 seconds
091210 22:40:15 BOT    PAUSING
091210 22:40:15 DEBUG FtpytailPlugin: Lost Connection, redownloading entire logfile
091210 22:40:15 DEBUG FtpytailPlugin: FTP Connection Closed
091210 22:40:25 DEBUG FtpytailPlugin: FTP connection not active, attempting to (re)connect
091210 22:40:25 DEBUG FtpytailPlugin: Python Version 2.6, so setting timeout of 10 seconds
091210 22:40:25 DEBUG FtpytailPlugin: [Errno 10065] Er is geprobeerd een socketbewerking uit te voeren op een onbereikbare host
091210 22:40:25 DEBUG FtpytailPlugin: Lost connection to server, pausing until updated properly, Sleeping 10 seconds
091210 22:40:25 BOT    PAUSING
091210 22:40:25 DEBUG FtpytailPlugin: Lost Connection, redownloading entire logfile
091210 22:40:25 DEBUG FtpytailPlugin: FTP does not appear to be open, so not closed
091210 22:40:35 DEBUG FtpytailPlugin: FTP connection not active, attempting to (re)connect
091210 22:40:35 DEBUG FtpytailPlugin: Python Version 2.6, so setting timeout of 10 seconds
091210 22:40:35 DEBUG FtpytailPlugin: [Errno 10065] Er is geprobeerd een socketbewerking uit te voeren op een onbereikbare host
091210 22:40:35 DEBUG FtpytailPlugin: Lost connection to server, pausing until updated properly, Sleeping 10 seconds
091210 22:40:35 BOT    PAUSING
091210 22:40:35 DEBUG FtpytailPlugin: Lost Connection, redownloading entire logfile
091210 22:40:35 DEBUG FtpytailPlugin: FTP does not appear to be open, so not closed
091210 22:40:45 DEBUG FtpytailPlugin: FTP connection not active, attempting to (re)connect
091210 22:40:45 DEBUG FtpytailPlugin: Python Version 2.6, so setting timeout of 10 seconds
091210 22:40:45 DEBUG FtpytailPlugin: [Errno 10065] Er is geprobeerd een socketbewerking uit te voeren op een onbereikbare host
091210 22:40:45 DEBUG FtpytailPlugin: Lost connection to server, pausing until updated properly, Sleeping 10 seconds
091210 22:40:45 BOT    PAUSING
091210 22:40:45 DEBUG FtpytailPlugin: Lost Connection, redownloading entire logfile
091210 22:40:45 DEBUG FtpytailPlugin: FTP does not appear to be open, so not closed
091210 22:40:55 DEBUG FtpytailPlugin: FTP connection not active, attempting to (re)connect
091210 22:40:55 DEBUG FtpytailPlugin: Python Version 2.6, so setting timeout of 10 seconds
091210 22:40:58 VERBOSE RCON sending (91.198.27.228:28940) PB_SV_PList
091210 22:40:58 VERBOSE RCON: More data to read in socket
091210 22:40:58 DEBUG FtpytailPlugin: FTP = <ftplib.FTP instance at 0x00EB70A8>
091211 03:02:26 ERROR STDERR Exception in thread Thread-2:
Traceback (most recent call last):
  File "threading.pyo", line 525, in __bootstrap_inner
  File "threading.pyo", line 477, in run
  File "b3\plugins\ftpytail.pyo", line 64, in update
  File "ftplib.pyo", line 399, in retrbinary
  File "b3\plugins\ftpytail.pyo", line 54, in handleDownload
MemoryError

Can some1 help me?

-Sol1ce
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: December 11, 2009, 11:26:53 AM »

This is confusing, for a couple of reasons.

Are you running the code with the -o flag? If you are, try it without. I can't guess another reason why it is optimizing the code into pyo's, and I have never seen this error before.

Can you show me your whole log?
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #2 on: December 11, 2009, 11:48:00 AM »

there are .pyo probably because is running the b3_run.exe win32 standalone version.
It looks like he's downloading the full game log and run off memory
Logged

Newbie
*
Posts: 6
Offline Offline
« Reply #3 on: December 11, 2009, 01:23:59 PM »

here is the log. ZIP!

And yes I run Win32 version!

Also thanks for replying in advance guys!

-Sol1ce

[attachment deleted by maintenance - older than 60 days]
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 #4 on: December 11, 2009, 02:28:57 PM »

Ugh, I've become so Linuxed over the last few days that I've completely forgotten how to do this sort of thing automatically.

Do you think you could check how much memory b3 is using when it crashes?

Or can you recall how many programs were running when b3 crashed, and how much memory you have?
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #5 on: December 11, 2009, 05:08:50 PM »

Well it all started when you wrote the command
Code:
!die posey
which is the command (!die) that instructs the bot to shutdown.

It seems the ftpytail could handle more gracefully such situation.

Anyway, in the end the bot stopped as you commanded as it crashed Tongue
Logged

Newbie
*
Posts: 6
Offline Offline
« Reply #6 on: December 12, 2009, 01:02:30 AM »

well, It crashes more. Not only when I did !die. But also 2 times before. So that can't be the prob xD?

will check how much memory. And I think only xammp lite and the bot where running!

-Sol1ce
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #7 on: December 12, 2009, 03:14:39 AM »

well, It crashes more. Not only when I did !die. But also 2 times before
? where ?

On the b3.log you posted :
line 4437 : CONSOLE   2072:34 say;1309543;18;warriornation.Sol1ce';!die posey

critical errors come after that line. Anything before is just trivial errors that does not crash the bot.
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 #8 on: December 12, 2009, 05:16:38 AM »

Ok, if we look at log times, yes, the bot exited, but it's 15 or so minutes later that the error occurred.

There is the FTP error:
Quote
A socket operation was attempted to an unreachable host
(german, googletranslate)

While b3 is running, can you open the command prompt (cmd) and run 'ping -t -T server's.ip.address.here', which will ping the server. If one of them fails, see if it happens at roughly the same time as b3 fails (there *should* be a timestamp)
Logged

Newbie
*
Posts: 6
Offline Offline
« Reply #9 on: December 12, 2009, 06:06:06 AM »

I found the error!

Code:
Python version is not new enough for FTPyTail, this will almost certainly lead to bot hangs. Please update your Python.')

updating it now Cheesy

EDIT: All working now Cheesy

-Sol1ce
« Last Edit: December 12, 2009, 07:58:41 AM by Sol1ce » Logged
Newbie
*
Posts: 6
Offline Offline
« Reply #10 on: December 14, 2009, 10:23:26 AM »

double post sorry!

well, the mod runs, but after an hour the welcome plugins shut down. and Also I can't do any commands anymore then!

I can't find any errors. If you need the log then pls add me on xfire=martpc. because it's to big to attach/post!

so please help!

-Sol1ce
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal