called from
somewhere else etc.)
So any Page Template experts here who can confirm this?
cheers,
Christian
--
Christian Scholz video blog: http://comlounge.tv
COM.lounge blog: http://mrtopf.de/blog
Luetticher Strasse 10
Ok, little correction here: I used ploneout on plone-trunk and it then
uses Zope trunk and thus 2.11.
This problem seems to be a new problem coming from refactoring:
r78767 | andreasjung | 2007-08-12 12:55:45 +0200 (So, 12 Aug 2007) | 4 lines
- Collector #2339: ZPT: fixed unicode issue when
Hi list! :)
I am just playing around with Ape (very cool, btw :) and wondering
how it can be used from the outside, e.g. not controlled by transactions.
Main idea is to manually copy parts of the ZODB to the filesystem (from
a product).
I first tried the transaction based process, as I found it
a
copying between two ZODBs I'd say.
On Wed, Jun 11, 2003 at 10:12:46AM -0400, Shane Hathaway wrote:
Christian Scholz wrote:
I then detected the fascades in io.py which I tried to use (dunno if they're
thought to be used for such a purpose actually ;-):
root_mapper, conns = createMapper
Hi again!
Christian Scholz wrote:
root_mapper, conns = createMapper(fspath)
ei=ExportImport(root_mapper,conns)
ei.exportObject(object)
Ah-ha, I just realized what went wrong. You need to tell exportObject()
where to export. PathKeychainGenerator refused to guess. Try
Hi!
I once had similar problems and as far as I remember also
with SuSE 6.4. I think it stopped when using SuSE 7.1
(and 7.0 had the problems, too I think). I was using
python 1.5.2 and various Zope versions.. so maybe the
pymalloc hint would have worked for me then, too.
Actually the crashes
Hi!
As some of you might know, I still have my mem leak problem..
I've now looked again at some code and discovered some cycle in
ZPatterns..
Means: I have a Price class and some PriceWinner class, which reference
each other via some SkinScript.
Could this lead to a leak then? I am not
Hi!
It looks like you're leaking requests. This is often the consequence of
setting an attribute on the REQUEST object which is aquisition wrapped.
For instance:
REQUEST.adtmldoc = REQUEST['PARENTS'][0]
When requests leak, references to all the objects referenced within the
request
Hi there!
I got another problem with my Zope server and that seems to be
a memory hole..
I am using Zope 2.3.2 with Python 1.5.2 now on SuSE 7.0 (this
seems to solve the hanging problem, which appeared on 7.1) and
I use Python Script, ZSQL methods, ZMySQLDA and ZPatterns.
Now using top I see
Hi!
Dunno if it's again my strange setup, but I have some problem with dtml-in or
maybe I simply didn't get something right..
Well, I used the following dtml code:
html
dtml-in expr=[1,2,3,4,5,6] size=4
abr
/dtml-in
/html
and I thought I will get three a's as output.. instead I get 6..
If I
Hi!
ok, some more people told me now about it.. ;-)
It's not that intuitive nevertheless.. (IMHO) ;-)
cheers and thx,
Christian
On Mon, May 28, 2001 at 05:20:39PM +0200, Tino Wildenhain wrote:
Hi Christian,
--On Montag, 28. Mai 2001 15:38 +0200 Christian Scholz [EMAIL PROTECTED]
wrote
Hi!
It works.. partially. For some reason it looks like getPersistentItemIDs
does not always return a *complete* list. I need to run this method
several times to completely exhaust the Rack's storage. Thoughts? The
only way I ever create Track objects is via a different method that is
Hi!
Just FYI: The server still hangs once a day and another one is doing
the same..
It even does this when simply accessing one page or image over and over
again.
More precisely I've started the server and did
ab -n 10 -c 10 http://foo.bar/we/pics/someimg.gif
(ab being the apache
development host are still running without problems.. strange..
- Original Message -
From: Christian Scholz [EMAIL PROTECTED]
To: Chris McDonough [EMAIL PROTECTED]
Cc: Christian Scholz [EMAIL PROTECTED]; Tino Wildenhain
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, May 18, 2001 10
Message -
From: Christian Scholz [EMAIL PROTECTED]
To: Chris McDonough [EMAIL PROTECTED]
Cc: Christian Scholz [EMAIL PROTECTED]; Tino Wildenhain
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, May 18, 2001 10:13 AM
Subject: Re: [Zope-dev] another Zope hanging..
Hi!
Just FYI
Hi!
Another test without apache inbetween is still running now..
Could apache and it's proxypass be the problem?
I am simply using ProxyPass and ProxyPassReverse in front
of Zope in a simple virtual site environment..
Apache version is 1.3.19
Where is the bug then? In Zope or in Apache?
I
Hi!
I also now have some problems with a hanging zope.
I got something like this in my stupid logfile:
2001-05-03T13:44:39 ERROR(200) ZServer uncaptured python exception, closing channel
select-trigger (pipe) at 81d64c8 (exceptions.OSError:[Errno 11] Die Ressource ist
zur Zeit nicht
Hi!
What Python version are you using?
That's 1.5.2
MySQLDA is MySQL-python-0.3.3.tar.gz and ZMySQLDA-2.0.4.tar.gz
(if this makes any problems..)
Zope is 2.3.1 as suerly have noticed.. :)
cheers,
christian
- Original Message -
From: Christian Scholz [EMAIL PROTECTED
?
- Original Message -
From: Christian Scholz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 03, 2001 11:05 AM
Subject: [Zope-dev] another Zope hanging..
Hi!
I also now have some problems with a hanging zope.
I got something like this in my stupid logfile:
2001-05
Hi!
most problems with hanging zope come from external RDBMS-access.
Lots do, but lots don't...
You wont see anything useful in the logs because there are
some objects published before the *sql-method is hanging.
If you see a request come into ZServer, and you see the request go
Hi!
So here's more :)
def _objectAdding(self,client,
_tmap={ None:AddedStatus,
DeletedStatus:ChangedStatus,
ChangedStatus:AddedStatus
}
):
t = client._getTokenFor(self)
s = t.status
t.status =
Hi!
A little update..
Actually I was mistaken and SetAttributeFor() is called. Just _objectChanged()
is not called in that case.. and thus my attributes are not stored to the database.
Also commit() is not called at all in this case. It get's called once when the
subtranscation is committed but
Hi!
Just a quick note as it's quite late already (more tomorrow):
In the early days of ZPatterns, I assumed that I would create SQL
providers, LDAP providers, and suchlike gizmos. Later, it became clear
that it was more useful to have a simple "glue" language to allow
harnessing the full
Hi!
Good evening everybody!
I have some question regarding attribute and agent programming for ZPatterns.
I have some provider which is registered for the "handlers" and "attributes"
methods and some attributes.
My problem is when trying to create a new object and directly
as any idea on what I might do wrong?
(I can also send someone the source code if this message seems too confusing ;-)
regards,
Christian Scholz
PS: What I am trying to create is an sql attribute provider for ZPatterns which
is some replacement for manually creating the zsql method and SkinScript m
Hi!
Basically, 'access contents information' isn't a great permission. If you
turn if off, life gets horrible, if you leave it on, bits hang out. I'd
prefer to see something like:
- Access Contents Information via HTTP
- Access Contents Information via FTP
...etc...
This sounds more as if
Hi everybody!
I am trying to write some attribute provider for storing data inside
an SQL table as I am bored of typing parameter lists over and over
again (e.g. in every ZSQL method, in every SkinScript method etc.)
The problem now is that adding a new row to the table (and thus adding
a new
Hi!
By the way -- is it me, or is the current Import/Export interface
broken? I tried to select multiple objects to export, but I can only
get the first one to actually be exported.
It's not just you.. but never thought about whether this might be
a bug ;-)
-- christian
--
COM.lounge
Hi!
The setup:
-Zope 2.2.4
-Core Session Tracking 0.7
-Cookie session ID manager (path=/,lifetime=0)
-Internal Session Data Manager (timeout set to 60 minutes)
This seems to randomly (but sometimes very frequently) loose session data items
:-(
FYI, you are not the only one.. I also
Hi!
FYI, you are not the only one.. I also experienced that. That's also the reason
why I am back to using SQLSession again..
How hard was that to swap in?
depends. Of course the API is not the same.. So it depends if you've factored out
the session stuff in some dtml or python method
Hi!
I wanted to do sonething like this:
dtml-in "objectIds(['DTML Document'])
dtml-call manage_addProperty('foo','bar','string')
/dtml-in
You might want to use dtml-in "objectValues(['DTML Document'])"
(or objectItems). then just say
dtml-call "manage_addProperty(...)"
or you might
Hi!
Ahh... thanks Brian. Thats a new one to me :)
To me, aswell. Is this documented somewhere? ;-)
And can someone explain to us where the differences between
aq_chain and getPhysicalPath() are? Actually getPhysicalPath()
seems also to walk up aq_parent. Or am I missing something?
regards,
Hi!
IMHO, the best approach would be to make mxDateTime available separately
from DateTime in the _ variable. That would avoid breaking any code, but
allow anyone who wanted to use mxDateTime that option from within Zope.
I think a product that adds mxDateTime to the _ variable would be
Hi!
I am just wondering if it's possible to get hold of the properties of a propertysheet
of a ZClass without instanciating it.
So when instanciating I would just do
map=object.propertysheets[1].propertyMap()
and get all information of my ZClass instance object.
So is this also possible
Hi!
I just encountered another problem with ZPatterns (well not exactly with ZPatterns
but the way I use it.. ;-)
I have some Specialist with a normal rack which stores data persistently in the
ZODB.
Everytime I am creating a new object I want to create an object of another
Hi!
To get company_address stored, you can probably do something like:
your_object.manage_changeProperties(company_address=your_object.company_address)
or possibly your_object.propertysheets.NameOfSheet.manage_changeProperties...
depending on what kind of object you're using.
I've now
Hi!
I just encountered another problem with ZPatterns (well not exactly with ZPatterns
but the way I use it.. ;-)
I have some Specialist with a normal rack which stores data persistently in the ZODB.
Everytime I am creating a new object I want to create an object of another specialist
on the
Hi!
So as the item is an instance of my ZClass containing also an company_name
attribute
it will always return the item and because of that the Rack thinks it's
already there.
So why is this happening? What do I need to change?
You need to use an attribute which the object has *if and
Hi!
So I shouldn't define it inside the ZClass propertysheet?
Do I understand this right?
(I remember having problems when using properties not defined in a
sheet somewhere.. or am I mistaken completely somehow? ;-)
You can't do this with a load attribute, because a default value will
Hi!
Well, virtual in the sense as a specialist is no real folder but can
provide content from different sources. Thus what I mean is some mechanism
which emulates objectIds() etc. so it looks to the user (and the ones
using it via dtml) like a normal folder object.
Somehow like the
Hi!
Actually should answer to these posts... ;-)
On Thu, Dec 28, 2000 at 03:11:37PM -0500, Steve Spicklemire wrote:
Hi Christian,
Well, nobody else answered that I saw... so I'll take a crack
at your questions
"CS" == Christian Scholz [EMAIL PROTECTED] writes:
Hi Steve!
On Thu, Dec 28, 2000 at 10:45:46PM +, Steve Alexander wrote:
Steve Spicklemire wrote:
CS 2. Is it planned to provide something like a virtual folder
CS which acts like a normal object manager but is controlled via
CS ZPatterns (so actually something like
Hi!
While trying to code some python Product I had the need for extending
manage_delObjects in some Folderlike object. I simply want to call the
the ObjectManager's version of it and then do my own stuff afterwards
(like deleting some other dependant objects).
Unfortunately when calling
on().commit() before the redirect made things work again.)
cheers,
Christian
--
Christian Scholz MrTopf@IRC
COM.lounge http://comlounge.net/
communication design
Hi!
I am playing around with SiteAccess and Zope 2.2b1 right now and I wonder
if it's still possible to disable SiteAccess (actually an AccessRule) by
using __no_before_traverse__?
It seems not to and I am a bit trapped right now.. ;-)
Even deleting SiteAccess from the Products-Directory didn't
Hi!
- Original Message -
From: "Christian Scholz" [EMAIL PROTECTED]
I am playing around with SiteAccess and Zope 2.2b1 right now and I wonder
if it's still possible to disable SiteAccess (actually an AccessRule) by
using __no_before_traverse__?
It seems not to and
46 matches
Mail list logo