Message169079
| Author |
Jimbofbx |
| Recipients |
Jimbofbx, loewis |
| Date |
2012年08月24日.19:46:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1345837591.08.0.606623769694.issue15779@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is the traceback I was getting where it was just a script that simply made an SMTP connection then closed it. This fails before it attempts to connect to the server.
Traceback (most recent call last):
File "C:\tmp\manysmtptest.py", line 8, in <module>
main();
File "C:\tmp\manysmtptest.py", line 4, in main
a = SMTP(myserver);
File "C:\Python32\lib\smtplib.py", line 259, in __init__
(code, msg) = self.connect(host, port)
File "C:\Python32\lib\smtplib.py", line 319, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "C:\Python32\lib\smtplib.py", line 294, in _get_socket
return socket.create_connection((host, port), timeout)
File "C:\Python32\lib\socket.py", line 404, in create_connection
raise err
File "C:\Python32\lib\socket.py", line 395, in create_connection
sock.connect(sa)
socket.error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
What I don't get is why rebooting didn't fix the problem. You'd think Python or Windows issue, things would resolve themselves after a reboot. All the other programs I was using seemed to work fine. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月24日 19:46:31 | Jimbofbx | set | recipients:
+ Jimbofbx, loewis |
| 2012年08月24日 19:46:31 | Jimbofbx | set | messageid: <1345837591.08.0.606623769694.issue15779@psf.upfronthosting.co.za> |
| 2012年08月24日 19:46:30 | Jimbofbx | link | issue15779 messages |
| 2012年08月24日 19:46:30 | Jimbofbx | create |
|