Edgewall Software
Modify

Opened 11 years ago

Closed 10 years ago

#8244 closed defect (wontfix)

gaierror: (-2, 'Name or service not known')

Reported by: julio.desalvo Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.4
Severity: normal Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:

Description

How to Reproduce

While doing a GET operation on /, Trac issued an internal error.

(please provide additional details here)

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

System Information

Trac 0.11.4
Python 2.4.3 (#1, Jan 21 2009, 01:10:13)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)]
setuptools 0.6c9
SQLite 3.3.6
pysqlite 2.3.3
Genshi 0.5.1
mod_python 3.2.8
Pygments 1.0
Agilo 0.7.3.3-r1417-20090313
Subversion 1.5.5 (r34862)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py", line 435, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py", line 216, in dispatch
    template, data, content_type = \
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py", line 311, in _post_process_request
    resp = f.post_process_request(req, *resp)
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 568, in post_process_request
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 607, in _send_email
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 537, in notify
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 127, in notify
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/notification.py", line 246, in notify
    Notify.notify(self, resid)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/notification.py", line 134, in notify
    self.begin_send()
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/notification.py", line 318, in begin_send
    self.server = smtplib.SMTP(self.smtp_server, self.smtp_port)
  File "/usr/lib/python2.4/smtplib.py", line 244, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/lib/python2.4/smtplib.py", line 292, in connect
    for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
gaierror: (-2, 'Name or service not known')

Attachments (0)

Change History (3)

comment:1 by Jeroen Ruigrok van der Werven, 11 years ago

Looks more like a configuration issue. It's trying to connect to the mailserver you specified under smtp_server and smtp_port, but cannot find the name or port. My initial suggestion is double checking those values/settings.

comment:2 by Christian Boos, 11 years ago

Keywords: needinfo added

comment:3 by Christian Boos, 10 years ago

Resolution: wontfix
Status: newclosed

No feedback in 3 months, closing.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.