Issue751612
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2003-06-09 22:44 by netytan, last changed 2022-04-10 16:09 by admin. This issue is now closed.
Files | ||||
---|---|---|---|---|
File name | Uploaded | Description | Edit | |
smtpex.py | tim.peters, 2003-06-09 23:45 | The exact code Tim ran. | ||
tcap.txt | tim.peters, 2003-06-09 23:47 | A screen dump from running stmpex.py | ||
mail.py | nobody, 2003-06-11 20:48 | An Example Mail script which causes the Error |
Messages (13) | |||
---|---|---|---|
msg16301 - (view) | Author: mark lee smith (netytan) | Date: 2003-06-09 22:44 | |
When trying to use the smtplib module (or modules which use smtplib i.e. email) the Windows Kenal crashes without sending the email. I'm trying to send the email through an external mail server but I imagine the problem would still exist if I was using a local mailserver. |
|||
msg16302 - (view) | Author: Tim Peters (tim.peters) * | Date: 2003-06-09 22:51 | |
Logged In: YES user_id=31435 We're going to need more info, and potentially a lot more. Start with which version of Python and which flavor of Windows. Lots of people use smtplib on all flavors of Windows, and there are no other reports like yours, so it's going to turn out to be something very specific to what you're doing. Also. of possible, attach an executable test program that reliably triggers the problem for you. |
|||
msg16303 - (view) | Author: mark lee smith (netytan) | Date: 2003-06-09 23:25 | |
Logged In: YES user_id=797196 Im using Python 2.2.2 and the example in smtplib documentation originally caused the error. It crashes the Kernal on Windows ME and 98, failing to send on Windows XP. |
|||
msg16304 - (view) | Author: Tim Peters (tim.peters) * | Date: 2003-06-09 23:39 | |
Logged In: YES user_id=31435 I don't understand. If you're not running an SMTP server on localhost, I expect that example to die with socket.error: (10061, 'Connection refused') And indeed, that's what it does when I try it on Win98SE. So I conclude you must have changed the example in some way. If so, the solution to your problem will be found in the details of you changed it. Nobody can guess that, so please attach the code you actually ran. |
|||
msg16305 - (view) | Author: Tim Peters (tim.peters) * | Date: 2003-06-09 23:45 | |
Logged In: YES user_id=31435 I'll show you what I'm looking for: attached is the exact code I just ran, in smtpex.py, and a screen dump from running it, in tcap.txt. I changed the example to use comcast.net's SMTP server. It worked fine for me on Win98SE. I was using Python 2.2.3, and don't know whether that makes a difference. |
|||
msg16306 - (view) | Author: Tim Peters (tim.peters) * | Date: 2003-06-09 23:47 | |
Logged In: YES user_id=31435 Just attaching tcap.txt. Note that on Windows, you have to end the msg with Ctrl-Z (not the Unixish Ctrl-D in the example comments). |
|||
msg16307 - (view) | Author: mark lee smith (netytan) | Date: 2003-06-11 20:53 | |
Logged In: YES user_id=797196 Hi, I've replicated what had before exactly, the win32 Kernal still crashes but the mail is delivered :S, don't ask me why it sends now and didn't before, nothing has changed to my knowlage.. Anyway if I've done this right it should be attached to this. |
|||
msg16308 - (view) | Author: mark lee smith (netytan) | Date: 2003-06-11 21:22 | |
Logged In: YES user_id=797196 Ok, I ran your file and it returned the same as when I ran mine, both crashed the Kernal. I think the reason that the mail wasn't being sent before was that I forgot to finish the message with "^D" although the main problem remains, what is the Kernal crashing out :S.. |
|||
msg16309 - (view) | Author: Tim Peters (tim.peters) * | Date: 2003-06-11 21:36 | |
Logged In: YES user_id=31435 I don't hold out much hope that this will get resolved. Windows has tons of bugs (a lot more than Python!), and it's not uncommon to find a program (Python-based or otherwise) that fails on only one specific Windows box in the world. For example, you could have a corrupted bit in any of the thousand Windows DLLs on your box, or you may simply be behind in running Windows Update. Other possibilities include that you're running a virus checker (those often interfere with normal program operations), or are behind an improperly written firewall. So long as your report is the only one of this nature, there's really no hope for resolving it short you digging into it. I don't see any evidence of a bug in Python here (worse, a crash in a core OS DLL is prima facia evidence of a bug in the OS!). If you can, try running the same thing on a friend's Windows box. I bet you won't have any problem there. |
|||
msg16310 - (view) | Author: mark lee smith (netytan) | Date: 2003-06-11 22:36 | |
Logged In: YES user_id=797196 Will do, I'll try run the script from my box upstairs and one at work. Thanks for all your help, at least it's sending email, be it you need to send "^D" in that example but with a little reworking it should be a problem. Thank's again. P.S let's blame Microsoft, never did like them, so dodgy lol. If I could get away from Windows I would but unfortunatly it's a commercial standard.. Ta |
|||
msg16311 - (view) | Author: Raymond Hettinger (rhettinger) * | Date: 2003-06-25 14:30 | |
Logged In: YES user_id=80475 Can this be closed? |
|||
msg16312 - (view) | Author: mark lee smith (netytan) | Date: 2003-06-25 20:20 | |
Logged In: YES user_id=797196 If you mean the error message "..caused an error in..Windows Kernal", you can click ok and it closes most of the time, other times the whole machine bails. I've tested it now on Windows XP pro and home and it sends straight through. I'm gonna try get hold of a 98 box so I can test it but it seems to be just my ME box at the moment. Mark |
|||
msg16313 - (view) | Author: Terry J. Reedy (terry.reedy) * | Date: 2005-04-26 21:58 | |
Logged In: YES user_id=593130 Seems to be WinME bug. Closing. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:09:06 | admin | set | github: 38617 |
2003-06-09 22:44:03 | netytan | create |