Modify ↓
#8091 closed defect (invalid)
gaierror: (7, 'No address associated with nodename')
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11b2 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a POST operation on /discussion/4
, Trac issued an internal error.
(please provide additional details here) we're still able to create/edit wikies, tickets and so on! /etc/hosts file contains following entries:
127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost
thanks
Request parameters:
{'__FORM_TOKEN': u'503b9c195b46789998cc22c7', 'author': u'mimmo', 'body': u"Il Form di login in alto a destra deve essere sempre presente?[[BR]]\r\nOvvero, anche se l'utente corrente della pagina \xe8 gi\xe0 loggato?[[BR]]\r\nInoltre, quando l'utente si logga, approda alla sua pagina o rimane in questa statica? E se si, di nuovo, il form di login che fa, rimane?[[BR]]\r\n[[BR]]\r\n'''Proposta''': il form \xe8 visibile se l'utente non \xe8 loggato (registrato o no). Quando l'utente si logga accede automaticamente alla sua pagina. Se accede (o torna) alla homepage statica da loggato, al posto del form di login ci sar\xe0 il pulsante di logout. Al logout logout rimane nella home statica.", 'discussion_action': u'post-add', 'forum': u'4', 'subject': u'Login Form', 'submit': u'Submit'}
User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; it-it) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1
System Information
Trac | 0.11b2
|
Python | 2.5.1 (r251:54863, Nov 18 2007, 19:32:39) [GCC 4.0.1 (Apple Computer, Inc. build 5367)]
|
setuptools | 0.6c8
|
SQLite | 3.5.9
|
pysqlite | 2.3.2
|
Genshi | 0.5dev-r818
|
Pygments | 0.9
|
Subversion | 1.4.5 (r25188)
|
jQuery: | 1.2.3
|
Python Traceback
Traceback (most recent call last): File "/opt/local/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/main.py", line 419, in _dispatch_request dispatcher.dispatch(req) File "/opt/local/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/main.py", line 196, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.macosx-10.3-fat/egg/tracdiscussion/core.py", line 77, in process_request return api.process_discussion(context) + (None,) File "build/bdist.macosx-10.3-fat/egg/tracdiscussion/api.py", line 62, in process_discussion is_moderator) File "build/bdist.macosx-10.3-fat/egg/tracdiscussion/api.py", line 592, in _do_action notifier.notify(context, mode, forum, new_topic, None, to, cc) File "build/bdist.macosx-10.3-fat/egg/tracdiscussion/notification.py", line 85, in notify NotifyEmail.notify(self, id, subject) File "/opt/local/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/notification.py", line 241, in notify Notify.notify(self, resid) File "/opt/local/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/notification.py", line 129, in notify self.begin_send() File "/opt/local/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/notification.py", line 313, in begin_send self.server = smtplib.SMTP(self.smtp_server, self.smtp_port) File "/opt/local/lib/python2.5/smtplib.py", line 244, in __init__ (code, msg) = self.connect(host, port) File "/opt/local/lib/python2.5/smtplib.py", line 296, in connect for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM): gaierror: (7, 'No address associated with nodename')
Attachments (0)
Note:
See TracTickets
for help on using tickets.
This error is triggered from a plugin (discussion plugin?).
If you can reproduce the error with ticket notifications, please post the error trace (from Trac log file) here, and re-open this ticket.
If not, please report the error to the plugin maintainer.