Share

Pyzor

Tracker: Feature Requests

5 win32 does not have signals support - ID: 870593
Last Update: Comment added ( anadelonbrin )

I have pyzor running on a FreeBSD machine with no
problems. SO I know this is a WIN32 issue... I get the
following error when I try to run a check on a mail file. I
am using the ActiveState Python 2.3.2 (Don't know if
that is the problem). Any idea how I can get it running
on win32? Thanks, I love the program.


python pyzor check < 2453009_093934_a287110.txt
Traceback (most recent call last):
File "c:\python23\Scripts\pyzor", line 4, in ?
pyzor.client.run()
File "C:\Python23\Lib\site-packages\pyzor\client.py",
line 934, in run
ExecCall().run()
File "C:\Python23\Lib\site-packages\pyzor\client.py",
line 180, in run
'AccountsFile')))
File "C:\Python23\Lib\site-packages\pyzor\client.py",
line 30, in __init__
signal.signal(signal.SIGALRM, handle_timeout)
AttributeError: 'module' object has no attribute 'SIGALRM'


Jason Short ( jasonshort ) - 2004-01-04 23:17

5

Closed

None

Tony Meyer

None

None

Public


Comments ( 7 )

Date: 2009-06-04 01:21
Sender: anadelonbrinProject AdminAccepting Donations

Moved to new Trac-based ticket system, ticket #56:
https://apps.sourceforge.net/trac/pyzor/ticket/56


Date: 2009-03-05 23:09
Sender: anadelonbrinProject AdminAccepting Donations

Python on win32 has signals, but not SIGALRM. I think having the client
run on win32 (without Cygwin, etc) would be worthwhile, but it is more of a
feature request than a bug. Actually, the current pyzor trunk doesn't use
signals, but there's a separate patch (#2517459) for moving back to
signals, and that seems a higher priority than this.


Date: 2006-12-06 04:14
Sender: antonmos


however, i am getting a weird issue where spamassassin periodically never
returns from the pyzor lookup...



Date: 2006-12-06 04:06
Sender: antonmos


check out the patch proposed here:
http://wiki.apache.org/spamassassin/UsingPyzor?highlight=%28pyzor%29


Date: 2004-01-06 04:49
Sender: ftobin

Logged In: YES
user_id=7577

I can't think of an easy way, except maybe to use procmailrc
with a an imapd or pop3d on your FreeBSD box, and have your
Windows box poll your FreeBSD box. "Easy" really depends on
what you are familiar with.,


Date: 2004-01-05 05:47
Sender: jasonshort

Logged In: YES
user_id=78234

OK, I figured it was a platform difference. Is there any other
way I can use the Pyzor network? Otherwise I need to
change my mail route to go through a FreeBSD box (it is
Windows now). Do you know an easy to setup / config mail
router that I could use with Pyzor and then send the mail on
to the Windows box? Thanks for the help.


Date: 2004-01-05 01:20
Sender: ftobin

Logged In: YES
user_id=7577

Hrm, this is due to Windows not having signals, most likely.
I should look into having Pyzor not use signals, since they
are very messy and dangerous, but it's a low priority.


Attached File

No Files Currently Attached

Changes ( 9 )

Field Old Value Date By
status_id Open 2009-06-04 01:21 anadelonbrin
close_date - 2009-06-04 01:21 anadelonbrin
allow_comments 1 2009-06-04 01:21 anadelonbrin
data_type 458245 2009-03-05 23:09 anadelonbrin
priority 3 2009-03-05 23:09 anadelonbrin
assigned_to ftobin 2009-01-11 18:59 abyz12345
assigned_to nobody 2004-01-05 01:20 ftobin
summary WIN32 error on calling CHECK 2004-01-05 01:20 ftobin
priority 5 2004-01-05 01:20 ftobin