On Sunday 28 January 2007 12:23, Florian Lindner wrote:
exceptions.ValueError: I/O operation on closed file
any idea what caused it?
I think you violate the transaction mechanism. I think it would be easier to
make a call via the publisher.
Regards,
Stephan
--
Stephan Richter
CBU Physics
Am Donnerstag, 8. März 2007 20:10 schrieb Stephan Richter:
On Sunday 28 January 2007 12:23, Florian Lindner wrote:
exceptions.ValueError: I/O operation on closed file
any idea what caused it?
I think you violate the transaction mechanism. I think it would be easier
to make a call via
Am Montag, 22. Januar 2007 08:32 schrieb Christian Theune:
Hi,
Am Sonntag, den 21.01.2007, 14:44 +0100 schrieb Florian Lindner:
Hello,
I am in a function that has no context and want to set a site.
The function is called periodically from a scheduler:
from scheduler import loop
Am Montag, 22. Januar 2007 09:40 schrieb FB:
Hi,
On Mon, Jan 22, 2007 at 08:32:21AM +0100, Christian Theune wrote:
[snip]
You'd have to open a connection to the database, get the root object and
use that with setSite(). I don't have the complete spelling for that in
my head though.
Hi,
On Mon, Jan 22, 2007 at 08:32:21AM +0100, Christian Theune wrote:
[snip]
You'd have to open a connection to the database, get the root object and
use that with setSite(). I don't have the complete spelling for that in
my head though.
db = zapi.getUtility(IDatabase)
conn=db.open()
Am Montag, 22. Januar 2007 08:32 schrieb Christian Theune:
Hi,
Am Sonntag, den 21.01.2007, 14:44 +0100 schrieb Florian Lindner:
Hello,
I am in a function that has no context and want to set a site.
The function is called periodically from a scheduler:
from scheduler import loop
Hi,
Am Sonntag, den 21.01.2007, 14:44 +0100 schrieb Florian Lindner:
Hello,
I am in a function that has no context and want to set a site.
The function is called periodically from a scheduler:
from scheduler import loop
def onStartup(event):
refresher =