"Job exception: can_create? failed" - Unrecognized error type when processing incoming email


(Caue Rego) #1

It happened at least twice:

http://talk.cregox.com/logs/show/be36ba43da198f3cac156a4e9b69de8b

http://talk.cregox.com/logs/show/f776b753bb260daa60f59b73cb397592

Those emails were never processed in.

I believe it has something to do with how mixmax built the “email packet” there, but I’ve got little clue if that’s really relevant.


(Jeff Atwood) #2

You need to post the stack trace here in full from the logs tab, we can’t see the error, only admins on your site can.


(Caue Rego) #3

My bad!

Usually I do test links such as those in incognito mode… I just assumed this would be open, maybe because it simply says “share” and discourse is mostly an open and moderated platform, i.e., we usually take action after something wrong have been done, rather than trying to prevent everything, even if there are some preventive measures (such as this one).

Do you think it would be dangerous to keep those share links open? Is there already a setting to open them up? I’m already copying everything here in the wild, anyway…

So both events info say just the same as the title: “Job exception: can_create? failed”. I hope copy & paste works fine for this:

Latest Event

backtrace

/var/www/discourse/lib/guardian/ensure_magic.rb:9:in `method_missing'
/var/www/discourse/lib/topic_creator.rb:83:in `setup_topic_params'
/var/www/discourse/lib/topic_creator.rb:17:in `create'
/var/www/discourse/lib/post_creator.rb:199:in `setup_topic'
/var/www/discourse/lib/post_creator.rb:80:in `block in create'
/var/www/discourse/lib/post_creator.rb:143:in `call'
/var/www/discourse/lib/post_creator.rb:143:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/transactions.rb:208:in `transaction'
/var/www/discourse/lib/post_creator.rb:141:in `transaction'
/var/www/discourse/lib/post_creator.rb:79:in `create'
/var/www/discourse/lib/email/receiver.rb:257:in `create_post'
/var/www/discourse/lib/email/receiver.rb:240:in `create_post_with_attachments'
/var/www/discourse/lib/email/receiver.rb:199:in `create_new_topic'
/var/www/discourse/lib/email/receiver.rb:70:in `process'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:25:in `handle_mail'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:88:in `block (2 levels) in poll_pop3'
/usr/local/lib/ruby/2.0.0/net/pop.rb:665:in `each'
/usr/local/lib/ruby/2.0.0/net/pop.rb:665:in `each_mail'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:87:in `block in poll_pop3'
/usr/local/lib/ruby/2.0.0/net/pop.rb:531:in `start'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:85:in `poll_pop3'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:18:in `execute'
/var/www/discourse/app/jobs/base.rb:153:in `block (2 levels) in perform'

env

current_db: default
current_hostname: talk.cregox.com
job: Jobs::PollMailbox
message: Unrecognized error type when processing incoming email
mail: Delivered-To: talk@cregox.com
Received: by 10.25.137.84 with SMTP id l81csp2322958lfd;
        Fri, 3 Apr 2015 18:27:09 -0700 (PDT)
X-Received: by 10.112.199.36 with SMTP id jh4mr4138275lbc.49.1428110829356;
        Fri, 03 Apr 2015 18:27:09 -0700 (PDT)
Return-Path: <help+bncBCSKBA626YLBB3H37SUAKGQECS2BNUI@cregox.com>
Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com. [74.125.82.69])
        by mx.google.com with ESMTPS id x6si7903134lal.29.2015.04.03.18.27.09
        for <talk@cregox.com>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 03 Apr 2015 18:27:09 -0700 (PDT)
Received-SPF: neutral (google.com: 74.125.82.69 is neither permitted nor denied by domain of help+bncBCSKBA626YLBB3H37SUAKGQECS2BNUI@cregox.com) client-ip=74.125.82.69;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 74.125.82.69 is neither permitted nor denied by domain of help+bncBCSKBA626YLBB3H37SUAKGQECS2BNUI@cregox.com) smtp.mail=help+bncBCSKBA626YLBB3H37SUAKGQECS2BNUI@cregox.com;
       dmarc=fail (p=NONE dis=NONE) header.from=gmail.com
Received: by wgiv13 with SMTP id v13sf13291947wgi.3
        for <talk@cregox.com>; Fri, 03 Apr 2015 18:27:08 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:content-type:from:to:subject:message-id
         :in-reply-to:references:date:mime-version:x-original-sender
         :x-original-authentication-results:precedence:mailing-list:list-id
         :list-help;
        bh=OZNx88Jnsu//MNt9KS+e9uG9TWW/FnweB07qrQbJV70=;
        b=cOXj6d7ZVmQWiJMXNGh/k3AXthkEcy20gZmWG49LKE7Ec49oX1BSWJtZZwMc2QxaTl
         QA/CInHm4U4dwmPZO8GTn908KVCPEOJygPVSH7UTpNq7yzf52q/tyko7QPLVpXPhjVjS
         WwMxAtxXyAyHxpuDgkRuEezGf64FvXPxtWWNZNfbY0TPzfSTtGTMvGPJFOHsacW8UcGd
         ykw2jJSlcHLy85o+yzmWKD+qg/LBL3Tim868w7wDOItUk5t2fNCZtvu2niMvRZim512/
         x/8n9Usmt3fescNEJQzzWutL4ZOiO5yT1VCnrAE9uMXmMQUIlKGY9PKkGQA4uCCkr4OH
         8bNg==
X-Gm-Message-State: ALoCoQmWNGrJ1SUDOOgHZO0w4t0XEKI8ds1dQAfqu/mrfTMqJwJHF8B8SYxHOiia1YylGIbcZIM7
X-Received: by 10.112.167.131 with SMTP id zo3mr1157925lbb.7.1428110828368;
        Fri, 03 Apr 2015 18:27:08 -0700 (PDT)
X-BeenThere: help@cregox.com
Received: by 10.180.78.167 with SMTP id c7ls204769wix.33.canary; Fri, 03 Apr
 2015 18:27:07 -0700 (PDT)
X-Received: by 10.180.75.243 with SMTP id f19mr10038750wiw.94.1428110827914;
        Fri, 03 Apr 2015 18:27:07 -0700 (PDT)
Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com. [2607:f8b0:400d:c01::233])
        by mx.google.com with ESMTPS id xb4si17024468wjc.178.2015.04.03.18.27.07
        for <help@cregox.com>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 03 Apr 2015 18:27:07 -0700 (PDT)
Received-SPF: pass (google.com: domain of travis.aaberg@gmail.com designates 2607:f8b0:400d:c01::233 as permitted sender) client-ip=2607:f8b0:400d:c01::233;
Received: by qcrf4 with SMTP id f4so86428821qcr.0
        for <help@cregox.com>; Fri, 03 Apr 2015 18:27:06 -0700 (PDT)
X-Received: by 10.229.12.6 with SMTP id v6mr5800706qcv.29.1428110826793;
        Fri, 03 Apr 2015 18:27:06 -0700 (PDT)
Received: from [127.0.0.1] (ec2-54-85-60-240.compute-1.amazonaws.com. [54.85.60.240])
        by mx.google.com with ESMTPSA id p22sm6864362qge.30.2015.04.03.18.27.05
        for <help@cregox.com>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 03 Apr 2015 18:27:05 -0700 (PDT)
Content-Type: multipart/alternative;
 boundary="----sinikael-?=_1-14281108254580.10054589598439634"
From: Travis Aaberg <travis.aaberg@gmail.com>
To: help@cregox.com
Subject: Re: Moving this project along...
Message-Id: <1428110825451-6c96540d-dbfd4abc-a4239686@mixmax.com>
In-Reply-To: <CAM=57L2JtTryCZG+2utgqdE+=B9F+Z57NmAm=WmE49iu219yEg@mail.gmail.com>
References: <CAM=57L2JtTryCZG+2utgqdE+=B9F+Z57NmAm=WmE49iu219yEg@mail.gmail.com>
X-Mailer: Mixmax (mixmax.com)
Date: Sat, 04 Apr 2015 01:27:05 +0000
MIME-Version: 1.0
X-Original-Sender: travis.aaberg@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of travis.aaberg@gmail.com designates 2607:f8b0:400d:c01::233 as
 permitted sender) smtp.mail=travis.aaberg@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list help@cregox.com; contact help+owners@cregox.com
List-ID: <help.cregox.com>
X-Google-Group-Id: 688618247272
List-Help: <http://support.google.com/a/cregox.com/bin/topic.py&topic=25838>, <mailto:help+help@cregox.com>

------sinikael-?=_1-14281108254580.10054589598439634
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Caue,
It looks like the photos are back above the posts on /blog. =
I=E2=80=99m not sure how, I
didn=E2=80=99t change anything.
There is another issue though. The thumbnail image does not stretch to the =
full
width, so when the screen size is less than 840, it appears with a =
white border,
see attached.=20
[https://res.cloudinary.=
com/mixmax/image/fetch/https%3A%2F%2Femailapps.mixmax.=
com%2Fimg%2Ficons%2Fattachments%2Ffile.png]
[https://mixmax-res.cloudinary.=
com/image/upload/v1428110822/alpha_production/kHoJe8GG/Screen_Shot_2015-04-=
03_at_6.24.44_PM.png] Screen Shot 2015-04-03 at 6.24.44 PM.png 75KB
[https://mixmax-res.cloudinary.com/image/upload/v1428110822/alpha_productio=
n/kHoJe8GG/Screen_Shot_2015-04-03_at_6.24.44_PM.png]
Thanks,
Travis




On Fri, Apr 3, 2015 at 3:14 PM, Travis Aaberg < travis.aaberg@gmail.com =
[travis.aaberg@gmail.com] > wrote:
Hi Caue,
I wanted to check-in on the =
progress. Sorry I am having a hard time with
Discourse and/or maybe the =
language barrier.
I moved your code over to the main blog. It looks good =
for a few minutes but
then disappeared. Can you please help.
From what I saw while it was active, there are a couple of things missing:
/blog
-Author photo
-Author title/bio
-H3 subtitle... how does this work?
/blog-post
-photo should be above title (currently below)
-Author photo
-Author title/bio
-Share buttons at top
-H3 subtitle... again, how does =
this work?
Could you please help with these issues soon? I think we are =
coming up on the 2
week mark this weekend.
Also, for the sake of clarity =
(and privacy) can we please just communicate over
email?
Thanks,
Travis
Sent with Mixmax [https://mixmax.com/s/92BKszDAZocEA9XY4]
[https://app.mixmax.com/api/track/v2/uHEDoIurpFl6Yv91a/travis.=
aaberg%40gmail.com/ISbvNmL492ZlJ3YABHblhmI/ISbvNmL492ZlJ3YABHblhmI?=
sc=3Dfalse]
Sent with Mixmax [https://mixmax.=
com/s/92BKszDAZocEA9XY4]
------sinikael-?=_1-14281108254580.10054589598439634
Content-Type: text/html; format=flowed
Content-Transfer-Encoding: quoted-printable


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www=
.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns=3D"http://www.=
w3.org/1999/xhtml" xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office">

  <head>
    <meta name=3D"viewport" content=3D"width=3Ddevice-width, =
initial-scale=3D1.0">
   =20
   =20
    <!--[if gte mso 9]>
    <xml>
      <o:OfficeDocumentSettings>
        <o:AllowPNG/>
        <o:PixelsPerInch>96</o:PixelsPerInch>
     </o:OfficeDocumentSettin=
gs>
    </xml>
    <![endif]-->
   =20
   =20
    <style =
type=3D"text/css">table {border-collapse:collapse;}* =
a:hover{cursor:pointer;}img {width:auto;}* [lang~=3D"preview-card"],.=
preview-card {display:block;margin:0;width:100%;font-size:0;}* =
[lang~=3D"interactive-card"],.interactive-card {display:none !important;}* =
[lang~=3D"brand-pinterest"] {width:280px !important;}form {border:0 !=
important;margin:0 !important;padding:0 0 8px 0 !important;font-size:0;}for=
m >div {display:inline-block;width:50%;}form td {padding-right:6px;font-fam=
ily:'proxima-nova','Avenir Next','Segoe UI','Calibri','Helvetica Neue',=
Helvetica,Arial,sans-serif;}fieldset {border:1px solid #ccd !=
important;padding:6px 5px 5px 0 !important;border-radius:4px !=
important;padding-right:20px;margin:0;width:auto;}input =
{background:none;outline:none !important;min-height:25px;padding:0 =
10px;border:none;margin:0;width:100%;box-sizing:border-box;}* =
[lang~=3D"column-wrapper-first"],div.column-wrapper-first =
{display:inline-block;width:30%;vertical-align:top;padding:8px 16px 4px 8px=
 !important;}* [lang~=3D"column-wrapper-second"],div.column-wrapper-second =
{display:inline-block;width:60%;vertical-align:top;padding:4px 0 4px 0;}* =
[lang~=3D"column-wrapper-only"],div.column-wrapper-only {padding:8px 8px =
4px 8px !important;}</style>
  </head>

  <body yahoo=3D"fix" =
style=3D"word-wrap:normal;  word-break:break-word;">

    <style></style>
   =20
    <!--[if (gte mso 9)|(IE)]>
      <style>body {font-family:'Segoe=
 UI','Calibri',Arial,sans-serif !important;}a {font-family:'Segoe UI',=
'Calibri',Arial,sans-serif !important;}p {line-height:24px;margin-left:3px =
!important;}h1,h2,h3 {padding-left:3px;}img {border:none !=
important;-ms-interpolation-mode:bicubic;}.container,.message-wrapper  =
{width:600px !important;}.p {line-height:22px;mso-line-height-rule:exactly =
!important;}td {mso-line-height-rule:exactly !important;}table.=
mso-card-outer {width:580px !important;margin-bottom:15px !important;}table=
.border-outer {width:580px !important;margin-bottom:15px !important;}table.=
mso-card-outer-pinterest {width:274px !important;margin-bottom:15px !=
important;}td.mso-card-inner table {border-collapse:collapse !=
important;mso-table-lspace:0pt;mso-table-rspace:0pt;vertical-align:top;}.=
border-outer,.border-middle,.border-inner {border:none !important;}.=
mso-border-outer,.mso-border-middle,.mso-border-inner {padding:1px;}.=
mso-border-outer {background-color:rgb(245,255,255);}.mso-border-middle =
{background-color:rgb(223,246,255);}.mso-border-inner =
{background-color:rgb(153,176,225);}.preview-card {margin-bottom:0 !=
important;padding:0 !important;}.column-wrapper-first {margin:0;}.=
column-only {padding:8px 8px 4px 8px;}.column-first {padding:8px 16px 8px =
8px;}.mso-column-wrapper-only {width:100% !important;}.outlook-only =
{display:block !important;max-height:none !important;overflow:visible !=
important;}.outlook-com-only {display:none;}</style>
    <![endif]-->
   =20
   =20
    <style>.column-wrapper {vertical-align:top;}a =
{word-wrap:normal;word-break:break-word;}@media only screen and =
(max-width:600px) {.container[not-yahoo] {-webkit-text-size-adjust:none !=
important;}.container[not-yahoo] {width:100% !important;min-width:100% !=
important;}.container[not-yahoo] [class=3D"border-outer"],.=
container[not-yahoo] [class=3D"border-middle"],.container[not-yahoo] =
[class=3D"border-inner"] {width:100% !important;}.container[not-yahoo] =
[class=3D"inner"] {width:100% !important;}.container[not-yahoo] =
[class=3D"innercell"] {padding:10px !important;}.container[not-yahoo] .=
palm-one-whole {width:100% !important;min-width:100% !important;}.=
container[not-yahoo] .palm-block {display:block !important;}.=
container[not-yahoo] td.palm-one-whole {display:inline-block !=
important;padding:0;}.container[not-yahoo] td.palm-one-whole:first-child:no=
t(:only-child) {margin-bottom:16px;}.container[not-yahoo] td.hostname =
{padding-top:3px !important;}.container[not-yahoo] div.column-wrapper-first=
 {display:block;padding:inherit !important;width:100% !important;}.=
container[not-yahoo] div.column-wrapper-second {display:block;padding:inher=
it !important;width:100% !important;}.container[not-yahoo] div.=
column-wrapper-only {padding:0 !important;}}@media only screen and =
(min-width:601px) {.container[not-yahoo] {width:600px !important;}}@media =
only screen and (min-device-width :320px) and (max-device-width :568px),=
only screen and (min-device-width :768px) and (max-device-width :1024px),=
only screen and (max-device-width:640px),only screen and =
(max-device-width:667px),only screen and (max-width:480px){table[class=3D"c=
ontainer"] {width:100% !important;min-width:100% !important;}.=
container[not-yahoo] .p,.container[not-yahoo] .small,.container[not-yahoo] =
li {font-size:17px !important;line-height:1.5 !important;}audio =
{margin-bottom:10px;}.container[not-yahoo] [lang~=3D"brand-pinterest"] =
{width:100% !important;}}@media only screen and (min-width:601px) {.=
container[not-yahoo] table[class=3D"container"] {width:600px !=
important;}}@media only screen and (min-device-width :320px) and =
(max-device-width :568px),only screen and (min-device-width :768px) and =
(max-device-width :1024px),only screen and (min-device-width :1224px)  {.=
container[not-yahoo] {}.container[not-yahoo] .message-wrapper =
{padding-top:8px;}audio::-webkit-media-controls-panel =
{-webkit-appearance:none !important;background-color:#ff571b;border-radius:=
2px;}audio::-webkit-media-controls-rewind-button {display:none !important;}=
.container[not-yahoo] .apple-only[style] {display:block !=
important;max-height:none !important;line-height:normal !=
important;overflow:visible !important;height:auto !important;width:100% !=
important;position:relative !important;}.ExternalClass .ecxapple-only =
{display:none !important;}.container[not-yahoo] .no-apple {display:none !=
important;}.container[not-yahoo] .no-apple {display:block;}.=
container[not-yahoo] form {width:100%;font-size:inherit;padding:0 0 8px 0!=
important;}.container[not-yahoo] form td {}.container[not-yahoo] form =
select {}.container[not-yahoo] form fieldset {padding:0 !=
important;height:45px;}.container[not-yahoo] form input =
{height:43px;padding-left:4px !important;}.container[not-yahoo] form =
button:hover {cursor:pointer;}.container[not-yahoo] .form-row =
{font-size:0;}.container[not-yahoo] .form-row >.form-column =
{display:inline-block;width:50%;}.container[not-yahoo] .quality fieldset =
{width:40% !important;}.container[not-yahoo] .zip fieldset {width:40% !=
important;}@media only screen and (min-device-width :1224px)  {.=
apple-mail-form {display:block !important;background-color:white !=
important;}}}</style>
   =20
    <style>.ExternalClass p,.ExternalClass =
font,.ExternalClass td {margin:0 !important;}.ExternalClass {width:100%;}.=
ExternalClass .ecxcolumn-wrapper-second {width:60% !important;}.=
ExternalClass .ecxcolumn-wrapper-first {padding-top:6px !=
important;padding-left:6px !important;}.ExternalClass .ecxlabels =
{display:none !important;}.ExternalClass .ecxarrow {display:none !=
important;}.ExternalClass .h1 {padding-bottom:5px;}.ExternalClass .h2 =
{padding-bottom:5px;}.ExternalClass .h3 {padding-bottom:5px;}.ExternalClass=
 .outlook-com-hidden {display:none !important;}.ExternalClass .=
outlook-com-button {display:block;}.ExternalClass .outlook-com-only =
{display:block !important;max-height:none !important;line-height:normal !=
important;overflow:visible !important;height:auto !important;width:100% !=
important;position:relative !important;}.ExternalClass .outlook-only =
{display:block !important;max-height:none !important;overflow:visible !=
important;}.ExternalClass [lang=3D"brand-pinterest"] {width:280px !=
important;}.ExternalClass cite >div + div {padding:0 0 4px 0;}.=
ExternalClass button {height:auto;}</style>

    <table class=3D"container"=
 lang=3D"container" not-yahoo=3D"fix" border=3D"0" cellpadding=3D"0" =
cellspacing=3D"0" valign=3D"top" style=3D"max-width:600px !important; =
width:100%;  margin-top:6px;">
      <tr>
        <td valign=3D"top" =
class=3D"message-wrapper" style=3D"font-size: 14px;  line-height: 1.5;  =
color: #222; font-family:'Segoe UI', 'Helvetica Neue', Helvetica, 'Calibri'=
, Arial, sans-serif;
;">

          <!--[if mso]><table=20
  border=3D"0" cellpadding=3D"0" cellspacing=3D"0" valign=3D"top" =
style=3D"border-collapse:collapse; width:600px"
><tr><td valign=3D"top"><!=
[endif]-->
            <div style=3D"font-size: 13px; line-height: 18px;" =
class=3D"small">Hi Caue,</div><div style=3D"font-size: 13px; line-height: =
18px;" class=3D"small"><br></div><div style=3D"font-size: 13px; =
line-height: 18px;" class=3D"small">It looks like the photos are back above=
 the posts on /blog. I&#x2019;m not sure how, I didn&#x2019;t change =
anything.&#xA0;</div><div style=3D"font-size: 13px; line-height: 18px;" =
class=3D"small"><br></div><div style=3D"font-size: 13px; line-height: =
18px;" class=3D"small">There is another issue though. The thumbnail image =
does not stretch to the full width, so when the screen size is less than =
840, it appears with a white border, see attached.</div><div =
style=3D"font-size: 13px; line-height: 18px;" class=3D"small">
    <!--[if mso]>
    <br>
  <![endif]-->
  <div id=3D"" lang=3D"brand-" =
class=3D"preview-card attachment" style=3D"padding-top:8px;  =
padding-bottom: 8px;">
    <table width=3D"580" class=3D"border-outer" =
border=3D"0" cellpadding=3D"0" cellspacing=3D"0" valign=3D"top" =
style=3D"border-collapse:separate; border-radius:4px; border:1px solid =
#f5ffff;"><tr><td class=3D"mso-border-outer" valign=3D"top" =
style=3D"border-collapse:collapse; border-radius:4px">
      <table class=3D"border-middle" border=3D"0" cellpadding=3D"0" =
cellspacing=3D"0" valign=3D"top" style=3D"border-collapse:separate; =
border-radius:3px; border:1px solid #d5ecff;"><tr><td =
class=3D"mso-border-middle" valign=3D"top" style=3D"border-collapse:collaps=
e; border-radius:3px">
        <table class=3D"border-inner" border=3D"0" =
cellpadding=3D"0" cellspacing=3D"0" valign=3D"top" style=3D"border-collapse=
:separate; border-radius:2px; border:1px solid #99b0e1;"><tr><td =
class=3D"mso-border-inner" valign=3D"top" style=3D"border-collapse:collapse=
; border-radius:2px">
          <table class=3D"inner  palm-one-whole" =
width=3D"574" border=3D"0" cellpadding=3D"0" cellspacing=3D"0" =
valign=3D"top" style=3D"border-collapse:collapse; background-color:white; =
border-radius:2px"><tr><td class=3D"innercell" valign=3D"top" =
style=3D"position:relative; border-collapse:collapse; padding:0;">

              <table class=3D"webfont-sans" cellpadding=3D"0" =
cellspacing=3D"0" valign=3D"top" style=3D"border-collapse:collapse;  =
width:100%">
    <tr>
      <td valign=3D"top" width=3D"44">
<a href=3D"https://mixmax-res.cloudinary.com/image/upload/v1428110822/alpha=
_production/kHoJe8GG/Screen_Shot_2015-04-03_at_6.24.44_PM.png" =
target=3D"_blank" style=3D"text-decoration:none;  display:block;  color:;  =
border:none;">
            <img src=3D"https://res.cloudinary.=
com/mixmax/image/fetch/https%3A%2F%2Femailapps.mixmax.=
com%2Fimg%2Ficons%2Fattachments%2Ffile.png" width=3D"32" style=3D"padding: =
3px 0 3px 3px;  vertical-align: top;  width:32px;">

</a>
      </td>
      <td valign=3D"middle">
        <table cellpadding=3D"0" =
cellspacing=3D"0" valign=3D"middle" style=3D"border-collapse:collapse;  =
width:100%">
          <tr>
            <td class=3D"webfont-sans" =
valign=3D"middle" style=3D"min-width:100%;  padding-bottom:6px;  =
padding-top:8px;  padding-right:12px;  line-height:22px;  font-weight:600; =
 font-size:16px; font-family:'proxima-nova', 'Avenir Next', 'Segoe UI', =
'Calibri', 'Helvetica Neue', Helvetica, Arial, sans-serif;
">
              <a href=3D"https://mixmax-res.cloudinary.=
com/image/upload/v1428110822/alpha_production/kHoJe8GG/Screen_Shot_2015-04-=
03_at_6.24.44_PM.png" target=3D"_blank" style=3D"color:#333;  =
display:block;  text-decoration:none;">Screen Shot 2015-04-03 at 6.24.44 PM=
.png <span style=3D"font-weight:normal;  font-size: 14px;  =
color:#778;">75KB</span></a>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</td></tr></table></td></=
tr></table></td></tr></table></td></tr></table></div>


         =20
       =20
     =20
   =20
 =20
  <!--[if mso]>
    <br>
  <![endif]-->

</div><div style=3D"font-size: 13px; line-height: 18px;" =
class=3D"small"><br></div><div style=3D"font-size: 13px; line-height: =
18px;" class=3D"small">Thanks,</div><div style=3D"font-size: 13px; =
line-height: 18px;" class=3D"small"><br></div><div style=3D"font-size: =
13px; line-height: 18px;" class=3D"small">Travis</div><div =
style=3D"font-size: 13px; line-height: 18px;" class=3D"small"><br></div><di=
v style=3D"font-size: 13px; line-height: 18px;" class=3D"small"><br></div><=
div style=3D"font-size: 13px; line-height: 18px;" class=3D"small"><br></div=
><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Apr =
3, 2015 at 3:14 PM, Travis Aaberg <span dir=3D"ltr">&lt;<a =
href=3D"mailto:travis.aaberg@gmail.com" target=3D"_blank">travis.=
aaberg@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>



 =20
   =20
   =20
   =20
   =20
   =20
   =20
   =20
 =20

  <div style=3D"word-wrap:normal;word-break:break-word">

   =20
   =20
   =20
   =20
   =20
   =20
   =20
   =20

    <table lang=3D"container" =
border=3D"0" cellpadding=3D"0" cellspacing=3D"0" valign=3D"top" =
style=3D"max-width:600px!important;width:100%;margin-top:6px">
      <tbody><tr>
        <td valign=3D"top" style=3D"font-size:14px;line-h=
eight:1.5;color:#222;font-family:'Segoe UI','Helvetica Neue',Helvetica,=
'Calibri',Arial,sans-serif">

         =20
            <div =
style=3D"font-size:14px;line-height:1.5">Hi Caue,</div><div =
style=3D"font-size:14px;line-height:1.5"><br></div><div =
style=3D"font-size:14px;line-height:1.5">I wanted to check-in on the =
progress. Sorry I am having a hard time with Discourse and/or maybe the =
language barrier.</div><div style=3D"font-size:14px;line-height:1.=
5"><br></div><div style=3D"font-size:14px;line-height:1.5">I moved your =
code over to the main blog. It looks good for a few minutes but then =
disappeared. Can you please help.</div><div style=3D"font-size:14px;line-he=
ight:1.5"><br></div><div style=3D"font-size:14px;line-height:1.5">From what=
 I saw while it was active, there are a couple of things missing:</div><div=
 style=3D"font-size:14px;line-height:1.5"><br></div><div =
style=3D"font-size:14px;line-height:1.5">/blog<br>-Author photo<br>-Author =
title/bio<br>-H3 subtitle... how does this work?</div><div =
style=3D"font-size:14px;line-height:1.5"><br></div><div =
style=3D"font-size:14px;line-height:1.5">/blog-post<br>-photo should be =
above title (currently below)<br>-Author photo<br>-Author =
title/bio<br>-Share buttons at top<br>-H3 subtitle... again, how does this =
work?</div><div style=3D"font-size:14px;line-height:1.5"><br></div><div =
style=3D"font-size:14px;line-height:1.5">Could you please help with these =
issues soon? I think we are coming up on the 2 week mark this weekend.=
</div><div style=3D"font-size:14px;line-height:1.5"><br></div><div =
style=3D"font-size:14px;line-height:1.5">Also, for the sake of clarity (and=
 privacy) can we please just communicate over email?</div><div =
style=3D"font-size:14px;line-height:1.5"><br></div><div =
style=3D"font-size:14px;line-height:1.5">Thanks,</div><div =
style=3D"font-size:14px;line-height:1.5"><br></div><div =
style=3D"font-size:14px;line-height:1.5">Travis</div>

            <br>
              <div style=3D"border-top:1px solid #dde;font-weight:400">
                <table border=3D"0" cellpadding=3D"0" cellspacing=3D"0" =
valign=3D"top" style=3D"border-collapse:collapse">
                  =
<tbody><tr>
                    <td style=3D"padding-top:15px;font-size:13p=
x">
                      <span style=3D"display:block;font-family:'Segoe =
UI','Helvetica Neue',Helvetica,'Calibri',Arial,sans-serif">
                        Sent with <b style=3D"font-family:'Segoe UI',=
'Helvetica Neue',Helvetica,'Calibri',Arial,sans-serif"><u><a =
style=3D"text-decoration:underline;color:#0d52cb" href=3D"https://mixmax.=
com/s/92BKszDAZocEA9XY4" target=3D"_blank">Mixmax</a></u></b>
                      </span>
                    </td>
                  </tr>
              </tbody></table></div>
         =20
        </td>
      </tr>
    </tbody></table>
  </div>


</blockquote></div><br></div><img width=3D"0" height=3D"0" =
style=3D"border:0;  width:0px;  height:0px;" src=3D"https://app.mixmax.=
com/api/track/v2/uHEDoIurpFl6Yv91a/travis.aaberg%40gmail.=
com/ISbvNmL492ZlJ3YABHblhmI/ISbvNmL492ZlJ3YABHblhmI?sc=3Dfalse">

            <br>
              <div class=3D"signature" =
style=3D"border-top:1px solid #dde;  font-weight:400;">
                <table border=3D"0" cellpadding=3D"0" cellspacing=3D"0" =
valign=3D"top" style=3D"border-collapse:collapse;">
                  <tr>
                    <td class=3D"signature-text" style=3D"padding-top:15px;=
  font-size: 13px;">
                      <span style=3D"display:block; =
font-family:'Segoe UI', 'Helvetica Neue', Helvetica, 'Calibri', Arial, =
sans-serif;
              ">
                        Sent with <b =
style=3D"font-family:'Segoe UI', 'Helvetica Neue', Helvetica, 'Calibri', =
Arial, sans-serif;
              ;"><u><a style=3D"text-decoration:underlin=
e;  color:#0d52cb;" href=3D"https://mixmax.com/s/92BKszDAZocEA9XY4" =
target=3D"_blank">Mixmax</a></u></b>
                      </span>
                    </td>
                  </tr>
              =
</table></div>
          <!--[if mso]></td></tr></table><![endif]-->
        </td>
      </tr>
    </table>
  </body>
</html>

------sinikael-?=_1-14281108254580.10054589598439634--


opts:

(Caue Rego) #4

Second post due to # character limitation… Maybe I should just clip the header there, but I hope it is better to leave it a t full since I’m clueless on what could be causing this error.

Prior Event

backtrace

/var/www/discourse/lib/guardian/ensure_magic.rb:9:in `method_missing'
/var/www/discourse/lib/topic_creator.rb:83:in `setup_topic_params'
/var/www/discourse/lib/topic_creator.rb:17:in `create'
/var/www/discourse/lib/post_creator.rb:199:in `setup_topic'
/var/www/discourse/lib/post_creator.rb:80:in `block in create'
/var/www/discourse/lib/post_creator.rb:143:in `call'
/var/www/discourse/lib/post_creator.rb:143:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/transactions.rb:208:in `transaction'
/var/www/discourse/lib/post_creator.rb:141:in `transaction'
/var/www/discourse/lib/post_creator.rb:79:in `create'
/var/www/discourse/lib/email/receiver.rb:257:in `create_post'
/var/www/discourse/lib/email/receiver.rb:240:in `create_post_with_attachments'
/var/www/discourse/lib/email/receiver.rb:199:in `create_new_topic'
/var/www/discourse/lib/email/receiver.rb:70:in `process'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:25:in `handle_mail'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:88:in `block (2 levels) in poll_pop3'
/usr/local/lib/ruby/2.0.0/net/pop.rb:665:in `each'
/usr/local/lib/ruby/2.0.0/net/pop.rb:665:in `each_mail'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:87:in `block in poll_pop3'
/usr/local/lib/ruby/2.0.0/net/pop.rb:531:in `start'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:85:in `poll_pop3'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:18:in `execute'
/var/www/discourse/app/jobs/base.rb:153:in `block (2 levels) in perform'

env

current_db: default
current_hostname: talk.cregox.com
job: Jobs::PollMailbox
message: Unrecognized error type when processing incoming email
mail: Delivered-To: talk@cregox.com
Received: by 10.25.137.84 with SMTP id l81csp2262302lfd;
        Fri, 3 Apr 2015 15:14:51 -0700 (PDT)
X-Received: by 10.66.161.161 with SMTP id xt1mr7521807pab.35.1428099290563;
        Fri, 03 Apr 2015 15:14:50 -0700 (PDT)
Return-Path: <help+bncBCSKBA626YLBBVNB7SUAKGQEZBD5QAA@cregox.com>
Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com. [74.125.82.71])
        by mx.google.com with ESMTPS id gh3si13542562pbd.145.2015.04.03.15.14.49
        for <talk@cregox.com>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 03 Apr 2015 15:14:50 -0700 (PDT)
Received-SPF: neutral (google.com: 74.125.82.71 is neither permitted nor denied by domain of help+bncBCSKBA626YLBBVNB7SUAKGQEZBD5QAA@cregox.com) client-ip=74.125.82.71;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 74.125.82.71 is neither permitted nor denied by domain of help+bncBCSKBA626YLBBVNB7SUAKGQEZBD5QAA@cregox.com) smtp.mail=help+bncBCSKBA626YLBBVNB7SUAKGQEZBD5QAA@cregox.com;
       dmarc=fail (p=NONE dis=NONE) header.from=gmail.com
Received: by wgtj4 with SMTP id j4sf24943777wgt.0
        for <talk@cregox.com>; Fri, 03 Apr 2015 15:14:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:content-type:from:to:subject:message-id:date
         :mime-version:x-original-sender:x-original-authentication-results
         :precedence:mailing-list:list-id:list-help;
        bh=FvUDSq5MwQUrRz5OTHaSa9VceVAVI4IsUglxUCUTaq4=;
        b=R2QJimd8NvJ7MFjMwmTuSnM2rIxV2/v1PdLcbYEdkuECo+HaORGH+0EQ/d9cRjbkHs
         cqVDuwiRbmd5KMirsK0fhMXc1/3YabT1jxMeb5UdQe0V7uJqsWd0yvvXLJIp+zJP1gMj
         xVyvyPJr6lBNAKzw0Z73FWrHBo1tl1X52XdlOz9WaeQZA4B85aWD10EsYJo5xDN48H/F
         tWm5lOeF1SINddMiZdXrHwtM+A/X2haFxU/78RSK6Rsoxj9xYp7uIKYWmyZIlMROATJb
         l9lmgA0t7nUB+OcAleIJjKYbehCe/taw5P3miPuNAxcDULrEMq5oWQOJEQSt2YhqPkJW
         xNBA==
X-Gm-Message-State: ALoCoQnkM5pfQQCcsiGUL2Eg/Lu5L6aJZ0Ogi9E32Nex3yHaTVykWh7laTT9Ksk5v9b9VsMmR+18
X-Received: by 10.152.184.73 with SMTP id es9mr1012011lac.4.1428099285462;
        Fri, 03 Apr 2015 15:14:45 -0700 (PDT)
X-BeenThere: help@cregox.com
Received: by 10.181.29.6 with SMTP id js6ls190155wid.46.gmail; Fri, 03 Apr
 2015 15:14:45 -0700 (PDT)
X-Received: by 10.194.174.164 with SMTP id bt4mr8957035wjc.155.1428099285181;
        Fri, 03 Apr 2015 15:14:45 -0700 (PDT)
Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com. [2607:f8b0:400d:c01::234])
        by mx.google.com with ESMTPS id vr3si16483617wjc.56.2015.04.03.15.14.45
        for <help@cregox.com>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 03 Apr 2015 15:14:45 -0700 (PDT)
Received-SPF: pass (google.com: domain of travis.aaberg@gmail.com designates 2607:f8b0:400d:c01::234 as permitted sender) client-ip=2607:f8b0:400d:c01::234;
Received: by qcay5 with SMTP id y5so96732867qca.1
        for <help@cregox.com>; Fri, 03 Apr 2015 15:14:44 -0700 (PDT)
X-Received: by 10.55.40.215 with SMTP id o84mr7901156qko.93.1428099284035;
        Fri, 03 Apr 2015 15:14:44 -0700 (PDT)
Received: from [127.0.0.1] (ec2-54-85-60-240.compute-1.amazonaws.com. [54.85.60.240])
        by mx.google.com with ESMTPSA id f90sm1472273qkf.14.2015.04.03.15.14.43
        for <help@cregox.com>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 03 Apr 2015 15:14:43 -0700 (PDT)
Content-Type: multipart/alternative;
 boundary="----sinikael-?=_1-14280992830840.9702530007343739"
From: Travis Aaberg <travis.aaberg@gmail.com>
To: help@cregox.com
Subject: Moving this project along...
Message-Id: <1428099283081-f1411f17-b69a0d48-299e0412@mixmax.com>
X-Mailer: Mixmax (mixmax.com)
Date: Fri, 03 Apr 2015 22:14:43 +0000
MIME-Version: 1.0
X-Original-Sender: travis.aaberg@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of travis.aaberg@gmail.com designates 2607:f8b0:400d:c01::234 as
 permitted sender) smtp.mail=travis.aaberg@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list help@cregox.com; contact help+owners@cregox.com
List-ID: <help.cregox.com>
X-Google-Group-Id: 688618247272
List-Help: <http://support.google.com/a/cregox.com/bin/topic.py&topic=25838>, <mailto:help+help@cregox.com>

------sinikael-?=_1-14280992830840.9702530007343739
Content-Type: text/plain; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi Caue,
I wanted to check-in on the progress. Sorry I am having a hard =
time with
Discourse and/or maybe the language barrier.
I moved your code over to the main blog. It looks good for a few minutes =
but
then disappeared. Can you please help.
From what I saw while it was =
active, there are a couple of things missing:
/blog
-Author photo
-Author title/bio
-H3 subtitle... how does this work?
/blog-post
-photo should be above title (currently below)
-Author photo
-Author title/bio
-Share buttons at top
-H3 subtitle... again, how does =
this work?
Could you please help with these issues soon? I think we are =
coming up on the 2
week mark this weekend.
Also, for the sake of clarity =
(and privacy) can we please just communicate over
email?
Thanks,
Travis[https://app.mixmax.com/api/track/v2/IqrQCIL46XKKaCyJn/travis.=
aaberg%40gmail.com/ISbvNmL492ZlJ3YABHblhmI/?sc=3Dfalse]
Sent with Mixmax [https://mixmax.=
com/s/92BKszDAZocEA9XY4]
------sinikael-?=_1-14280992830840.9702530007343739
Content-Type: text/html; format=flowed
Content-Transfer-Encoding: quoted-printable


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www=
.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns=3D"http://www.=
w3.org/1999/xhtml" xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office">

  <head>
    <meta name=3D"viewport" content=3D"width=3Ddevice-width, =
initial-scale=3D1.0">
   =20
   =20
    <!--[if gte mso 9]>
    <xml>
      <o:OfficeDocumentSettings>
        <o:AllowPNG/>
        <o:PixelsPerInch>96</o:PixelsPerInch>
     </o:OfficeDocumentSettin=
gs>
    </xml>
    <![endif]-->
   =20
   =20
    <style =
type=3D"text/css">table {border-collapse:collapse;}* =
a:hover{cursor:pointer;}img {width:auto;}* [lang~=3D"preview-card"],.=
preview-card {display:block;margin:0;width:100%;font-size:0;}* =
[lang~=3D"interactive-card"],.interactive-card {display:none !important;}* =
[lang~=3D"brand-pinterest"] {width:280px !important;}form {border:0 !=
important;margin:0 !important;padding:0 0 8px 0 !important;font-size:0;}for=
m >div {display:inline-block;width:50%;}form td {padding-right:6px;font-fam=
ily:'proxima-nova','Avenir Next','Segoe UI','Calibri','Helvetica Neue',=
Helvetica,Arial,sans-serif;}fieldset {border:1px solid #ccd !=
important;padding:6px 5px 5px 0 !important;border-radius:4px !=
important;padding-right:20px;margin:0;width:auto;}input =
{background:none;outline:none !important;min-height:25px;padding:0 =
10px;border:none;margin:0;width:100%;box-sizing:border-box;}* =
[lang~=3D"column-wrapper-first"],div.column-wrapper-first =
{display:inline-block;width:30%;vertical-align:top;padding:8px 16px 4px 8px=
 !important;}* [lang~=3D"column-wrapper-second"],div.column-wrapper-second =
{display:inline-block;width:60%;vertical-align:top;padding:4px 0 4px 0;}* =
[lang~=3D"column-wrapper-only"],div.column-wrapper-only {padding:8px 8px =
4px 8px !important;}</style>
  </head>

  <body yahoo=3D"fix" =
style=3D"word-wrap:normal;  word-break:break-word;">

    <style></style>
   =20
    <!--[if (gte mso 9)|(IE)]>
      <style>body {font-family:'Segoe=
 UI','Calibri',Arial,sans-serif !important;}a {font-family:'Segoe UI',=
'Calibri',Arial,sans-serif !important;}p {line-height:24px;margin-left:3px =
!important;}h1,h2,h3 {padding-left:3px;}img {border:none !=
important;-ms-interpolation-mode:bicubic;}.container,.message-wrapper  =
{width:600px !important;}.p {line-height:22px;mso-line-height-rule:exactly =
!important;}td {mso-line-height-rule:exactly !important;}table.=
mso-card-outer {width:580px !important;margin-bottom:15px !important;}table=
.border-outer {width:580px !important;margin-bottom:15px !important;}table.=
mso-card-outer-pinterest {width:274px !important;margin-bottom:15px !=
important;}td.mso-card-inner table {border-collapse:collapse !=
important;mso-table-lspace:0pt;mso-table-rspace:0pt;vertical-align:top;}.=
border-outer,.border-middle,.border-inner {border:none !important;}.=
mso-border-outer,.mso-border-middle,.mso-border-inner {padding:1px;}.=
mso-border-outer {background-color:rgb(245,255,255);}.mso-border-middle =
{background-color:rgb(223,246,255);}.mso-border-inner =
{background-color:rgb(153,176,225);}.preview-card {margin-bottom:0 !=
important;padding:0 !important;}.column-wrapper-first {margin:0;}.=
column-only {padding:8px 8px 4px 8px;}.column-first {padding:8px 16px 8px =
8px;}.mso-column-wrapper-only {width:100% !important;}.outlook-only =
{display:block !important;max-height:none !important;overflow:visible !=
important;}.outlook-com-only {display:none;}</style>
    <![endif]-->
   =20
   =20
    <style>.column-wrapper {vertical-align:top;}a =
{word-wrap:normal;word-break:break-word;}@media only screen and =
(max-width:600px) {.container[not-yahoo] {-webkit-text-size-adjust:none !=
important;}.container[not-yahoo] {width:100% !important;min-width:100% !=
important;}.container[not-yahoo] [class=3D"border-outer"],.=
container[not-yahoo] [class=3D"border-middle"],.container[not-yahoo] =
[class=3D"border-inner"] {width:100% !important;}.container[not-yahoo] =
[class=3D"inner"] {width:100% !important;}.container[not-yahoo] =
[class=3D"innercell"] {padding:10px !important;}.container[not-yahoo] .=
palm-one-whole {width:100% !important;min-width:100% !important;}.=
container[not-yahoo] .palm-block {display:block !important;}.=
container[not-yahoo] td.palm-one-whole {display:inline-block !=
important;padding:0;}.container[not-yahoo] td.palm-one-whole:first-child:no=
t(:only-child) {margin-bottom:16px;}.container[not-yahoo] td.hostname =
{padding-top:3px !important;}.container[not-yahoo] div.column-wrapper-first=
 {display:block;padding:inherit !important;width:100% !important;}.=
container[not-yahoo] div.column-wrapper-second {display:block;padding:inher=
it !important;width:100% !important;}.container[not-yahoo] div.=
column-wrapper-only {padding:0 !important;}}@media only screen and =
(min-width:601px) {.container[not-yahoo] {width:600px !important;}}@media =
only screen and (min-device-width :320px) and (max-device-width :568px),=
only screen and (min-device-width :768px) and (max-device-width :1024px),=
only screen and (max-device-width:640px),only screen and =
(max-device-width:667px),only screen and (max-width:480px){table[class=3D"c=
ontainer"] {width:100% !important;min-width:100% !important;}.=
container[not-yahoo] .p,.container[not-yahoo] .small,.container[not-yahoo] =
li {font-size:17px !important;line-height:1.5 !important;}audio =
{margin-bottom:10px;}.container[not-yahoo] [lang~=3D"brand-pinterest"] =
{width:100% !important;}}@media only screen and (min-width:601px) {.=
container[not-yahoo] table[class=3D"container"] {width:600px !=
important;}}@media only screen and (min-device-width :320px) and =
(max-device-width :568px),only screen and (min-device-width :768px) and =
(max-device-width :1024px),only screen and (min-device-width :1224px)  {.=
container[not-yahoo] {}.container[not-yahoo] .message-wrapper =
{padding-top:8px;}audio::-webkit-media-controls-panel =
{-webkit-appearance:none !important;background-color:#ff571b;border-radius:=
2px;}audio::-webkit-media-controls-rewind-button {display:none !important;}=
.container[not-yahoo] .apple-only[style] {display:block !=
important;max-height:none !important;line-height:normal !=
important;overflow:visible !important;height:auto !important;width:100% !=
important;position:relative !important;}.ExternalClass .ecxapple-only =
{display:none !important;}.container[not-yahoo] .no-apple {display:none !=
important;}.container[not-yahoo] .no-apple {display:block;}.=
container[not-yahoo] form {width:100%;font-size:inherit;padding:0 0 8px 0!=
important;}.container[not-yahoo] form td {}.container[not-yahoo] form =
select {}.container[not-yahoo] form fieldset {padding:0 !=
important;height:45px;}.container[not-yahoo] form input =
{height:43px;padding-left:4px !important;}.container[not-yahoo] form =
button:hover {cursor:pointer;}.container[not-yahoo] .form-row =
{font-size:0;}.container[not-yahoo] .form-row >.form-column =
{display:inline-block;width:50%;}.container[not-yahoo] .quality fieldset =
{width:40% !important;}.container[not-yahoo] .zip fieldset {width:40% !=
important;}@media only screen and (min-device-width :1224px)  {.=
apple-mail-form {display:block !important;background-color:white !=
important;}}}</style>
   =20
    <style>.ExternalClass p,.ExternalClass =
font,.ExternalClass td {margin:0 !important;}.ExternalClass {width:100%;}.=
ExternalClass .ecxcolumn-wrapper-second {width:60% !important;}.=
ExternalClass .ecxcolumn-wrapper-first {padding-top:6px !=
important;padding-left:6px !important;}.ExternalClass .ecxlabels =
{display:none !important;}.ExternalClass .ecxarrow {display:none !=
important;}.ExternalClass .h1 {padding-bottom:5px;}.ExternalClass .h2 =
{padding-bottom:5px;}.ExternalClass .h3 {padding-bottom:5px;}.ExternalClass=
 .outlook-com-hidden {display:none !important;}.ExternalClass .=
outlook-com-button {display:block;}.ExternalClass .outlook-com-only =
{display:block !important;max-height:none !important;line-height:normal !=
important;overflow:visible !important;height:auto !important;width:100% !=
important;position:relative !important;}.ExternalClass .outlook-only =
{display:block !important;max-height:none !important;overflow:visible !=
important;}.ExternalClass [lang=3D"brand-pinterest"] {width:280px !=
important;}.ExternalClass cite >div + div {padding:0 0 4px 0;}.=
ExternalClass button {height:auto;}</style>

    <table class=3D"container"=
 lang=3D"container" not-yahoo=3D"fix" border=3D"0" cellpadding=3D"0" =
cellspacing=3D"0" valign=3D"top" style=3D"max-width:600px !important; =
width:100%;  margin-top:6px;">
      <tr>
        <td valign=3D"top" =
class=3D"message-wrapper" style=3D"font-size: 14px;  line-height: 1.5;  =
color: #222; font-family:'Segoe UI', 'Helvetica Neue', Helvetica, 'Calibri'=
, Arial, sans-serif;
;">

          <!--[if mso]><table=20
  border=3D"0" cellpadding=3D"0" cellspacing=3D"0" valign=3D"top" =
style=3D"border-collapse:collapse; width:600px"
><tr><td valign=3D"top"><!=
[endif]-->
            <div style=3D"font-size: 14px; line-height: 1.5; " =
class=3D"p">Hi Caue,</div><div style=3D"font-size: 14px; line-height: 1.5; =
" class=3D"p"><br></div><div style=3D"font-size: 14px; line-height: 1.5; " =
class=3D"p">I wanted to check-in on the progress. Sorry I am having a hard =
time with Discourse and/or maybe the language barrier.</div><div =
style=3D"font-size: 14px; line-height: 1.5; " class=3D"p"><br></div><div =
style=3D"font-size: 14px; line-height: 1.5; " class=3D"p">I moved your code=
 over to the main blog. It looks good for a few minutes but then =
disappeared. Can you please help.</div><div style=3D"font-size: 14px; =
line-height: 1.5; " class=3D"p"><br></div><div style=3D"font-size: 14px; =
line-height: 1.5; " class=3D"p">From what I saw while it was active, there =
are a couple of things missing:</div><div style=3D"font-size: 14px; =
line-height: 1.5; " class=3D"p"><br></div><div style=3D"font-size: 14px; =
line-height: 1.5; " class=3D"p">/blog<br>-Author photo<br>-Author =
title/bio<br>-H3 subtitle... how does this work?</div><div =
style=3D"font-size: 14px; line-height: 1.5; " class=3D"p"><br></div><div =
style=3D"font-size: 14px; line-height: 1.5; " class=3D"p">/blog-post<br>-ph=
oto should be above title (currently below)<br>-Author photo<br>-Author =
title/bio<br>-Share buttons at top<br>-H3 subtitle... again, how does this =
work?</div><div style=3D"font-size: 14px; line-height: 1.5; " =
class=3D"p"><br></div><div style=3D"font-size: 14px; line-height: 1.5; " =
class=3D"p">Could you please help with these issues soon? I think we are =
coming up on the 2 week mark this weekend.</div><div style=3D"font-size: =
14px; line-height: 1.5; " class=3D"p"><br></div><div style=3D"font-size: =
14px; line-height: 1.5; " class=3D"p">Also, for the sake of clarity (and =
privacy) can we please just communicate over email?</div><div =
style=3D"font-size: 14px; line-height: 1.5; " class=3D"p"><br></div><div =
style=3D"font-size: 14px; line-height: 1.5; " class=3D"p">Thanks,</div><div=
 style=3D"font-size: 14px; line-height: 1.5; " class=3D"p"><br></div><div =
style=3D"font-size: 14px; line-height: 1.5; " class=3D"p">Travis</div><img =
width=3D"0" height=3D"0" style=3D"border:0;  width:0px;  height:0px;" =
src=3D"https://app.mixmax.com/api/track/v2/IqrQCIL46XKKaCyJn/travis.=
aaberg%40gmail.com/ISbvNmL492ZlJ3YABHblhmI/?sc=3Dfalse">

            <br>
              <div class=3D"signature" style=3D"border-top:1px solid #dde; =
 font-weight:400;">
                <table border=3D"0" cellpadding=3D"0" =
cellspacing=3D"0" valign=3D"top" style=3D"border-collapse:collapse;">
                  <tr>
                    <td class=3D"signature-text" =
style=3D"padding-top:15px;  font-size: 13px;">
                      <span =
style=3D"display:block; font-family:'Segoe UI', 'Helvetica Neue', Helvetica=
, 'Calibri', Arial, sans-serif;
              ">
                        =
Sent with <b style=3D"font-family:'Segoe UI', 'Helvetica Neue', Helvetica, =
'Calibri', Arial, sans-serif;
              ;"><u><a =
style=3D"text-decoration:underline;  color:#0d52cb;" href=3D"https://mixmax=
.com/s/92BKszDAZocEA9XY4" target=3D"_blank">Mixmax</a></u></b>
                      </span>
                    </td>
                  </tr>
              </table></div>
          <!--[if mso]></td></tr></table><![endif]-->
        </td>
      </tr>
    </table>
  </body>
</html>

------sinikael-?=_1-14280992830840.9702530007343739--


opts:

(Jeff Atwood) #5

Maybe @techapj can take a peek and see what is going on with these, any advice @techapj?


(Kane York) #6
  1. What is the email-in category that has this email address?
  2. Would the user be able to create a topic in that category?

@techapj add a condition for Discourse::InvalidAccess in poll_mailbox I think


(Arpit Jalan) #7

This error indicates that user does not have the privilege to create topic in that category.

I added an automated email response to notify user that his topic was not posted:

https://github.com/discourse/discourse/pull/3361


(Caue Rego) #8

Interesting, that’s the case indeed. But it’s not that simple…

I’ve set the category to Accept emails from anonymous users with no accounts but at the same time I wanted it to be a private inbox so under Security I’ve allowed only admins. That worked fine for non-users, so I find it odd once they become users they can’t email in there anymore.

So, I think there could be more to it than simply giving a warning back to the user if you consider this usage case as valid.

Just to be clear:

The email there is indeed help@cregox.com and I assumed users were able to create topics in it, since anonymous emails can. I see this is not true now. Damn!

( This triggered me to find another “bug” )

Mind if I ask how you saw that was the issue from this log? Or even more, how could I have seen it?


(Kane York) #9

I thought about the email receiver pipeline and thought, “What could have thrown Discourse::InvalidAccess in topic_creator#create with the message can_create? failed?”


(Jeff Atwood) #10