Attachment 'traceback.html'
Download--> -->
AttributeError
SMTP instance has no attribute 'sock'
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.3/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)
- 1063 pass
- 1064 except Exception, err:
- 1065 self.fail(err)
- 1066
- 1067 return self.finish()
- self = <MoinMoin.request.RequestModPy object>
- self.fail = <bound method RequestModPy.fail of <MoinMoin.request.RequestModPy object>>
- err = <exceptions.AttributeError instance>
/usr/lib/python2.3/site-packages/MoinMoin/wikiaction.py in do_userform (pagename=u'UserPreferences', request=<MoinMoin.request.RequestModPy object>)
- 726 def do_userform(pagename, request):
- 727 from MoinMoin import userform
- 728 savemsg = userform.savedata(request)
- 729 Page(request, pagename).send_page(request, msg=savemsg)
- 730
- savemsg undefined
- userform = <module 'MoinMoin.userform' from '/usr/lib/python2.3/site-packages/MoinMoin/userform.pyc'>
- userform.savedata = <function savedata>
- request = <MoinMoin.request.RequestModPy object>
/usr/lib/python2.3/site-packages/MoinMoin/userform.py in savedata (request=<MoinMoin.request.RequestModPy object>)
- 23 Return error msg or None.
- 24 """
- 25 return UserSettingsHandler(request).handleData()
- 26
- 27
- global UserSettingsHandler = <class MoinMoin.userform.UserSettingsHandler>
- request = <MoinMoin.request.RequestModPy object>
- ).handleData undefined
/usr/lib/python2.3/site-packages/MoinMoin/userform.py in handleData (self=<MoinMoin.userform.UserSettingsHandler instance>)
- 78 theuser = user.User(self.request, uid)
- 79 if theuser.valid and theuser.email.lower() == email:
- 80 msg = theuser.mailAccountData()
- 81 return wikiutil.escape(msg)
- 82
- msg undefined
- theuser = <MoinMoin.user.User at 0xb6dde3ec name:u'CarlosVieira' id:1137611130.94.33401 valid:1>
- theuser.mailAccountData = <bound method User.mailAccountData of <MoinMoin....:u'CarlosVieira' id:1137611130.94.33401 valid:1>>
/usr/lib/python2.3/site-packages/MoinMoin/user.py in mailAccountData (self=<MoinMoin.user.User at 0xb6dde3ec name:u'CarlosVieira' id:1137611130.94.33401 valid:1>, cleartext_passwd=None)
- 959 formatted=False) % {'sitename': self._cfg.sitename or "Wiki"}
- 960 mailok, msg = mail.sendmail(self._request, [self.email], subject,
- 961 text, mail_from=self._cfg.mail_from)
- 962 return msg
- 963
- text = u'Somebody has requested to submit your account da...devwiki/?action=userform&uid=1137611130.94.33401\n'
- mail_from undefined
- self = <MoinMoin.user.User at 0xb6dde3ec name:u'CarlosVieira' id:1137611130.94.33401 valid:1>
- self._cfg = <wikiconfig.Config instance>
- self._cfg.mail_from = ''
/usr/lib/python2.3/site-packages/MoinMoin/util/mail.py in sendmail (request=<MoinMoin.request.RequestModPy object>, to=[u'carlos@boreste.com'], subject='[Boreste Development Wiki] Your wiki account data', text='Somebody has requested to submit your account da...evwiki/?action=userform&uid=1137611130.94.33401\r\n', **kw={'mail_from': ''})
- 120 return (0, str(e))
- 121 except (os.error, socket.error), e:
- 122 return (0, _("Connection to mailserver '%(server)s' failed: %(reason)s") % {
- 123 'server': cfg.mail_smarthost,
- 124 'reason': str(e)
- _ = <function <lambda>>
- cfg = <wikiconfig.Config instance>
- cfg.mail_smarthost = ''
- builtin str = <type 'str'>
- e undefined
/usr/lib/python2.3/smtplib.py in sendmail (self=<smtplib.SMTP instance>, from_addr='', to_addrs=[u'carlos@boreste.com'], msg='MIME-Version: 1.0\nContent-Type: text/plain; char...i/?action=3Duserform&uid=3D1137611130.=\n94.33401\n', mail_options=[], rcpt_options=[])
- 658 """
- 659 if self.helo_resp is None and self.ehlo_resp is None:
- 660 if not (200 <= self.ehlo()[0] <= 299):
- 661 (code,resp) = self.helo()
- 662 if not (200 <= code <= 299):
- self = <smtplib.SMTP instance>
- self.ehlo = <bound method SMTP.ehlo of <smtplib.SMTP instance>>
/usr/lib/python2.3/smtplib.py in ehlo (self=<smtplib.SMTP instance>, name='')
- 387 """
- 388 self.esmtp_features = {}
- 389 self.putcmd("ehlo", name or self.local_hostname)
- 390 (code,msg)=self.getreply()
- 391 # According to RFC1869 some (badly written)
- self = <smtplib.SMTP instance>
- self.putcmd = <bound method SMTP.putcmd of <smtplib.SMTP instance>>
- name = ''
- self.local_hostname = 'anchova.boreste'
/usr/lib/python2.3/smtplib.py in putcmd (self=<smtplib.SMTP instance>, cmd='ehlo', args='anchova.boreste')
- 323 else:
- 324 str = '%s %s%s' % (cmd, args, CRLF)
- 325 self.send(str)
- 326
- 327 def getreply(self):
- self = <smtplib.SMTP instance>
- self.send = <bound method SMTP.send of <smtplib.SMTP instance>>
- str = 'ehlo anchova.boreste\r\n'
/usr/lib/python2.3/smtplib.py in send (self=<smtplib.SMTP instance>, str='ehlo anchova.boreste\r\n')
- 308 """Send `str' to the server."""
- 309 if self.debuglevel > 0: print 'send:', `str`
- 310 if self.sock:
- 311 try:
- 312 self.sock.sendall(str)
- self = <smtplib.SMTP instance>
- self.sock undefined
AttributeError
SMTP instance has no attribute 'sock'
- args = ("SMTP instance has no attribute 'sock'",)
System Details
- Date: Mon, 23 Jan 2006 23:22:03 +0000
- Platform: Linux anchova.boreste 2.6.12-1.1372_FC3 #1 Fri Jul 15 00:59:10 EDT 2005 i686
- Python: Python 2.3.4 (/usr/bin/python)
- MoinMoin: Release 1.5.0 (release)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.