hello,
is it possible to get the list of all an object's attributes, excepted
the ones acquired from parents ?
thanks
--
Thomas Desvenain
Junior Plone/Zope analyst-developer, Looking for a Job !
Now, trainee at Institut National de Recherche Agronomique
Mathématiques, Informatique et Génôme
--On 26. Juni 2006 10:30:50 +0200 thomas desvenain
[EMAIL PROTECTED] wrote:
hello,
is it possible to get the list of all an object's attributes, excepted
the ones acquired from parents ?
aq_base(aq_inner(obj)).__dict__ ?
-aj
pgpMviKcFFgYC.pgp
Description: PGP signature
aq_base(aq_inner(obj)).__dict__ ?
hmm it doesn't works, i get metadata only,
and with
dir(aq_base(aq_inner(test.toto)))
i get acquired methods too...
2006/6/26, Andreas Jung [EMAIL PROTECTED]:
--On 26. Juni 2006 10:30:50 +0200 thomas desvenain
[EMAIL PROTECTED] wrote:
hello,
is it
--On 26. Juni 2006 10:53:39 +0200 thomas desvenain
[EMAIL PROTECTED] wrote:
aq_base(aq_inner(obj)).__dict__ ?
hmm it doesn't works, i get metadata only,
'metadata'? This is an unkown term in the context of Zope/Python objects
except for catalog brain objects...what you you mean?
and
Ignacio Valdes wrote:
Here is my event.log file:
2006-06-25T21:12:21 INFO ZServer HTTP server started at Sun Jun 25
21:12:21 2006
Hostname: dune
Port: 8080
Have you tried:
lynx http://dune:8080
...from an ssh session on the box?
If that works, I'd suggest some kind of
Ignacio Valdes wrote:
This is all on a headless server by ssh so I can't check
http://localhost:8080 but http://server ip address:8080 on my browser
doesn't work.
Maybe there is a firewall blocking your access to port 8080 on the
server. Try using wget running on the server to fetch the
Hello,
i want to send an image or a pdf to a browser not for viewing but for
downloading.
I've written this code:
dtml-call RESPONSE.setHeader('Content-type',
'application/force-download')
dtml-call RESPONSE.setHeader('Content-Disposition', 'attachment;
filename=filename.gif')
now i have to send
Bruno Grampa schrieb:
Hello,
i want to send an image or a pdf to a browser not for viewing but for
downloading.
I've written this code:
dtml-call RESPONSE.setHeader('Content-type',
'application/force-download')
dtml-call RESPONSE.setHeader('Content-Disposition', 'attachment;
Hi there,
I've installed 2.7.8 on OS X Server and added some Zope product. The
problem is that the web page works fine from localhost, but from
remote hosts it fails to load some random images. HTML loads quickly
and without any problems. What could be wrong? Sometimes some of the
images load
2006/6/26, Andreas Jung [EMAIL PROTECTED]:
--On 26. Juni 2006 10:53:39 +0200 thomas desvenain
[EMAIL PROTECTED] wrote:
aq_base(aq_inner(obj)).__dict__ ?
hmm it doesn't works, i get metadata only,
'metadata'? This is an unkown term in the context of Zope/Python objects
except for catalog
manage_addProperty does not trigger recataloguing of the object even
if its a subclass of CatalogAwareness. You should ? either call
obj.reindex_object() or at least obj.index_object(), if your class has
the CatalogAwareness-Mixin or you use the catalog API:
Hello,
i want to send an image or a pdf to a browser not for viewing but for
downloading.
I've written this code:
dtml-call RESPONSE.setHeader('Content-type',
'application/force-download')
dtml-call RESPONSE.setHeader('Content-Disposition', 'attachment;
filename=filename.gif')
now i have
Hi all!!
I need save the zope objects in an Oracle 8.1.7 Database,who I'm trying do
it with DCOracle2 Product.
My initial problem is I need save objects in Oracle Database who reside in
other machine distinc Zope resides. Due to it, I have a compilation
problem because Oracle server resides in
Florent Guillaume escreveu:
Andreas Jung wrote:
I manage my own servers developing web applications and I would like to
remove the import restrictions of python modules in python scripts.
Is it
possible? How can I allow other modules to be imported? I have been
using
external modules but
- Original Message -
From: [EMAIL PROTECTED]
To: zope@zope.org
Sent: Monday, June 26, 2006 8:21 AM
Subject: [Zope] OracleStorage - DCOracle2
Hi all!!
I need save the zope objects in an Oracle 8.1.7 Database,who I'm trying do
it with DCOracle2 Product.
My initial problem is I need
Yes, that works so probably firewall. -- IV
On Mon, 26 Jun 2006 11:16:21 +0100
Chris Withers [EMAIL PROTECTED] wrote:
Ignacio Valdes wrote:
Here is my event.log file:
2006-06-25T21:12:21 INFO ZServer HTTP server started at Sun Jun 25
21:12:21 2006
Hostname: dune
Port: 8080
I'm getting the following error message when I try to run zopectl.
I've googled it and looked through the archives but found nothing. Any
help would be appreciated. I'm running python 2.4.3 and zope 2.9.3.
Traceback (most recent call last):
File
--On 26. Juni 2006 13:37:46 +0200 thomas desvenain
[EMAIL PROTECTED] wrote:
'metadata'? This is an unkown term in the context of Zope/Python objects
except for catalog brain objects...what you you mean?
sorry, it's because i work with at/plone objects :
toto.__dict__ displays only some
--On 26. Juni 2006 09:41:44 -0300 Luiz Fernando B. Ribeiro
[EMAIL PROTECTED] wrote:
I'm amazed that the example given in the
Products/PythonScripts/README.txt (using re) doesn't work, why is it
there?
Why isn't it working? As I stated earlier: allow_module() is not a general
solution. It
Bruno Grampa wrote:
now i have to send the file as a binary flow, but i don't know how to
do. Can you help me?
Maybe if you stop torturing yourself (and us!) with dtml. The above
should be either an external method, or a method of a content object
from a product.
cheers,
Chris
--
Andrew Sawyers wrote:
It then came to technology. Some cared some didn't. I personally
didn't if the result was something which the community could be proud of
and not make excuses for as they directed people to the site.
I'd add the caveat that it needs to be stable maintainable software
Aidas Dailidė wrote:
I've installed 2.7.8 on OS X Server and added some Zope product. The
problem is that the web page works fine from localhost, but from
remote hosts it fails to load some random images. HTML loads quickly
and without any problems. What could be wrong? Sometimes some of the
context.REQUEST.RESPONSE.setHeader('Content-Disposition','attachment;
filename=%s' % context.getId())
Nice idea, but what i need is different. In PHP there is a function
called readfile, i'm sure there is something also in Zope, but i'm not
able to find it!
No, I can tell you you are on the
On 6/26/06, Chris Withers [EMAIL PROTECTED] wrote:
Ah well, this meta-ranting is much quicker and easier...
Hehe. :)
I would like to point out a minor conflict between two of your meta-rants:
I'd add the caveat that it needs to be stable maintainable software that
isn't going to cause the
Hi,
On Monday 26 June 2006 12:46, Bruno Grampa wrote:
Hello,
i want to send an image or a pdf to a browser not for viewing but for
downloading.
I've written this code:
dtml-call RESPONSE.setHeader('Content-type',
'application/force-download')
dtml-call
thank's dieter !
In fact i lose the tip that the Zcatalog should
have the id Catalog so the object could
be automatically cataloged at creation.
thank's a lot
Dieter Maurer a écrit :
bard stéphane wrote at 2006-6-24 19:38 +0200:
Today i try to create another zclass on the same zope server
[EMAIL PROTECTED] wrote at 2006-6-26 14:21 +0200:
I need save the zope objects in an Oracle 8.1.7 Database,who I'm trying do
it with DCOracle2 Product.
My initial problem is I need save objects in Oracle Database who reside in
other machine distinc Zope resides. Due to it, I have a compilation
Mike B wrote at 2006-6-26 09:05 -0400:
I'm getting the following error message when I try to run zopectl.
I've googled it and looked through the archives but found nothing. Any
help would be appreciated. I'm running python 2.4.3 and zope 2.9.3.
...
File
=?ISO-8859-13?Q?Aidas_Dailid=EB?= wrote at 2006-6-26 14:33 +0300:
I've installed 2.7.8 on OS X Server and added some Zope product. The
problem is that the web page works fine from localhost, but from
remote hosts it fails to load some random images.
Browsers often have tight timeouts when they
Andrew Sawyers wrote at 2006-6-25 17:54 -0400:
...
Well, I think the content of this site is what I'd noted is what I noted
in earlier emails. It might not be 'interesting', but I would hope it
to be quality and focused. I have faith the 'interesting' aspects you
wish will come from the
Bruno Grampa wrote at 2006-6-26 12:46 +0200:
i want to send an image or a pdf to a browser not for viewing but for
downloading.
I've written this code:
dtml-call RESPONSE.setHeader('Content-type',
'application/force-download')
dtml-call RESPONSE.setHeader('Content-Disposition', 'attachment;
Andreas Jung wrote at 2006-6-26 10:35 +0200:
...
is it possible to get the list of all an object's attributes, excepted
the ones acquired from parents ?
aq_base(aq_inner(obj)).__dict__ ?
This can be optimized to obj.__dict__ (because attributes starting
with _ are never acquired).
Be warned
On 6/26/06, Dieter Maurer [EMAIL PROTECTED] wrote:
I would prefer a single big site as an access point to the most
relevant information. But, if this is not possible...
Single big site is probably not possible. We have tried and failed.
But having a small focused site that works as the nave
Lennart Regebro wrote:
On 6/26/06, Dieter Maurer [EMAIL PROTECTED] wrote:
I would prefer a single big site as an access point to the most
relevant information. But, if this is not possible...
Single big site is probably not possible. We have tried and failed.
But having a small focused
Aloha,
...
I start to understand:
You want to have a narrow, a focused site
because you fear that a bigger one cannot be managed.
In such a case, I would say: start with the small solution
and maybe get bigger later.
This is a basic principle of design that works (as opposed to
From: Dieter Maurer [mailto:[EMAIL PROTECTED]
I fear that you can call Python functions in general only on
the current thread (the other's probably lack the GIL,
an essential requirement to execute Python code).
Well, I upgraded to Python 2.4, re-compiled Zope and friends, and
updated a few
Log message for revision 68847:
Restore 'LOG' for BBB.
Changed:
U Zope/branches/2.9/lib/python/Products/ZCatalog/ZCatalog.py
-=-
Modified: Zope/branches/2.9/lib/python/Products/ZCatalog/ZCatalog.py
===
---
Log message for revision 68855:
Typo.
Changed:
_U Zope/branches/tseaver-retire_zpkg-2.10/lib/python/zope/app/
U Zope/branches/tseaver-retire_zpkg-2.10/lib/python/zope/app/EXTERNALS.txt
-=-
Property changes on: Zope/branches/tseaver-retire_zpkg-2.10/lib/python/zope/app
Log message for revision 68857:
Merge old-sk00l configure / make stuff from 2.9 side.
Changed:
D Zope/branches/tseaver-retire_zpkg-2.10/buildsupport/
U Zope/branches/tseaver-retire_zpkg-2.10/configure
U Zope/branches/tseaver-retire_zpkg-2.10/inst/Makefile.in
U
Log message for revision 68863:
Update changelog.
Changed:
U Zope/branches/tseaver-retire_zpkg-2.10/doc/CHANGES.txt
-=-
Modified: Zope/branches/tseaver-retire_zpkg-2.10/doc/CHANGES.txt
===
---
Hi,
I am trying to access by means of "sockets" to a folder that contains a
acl_user folder with enabled DomainAuthenticationMode
(domain_auth_mode=1) from a enabled IP in the domain (I have created a
user specifying a domain with this IP and I have left the password for
this user blank). It
Dieter Maurer wrote:
Philipp von Weitershausen wrote at 2006-6-18 12:38 +0200:
... deprecation policy ...
This policy allows us to move forward (which Zope 2 never
really did for the the majority of those five years you mention).
Although, it might help in a few cases, it is not at all
Philipp von Weitershausen wrote:
It's dead from a maintenance point of view. If you still want to
maintain it, be our guest. But you yourself said that maintaining too
many branches is madness.
My point is that we're creating too many branches ;-)
Chris
--
Simplistix - Content Management,
--On 26. Juni 2006 11:25:05 +0100 Chris Withers [EMAIL PROTECTED]
wrote:
Philipp von Weitershausen wrote:
It's dead from a maintenance point of view. If you still want to
maintain it, be our guest. But you yourself said that maintaining too
many branches is madness.
My point is that
A small question/idea.
When making svn:externals in Nuxeo, we always use https. That way
trees can still be checked out anonymously, but still modified.
in Zope, threes are checked out with svn+ssh, but externals use svn.
That means that when you want to modify for example Five, you need to
On 6/26/06, Chris Withers [EMAIL PROTECTED] wrote:
Oh please, stop the FUD.
Not FUD, whatever you mean by that here...
Right. FUD is when you intentionally spread unjustified Fear,
Uncertainty and Doubt about things to hurt them. You don't. You may
HAVE the above things, but if it is
Dieter Maurer wrote:
Chris Withers wrote at 2006-6-23 17:12 +0100:
Get this error on startup with one project I've just moved to Zope 2.9.3:
File /usr/local/zope/2.9.3/lib/python/Zope2/Startup/datatypes.py,
line 175, in createDB
return ZODBDatabase.open(self, databases)
File
Chris Withers wrote:
Philipp von Weitershausen wrote:
Jim suggested a different strategy with Zope 5
(http://mail.zope.org/pipermail/zope3-dev/2006-February/018415.html).
The little bits and pieces that make up Zope 3 (the zope.* packages)
would be developed more or less independently of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andreas Jung wrote:
--On 25. Juni 2006 16:32:04 +0200 Stefan H. Holek [EMAIL PROTECTED]
wrote:
This, BTW, breaks CMF 1.5 on Zope 2.9. Not sure I/you should care though
;-)
Traceback (most recent call last):
File
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lennart Regebro wrote:
A small question/idea.
When making svn:externals in Nuxeo, we always use https. That way
trees can still be checked out anonymously, but still modified.
in Zope, threes are checked out with svn+ssh, but externals use
Chris Withers wrote:
Philipp von Weitershausen wrote:
Chris Withers wrote:
Florent Guillaume wrote:
Chris Withers wrote:
Both core zope and Plone spew forth in their default state.
Zope 2.10 does? It shouldn't. Please point out the deprecation
warnings it sends.
I, like many people I
On 6/26/06, Tres Seaver [EMAIL PROTECTED] wrote:
- -1. The externals are just that, external to the Zope project.
Uhm. I have a hard time seeing Five and lib/python/zope as external to Zope.
When we get to an egg-based Zope install, I think such a gesture would
map onto check out the source
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lennart Regebro wrote:
On 6/26/06, Tres Seaver [EMAIL PROTECTED] wrote:
- -1. The externals are just that, external to the Zope project.
Uhm. I have a hard time seeing Five and lib/python/zope as external to
Zope.
They are managed as separate
Juan Javier Carrera Obrero wrote at 2006-6-26 09:52 +0200:
...
Does the DomainAuthenticationMode of a acl_user folder runs
successfully via Socket ?
What should via Socket mean?
All standard HTTP requests work via socket.
DomainAuthentication seems to work because there have
been occasional
Chris Withers wrote at 2006-6-26 14:16 +0100:
...
You see here the new (ZODB 3.6) multi-database support.
Something tries to ad the database packed to a
multi-database that already contains a packed.
This might happen when you mount the same storage at different places
into your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tres Seaver wrote:
Philipp von Weitershausen wrote:
Tres Seaver wrote:
The point is that the release tarball should generate the same
environment that the developers routinely work in; otherwise, we leave
the poor suckers who install from it
Tres Seaver wrote:
I've now done the same work on a branch for that tree:
[/home/tseaver/projects/Zope-CVS/tseaver-retire_zpkg-2.10]
$ head .svn/entries
?xml version=1.0 encoding=utf-8?
wc-entries
xmlns=svn:
entry
committed-rev=68857
name=
57 matches
Mail list logo