473,387 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

filedescriptor out of range in select()

Spambayes CVS, Python 2.2.3, FreeBSD 5.1

On my machine I'm lunching the pop3proxy with cron at startup, and all
is fine.

But... sometimes during startup, or after a one or two days, the process
exits with the following error...

Is a BSD select related problem? Is an asyncore problem? Is a spambayes
problem?

Someone has observed similar behavior with asyncore?

Thanks in advance
====
Running the pop3proxy, lanched by cron at startup, works fine, but

SpamBayes POP3 Proxy Beta1, version 0.1 (May 2003),
using SpamBayes POP3 Proxy Web Interface Alpha2, version 0.02
and engine SpamBayes Beta1, version 0.1 (May 2003).

Loading database... Done.
SMTP Listener on port 2525 is proxying 127.0.0.1:25
Listener on port 8110 is proxying kpnqwest.it:110
User interface url is http://localhost:8880/
Traceback (most recent call last):
File "/usr/local/bin/pop3proxy.py", line 731, in ?
run()
File "/usr/local/bin/pop3proxy.py", line 725, in run
main(state.servers, state.proxyPorts, state.uiPort, state.launchUI)
File "/usr/local/bin/pop3proxy.py", line 664, in main
Dibbler.run(launchBrowser=launchUI)
File "/usr/local/lib/python2.2/site-packages/spambayes/Dibbler.py",
line 528, in run
asyncore.loop(map=context._map)
File "/usr/local/lib/python2.2/asyncore.py", line 206, in loop
poll_fun (timeout, map)
File "/usr/local/lib/python2.2/asyncore.py", line 83, in poll
r,w,e = select.select (r,w,e, timeout)
ValueError: filedescriptor out of range in select()

---
Paolo Invernizzi
pa*************@dmsware.com

Jul 18 '05 #1
0 2726

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dbarchitech | last post by:
hi, i'm building a query to find narrow ranges of zip codes within broader ranges in a table (for tax purposes). for example: LOW_ZIP HI_ZIP 23400 23499 need to find 23401 ...
5
by: ratu | last post by:
I'd like to use a stored procedure to insert large amounts of records into a table. My field A should be filled with a given range of numbers. I do the following ... but I'm sure there is a better...
4
by: Bill R via AccessMonster.com | last post by:
I get this Run-Time Error 1004 whenevery the following code runs: On Error GoTo XLSheet2 Set objXL = CreateObject("Excel.Application") With objXL Set objWkb = .Workbooks.Open(strPath) With...
4
by: IMS.Rushikesh | last post by:
Hi All, I am trying to execute below code but it gives me an COMException ///// Code Start //// public string GetName(Excel.Range range) { try { if (range.Name != null)
1
by: sarada7 | last post by:
Hello All, I am using FILEDESCRIPTOR Structure to describe files and folders on the clipboard. This structure only allows for file paths up to MAX_PATH characters. If the total length of path +...
4
by: dilau | last post by:
I have a problem. The error in subject appear when i run the macro Can u tell me why Case "CENTRALIZATOR SURVEY" Dim SHT As Object Set...
1
AllusiveKitten
by: AllusiveKitten | last post by:
Hi I would really appreciate some help to solve this little mistery. I have had a work collegue approach me regarding coding that another person has done. Yesterday the coding worked without any...
0
by: shantanu | last post by:
I am trying to convert a macro code to c# that will copy the values of a column and paste to anather through paste special. Everything is working fine but the transpose meathod to paste the column...
0
by: drfish | last post by:
Hi, I'm a complete novice when it comes to VB so need some help. I would like a macro that performs linear regression for different cell ranges each time it is run, depending on the number of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.