"Send New Messages" produces error.

Bug #242540 reported by Jonathan Mark
2
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-->Statistics-->Send Messages Now

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_standard
    * Module ZPublisher.Publish, line 150, in publish
    * Module plone.app.linkintegrity.monkey, line 21, in zpublisher_exception_hook_wrapper
    * Module Zope2.App.startup, line 187, in zpublisher_exception_hook
    * Module Products.SiteErrorLog.SiteErrorLog, line 216, in raising
    * Module Products.SiteErrorLog.SiteErrorLog, line 227, in _do_copy_to_zlog
    * 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

Revision history for this message
Daniel Nouri (daniel.nouri) wrote :

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?

Changed in singing-dancing:
assignee: nobody → daniel.nouri
Revision history for this message
Daniel Nouri (daniel.nouri) wrote :

Marking this incomplete, since we haven't gotten back feedback, so I'm assuming it's not really a problem with S&D.

Changed in singing-dancing:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.