Error when attempting to review modmail on line number 180

2015-04-28 12:59:54.746898 - Error when attempting to review modmail on line number 180.  Exception:  <class 'urllib2.URLError'>
I can't tell if this is because I configured somthing wrong or a bug.

Line 37, set debug to true and try again
On Apr 28, 2015 6:01 AM, "ttk2"<EMAIL_ADDRESS>wrote:

2015-04-28 12:59:54.746898 - Error when attempting to review modmail on
line number 180. Exception:
I can't tell if this is because I configured somthing wrong or a bug.
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/modmail_ticketmanager/issues/6.

Waking... Processing modmail.
Logged into Reddit.
Found at least one item in modmail.
Checking if core message is handled yet.  Subject:  Too many alts
Core message not found in system.  Processing.
2015-04-28 15:46:23.685401 - Error when attempting to review modmail on
line number 180.  Exception:  <class 'urllib2.URLError'>
*** print_tb:
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
*** print_exception:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 287, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody,
rootResponseUrl)
URLError: <urlopen error [Errno 113] No route to host>
*** print_exc:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 287, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody,
rootResponseUrl)
File "modmail_ticketmanager.py", line 427, in createTicket
response = resource.post(path='ticket/new', payload=content,)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29,
in post
return self.request('POST', path, payload, headers)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46,
in request
response = self.auth.open(req)
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 59, in open
self.login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 51, in login
self._login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 114, in _login
urllib2.Request(self.url, urllib.urlencode(data))
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 113] No route to host>
*** format_exc, first and last line:
Traceback (most recent call last):
URLError: <urlopen error [Errno 113] No route to host>
*** format_exception:
['Traceback (most recent call last):\n', '  File
"modmail_ticketmanager.py", line 180, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', '  File "modmail_ticketmanager.py", line 287,
in processModMailRootMessage\n    ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', '  File
"modmail_ticketmanager.py", line 427, in createTicket\n    response =
resource.post(path='ticket/new', payload=content,)\n', '  File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n    return self.request('POST', path, payload, headers)\n', '  File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n    response = self.auth.open(req)\n', '  File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 59,
in open\n    self.login()\n', '  File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 51,
in login\n    self._login()\n', '  File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 114,
in _login\n    urllib2.Request(self.url, urllib.urlencode(data))\n', '
File "/usr/lib/python2.7/urllib2.py", line 404, in open\n    response =
self._open(req, data)\n', '  File "/usr/lib/python2.7/urllib2.py", line
422, in _open\n    '_open', req)\n', '  File
"/usr/lib/python2.7/urllib2.py", line 382, in _call_chain\n    result =
func(*args)\n', '  File "/usr/lib/python2.7/urllib2.py", line 1214, in
http_open\n    return self.do_open(httplib.HTTPConnection, req)\n', '  File
"/usr/lib/python2.7/urllib2.py", line 1184, in do_open\n    raise
URLError(err)\n', 'URLError: <urlopen error [Errno 113] No route to
host>\n']
*** extract_tb:
[('modmail_ticketmanager.py', 180, 'processModMail',
'shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)'), ('modmail_ticketmanager.py', 287,
'processModMailRootMessage', 'ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)'), ('modmail_ticketmanager.py',
427, 'createTicket', "response = resource.post(path='ticket/new',
payload=content,)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 29, 'post',
"return self.request('POST', path, payload, headers)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 46, 'request',
'response = self.auth.open(req)'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 59,
'open', 'self.login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 51,
'login', 'self._login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 114,
'_login', 'urllib2.Request(self.url, urllib.urlencode(data))'),
('/usr/lib/python2.7/urllib2.py', 404, 'open', 'response = self._open(req,
data)'), ('/usr/lib/python2.7/urllib2.py', 422, '_open', "'_open', req)"),
('/usr/lib/python2.7/urllib2.py', 382, '_call_chain', 'result =
func(*args)'), ('/usr/lib/python2.7/urllib2.py', 1214, 'http_open', 'return
self.do_open(httplib.HTTPConnection, req)'),
('/usr/lib/python2.7/urllib2.py', 1184, 'do_open', 'raise URLError(err)')]
*** format_tb:
['  File "modmail_ticketmanager.py", line 180, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', '  File "modmail_ticketmanager.py", line 287,
in processModMailRootMessage\n    ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', '  File
"modmail_ticketmanager.py", line 427, in createTicket\n    response =
resource.post(path='ticket/new', payload=content,)\n', '  File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n    return self.request('POST', path, payload, headers)\n', '  File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n    response = self.auth.open(req)\n', '  File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 59,
in open\n    self.login()\n', '  File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 51,
in login\n    self._login()\n', '  File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 114,
in _login\n    urllib2.Request(self.url, urllib.urlencode(data))\n', '
File "/usr/lib/python2.7/urllib2.py", line 404, in open\n    response =
self._open(req, data)\n', '  File "/usr/lib/python2.7/urllib2.py", line
422, in _open\n    '_open', req)\n', '  File
"/usr/lib/python2.7/urllib2.py", line 382, in _call_chain\n    result =
func(*args)\n', '  File "/usr/lib/python2.7/urllib2.py", line 1214, in
http_open\n    return self.do_open(httplib.HTTPConnection, req)\n', '  File
"/usr/lib/python2.7/urllib2.py", line 1184, in do_open\n    raise
URLError(err)\n']
*** tb_lineno: 180
Modmail processed.  Sleeping...
looks like maybe it can't get to the API for RT
On Tue, Apr 28, 2015 at 10:44 AM erocs<EMAIL_ADDRESS>wrote:

Line 37, set debug to true and try again
On Apr 28, 2015 6:01 AM, "ttk2"<EMAIL_ADDRESS>wrote:

2015-04-28 12:59:54.746898 - Error when attempting to review modmail on
line number 180. Exception:
I can't tell if this is because I configured somthing wrong or a bug.
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/modmail_ticketmanager/issues/6.

—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97110952
.

I suspect you didn't configure the script. Specifically line 69, but it
would be good to read it all over.
On Apr 28, 2015 8:47 AM, "ttk2"<EMAIL_ADDRESS>wrote:

