Here is my trac.ini, [Notifcations] section: [notification] admit_domains = always_notify_owner = false always_notify_reporter = false always_notify_updater = false ambiguous_char_width = single default_format.email = text/plain email_address_resolvers = SessionEmailResolver email_sender = SmtpEmailSender ignore_domains = message_id_hash = md5 mime_encoding = base64 sendmail_path = sendmail smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = true smtp_from = [email protected] smtp_from_author = enabled smtp_from_name = yyyy smtp_password = ********* smtp_port = 25 smtp_replyto = [email protected] smtp_server = smtp.yyyy.com smtp_subject_prefix = __default__ smtp_to = smtp_user = [email protected] ticket_subject_template = $prefix #$ticket.id: $summary use_public_cc = false use_short_addr = true use_tls = false
Works fine on my PC, yet producing the error on virtual machine. Checked with smtp port using telnet session, and it works. But still producing the error on virtual machine. Kindly help me in this regard. SF On Tuesday, June 20, 2017 at 10:44:50 AM UTC+2, toto200891 wrote: > > Thanks for the reply Ryan. Notifications settings? Do you mean in trac.ini? > > Regards > > SF > > On Tuesday, June 20, 2017 at 10:34:16 AM UTC+2, RjOllos wrote: >> >> >> >> On Tuesday, June 20, 2017 at 1:27:31 AM UTC-7, toto200891 wrote: >>> >>> Hi, >>> >>> I am using the TRAC 0.12.7 with trac standalone server and Initially I >>> tried installing the software on my PC and it worked great for all my >>> requirements. But now I installed it on a virtual machine and seems to >>> produce the following error: >>> >>> 2017-06-20 10:19:57,351 Trac[main] DEBUG: Negotiated locale: en-GB -> >>> en_GB >>> 2017-06-20 10:19:57,408 Trac[api] WARNING: Unable to find repository >>> '(default)' for synchronization >>> 2017-06-20 10:19:57,469 Trac[__init__] DEBUG: Notification new_ticket >>> for ticket 5 (action: @created) >>> 2017-06-20 10:19:57,469 Trac[__init__] DEBUG: Sending notification >>> new_ticket for ticket 5 because there was no condition >>> 2017-06-20 10:19:57,480 Trac[notification] INFO: Sending notification >>> through SMTP at smtp.yyy.com:587 to [u'[email protected]'] >>> 2017-06-20 10:20:18,484 Trac[main] ERROR: Internal Server Error: >>> Traceback (most recent call last): >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\web\main.py", >>> >>> line 529, in _dispatch_request >>> dispatcher.dispatch(req) >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\web\main.py", >>> >>> line 243, in dispatch >>> resp = chosen_handler.process_request(req) >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\ticket\web_ui.py", >>> >>> line 175, in process_request >>> return self._process_newticket_request(req) >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\ticket\web_ui.py", >>> >>> line 403, in _process_newticket_request >>> self._do_create(req, ticket) # (redirected if successful) >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\ticket\web_ui.py", >>> >>> line 1198, in _do_create >>> ticket.insert() >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\ticket\model.py", >>> >>> line 246, in insert >>> listener.ticket_created(self) >>> File >>> "c:\Python27\lib\site-packages\trac_workflownotificationplugin-0.5-py2.7.egg\workflow_notification\__init__.py", >>> >>> line 332, in ticket_created >>> self.apply_action_side_effects(req, ticket, '@created') >>> File >>> "c:\Python27\lib\site-packages\trac_workflownotificationplugin-0.5-py2.7.egg\workflow_notification\__init__.py", >>> >>> line 317, in apply_action_side_effects >>> self.notify(req, ticket, notification) >>> File >>> "c:\Python27\lib\site-packages\trac_workflownotificationplugin-0.5-py2.7.egg\workflow_notification\__init__.py", >>> >>> line 275, in notify >>> notifier.notify(*args) >>> File >>> "c:\users\syed\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\notification.py", >>> >>> line 329, in notify >>> Notify.notify(self, resid) >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\notification.py", >>> >>> line 229, in notify >>> self.send(torcpts, ccrcpts) >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\notification.py", >>> >>> line 480, in send >>> msg.as_string()) >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\notification.py", >>> >>> line 121, in send_email >>> self.email_sender.send(from_addr, recipients, message) >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\notification.py", >>> >>> line 150, in send >>> server = smtplib.SMTP(self.smtp_server, self.smtp_port) >>> File "c:\Python27\lib\smtplib.py", line 256, in __init__ >>> (code, msg) = self.connect(host, port) >>> File "c:\Python27\lib\smtplib.py", line 316, in connect >>> self.sock = self._get_socket(host, port, self.timeout) >>> File "c:\Python27\lib\smtplib.py", line 291, in _get_socket >>> return socket.create_connection((host, port), timeout) >>> File "c:\Python27\lib\socket.py", line 575, in create_connection >>> raise err >>> error: 10060 Une tentative de connexion a échoué car le parti connecté >>> n’a pas répondu convenablement au-delà d’une certaine durée ou une >>> connexion établie a échoué car l’hôte de connexion n’a pas répondu >>> 2017-06-20 10:20:18,507 Trac[svn_fs] INFO: Failed to load Subversion >>> bindings >>> Traceback (most recent call last): >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\versioncontrol\svn_fs.py", >>> >>> line 279, in __init__ >>> _import_svn() >>> File >>> "c:\users\xxx\appdata\local\temp\easy_install-xqhwp2\Trac-0.12.7-py2.7-win32.egg.tmp\trac\versioncontrol\svn_fs.py", >>> >>> line 71, in _import_svn >>> from svn import fs, repos, core, delta >>> ImportError: No module named svn >>> 2017-06-20 10:20:18,516 Trac[chrome] DEBUG: Prepare chrome data for >>> request >>> 2017-06-20 10:20:18,815 Trac[main] DEBUG: Dispatching <Request "GET >>> '/search/opensearch'"> >>> 2017-06-20 10:20:18,815 Trac[session] DEBUG: Retrieving session for ID >>> 'dc12391467a85c1d24df974d' >>> 2017-06-20 10:20:18,816 Trac[main] DEBUG: Negotiated locale: None -> >>> en_US >>> 2017-06-20 10:20:18,872 Trac[api] WARNING: Unable to find repository >>> '(default)' for synchronization >>> 2017-06-20 10:20:18,872 Trac[perm] DEBUG: No policy allowed anonymous >>> performing SEARCH_VIEW on None >>> 2017-06-20 10:20:18,872 Trac[main] WARNING: HTTPForbidden: 403 Forbidden >>> (SEARCH_VIEW privileges are required to perform this operation) >>> 2017-06-20 10:20:18,874 Trac[chrome] DEBUG: Prepare chrome data for >>> request >>> 2017-06-20 10:20:18,874 Trac[perm] DEBUG: No policy allowed anonymous >>> performing ACCTMGR_CONFIG_ADMIN on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing ACCTMGR_USER_ADMIN on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing TRAC_ADMIN on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing PERMISSION_GRANT on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing PERMISSION_REVOKE on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing TICKET_ADMIN on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing MILESTONE_VIEW on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing VERSIONCONTROL_ADMIN on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing TICKET_VIEW on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing REPORT_VIEW on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing ROADMAP_VIEW on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing TICKET_CREATE on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing TIMELINE_VIEW on None >>> 2017-06-20 10:20:18,875 Trac[perm] DEBUG: No policy allowed anonymous >>> performing BROWSER_VIEW on None >>> 2017-06-20 10:20:18,877 Trac[perm] DEBUG: No policy allowed anonymous >>> performing EMAIL_VIEW on None >>> >>> >>> Please guide me in this regard. >>> >>> Thank you >>> >>> SF >>> >> >> >> You have a problem with your [notification] configuration, however I >> don't know what this means: >> >> error: 10060 Une tentative de connexion a échoué car le parti connecté >> n’a pas répondu convenablement au-delà d’une certaine durée ou une >> connexion établie a échoué car l’hôte de connexion n’a pas répondu >> >> Google translate tells me that means: >> >> Error: 10060 An attempt to connect failed because the connected party did >> not respond properly after a certain time or an established connection >> failed because the connection host did not respond >> >> You need to correct your [notification] settings. >> >> - Ryan >> > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
