"Send New Messages" produces error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Singing & Dancing |
Incomplete
|
Undecided
|
Daniel Nouri |
Bug Description
S+D 4
Plone 3.1.2
Centos 4.6
Click on "Send As Newsletter" on the front page.
Go to Control Panel-->Configure S+D-->Statistic
RESULT: Messages not listed as sent in sent messages total.
Click on "Send New Messages"
RESULT:
Site Error
An error was encountered while publishing this resource.
exceptions.IOError
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 202, in publish_
* Module ZPublisher.Publish, line 150, in publish
* Module plone.app.
* Module Zope2.App.startup, line 187, in zpublisher_
* Module Products.
* Module Products.
* Module logging, line 999, in error
* Module logging, line 1079, in _log
* Module logging, line 1089, in handle
* Module logging, line 1126, in callHandlers
* Module logging, line 642, in handle
* Module logging, line 744, in emit
* Module logging, line 693, in handleError
* Module traceback, line 124, in print_exception
* Module traceback, line 13, in _print
IOError: [Errno 5] Input/output error
Thanks for your report.
I think there's two issues here. One is the known issue that the Statistics screen doesn't update its table after a form action was executed. We should simply redirect to the current URL here to get the refreshed screen. You can check by hitting enter in the address bar after you send a message out; the number of sent out messages will be updated. We'll need to address this eventually, as it's a source of confusion. Let's create another ticket for this once we've figured out the other error in this report.
The other error is with the IOError, which I haven't seen before. I tried to reproduce this, following your steps, but couldn't. It looks like Zope has trouble writing to the error log while trying to print information about an exception. How are you running Zope? In particular, which options do you use to run Zope? Are you sure that the user you're running Zope with can write to the var directory in the buildout?