I got my "Bloog" up at http://tombrander.appspot.com/ But the contact me and comments seem to be broken, Both may be due to
some sort of permission issue?
1. When I try to post a comment as a user it says "Sorry, could not
save comment!"
then when I look at the database I see the comment, I see a Invalid
user error on the log.
And then I noticed that after I did that it seems that it actually
"posted" the comment and now it shows? See site!
Log file:
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 500, in __call__
handler.post(*groups)
File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
restful.py", line 124, in redirect_if_needed
handler_method(self, *args, **kwargs)
File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
bloog/blog.py", line 487, in post
process_comment_submission(self, article)
File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
bloog/blog.py", line 301, in process_comment_submission
body=body)
File "/base/python_lib/versions/1/google/appengine/api/mail.py",
line 205, in send_mail
message.send(make_sync_call)
File "/base/python_lib/versions/1/google/appengine/api/mail.py",
line 477, in send
raise ERROR_MAP[e.application_error](e.error_detail)
InvalidSenderError
2.The contact me email does not function the google log indicates
invalid sender. I placed my gmail address in the config.py file...I
get:
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this
error message and the query that caused it.
the log shows
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 500, in __call__
handler.post(*groups)
File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
bloog/contact.py", line 69, in post
body = self.request.get('message') or 'No Message Given'
File "/base/python_lib/versions/1/google/appengine/api/mail.py",
line 205, in send_mail
message.send(make_sync_call)
File "/base/python_lib/versions/1/google/appengine/api/mail.py",
line 477, in send
raise ERROR_MAP[e.application_error](e.error_detail)
InvalidSenderError
3. Is there an interface for approving/deleting comments or should I
just do it via the database interface on the GAE console?
> I got my "Bloog" up athttp://tombrander.appspot.com/ > But the contact me and comments seem to be broken, Both may be due to
> some sort of permission issue?
> 1. When I try to post a comment as a user it says "Sorry, could not
> save comment!"
> then when I look at the database I see the comment, I see a Invalid
> user error on the log.
> And then I noticed that after I did that it seems that it actually
> "posted" the comment and now it shows? See site!
> Log file:
> Traceback (most recent call last):
> File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> __init__.py", line 500, in __call__
> handler.post(*groups)
> File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
> restful.py", line 124, in redirect_if_needed
> handler_method(self, *args, **kwargs)
> File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
> bloog/blog.py", line 487, in post
> process_comment_submission(self, article)
> File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
> bloog/blog.py", line 301, in process_comment_submission
> body=body)
> File "/base/python_lib/versions/1/google/appengine/api/mail.py",
> line 205, in send_mail
> message.send(make_sync_call)
> File "/base/python_lib/versions/1/google/appengine/api/mail.py",
> line 477, in send
> raise ERROR_MAP[e.application_error](e.error_detail)
> InvalidSenderError
You need to set the email address you use for the App Engine admin
account in the configuration file. The error is happening when it
attempts to send you an email to notify you of a new comment on your
blog.
> 2.The contact me email does not function the google log indicates
> invalid sender. I placed my gmail address in the config.py file...I
> get:
> Error: Server Error
> The server encountered an error and could not complete your request.
> If the problem persists, please report your problem and mention this
> error message and the query that caused it.
> the log shows
> Traceback (most recent call last):
> File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> __init__.py", line 500, in __call__
> handler.post(*groups)
> File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
> bloog/contact.py", line 69, in post
> body = self.request.get('message') or 'No Message Given'
> File "/base/python_lib/versions/1/google/appengine/api/mail.py",
> line 205, in send_mail
> message.send(make_sync_call)
> File "/base/python_lib/versions/1/google/appengine/api/mail.py",
> line 477, in send
> raise ERROR_MAP[e.application_error](e.error_detail)
> InvalidSenderError
See above: The email you specify needs to be one of the administrators
of the blog.
> 3. Is there an interface for approving/deleting comments or should I
> just do it via the database interface on the GAE console?
You should be able to delete offending comments from the blog when
logged in as an administrator.
> On Jan 19, 7:48 pm, dartdog <tombran...@tombrander.com> wrote:
> > I got my "Bloog" up athttp://tombrander.appspot.com/ > > But the contact me and comments seem to be broken, Both may be due to
> > some sort of permission issue?
> > 1. When I try to post a comment as a user it says "Sorry, could not
> > save comment!"
> > then when I look at the database I see the comment, I see a Invalid
> > user error on the log.
> > And then I noticed that after I did that it seems that it actually
> > "posted" the comment and now it shows? See site!
> > Log file:
> > Traceback (most recent call last):
> > File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> > __init__.py", line 500, in __call__
> > handler.post(*groups)
> > File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
> > restful.py", line 124, in redirect_if_needed
> > handler_method(self, *args, **kwargs)
> > File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
> > bloog/blog.py", line 487, in post
> > process_comment_submission(self, article)
> > File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
> > bloog/blog.py", line 301, in process_comment_submission
> > body=body)
> > File "/base/python_lib/versions/1/google/appengine/api/mail.py",
> > line 205, in send_mail
> > message.send(make_sync_call)
> > File "/base/python_lib/versions/1/google/appengine/api/mail.py",
> > line 477, in send
> > raise ERROR_MAP[e.application_error](e.error_detail)
> > InvalidSenderError
> You need to set the email address you use for the App Engine admin
> account in the configuration file. The error is happening when it
> attempts to send you an email to notify you of a new comment on your
> blog.
> > 2.The contact me email does not function the google log indicates
> > invalid sender. I placed my gmail address in the config.py file...I
> > get:
> > Error: Server Error
> > The server encountered an error and could not complete your request.
> > If the problem persists, please report your problem and mention this
> > error message and the query that caused it.
> > the log shows
> > Traceback (most recent call last):
> > File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> > __init__.py", line 500, in __call__
> > handler.post(*groups)
> > File "/base/data/home/apps/tombrander/1.330800760338252358/handlers/
> > bloog/contact.py", line 69, in post
> > body = self.request.get('message') or 'No Message Given'
> > File "/base/python_lib/versions/1/google/appengine/api/mail.py",
> > line 205, in send_mail
> > message.send(make_sync_call)
> > File "/base/python_lib/versions/1/google/appengine/api/mail.py",
> > line 477, in send
> > raise ERROR_MAP[e.application_error](e.error_detail)
> > InvalidSenderError
> See above: The email you specify needs to be one of the administrators
> of the blog.
> > 3. Is there an interface for approving/deleting comments or should I
> > just do it via the database interface on the GAE console?
> You should be able to delete offending comments from the blog when
> logged in as an administrator.