Waking... Processing modmail.
Logged into Reddit.
Found at least one item in modmail.
Checking if core message is handled yet. Subject: Too many alts
Core message not found in system. Processing.
2015-04-28 15:46:23.685401 - Error when attempting to review modmail on
line number 180. Exception: <class 'urllib2.URLError'>
*** print_tb:
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
*** print_exception:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 287, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody,
rootResponseUrl)
URLError: <urlopen error [Errno 113] No route to host>
*** print_exc:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 287, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody,
rootResponseUrl)
File "modmail_ticketmanager.py", line 427, in createTicket
response = resource.post(path='ticket/new', payload=content,)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29,
in post
return self.request('POST', path, payload, headers)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46,
in request
response = self.auth.open(req)
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 59, in open
self.login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 51, in login
self._login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 114, in _login
urllib2.Request(self.url, urllib.urlencode(data))
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 113] No route to host>
*** format_exc, first and last line:
Traceback (most recent call last):
URLError: <urlopen error [Errno 113] No route to host>
*** format_exception:
['Traceback (most recent call last):\n', ' File
"modmail_ticketmanager.py", line 180, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', ' File "modmail_ticketmanager.py", line 287,
in processModMailRootMessage\n ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', ' File
"modmail_ticketmanager.py", line 427, in createTicket\n response =
resource.post(path='ticket/new', payload=content,)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n return self.request('POST', path, payload, headers)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n response = self.auth.open(req)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 59,
in open\n self.login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 51,
in login\n self._login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 114,
in _login\n urllib2.Request(self.url, urllib.urlencode(data))\n', '
File "/usr/lib/python2.7/urllib2.py", line 404, in open\n response =
self._open(req, data)\n', ' File "/usr/lib/python2.7/urllib2.py", line
422, in _open\n '_open', req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 382, in _call_chain\n result =
func(*args)\n', ' File "/usr/lib/python2.7/urllib2.py", line 1214, in
http_open\n return self.do_open(httplib.HTTPConnection, req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 1184, in do_open\n raise
URLError(err)\n', 'URLError: <urlopen error [Errno 113] No route to
host>\n']
*** extract_tb:
[('modmail_ticketmanager.py', 180, 'processModMail',
'shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)'), ('modmail_ticketmanager.py', 287,
'processModMailRootMessage', 'ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)'), ('modmail_ticketmanager.py',
427, 'createTicket', "response = resource.post(path='ticket/new',
payload=content,)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 29, 'post',
"return self.request('POST', path, payload, headers)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 46, 'request',
'response = self.auth.open(req)'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 59,
'open', 'self.login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 51,
'login', 'self._login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 114,
'_login', 'urllib2.Request(self.url, urllib.urlencode(data))'),
('/usr/lib/python2.7/urllib2.py', 404, 'open', 'response = self._open(req,
data)'), ('/usr/lib/python2.7/urllib2.py', 422, '_open', "'_open', req)"),
('/usr/lib/python2.7/urllib2.py', 382, '_call_chain', 'result =
func(*args)'), ('/usr/lib/python2.7/urllib2.py', 1214, 'http_open', 'return
self.do_open(httplib.HTTPConnection, req)'),
('/usr/lib/python2.7/urllib2.py', 1184, 'do_open', 'raise URLError(err)')]
*** format_tb:
[' File "modmail_ticketmanager.py", line 180, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', ' File "modmail_ticketmanager.py", line 287,
in processModMailRootMessage\n ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', ' File
"modmail_ticketmanager.py", line 427, in createTicket\n response =
resource.post(path='ticket/new', payload=content,)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n return self.request('POST', path, payload, headers)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n response = self.auth.open(req)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 59,
in open\n self.login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 51,
in login\n self._login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 114,
in _login\n urllib2.Request(self.url, urllib.urlencode(data))\n', '
File "/usr/lib/python2.7/urllib2.py", line 404, in open\n response =
self._open(req, data)\n', ' File "/usr/lib/python2.7/urllib2.py", line
422, in _open\n '_open', req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 382, in _call_chain\n result =
func(*args)\n', ' File "/usr/lib/python2.7/urllib2.py", line 1214, in
http_open\n return self.do_open(httplib.HTTPConnection, req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 1184, in do_open\n raise
URLError(err)\n']
*** tb_lineno: 180
Modmail processed. Sleeping...
looks like maybe it can't get to the API for RT
On Tue, Apr 28, 2015 at 10:44 AM erocs<EMAIL_ADDRESS>wrote:

Line 37, set debug to true and try again
On Apr 28, 2015 6:01 AM, "ttk2"<EMAIL_ADDRESS>wrote:

2015-04-28 12:59:54.746898 - Error when attempting to review modmail on
line number 180. Exception:
I can't tell if this is because I configured somthing wrong or a bug.
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/modmail_ticketmanager/issues/6.

—
Reply to this email directly or view it on GitHub
<
https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97110952
.

—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97111808
.

requestTrackerRestApiUrl = 'http://<IP_ADDRESS>/rt/REST/1.0/' # Pretty
much your url + /Rest/1.0/
that's a local ip, so I figured it was some kind of loopback address,
should I just use rt.civcraft.co? That would open us up to domain
highjacking attacks.
I really should be able to figure out if that was a loopback address, IP
addressing is on my Networking Final next week.
On Tue, Apr 28, 2015 at 10:51 AM erocs<EMAIL_ADDRESS>wrote:

I suspect you didn't configure the script. Specifically line 69, but it
would be good to read it all over.
On Apr 28, 2015 8:47 AM, "ttk2"<EMAIL_ADDRESS>wrote:

Waking... Processing modmail.
Logged into Reddit.
Found at least one item in modmail.
Checking if core message is handled yet. Subject: Too many alts
Core message not found in system. Processing.
2015-04-28 15:46:23.685401 - Error when attempting to review modmail on
line number 180. Exception: <class 'urllib2.URLError'>
*** print_tb:
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
*** print_exception:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 287, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody,
rootResponseUrl)
URLError: <urlopen error [Errno 113] No route to host>
*** print_exc:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 287, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody,
rootResponseUrl)
File "modmail_ticketmanager.py", line 427, in createTicket
response = resource.post(path='ticket/new', payload=content,)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29,
in post
return self.request('POST', path, payload, headers)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46,
in request
response = self.auth.open(req)
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 59, in open
self.login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 51, in login
self._login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 114, in _login
urllib2.Request(self.url, urllib.urlencode(data))
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 113] No route to host>
*** format_exc, first and last line:
Traceback (most recent call last):
URLError: <urlopen error [Errno 113] No route to host>
*** format_exception:
['Traceback (most recent call last):\n', ' File
"modmail_ticketmanager.py", line 180, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', ' File "modmail_ticketmanager.py", line
287,
in processModMailRootMessage\n ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', ' File
"modmail_ticketmanager.py", line 427, in createTicket\n response =
resource.post(path='ticket/new', payload=content,)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n return self.request('POST', path, payload, headers)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n response = self.auth.open(req)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
59,
in open\n self.login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
51,
in login\n self._login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
114,
in _login\n urllib2.Request(self.url, urllib.urlencode(data))\n', '
File "/usr/lib/python2.7/urllib2.py", line 404, in open\n response =
self._open(req, data)\n', ' File "/usr/lib/python2.7/urllib2.py", line
422, in _open\n '_open', req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 382, in _call_chain\n result =
func(*args)\n', ' File "/usr/lib/python2.7/urllib2.py", line 1214, in
http_open\n return self.do_open(httplib.HTTPConnection, req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 1184, in do_open\n raise
URLError(err)\n', 'URLError: <urlopen error [Errno 113] No route to
host>\n']
*** extract_tb:
[('modmail_ticketmanager.py', 180, 'processModMail',
'shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)'), ('modmail_ticketmanager.py', 287,
'processModMailRootMessage', 'ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)'), ('modmail_ticketmanager.py',
427, 'createTicket', "response = resource.post(path='ticket/new',
payload=content,)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 29, 'post',
"return self.request('POST', path, payload, headers)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 46,
'request',
'response = self.auth.open(req)'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 59,
'open', 'self.login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 51,
'login', 'self._login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 114,
'_login', 'urllib2.Request(self.url, urllib.urlencode(data))'),
('/usr/lib/python2.7/urllib2.py', 404, 'open', 'response =
self._open(req,
data)'), ('/usr/lib/python2.7/urllib2.py', 422, '_open', "'_open',
req)"),
('/usr/lib/python2.7/urllib2.py', 382, '_call_chain', 'result =
func(*args)'), ('/usr/lib/python2.7/urllib2.py', 1214, 'http_open',
'return
self.do_open(httplib.HTTPConnection, req)'),
('/usr/lib/python2.7/urllib2.py', 1184, 'do_open', 'raise
URLError(err)')]
*** format_tb:
[' File "modmail_ticketmanager.py", line 180, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', ' File "modmail_ticketmanager.py", line
287,
in processModMailRootMessage\n ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', ' File
"modmail_ticketmanager.py", line 427, in createTicket\n response =
resource.post(path='ticket/new', payload=content,)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n return self.request('POST', path, payload, headers)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n response = self.auth.open(req)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
59,
in open\n self.login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
51,
in login\n self._login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
114,
in _login\n urllib2.Request(self.url, urllib.urlencode(data))\n', '
File "/usr/lib/python2.7/urllib2.py", line 404, in open\n response =
self._open(req, data)\n', ' File "/usr/lib/python2.7/urllib2.py", line
422, in _open\n '_open', req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 382, in _call_chain\n result =
func(*args)\n', ' File "/usr/lib/python2.7/urllib2.py", line 1214, in
http_open\n return self.do_open(httplib.HTTPConnection, req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 1184, in do_open\n raise
URLError(err)\n']
*** tb_lineno: 180
Modmail processed. Sleeping...
looks like maybe it can't get to the API for RT
On Tue, Apr 28, 2015 at 10:44 AM erocs<EMAIL_ADDRESS>wrote:

Line 37, set debug to true and try again
On Apr 28, 2015 6:01 AM, "ttk2"<EMAIL_ADDRESS>wrote:

2015-04-28 12:59:54.746898 - Error when attempting to review modmail
on
line number 180. Exception:
I can't tell if this is because I configured somthing wrong or a bug.
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/modmail_ticketmanager/issues/6.

—
Reply to this email directly or view it on GitHub
<

https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97110952

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97111808
.

—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97113137
.

RFC 1918 (http://tools.ietf.org/html/rfc1918) sets aside specific netblocks
for private network use. <IP_ADDRESS>/16 is one of those. Loopback is
<IP_ADDRESS>. Yes point it at rt.civcraft.co. Any virtual web host is
susceptible to domain hijacking. If you want to host the DNS yourself, I
can transfer you the domain; not a problem.
On Tue, Apr 28, 2015 at 9:05 AM, ttk2<EMAIL_ADDRESS>wrote:

requestTrackerRestApiUrl = 'http://<IP_ADDRESS>/rt/REST/1.0/' # Pretty
much your url + /Rest/1.0/
that's a local ip, so I figured it was some kind of loopback address,
should I just use rt.civcraft.co? That would open us up to domain
highjacking attacks.
I really should be able to figure out if that was a loopback address, IP
addressing is on my Networking Final next week.
On Tue, Apr 28, 2015 at 10:51 AM erocs<EMAIL_ADDRESS>wrote:

I suspect you didn't configure the script. Specifically line 69, but it
would be good to read it all over.
On Apr 28, 2015 8:47 AM, "ttk2"<EMAIL_ADDRESS>wrote:

Waking... Processing modmail.
Logged into Reddit.
Found at least one item in modmail.
Checking if core message is handled yet. Subject: Too many alts
Core message not found in system. Processing.
2015-04-28 15:46:23.685401 - Error when attempting to review modmail on
line number 180. Exception: <class 'urllib2.URLError'>
*** print_tb:
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
*** print_exception:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 287, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody,
rootResponseUrl)
URLError: <urlopen error [Errno 113] No route to host>
*** print_exc:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 180, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 287, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody,
rootResponseUrl)
File "modmail_ticketmanager.py", line 427, in createTicket
response = resource.post(path='ticket/new', payload=content,)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line
29,
in post
return self.request('POST', path, payload, headers)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line
46,
in request
response = self.auth.open(req)
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 59, in open
self.login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 51, in login
self._login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 114, in _login
urllib2.Request(self.url, urllib.urlencode(data))
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 113] No route to host>
*** format_exc, first and last line:
Traceback (most recent call last):
URLError: <urlopen error [Errno 113] No route to host>
*** format_exception:
['Traceback (most recent call last):\n', ' File
"modmail_ticketmanager.py", line 180, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', ' File "modmail_ticketmanager.py", line
287,
in processModMailRootMessage\n ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', ' File
"modmail_ticketmanager.py", line 427, in createTicket\n response =
resource.post(path='ticket/new', payload=content,)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n return self.request('POST', path, payload, headers)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n response = self.auth.open(req)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
59,
in open\n self.login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
51,
in login\n self._login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
114,
in _login\n urllib2.Request(self.url, urllib.urlencode(data))\n', '
File "/usr/lib/python2.7/urllib2.py", line 404, in open\n response =
self._open(req, data)\n', ' File "/usr/lib/python2.7/urllib2.py", line
422, in _open\n '_open', req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 382, in _call_chain\n result =
func(*args)\n', ' File "/usr/lib/python2.7/urllib2.py", line 1214, in
http_open\n return self.do_open(httplib.HTTPConnection, req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 1184, in do_open\n raise
URLError(err)\n', 'URLError: <urlopen error [Errno 113] No route to
host>\n']
*** extract_tb:
[('modmail_ticketmanager.py', 180, 'processModMail',
'shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)'), ('modmail_ticketmanager.py', 287,
'processModMailRootMessage', 'ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)'), ('modmail_ticketmanager.py',
427, 'createTicket', "response = resource.post(path='ticket/new',
payload=content,)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 29,
'post',
"return self.request('POST', path, payload, headers)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 46,
'request',
'response = self.auth.open(req)'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 59,
'open', 'self.login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 51,
'login', 'self._login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 114,
'_login', 'urllib2.Request(self.url, urllib.urlencode(data))'),
('/usr/lib/python2.7/urllib2.py', 404, 'open', 'response =
self._open(req,
data)'), ('/usr/lib/python2.7/urllib2.py', 422, '_open', "'_open',
req)"),
('/usr/lib/python2.7/urllib2.py', 382, '_call_chain', 'result =
func(*args)'), ('/usr/lib/python2.7/urllib2.py', 1214, 'http_open',
'return
self.do_open(httplib.HTTPConnection, req)'),
('/usr/lib/python2.7/urllib2.py', 1184, 'do_open', 'raise
URLError(err)')]
*** format_tb:
[' File "modmail_ticketmanager.py", line 180, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', ' File "modmail_ticketmanager.py", line
287,
in processModMailRootMessage\n ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', ' File
"modmail_ticketmanager.py", line 427, in createTicket\n response =
resource.post(path='ticket/new', payload=content,)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n return self.request('POST', path, payload, headers)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n response = self.auth.open(req)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
59,
in open\n self.login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
51,
in login\n self._login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
114,
in _login\n urllib2.Request(self.url, urllib.urlencode(data))\n', '
File "/usr/lib/python2.7/urllib2.py", line 404, in open\n response =
self._open(req, data)\n', ' File "/usr/lib/python2.7/urllib2.py", line
422, in _open\n '_open', req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 382, in _call_chain\n result =
func(*args)\n', ' File "/usr/lib/python2.7/urllib2.py", line 1214, in
http_open\n return self.do_open(httplib.HTTPConnection, req)\n', ' File
"/usr/lib/python2.7/urllib2.py", line 1184, in do_open\n raise
URLError(err)\n']
*** tb_lineno: 180
Modmail processed. Sleeping...
looks like maybe it can't get to the API for RT
On Tue, Apr 28, 2015 at 10:44 AM erocs<EMAIL_ADDRESS>wrote:

Line 37, set debug to true and try again
On Apr 28, 2015 6:01 AM, "ttk2"<EMAIL_ADDRESS>wrote:

2015-04-28 12:59:54.746898 - Error when attempting to review
modmail
on
line number 180. Exception:
I can't tell if this is because I configured somthing wrong or a
bug.
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/modmail_ticketmanager/issues/6.

—
Reply to this email directly or view it on GitHub
<

https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97110952

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97111808

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97113137

.

—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97120502
.

2015-04-28 17:16:26.969863 - Error when attempting to review modmail on line number 182.  Exception:  <type 'exceptions.ValueError'>
*** print_tb:
File "modmail_ticketmanager.py", line 182, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail, inExtendedValidationMode)
*** print_exception:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 182, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail, inExtendedValidationMode)
File "modmail_ticketmanager.py", line 289, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody, rootResponseUrl)
ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/
*** print_exc:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 182, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail, inExtendedValidationMode)
File "modmail_ticketmanager.py", line 289, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody, rootResponseUrl)
File "modmail_ticketmanager.py", line 429, in createTicket
response = resource.post(path='ticket/new', payload=content,)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in post
return self.request('POST', path, payload, headers)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in request
response = self.auth.open(req)
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 59, in open
self.login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 51, in login
self._login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 114, in _login
urllib2.Request(self.url, urllib.urlencode(data))
File "/usr/lib/python2.7/urllib2.py", line 396, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 258, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/
*** format_exc, first and last line:
Traceback (most recent call last):
ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/
*** format_exception:
['Traceback (most recent call last):\n', '  File "modmail_ticketmanager.py", line 182, in processModMail\n    shouldContinueProcessing = processModMailRootMessage(debug, mail, inExtendedValidationMode)\n', '  File "modmail_ticketmanager.py", line 289, in processModMailRootMessage\n    ticketId = createTicket(rootAuthor, rootSubject, rootBody, rootResponseUrl)\n', '  File "modmail_ticketmanager.py", line 429, in createTicket\n    response = resource.post(path='ticket/new', payload=content,)\n', '  File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in post\n    return self.request('POST', path, payload, headers)\n', '  File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in request\n    response = self.auth.open(req)\n', '  File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 59, in open\n    self.login()\n', '  File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 51, in login\n    self._login()\n', '  File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 114, in _login\n    urllib2.Request(self.url, urllib.urlencode(data))\n', '  File "/usr/lib/python2.7/urllib2.py", line 396, in open\n    protocol = req.get_type()\n', '  File "/usr/lib/python2.7/urllib2.py", line 258, in get_type\n    raise ValueError, "unknown url type: %s" % self.__original\n', 'ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/\n']
*** extract_tb:
[('modmail_ticketmanager.py', 182, 'processModMail', 'shouldContinueProcessing = processModMailRootMessage(debug, mail, inExtendedValidationMode)'), ('modmail_ticketmanager.py', 289, 'processModMailRootMessage', 'ticketId = createTicket(rootAuthor, rootSubject, rootBody, rootResponseUrl)'), ('modmail_ticketmanager.py', 429, 'createTicket', "response = resource.post(path='ticket/new', payload=content,)"), ('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 29, 'post', "return self.request('POST', path, payload, headers)"), ('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 46, 'request', 'response = self.auth.open(req)'), ('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 59, 'open', 'self.login()'), ('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 51, 'login', 'self._login()'), ('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 114, '_login', 'urllib2.Request(self.url, urllib.urlencode(data))'), ('/usr/lib/python2.7/urllib2.py', 396, 'open', 'protocol = req.get_type()'), ('/usr/lib/python2.7/urllib2.py', 258, 'get_type', 'raise ValueError, "unknown url type: %s" % self.__original')]
*** format_tb:
['  File "modmail_ticketmanager.py", line 182, in processModMail\n    shouldContinueProcessing = processModMailRootMessage(debug, mail, inExtendedValidationMode)\n', '  File "modmail_ticketmanager.py", line 289, in processModMailRootMessage\n    ticketId = createTicket(rootAuthor, rootSubject, rootBody, rootResponseUrl)\n', '  File "modmail_ticketmanager.py", line 429, in createTicket\n    response = resource.post(path='ticket/new', payload=content,)\n', '  File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in post\n    return self.request('POST', path, payload, headers)\n', '  File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in request\n    response = self.auth.open(req)\n', '  File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 59, in open\n    self.login()\n', '  File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 51, in login\n    self._login()\n', '  File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 114, in _login\n    urllib2.Request(self.url, urllib.urlencode(data))\n', '  File "/usr/lib/python2.7/urllib2.py", line 396, in open\n    protocol = req.get_type()\n', '  File "/usr/lib/python2.7/urllib2.py", line 258, in get_type\n    raise ValueError, "unknown url type: %s" % self.__original\n']
*** tb_lineno: 182
and again, this time with the new domain.

That's a different error.
unknown url type: rt.civcraft.co/rt/REST/1.0/
You need to keep the protocol specification intact.
http://rt.civcraft.co/rt/REST/1.0/
On Tue, Apr 28, 2015 at 10:17 AM, ttk2<EMAIL_ADDRESS>wrote:

2015-04-28 17:16:26.969863 - Error when attempting to review modmail on
line number 182. Exception:
*** print_tb:
File "modmail_ticketmanager.py", line 182, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
*** print_exception:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 182, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 289, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody, rootResponseUrl)
ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/
*** print_exc:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 182, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 289, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody, rootResponseUrl)
File "modmail_ticketmanager.py", line 429, in createTicket
response = resource.post(path='ticket/new', payload=content,)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29,
in post
return self.request('POST', path, payload, headers)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46,
in request
response = self.auth.open(req)
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 59, in open
self.login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 51, in login
self._login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 114, in _login
urllib2.Request(self.url, urllib.urlencode(data))
File "/usr/lib/python2.7/urllib2.py", line 396, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 258, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/
*** format_exc, first and last line:
Traceback (most recent call last):
ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/
*** format_exception:
['Traceback (most recent call last):\n', ' File
"modmail_ticketmanager.py", line 182, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', ' File "modmail_ticketmanager.py", line 289,
in processModMailRootMessage\n ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', ' File
"modmail_ticketmanager.py", line 429, in createTicket\n response =
resource.post(path='ticket/new', payload=content,)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n return self.request('POST', path, payload, headers)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n response = self.auth.open(req)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 59,
in open\n self.login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 51,
in login\n self._login ()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 114,
in _login\n urllib2.Request(self.url, urllib.urlencode(data))\n', ' File
"/usr/lib/python2.7/urllib2.py", line 396, in open\n protocol =
req.get_type()\n', ' File "/usr/lib/python2.7/urllib2.py", line 258, in
get_type\n raise ValueError, "unknown url type: %s" % self.__original\n',
'ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/\n
http://rt.civcraft.co/rt/REST/1.0/\n']
*** extract_tb:
[('modmail_ticketmanager.py', 182, 'processModMail',
'shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)'), ('modmail_ticketmanager.py', 289,
'processModMailRootMessage', 'ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)'), ('modmail_ticketmanager.py',
429, 'createTicket', "response = resource.post(path='ticket/new',
payload=content,)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 29, 'post',
"return self.request('POST', path, payload, headers)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 46, 'request',
'response = self.auth.open(req)'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 59,
'open', 'self.login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 51,
'login', 'self._login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 114,
'_login', 'urllib2.Request(self.url, urllib.urlencode(data))'),
('/usr/lib/python2.7 /urllib2.py', 396, 'open', 'protocol =
req.get_type()'), ('/usr/lib/python2.7/urllib2.py', 258, 'get_type', 'raise
ValueError, "unknown url type: %s" % self.__original')]
*** format_tb:
[' File "modmail_ticketmanager.py", line 182, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', ' File "modmail_ticketmanager.py", line 289,
in processModMailRootMessage\n ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', ' File
"modmail_ticketmanager.py", line 429, in createTicket\n response =
resource.post(path='ticket/new', payload=content,)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n return self.request('POST', path, payload, headers)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n response = self.auth.open(req)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 59,
in open\n self.login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line 51,
in login\n self._login()\n', ' File "/usr/local/lib/python2.7
/dist-packages/rtkit/authenticators.py", line 114, in _login\n
urllib2.Request(self.url, urllib.urlencode(data))\n', ' File
"/usr/lib/python2.7/urllib2.py", line 396, in open\n protocol =
req.get_type()\n', ' File "/usr/lib/python2.7/urllib2.py", line 258, in
get_type\n raise ValueError, "unknown url type: %s" % self.__original\n']
*** tb_lineno: 182
and again, this time with the new domain.
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97141817
.

Derp. Don't mind me. Missing the obvious is what happens when you post
between ksp launches. (My space plane keeps overheating and exploding at
mach ~2 trying to get mach 5 without committing jebicide)
On Tue, Apr 28, 2015, 12:41 PM erocs<EMAIL_ADDRESS>wrote:

That's a different error.
unknown url type: rt.civcraft.co/rt/REST/1.0/
You need to keep the protocol specification intact.
http://rt.civcraft.co/rt/REST/1.0/
On Tue, Apr 28, 2015 at 10:17 AM, ttk2<EMAIL_ADDRESS>wrote:

2015-04-28 17:16:26.969863 - Error when attempting to review modmail on
line number 182. Exception:
*** print_tb:
File "modmail_ticketmanager.py", line 182, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
*** print_exception:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 182, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 289, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody,
rootResponseUrl)
ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/
*** print_exc:
Traceback (most recent call last):
File "modmail_ticketmanager.py", line 182, in processModMail
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)
File "modmail_ticketmanager.py", line 289, in processModMailRootMessage
ticketId = createTicket(rootAuthor, rootSubject, rootBody,
rootResponseUrl)
File "modmail_ticketmanager.py", line 429, in createTicket
response = resource.post(path='ticket/new', payload=content,)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29,
in post
return self.request('POST', path, payload, headers)
File "/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46,
in request
response = self.auth.open(req)
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 59, in open
self.login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 51, in login
self._login()
File "/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py",
line 114, in _login
urllib2.Request(self.url, urllib.urlencode(data))
File "/usr/lib/python2.7/urllib2.py", line 396, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 258, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/
*** format_exc, first and last line:
Traceback (most recent call last):
ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/
*** format_exception:
['Traceback (most recent call last):\n', ' File
"modmail_ticketmanager.py", line 182, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', ' File "modmail_ticketmanager.py", line
289,
in processModMailRootMessage\n ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', ' File
"modmail_ticketmanager.py", line 429, in createTicket\n response =
resource.post(path='ticket/new', payload=content,)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n return self.request('POST', path, payload, headers)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n response = self.auth.open(req)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
59,
in open\n self.login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
51,
in login\n self._login ()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
114,
in _login\n urllib2.Request(self.url, urllib.urlencode(data))\n', ' File
"/usr/lib/python2.7/urllib2.py", line 396, in open\n protocol =
req.get_type()\n', ' File "/usr/lib/python2.7/urllib2.py", line 258, in
get_type\n raise ValueError, "unknown url type: %s" % self.__original\n',
'ValueError: unknown url type: rt.civcraft.co/rt/REST/1.0/\n
http://rt.civcraft.co/rt/REST/1.0/\n
http://rt.civcraft.co/rt/REST/1.0/\n']
*** extract_tb:
[('modmail_ticketmanager.py', 182, 'processModMail',
'shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)'), ('modmail_ticketmanager.py', 289,
'processModMailRootMessage', 'ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)'), ('modmail_ticketmanager.py',
429, 'createTicket', "response = resource.post(path='ticket/new',
payload=content,)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 29, 'post',
"return self.request('POST', path, payload, headers)"),
('/usr/local/lib/python2.7/dist-packages/rtkit/resource.py', 46,
'request',
'response = self.auth.open(req)'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 59,
'open', 'self.login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 51,
'login', 'self._login()'),
('/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py', 114,
'_login', 'urllib2.Request(self.url, urllib.urlencode(data))'),
('/usr/lib/python2.7 /urllib2.py', 396, 'open', 'protocol =
req.get_type()'), ('/usr/lib/python2.7/urllib2.py', 258, 'get_type',
'raise
ValueError, "unknown url type: %s" % self.__original')]
*** format_tb:
[' File "modmail_ticketmanager.py", line 182, in processModMail\n
shouldContinueProcessing = processModMailRootMessage(debug, mail,
inExtendedValidationMode)\n', ' File "modmail_ticketmanager.py", line
289,
in processModMailRootMessage\n ticketId = createTicket(rootAuthor,
rootSubject, rootBody, rootResponseUrl)\n', ' File
"modmail_ticketmanager.py", line 429, in createTicket\n response =
resource.post(path='ticket/new', payload=content,)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 29, in
post\n return self.request('POST', path, payload, headers)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/resource.py", line 46, in
request\n response = self.auth.open(req)\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
59,
in open\n self.login()\n', ' File
"/usr/local/lib/python2.7/dist-packages/rtkit/authenticators.py", line
51,
in login\n self._login()\n', ' File "/usr/local/lib/python2.7
/dist-packages/rtkit/authenticators.py", line 114, in _login\n
urllib2.Request(self.url, urllib.urlencode(data))\n', ' File
"/usr/lib/python2.7/urllib2.py", line 396, in open\n protocol =
req.get_type()\n', ' File "/usr/lib/python2.7/urllib2.py", line 258, in
get_type\n raise ValueError, "unknown url type: %s" % self.__original\n']
*** tb_lineno: 182
and again, this time with the new domain.
—
Reply to this email directly or view it on GitHub
<
https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97141817
.

—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/modmail_ticketmanager/issues/6#issuecomment-97147546
.

Redirecting you to https://github.com/Pentom/modmail_ticketmanager/issues/4 for the new error


Server error details

https://github.com/spiral/php-grpc/blob/33f8cc2c65010bd98870be7cb581f160915767be/src/Server.php#L88-L90
I think server should not show to clients its guts.
Consider just sending error text, instead full stack trace.
It also leads to error "received trailing metadata size exceeds limit", since client could be not prepared with increased "max_metadata_size" for handling really big stack trace.
So I think it should be limited with only error message
I can do pull request if, you wish

Maybe adding debug on/off option.

would be even better

Would you mind adding PR for it?

Sure, no problem

Pull request
I don't what to do with increased complexity, but I hope It's not a problem. But anyway all comments are welcome

This is good! Thank you for the code and for the test.


Merging two pages.

Description of the change: Merged two pages and fixed some formatting mistakes.
Reason for the change: The pages were too similar and could be made into one

Closes #4176

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

/assign @thinkingserious

hey @joaobnetto - thanks so much for this PR! This issue was fixed in #4190 . Please check out our open issues for other work that we're looking to have done on this repo!


Prop.within method can stack overflow.

I've got a fix for this one, the attempt method at:
https://github.com/rickynils/scalacheck/blob/master/src/main/scala/org/scalacheck/Prop.scala#L748
just needs "@tailrec private" added to stack bust.

Sorry for the late response. I've checked in your suggestion. Thanks!


Added note and example about JSX to Readme

Proposed change:
Adding a note and example regarding using data-tip with JSX to Readme.
Reasoning
It took me quite some trial and error until I finally found issue #329.
Also JSX gets more and more common and it seemed there was a fair bit of "traffic" in that issue so it's probably worth adding to the Readme.

Thanks!


ID Returned from before hook not used

Is this suited for github?

[X] Yes, this is suited for github

To Reproduce
I am creating an entry in the partner table before creation of a user and am trying to reuse the partner id for the user as the user table has a foreign key constrain.
In short
{
  databaseHooks: {
    user: {
      create: {
        before: async (user) => {
          // create partner
                                         const parnter = { id: <uuid>}
          return { ...user, ...partner }
        }
      }
    }
  }
}

Current vs. Expected behavior

if advanced.generateId is not set, system will overwrite id returned from before hook
if advenced.generateId is set to false, system will ignore id returned from before hook
if advanced.generateId is set to function, system will overwrite id returned from before hook

i need a configuration where system uses the id returend from before hook
What version of Better Auth are you using?
1.0.21
Provide environment information
MacOS 14.3.1
Chrome

Which area(s) are affected? (Select all that apply)
Backend
Auth config (if applicable)
No response
Additional context
No response

The id should be generated before the before hook is called so it can be used and or overwritten by the function.

@olmohake I don't really understand why having a foreign-key constraint necessitates re-using id's from the user-table. Could you perhaps tell me more about your db-schema?
In the meantime, is it possible to either:
Update your partner table to hold a foreign-key reference to the user table and then create the partner-record in the after callback, using the generated user-id?
export const auth = betterAuth({
  databaseHooks: {
    user: {
      create: {
        after: async (user) => {
          // perform additional actions, like creating a partner record
          const userId = user.id;
          if (!userId) throw new Error('user has no id somehow');
          await db.insert(partnersTable).values({ userId: userId, /** and other fields */ })
        },
      },
    },
  }
})

OR:
Make the user-table hold a foreign-key reference to the partner-table, and then creating the partner record in the before callback?
export const auth = betterAuth({
  databaseHooks: {
    user: {
      additionalFields: {
        partnerId: {
          type: 'uuid', // or whatever
          required: true
        }
      }
      create: {
        before: async (user) => {
          // Create the partner record
          const { partnerId } = await db
            .insert(partnerTable)
            .values({ some: 'stuff' })
            .returning({ partnerId: partnerTable.id })

          // Modify the user object before it is created
          return { data: { ...user, partnerId: partnerId } }
        },
      },
    },
  }
})

Overwriting the function that creates the user-record should be possible, but it's a whole shpiel. See here


WIP: Add device automation support to binary_sensor entities

Description:
Add device automation conditions and triggers to binary_sensor entities.
This PR is intended as a step towards home-assistant/architecture#178
WIP because some minor adjustment is needed if #26635 is merged.
TODO: Add additional tests.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the [development checklist][dev-checklist]

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

This looks great !


Introduce the public folder

After this pull request is merged:

index.php will be located at public/index.php
The web server will need to be configured to point to the new web root in the public folder
index.html files that serve as a "Forbidden" error page will be deleted
The line on top of the php files that prevents direct access to them will be removed
An .htaccess file with a URL rewrite rule will be added in the public folder

With contributions from Jane.

I'm very sorry I meant to open this PR in my own fork.

I'm very sorry I meant to open this PR in my own fork.


Dev

I add mainly two functions and one small function

Jump to specific slices of image: No need to label from first images always, users are able to manual choose which slice of image to label from.
Paint and eraser function: Model not always work well, user are able to use paint and eraser to add or erase mask.
Visualize current slice and it's ID allow user to know which images they are labeling.
Thanks!

I just refactor my code help you can read it easily thanks!

I also rebase and re-merge my commit I think you can read more easily XD


Strange blue selection box around selected cell when bordererd=false

I'm using a table without borders (bordered=false)
Just like in the examples, suddenly it's possible to select a single cell and it gets a blue selection box. When I set bordered=true that's not the case.
See the Picture:

How do i get rid of this box?
Thanks for the help!

I think it's the styling for focusing on cell(The cell in react-bootstrap-table can be focus), I'll check it more but not sure if I can solve it.

Same here, but for now what i did was put a CSS on it,
.react-bs-table {  td {     outline: none !important;   } }


Can't open uproject file after add the plugin

I use Google Translate, because I can't use English well
When I try to open uproject, it loads up to 73% like the image and uproject ends.

---details---
・Windows10 64bit
・Anaconda3 Python3.6.8

add to UnrealEnginePython.build.cs
pythonHome = "C: / users / username / Anaconda3"
I tried with UE 4.22 and 4.21
I added and generate and build the plug-in as described in Installation from sources on windows (64bit) of README.md. And it ended normally.
My directory

And when I ran debugging, it became like below
This happened in UnrealEnginePython.cpp

An unhandled exception occurred at 0x00007FFCB0FBE14E (ucrtbase.dll) (in UE4Editor.exe): A program termination due to a fatal error was requested.
any suggestions?
Thank you in advance!

I cleaned and built again.
The build completed successfully, but it appeared as follows during the build.
Is there a relationship?
C:\study\UTopo\Terrain\Plugins\UnrealEnginePython\Source\UnrealEnginePython\Private\UObject\UEPySequencer.cpp(169): warning C4996: 'UnFbx::FFbxCurvesAPI::GetConvertedTransformCurveData': Please use FRichCurve version instead to get tangent weight support Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
C:\Program Files\Epic Games\UE_4.21\Engine\Source\Editor/UnrealEd/Public/FbxImporter.h(374): note: 'UnFbx::FFbxCurvesAPI::GetConvertedTransformCurveData' Please check the declaration
C:\study\UTopo\Terrain\Plugins\UnrealEnginePython\Source\UnrealEnginePython\Private\UObject\UEPySequencer.cpp(1662): warning C4996: 'UnFbx::FFbxCurvesAPI::GetConvertedTransformCurveData': Please use FRichCurve version instead to get tangent weight support Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
C:\Program Files\Epic Games\UE_4.21\Engine\Source\Editor/UnrealEd/Public/FbxImporter.h(374): note: 'UnFbx::FFbxCurvesAPI::GetConvertedTransformCurveData' Please check the declaration

I'm confused now. I can open uproject...
The error in the previous comment does not seem to be relevant. I am worried but ...
I don't know why I came to open it.
I extracted UnrealEnginePython_20181128_4_20_python36_embedded_win64.zip and copied its Binaries directory to Binaries under the Plugins directory.
However, this does not seem to make sense to write a path to Anaconda3 in Build.cs ... (I'm not sure though, but if I delete the path to Anaconda 3, I get an error ...
Can I use the module pip installed with Aconda3?

Hmmm
I tried to pip install PyQt5 with Anaconda. However, it was not possible to import within the console. After all it seems that there is no need for a path to Anaconda ...
If anyone knows how to use the module you installed with Anaconda, please let me know. Thank you in advance!


Delete .blubracket directory

Please use conventional commit messages in all PRs and merges to the primary branch.


[QUESTION] img appear on duckduckgo

Hi, there,
I just saw that some of my images were indexed on duckduckgo.
Thanks

It’s very annoying because my token leaked lmao


Feature/migration from js to ts

🎯 Title and Issue Number
[API Improvement] : Migrating the Online Book Sales API from JS to TS #42
Closes #<issue_no>
#42
🗒 Checklist:

[Y] I have mentioned the issue number in my Pull Request.
[Y]  I have gone through rules of when PR will get merged.
[Y] I have commented my code, particularly in hard-to-understand areas
[Y] I have created a helpful and easy to understand README.md
[Y] I have followed proper file structure.
[Y] I have gone through

Thank you for contributing!❤
Don't forget to show some support by ⭐ the repository!

Hello @sanjay14073, thank you for your pull request! We will review it shortly. 😇❣
Your contributions help us grow and improve our project. Please make sure you have read and followed our CONTRIBUTING GUIDELINES.
Your efforts are appreciated, and we value your participation in our community. Don't forget to ⭐ our repository!
Happy coding!✨


Can get vpaid ads

Im trying to run this algovid tag to work:
http://p.algovid.com/vpvast?p=99974228&sid=1008&cb=453543&d=viralwiz.com&w=300&h=250
But i cant get any ad.
Can you please check what is wrong with my tag?
Thanks

there is an issue with credentials ( CORS )
XMLHttpRequest cannot load http://player.vcloud.it.best-tv.com/keenkale/icjskd6yc27mlaybaywnck73e2y7f4…%2Fviralwiz%2Ecom&video_url=&title=Entertainment&description=Entertainment.
A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true.
Origin 'http://mailonline.github.io' is therefore not allowed access.

the request is being blocked by the browsers because they aren't sending the headers or [VAST IAB specs] (http://www.iab.net/media/file/VAST_3.0_Draft_04-10-2012.pdf) <IP_ADDRESS> - page 16,but sometimes some providers they don't follow the specification fully.
Some players don't have this issue because they are loading the vast request through Flash ([the Flash CORS, it doesn't use the header of the request, they use a cross-domain.xml] (http://tiffanybbrown.com/2011/10/10/html5-for-as3-developers-cross-domain-xml-and-cross-origin-resource-sharing/)).
If you have issues with some providers, ask them to enable the headers. Because more and more flash will be less important (some browsers are blocking flash, or will block).
As well try to use the latest version of the plugin since we release a bug fix related to vpaid flash ads

Thanks for the answer @Fetz!
I will ask the providers to enable headers.
Is your demo version not up to date with this fix?


workflows failed to build site with this error occurs.

workflows failed to build site with this error occurs.
Run hugo --minify --gc
  hugo --minify --gc
  shell: /usr/bin/bash -e {0}
  env:
    GOROOT: /opt/hostedtoolcache/go/1.18.3/x64
hugo: collected modules in 798 ms
Start building sites …
hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66+extended linux/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio
ERROR 2022/07/17 08:57:05 Failed loading avatar from map["enabled":%!q(bool=true) "local":%!q(bool=true) "src":"static/img/avatar.svg"]
Error: Error building site: logged 1 error(s)
Total in 1172 ms
Error: Process completed with exit code 255.

repo: https://github.com/rafidalhaque/rafidalhaque.github.io

ERROR 2022/07/17 08:57:05 Failed loading avatar from map["enabled":%!q(bool=true) "local":%!q(bool=true) "src":"static/img/avatar.svg"]

Set avatar.local to false. Files placed under the static folder is not considered local file since they can not be accessed by resource object.

Or put avatar file to assets/img/avatar.jpg and set src to img/avatar.jpg


Achievements Model

There has already been been a Container component with the background gradient. There is also a Crystal component.


chore: release main

:robot: I have created a release beep boop
crash-handler: 0.1.0
0.1.0 (2022-10-21)
Features

add an uncaught exception handler (a2bf68e)

Documentation Changes

clarify where you register crash handlers (459d68e)
fix a typo (10daf21)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/crash-handler-v0.1.0 :sunflower:


Revert "[Bridging PCH] Make -enable-bridging-pch the default."

Due to some late feedback concerning source compatibility when building existing (possibly buggy) code, we're going to turn off bridging PCH by default. The feature will still be available for users to turn on, but it'll be opt-in rather than opt-out.
rdar://30640327

swift-ci: please test

This deeply saddens me, but the PR looks okay.


DocChatAgent: Add fusion ranking when re-ranker is not used

get_relevant_chunks gets sets of relevant passages via various retrieval methods (semantic/dense, sparse-embedding based, lexical/keyword, fuzzy); most of these produce scores (except fuzzy, I think), but they all are at least ordered by match quality.
If the config has a cross-encoder model set, then the union of these passages is then re-ranked and then finally the top $k$ passages are picked.
However if there's no cross-encoder, then the top $k$ are picked from this union of passages, which has no particular order, and we can get a bad set of passages. In this case we should make use of the scores (and implicit rank) that are produced by the retrievals, and blend them using a suitable fusion-ranking strategy, where the first step is to normalize the scores/ranks within each retrieval-set, to put them into the same "score space", so that picking top k is meaningful. The normalization could be:

reciprocal rank based -- score each passage by 1/(rank + c),
min-max-normalized

implemented RRF in this PR #556


Add /proc/scsi to masked paths

Port over https://github.com/moby/moby/pull/35399
Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>

Codecov Report

Merging #1719 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1719   +/-   ##
=======================================
  Coverage   48.73%   48.73%
=======================================
  Files          27       27
  Lines        4073     4073
=======================================
  Hits         1985     1985
  Misses       1670     1670
  Partials      418      418

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab67fd5...db58988. Read the comment docs.

This is related to CVE-2017-16539.

LGTM


Save and return to previous cursor position when switching editors

Currently, switching between text and style editors resets the cursor position/viewport so if jumping from one to make a small tweak in the other you lose your place.  It can be annoying on long brews.  If the cursor position can be saved on exit that would be helpful.

I agree.

This is all fixed with PR #1763 which was merged awhile ago.  Closing this issue :)


fix: flutter_plugin template generates all platforms no matter the platform flag used

Description
As a developer I can create a flutter_plugin template using the CLI and pass which platforms I dont want using the --<platform_name> false option. This works as expected but the example generated for the plugin will still contain all platforms.
Steps To Reproduce

Run very_good create my_plugin -t flutter_plugin --ios false
Check the my_plugin/my_plugin/example directory, it will contain an iOS dir.

Expected Behavior
That the generated example only has the platforms that I require for my plugin.

The same goes with .github/workflows/ files.
When run for example very_good create abc_plugin -t flutter_plugin --web false --windows false --macos false --linux false
The workflows directory contains all platforms template and keep my_plugin files even though the plugin name is abc_plugin:

I see this file  flutter_plugin_bundle.dart has the workflows static path. "my_plugin.yaml, my_plugin_android.yaml, ..."

Change the template project to reflect the above mentioned changes: https://github.com/VeryGoodOpenSource/very_good_flutter_plugin/pull/41


The lack of lateral connections

Thanks for the exciting work. However, I haven't found the operation of lateral connection from the code, as described by horizontal connections in pink in Fig. 1 in the paper. Has this version of the code not been implemented yet? Thanks!

Hi, The new code is available at https://github.com/iVMCL/AOGNets

Hi, The new code is available at https://github.com/iVMCL/AOGNets


how to change language?

is possible change language?
example http://www.imdb.com/title/tt0096283/
use php grabber getTitle()
title: My Neighbor Totoro
in website (my language is spanish)
title: Mi vecino Totoro

You can try to change the following:
const IMDB_LANG = 'en, en-US;q=0.8';

You could try:
const IMDB_LANG = 'es, es-ES;q=0.8';

If this won't work, you might need an webhost that's located in Spain, because sometimes IMDb prints out the information according to the geo location.


yubioath-desktop 4.3.3 and 4.3.4 crash on open

Yubico Authenticator version:
4.3.3 and 4.3.4, both crash on open
Operating system and version:
Windows 7 32bit  (Acer aspire one)
Here you can find more complete pc specs:
https://github.com/Yubico/yubioath-desktop/issues/179
Bug description summary:
I have a pc that i don't use often, i have decided to update the authenticator but:
4.3.2 works (i'm using this version as workaround)
4.3.3 crash as soon as i open the program
4.3.3 crash as soon as i open the program (latest available version)

Notes:
If it can be useful, as soon as i open the program it crash but i can see the border of the window while the inside is transparent (i can see my desktop icons inside the program) everything is "greyed" like when a windows program is freezed

There is a new version out (4.3.5) that you may try, not much have changed but it is built with a newer Qt version that might affect this. Other things to try: Update graphic drivers. Testing with the QT_OPENGL env variable set to either "software" or "angle" as mentioned in the old issues.

Hello,
Windows 10 (1809) using YA version 4.3.6
Not as bad as 4.3.5 but often takes 2 or 3 attempts to get the application to stay open.
Right click on entries to copy crashes the app.
Do you need anything more - Files/Logs etc.?

updating to the latest version (4.3.6) solved the problem

Confirmed, 4.3.6 is nice and stable - thank you very much!


[QUESTION] IS LARAVEL OCTANE NEED NGINX?

Hi all, i hope someone will reply this
i need to deploy laravel apps in production, but i want to use frankenphp, but the issue is i dont want to use NGINX anymore. If i see at the documentaion laravel there still use NGINX with laravel octane, so i decide to use only frankenphp.
what i want to ask is
can you give me step by step how to run frankenphp worker mode + laravel in production server without laravel octane
because i already try it with only frankenphp, first time i try i can access the apps with the server ip, and i stop it then i run it again, suddenly i cant access the apps anymore, also if i try to use worker mode i got error like this
PANIC	too many consecutive worker failures

You don't need NGINX with Octane+FrankenPHP. FrankenPHP is built on top of Caddy, which is a production-ready web server.
No need to put NGINX in front of it.

so i just need to run octane:start in production?

Yes, or frankenphp run with your own Caddyfile.


initial version

fixes #1
it just reads the config file

whoever comes first :)

checking it out now.

yes - it has the wrong template https://github.com/keboola/data-loader/issues/37
you need to create a new notebook manually

aha!  ok, closer, but got

master -> odin-init

alright, I got
SystemError: opening file "/data/config.json": No such file or directory
But I think that's alright, since there is no datadir so it should say that

yeah, there is no config file in sandbox, so that's more or less correct :)


[Docs] Update How to 3, layer manipulator

Closes: https://github.com/napari-threedee/napari-threedee/issues/207
This PR updates the copy of the How To to describe how to download and run the script and then warns that there may be subtle visual differences depending on n3d and napari versions.

I updated the download and activate wording as in the other PR.


UploadImportAndApply-ConfigPackageInBcContainer ignores tenant parameter

Hi,
I have created a container with a tenant in it called mydata and the credentials for the mydata tenant is different to the default tenant but when I try to use UploadImportAndApply-ConfigPackageInBcContainer for the mydata tenant and the credentials for the mydata tenant it ignores the tenant I pass and uses the default tenant.
The script I've used is this:-
$securePassword = ConvertTo-SecureString -String "P@ssword1" -AsPlainText -Force
$credential = New-Object PSCredential -argumentList "test", $securePassword
$containerName = "bc-test"
$TestCompany = "test"
$tenantId = "mydata"
Write-Host "Run Rapidstart"
$packagePath = "C:\ProgramData\BcContainerHelper\packages*.rapidstart"
Get-Item -Path $packagePath |ForEach-Object {
Write-Host "Running RapidStartPackage $"
UploadImportAndApply-ConfigPackageInBcContainer -containerName $ContainerName -companyName $TestCompany -tenant $tenantId -configPackage $.FullName -Credential $credential
}
And the output is this:-
Run Rapidstart
Running RapidStartPackage C:\ProgramData\BcContainerHelper\packages\01-PackageAC-TESTING-DIM.rapidstart
BcContainerHelper version 3.0.11
BcContainerHelper emits usage statistics telemetry to Microsoft
Using Basic Authentication
Invoke GET on http://<IP_ADDRESS>:7048/BC/api/v1.0/companies?$filter=name eq 'test'&tenant=default
UploadImportAndApply-ConfigPackageInBcContainer Telemetry Correlation Id: 10717f3d-03f5-489b-a4bf-94c88612b085
Get-Item : The remote server returned an error: (401) Unauthorized.
At C:\Users\aldridgei\OneDrive - ADESA Europe\Docker scripts\Import rapid start.ps1:9 char:1

Get-Item -Path $packagePath |ForEach-Object {

  + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Get-Item], WebException
  + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.GetItemCommand

As you can see in the invoke Get line it is using the tenant default where I'm passing mydata as the tenant id.

You are absolutely right.

Shipped in the latest prerelease

Shipped in 4.0.3


proposal: add another argument to make and use it for concurrent maps

I'm unsure how to do this, as it said, all proposals must be submitted as a Go issue. First, a bit of background about my goals for this project.
I am apart of an REU (Research Experience for Undergraduates), and for my research mentor and I decided on improving the Go language. For now, to start off (as it is the first, going on the second week), I am tasked with researching and extending the Go programming language, with my first task being to "find a way to implement a new type". Now, of course, after researching, I know now that adding a new type would break the Go specifications for compatibility (as a new keyword can break existing applications using those words as identifiers). First being is a concurrent map, which after more research (and asking around) I figured out how make(...) works, and how it transforms something like make(map[string]int) into makemap(...).
Now that the background is out of the way, on to what I wish to implement...
I know (or rather think I do) that the compiler parses make([]int, 5) into a slice with a length of 5. I also know that make([]int, 5, 5) is as valid as the former. Hence, using some reasoning, I think that if I added another argument to make so that a second argument, or even third, it can be done without breaking compatibility.
For example:...
Normal Map:
make(map[string]int)
Concurrent Map:
make(map[string]int, CONCURRENT) // CONCURRENT being some flag
The above should not break any compatibility, no?
Then, perhaps you can add even more things, such as...
Tree Map:
make(map[string]int, TREE)
Etc.
Now, these solutions should not break compatibility, and can be used to implement and add more data structures to the built-in system. I.E, a Concurrent Map, Tree Map, and a normal Map can all be used with it's current interface, of course assuming that all of it's functions are implemented accordingly.
I have read hashmap.go, and I definitely see a TON of low-level compiler optimizations, it's REALLY hard to read and has a lot of abstractions, but of course given a proof of concept for the concurrent map (and once again, the whole "normal users normally don't need locks" shouldn't apply since the extra flags are optional), then further optimizations can be implemented for them.
My particular role as a researcher is to determine if this is possible, and part of that is establishing a proof of concept. If I do end up implementing this proof of concept, would this proposal potentially be approved when finished?

If this could be labeled as "Proposal" I'd appreciate it.

Please note that make(map[string]int, 100) is already valid go code. The second argument is an optional capacity hint. So what you actually want is something like make(map[string]int, 100, CONCURRENT).

@ALTree Hm, I didn't know about the extra capacity hint. Maybe, if possible, for those who do not care about the actual capacity hint, define a constant DEFAULT_CAP or something along that lines to hint that it should use the default. So, it'd become make(map[string]int, DEFAULT_CAP, CONCURRENT).
Are there any other arguments as well that can supplied to it? I've never actually seen anyone use a capacity hint for map, but it makes sense that there is one.

why not just?
make(treemap[string]int)

Why this has to be in the language?
As explained in the FAQ (https://golang.org/doc/faq#atomic_maps),
the use of concurrent maps is very limited.
And if you're really talking about lock-free highly concurrent maps,
it's better to publish your result as a go-gettable package first.
I highly doubt that this proposal will be accepted. If you just want to
know how to extend the language by modifying the compilers, you
might want to ask on the golang-dev mailing list.

@minux Would there be a reason to not do so? I hate to answer your question with a question, but overall, even if it goes mostly unused, an actual built-in type (optional and Go 1.0 compatible at that, I.E it doesn't break it so there's no harm), the fact that Go is inherently an concurrent language, then the ability to use a fundamental data structure such a hash map, concurrently, would only improve upon the language, wouldn't it?
If even a few people needed a high-performance concurrent data structure, and someone offered to do it for them (well tested and benchmarked), without breaking anything, why wouldn't it be accepted?
That's not the only thing I thought of doing however. If I can add a concurrent hash map, then perhaps other types of maps can be added for special occasions. I.E, printing all keys in a hash map in sorted order would be a lot less efficient than a tree map, and giving the user the option to do so, once again, without breaking compatibility, can only be a good thing. Quite a few other languages provide different data structures, why just have one? Etc.
To be fair, I'm going off on what my mentor wants me to do, and I also find this an interesting project to undertake.
Thanks for your suggestion about golang-dev, I'll definitely check that out.

Would there be a reason to not do so?

There are several.

The go release schedule is very strict. One version every 6 months, and 3 months of freeze before the release. Want to change something in your lockfree map implementation (performance improvements, bug fixing..) and publish the changes right away? You can't. You'll have to wait for the next go release. Only then the people using your code will get the new version.

Maintenance. If you publish code as a library, it's your responsibility to maintain it. But the moment you add something to the language, it becomes everyone's responsibility. The original author loses interest? It doesn't matter: the go team (and the other contributors) will have to maintain the code (and fix bugs in the code) forever and ever.

Retro-compatibility. This is similar to 1, but about the design of the new feature. Want to change something? The API you designed could be improved? Easy, in an external package: implement the change and publish a new version (maybe using SemVer to signal a breaking change). You can't do that for the core language. Once it's in, it stays in. Anything that was exposed to the public can't be changed or fixed.

The core language is more or less frozen. Finished. Done. It has been for a few years.

The common wisdom is that unless you have very good reasons to request for something new to be part of the core language or the standard library, you should publish it in a go-gettable package.
Are your proposed additions impossible or significantly harder to implement as a go-gettable package? What are the benefits of including them in the core language?

Welcome!
@minux and @ALTree are right that there is extremely low probability of such a change in the Go language. That might be ok, though, depending on what your goals are, exactly.
You mentioned "improving the Go language". You could do that in many ways that don't involve changing the language itself. A language is much more than the spec--it's also the quality of the implementation, the quality of the documentation, the quality and size and openness of the community, it's the breadth and quality and richness of the open source libraries available for it. Those are all meaningful places to contribute. And some of those involving working on the compiler and the runtime; it just means that your focus would be on either improving those or documenting them. The improvements could e.g. be bug fixes, making things faster (either the compiler or the compiled code), making things simpler, making the code more readable, making the code better tested. The documentation could come in the form of comments in the source code or (say) blog posts about your exploration.
You also mentioned specifically "extending the Go programming language". You could still do this, as long as you understand that it's unlikely to be absorbed into the language itself. (This is actually true for most languages; though Go is perhaps particularly resistant to change and expansion, adding to a language is a big deal in general and not a step taken lightly.) Undertaking such a project would probably teach you a lot, would provide interesting materials for blog posts, and would very likely expose areas in which the current implementation is underdocumented, fragile, buggy, etc. And contributing back documentation improvements, bug reports, and blog posts would be of value to the project and the community.
If you want to experiment more with the make identifier, take a look at src/cmd/compile/internal/walk.go and grep for OMAKE and makemap. You could add a field to the internal map representation (src/runtime/hashmap.go) and try connecting the two. There are assumptions in the compiler about the runtime layout of maps and vice versa. These should be documented, but if they're not, or the documentation is unclear or outdated, please send fixes. Note that we're in a release freeze now, though, so any changes of any kind are unlikely to go in for a couple of months.
If you want to experiment with concurrent map implementations, there are many options. One interesting, fairly recent one is hopscotch hashing, which (I believe) is relatively straightforward to implement and admits (I believe) of relatively straightforward fine-grained concurrency protection. Your best bet is probably to implement it outside of the runtime, for a particular map type (say map[string]int).
Another random idea if you're interested in data structures and language runtimes would be to experiment with using probabilistic data structures such as count-min-sketch based top-k/heavy-hitters to do profiling instead of the overflow-log-based approach currently in use.
Hope this helps a bit. If you have questions about the implementation details of the runtime or compiler or stdlib, the best place to ask is golang-dev. If you have questions about using Go, about Go code you're writing (e.g. requests for help, API input, design input, etc.), the best place to ask is golang-nuts. And this issue is probably a good place to continue discussing how your project plans interact with the Go project.
Also, two quick inline comments to what went above:

Are there any other arguments as well that can supplied to it? I've never actually seen anyone use a capacity hint for map, but it makes sense that there is one.

If you are asking this, then you probably haven't read the Go language specification. You should really, really go read that first if you're thinking about working on or changing the language. It's short and comprehensible.

The core language is more or less frozen. Finished. Done. It has been for a few years.

To highlight one key sentence from that link: "A significant reason for declaring the language done is to cut off a never-ending stream of tinkering that would accumulate over time into significant complexity and drag down the language." This is true even when each individual change might seem like a good idea in isolation.

@ALTree and @josharian
Hm... Well, that definitely does throw a wrench in my plans, but it definitely is great I figured this out in the first week rather than towards the end. I see it now, implementing the concurrent map is a possibility (and I'll go about implementing them on my own in the future), I'll mention the ACTUAL end-goal (which the concurrent hash map was supposedly a proof-of-concept... actually, I'm still not 100% certain of it myself) is to extend on the Garbage Collector to allow it to be lock-free.
He mentioned something about extending on the language to allow marking the lower bits of pointers for a lock-free mark-and-sweep collection, however while I've only implemented a basic mark-and-sweep algorithm, I wouldn't know where to begin on that, nor if Go currently uses a lock-free GC, or if it is entirely possible with Go. The Concurrent Map was more to get my "feet wet" I suppose, by getting familiar with the source code. I only assumed that it could potentially be one of the improvements to be proposed by the end of the program.
I'm assuming the reason he wants to make the GC lock-free is for the same reason you can't really implement a lock-free data-structure with malloc in C (experience hurts), if it locks something (I.E the heap) then it simply isn't lock-free.
Now, once again, I don't know what he actually has in-store, he changes his mind on what I should do a lot, he has a lot more experience in this than I do, so I just trust his judgement and carry on. Would the above even be possible? What would the adverse effects be? I'm assuming this is even more likely to be rejected than the concurrent map because it changes EVERYTHING, plus there is no way to create a  go-getter package for an internal change in the garbage collector.
I'll definitely have to speak with my mentor on what it is we should do next.
@josharian
You make some interesting suggestions too on other extensions on it, and even helped me on my way to attempting to continue with it even if I wanted to. Definitely will also read up on the language specifications, it was rather lazy of me to not do so.

extend on the Garbage Collector to allow it to be lock-free

The GC is already geared towards avoiding pauses. See e.g. https://www.youtube.com/watch?v=aiv1JOfMjm0. So: why lock free? What is the end goal? You may find that the existing GC is already well on its way.

extending on the language to allow marking the lower bits of pointers for a lock-free mark-and-sweep collection

The main Go compiler and runtime has generally declined to play bit-twiddling games. There are many temptations: tagged pointers for representing pointers to small ints, stealing the lower bits of pointers for GC, packing len and cap into a single word to shrink most slices to two words, and more. Doing such optimizations has big costs: It makes debugging harder, it makes understanding the compiler and runtime harder, it makes C interop harder, it makes writing assembly implementations harder. I suspect that it will never happen, but at the least, it will be a long time--all the low hanging fruit will have to go first, and all of the medium-hanging fruit too. :)

I'm assuming this is even more likely to be rejected than the concurrent map because it changes EVERYTHING,

Well, what is has going for it is that it involves no language changes. Implementation details are exactly the sort of thing that is changing now; see e.g. the new SSA backend in Go 1.7 and beyond. However, (a) the existing GC is fairly sophisticated and (b) the GC/compiler/runtime interaction is in my opinion easily the most complicated, intricate, difficult part of the implementation. That suggests that it is probably not a good place for a project that you aim to contribute back within a semester. It might make an interesting learning project, though.

@josharian
I find a great deal of pleasure in challenges, no matter how difficult. IIRC, even if I cannot finish it, the next person to take my place most likely will be able to, however that brings me back to what you mentioned earlier... Documentation.  Not to mention that it will also satiate my desire to learn as the documentation would require intricate knowledge of what goes on underneath the hood of Go, heck, even Garbage-Collecting languages alike (assuming they all share some similarities).
I know you might be trying to ward me away from this, but it actually rekindled a bit of hope that, if I do manage to finish it, maybe it won't be just rejected. So thank you, @josharian
It also drives home the reasoning he's making me implement the concurrent map... maybe I misinterpreted his request as it being a proposal and more of a trial.
Anyway, I will close this issue as I definitely won't be attempting to propose a concurrent map (although I will be doing it privately) and instead I'll work towards the garbage collector.

Cool. You did well to check in early about your plans. You will want to do the same about any planned GC changes. :)


Add optional output file through spring properties

Instead of only writing to the command line and add an enabled by default output to a file for easier reading and usage.

Fixed in 0.0.3