(Wed, May 30, 2007 at 10:31:31AM +0100) Ben Lobo wrote/schrieb/egrapse:
Thanks for the tip. I tried increasing the swap file to 10GB but still got
the same memory error.
Some operating systems limit the amount of RAM a single process can
consume. Sometimes that amount can be adjusted. Also
Thanks ;) but it's no really what I want sorry
I work like that :
__
|ZMI(zope 2.7)|
| |
|Product : Document, my_product...| Export script
| |-- A file with all data
Maybe I can cut and paste each product(object) from /SITES/Plone_site/
to /SITES/Plone_site/goodDirectory
But I don't find how cut and paste an object in zope with a python script.
Could you help me :)
Tahnks
Julian
___
Zope maillist -
The import script run very well, I transform each line of the text
file to a correspondant product as zope2.7. But I want put each new
product in the same repertory as zope 2.7. So how say to each product
in my import script where it must be copy.
Why don't you just export object path along
I'm now considering exporting the Plone site (cos that's what it is) one
piece at a time and reimporting it into a clean Plone site. Any thoughts
on
whether or not this is a good idea?
Not mentioning Plone in the first place is problematic. In fact *plone*
is problematic. Did you verify
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 31 May 2007, at 13:56, Ben Lobo wrote:
Someone in this thread asked why I'm doing this export in the first
place: I
want to import it back into zope but into a separate storage file
so that I
can back it up separately from the main storage.
I am using zope 2.9, python 3.4. when I have a bug in my python I get
Uncaptured Python Exception coming from zope.
This is a nightmare. I have spent hours trying to trace down the simplest
typos that would have been instantly reported in any other development
environment.
How do I get
- Original Message -
From: Jon Emmons [EMAIL PROTECTED]
To: zope@zope.org
Sent: Thursday, May 31, 2007 9:58 AM
Subject: [Zope] Uncaptured python exception
I am using zope 2.9, python 3.4. when I have a bug in my python I get
Uncaptured Python Exception coming from zope.
This is a
Oops, my bad.
Python is 2.4.4. (not 3.4) perhaps my python needs to be moved back a bit.
I don't get any error in the error log from the zope admin, just this
cryptic msg from the window that zope is running in.
2007-05-31 09:48:49 ERROR ZServer uncaptured python exception, closing
channel
On 5/31/07, Jon Emmons [EMAIL PROTECTED] wrote:
I don't get any error in the error log from the zope admin, just this
cryptic msg from the window that zope is running in.
2007-05-31 09:48:49 ERROR ZServer uncaptured python exception, closing
channel ZServer.HTTPServer.zhttp_channel connected
Thanks all for your help.
I guess I was worried about nothing. Previous versions of zope did not
generate those messages.
I thought it was why I was getting no zope error at all with runtime errors.
I still don't know why python errors will just quietly cause things to fail
with no zope error
On Thu, May 31, 2007 at 09:55:26AM +0200, Sascha Welter wrote:
... Did you verify with plohn people (e.g. on a Plone
mailing list) that current plone versions can be imported/exported?
(Because the last time I made the mistake to do a project with
plone you couldn't import/export a plone site
--On 31. Mai 2007 11:06:17 -0400 Jon Emmons [EMAIL PROTECTED]
wrote:
Thanks all for your help.
I guess I was worried about nothing. Previous versions of zope did not
generate those messages.
Nonsense. Such error messages are shown by Zope since ages.
I thought it was why I was
- Original Message -
From: Jon Emmons [EMAIL PROTECTED]
To: 'Andreas Jung' [EMAIL PROTECTED]; 'Jonathan' [EMAIL PROTECTED];
zope@zope.org
Sent: Thursday, May 31, 2007 11:06 AM
Subject: RE: [Zope] Uncaptured python exception
I still don't know why python errors will just quietly
Sometimes, I do get those errors.
But if I take a working piece of python and stick in a sabotage statement
like:
Var1 = var2
Where var2 is undefined (i.e. has never been assigned anything)
Just silent failure. No error.
Jon
-Original Message-
From: Jonathan [mailto:[EMAIL
Very thanks !!! :)
It's exactly the good method, thanks
Julian
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Var1 = var2
Where var2 is undefined (i.e. has never been assigned anything)
Just silent failure. No error.
So how do you know there is a failure then?
There is really nothing in event.log and nothing in error_log?
--
Maciej Wisniowski
___
Zope
I just use Adobe Labs Spry Framework... this effectively puts the paging in
javascript.
On 5/31/07, Programmer [EMAIL PROTECTED] wrote:
Hi Jonathan,
I have something similar to your idea already. The python script
supplies page number to a stored procedure which handles the actual
paging. The
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jon Emmons wrote:
Sometimes, I do get those errors.
But if I take a working piece of python and stick in a sabotage statement
like:
Var1 = var2
Where var2 is undefined (i.e. has never been assigned anything)
Just silent failure. No
You know I had considered using JS for dealing with this. It does make
it much easier to change the CSS on your links to indicate current page
and such. I might look into this again. Thanks!
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
SpiderX
The example 'var1 = var2' should cause the NameError exception.
NameError: name 'var2' is not defined
You might want to check your 'error log' objects for the error messages. If
you don't have an error log object, it might be a good idea to create one.
On 5/31/07, Maciej Wisniowski [EMAIL
julian wrote at 2007-5-30 18:00 +0200:
...
I have made some python scripts to export data of some zope2.7 products
in text file, and I have made some scripts to import theses data to
rebuild products in zope2.9. Theses scripts run very well.
But my problem is that all product that is rebuilt
Jon Emmons wrote at 2007-5-31 11:06 -0400:
...
I still don't know why python errors will just quietly cause things to fail
with no zope error at all. Nothing... That may be something I just have to
live with. Very difficult to debug and develop with though.
This is a *very* unusual behaviour
Please help me.
I have received and blocked 284 unsliced emails all from different zope based
email addresses.
Please remove me from your computers.
I have regretted ever hearing your name.
[EMAIL PROTECTED]
-
Building a website is a piece of
This is curious...
The problem I had with the searchterms not getting carried across pages
seems to have gone away. Here's what I changed. The two search forms are
separate dtml-methods and still are but I've included them into the main
page template like I originally planned. Something like
Joachim Schmitz schrieb:
I could reproduce the conflict error on my local machine not using ZEO.
I invoked the longrunning process create_level for two users after a
zope-restart.
here is the log:
2007-05-31 09:44:24 INFO Zope Ready to handle requests
2007-05-31 09:44:39 INFO
I deleted the created objects and repeated the test:
2007-05-31 12:46:12 ERROR Zope.ZCatalog uncatalogObject unsuccessfully
attempted to uncatalog an object with a uid of
/uniben/campus/students/A923157/study_course/200/ZOO213.
2007-05-31 12:47:05 INFO Skins.create_level Y617041 started to
Summary of messages to the zope-tests list.
Period Wed May 30 12:00:00 2007 UTC to Thu May 31 12:00:00 2007 UTC.
There were 5 messages: 5 from Zope Unit Tests.
Tests passed OK
---
Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Wed May 30 20:52:11 EDT 2007
Joachim Schmitz wrote at 2007-5-31 12:07 +0200:
...
2007-05-31 09:45:06 INFO Skins.create_level A923157 finished to create
level 200
Now the conflict error, look at the transaction start-time, this is
before the restart of zope !!
You are probably tricked out here: the serials are in fact UTC
Dieter Maurer schrieb:
Joachim Schmitz wrote at 2007-5-31 12:07 +0200:
...
2007-05-31 09:45:06 INFO Skins.create_level A923157 finished to create
level 200
Now the conflict error, look at the transaction start-time, this is
before the restart of zope !!
You are probably tricked out here:
Hi,
I was able to locate the places in the Zope-sources where the conflict
error is triggered. On my local system it's in
ZODB.FileStorage in the store-method there is
if serial != cached_tid:
rdata = self.tryToResolveConflict(oid, cached_tid,serial, data)
in the tryToResolveConflict
resolve bound method Length._p_resolveConflict of BTrees.Length.Length
object at 0xb28fff6c
resolve built-in method _p_resolveConflict of BTrees._OIBTree.OIBucket
object at 0xb1b81224
resolve built-in method _p_resolveConflict of BTrees._OIBTree.OIBucket
object at 0xb1b81224
resolve
32 matches
Mail list logo