Hi there,
I am implementing a tool to handle userdata that is stored in a MySQL db.
The underlaying logic of the stored procedures used to maintain the db
content
dictate that I have to control the transactions myself.
I understand that there is a way to handle transaction controll in the
ZMySQL
m
I tried to use Zope3 events to get informed when requests start and end.
One of our modules (the interface module to "jpype") requires such
a notification for reliable work. Therefore, it tried to register
the corresponding subscriptions on import of this module.
Unfortunately, this works very unr
How can I run Zope in a non-persistent way so that all transactions are
aborted and so that I can run a big fat Selenium script in Firefox
without having to manually undo everything the Selenium script has done?
Kind of like ZopeTestCase works when you run it.
--
Peter Bengtsson,
work www.fry-i
On Tue, 2007-01-09 at 17:09 +0100, Andreas Jung wrote:
>
> --On 9. Januar 2007 17:06:24 +0100 Jonas Nielsen <[EMAIL PROTECTED]>
> wrote:
>
> > The "Zope Bible" says something about calling self.__changed__(1) after
> > updating the value but this doesn't seem to work even though the objects
> >
Peter Bengtsson wrote:
>
> How can I run Zope in a non-persistent way so that all transactions are
> aborted and so that I can run a big fat Selenium script in Firefox
> without having to manually undo everything the Selenium script has done?
> Kind of like ZopeTestCase works when you run it.
Dieter Maurer wrote:
I tried to use Zope3 events to get informed when requests start and end.
One of our modules (the interface module to "jpype") requires such
a notification for reliable work. Therefore, it tried to register
the corresponding subscriptions on import of this module.
Unfortunate
Greetings. As the co-chair for the upcoming Python conference, being held in
Dallas (Addison) Texas, I want to remind folk to register before early bird
registration prices end.
The event is the fifth international Python Conference, being held Feb 23-25,
2007 at the Marriott-Quorum in Addiso
Hi,
I've installed a fresh Zope 2.10.1 and noticed a strange behaviour when
connectiong via FTP:
Through the ZMI I've created a Folder /A with a DTMLDocument "a" and an
empty Subfolder B:
/
-/A
---a
-/B
If I connect via FTP to the server and trying to upload an ASCII file
"a" to the folder /A/B
Andreas Jung wrote:
self._p_changed = 1
Thank you :-)
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
htt
Paul Winkler wrote:
Twiddler also looks very similar to the Meld family. Looks nice, but
I haven't had time to get a sense of what distinguishes it from meld3.
Thanks, it is similar to meld3 but was developed totally separately from
it. I've put a lot of effort into getting the interfaces cor
Martin Aspeli wrote:
Peter Bengtsson wrote:
How can I run Zope in a non-persistent way so that all transactions are
aborted and so that I can run a big fat Selenium script in Firefox
without having to manually undo everything the Selenium script has done?
Kind of like ZopeTestCase works when
Hi,
Am Mittwoch, den 10.01.2007, 12:39 +0100 schrieb Marcus Schopen:
> I've installed a fresh Zope 2.10.1 and noticed a strange behaviour when
> connectiong via FTP:
>
> Through the ZMI I've created a Folder /A with a DTMLDocument "a" and an
> empty Subfolder B:
>
> /
> -/A
> ---a
> -/B
>
> If
Hi,
is it a problem to use ubuntu's (6.10) standard python 2.4.4c1 for Zope
2.9.6 or Zope 2.10.1 ? If not which version should I build from source?
Thanks,
Marcus
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No c
I've got a Zope product which will render itself using
standard_html_header and standard_html_footer if they exist. I would
like this same product to look for a specific Page Template (ptMaster)
and render itself using a macro and filling a slot with it's contents.
Any pointers/examples on integra
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marcus Schopen wrote:
> is it a problem to use ubuntu's (6.10) standard python 2.4.4c1 for Zope
> 2.9.6 or Zope 2.10.1 ? If not which version should I build from source?
It will work fine. I wouldn't, however, use it in production, for two
reasons:
According to the zope book it should be possible to store dicts in session.
When I try to assign a dictionary to a ordinary zope 2 session, with
lists there is no problem. why?:
requestlist = {}
for i in self.request.form:
key = i
value = self.request.form[i]
Dieter Maurer wrote:
I tried to use Zope3 events to get informed when requests start and end.
One of our modules (the interface module to "jpype") requires such
a notification for reliable work. Therefore, it tried to register
the corresponding subscriptions on import of this module.
That is a
> According to the zope book it should be possible to store dicts in session.
> When I try to assign a dictionary to a ordinary zope 2 session, with
> lists there is no problem. why?:
(...)
> base.__name__ TypeError: can't pickle instancemethod objects )
Seems that you're assigning unpickable obj
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Maciej Wisniowski wrote:
>> According to the zope book it should be possible to store dicts in session.
>> When I try to assign a dictionary to a ordinary zope 2 session, with
>> lists there is no problem. why?:
> (...)
>> base.__name__ TypeError: can
Hi there, wondering if you might be able to help me?
I've got plain text documents that contain iso-8859-5 chracters
(not utf-8) and I'd like to get TextIndexNG2 to catalog their contents.
I've tried creating an Index with default encoding set to
iso-8859-5 but no joy, the cataloger won't catalo
--On 10. Januar 2007 17:10:03 + mark hellewell
<[EMAIL PROTECTED]> wrote:
Hi there, wondering if you might be able to help me?
I've got plain text documents that contain iso-8859-5 chracters
(not utf-8) and I'd like to get TextIndexNG2 to catalog their contents.
We have TXNG V3.1.13!
Hi
On 1/10/07, Andreas Jung <[EMAIL PROTECTED]> wrote:
--On 10. Januar 2007 17:10:03 + mark hellewell
<[EMAIL PROTECTED]> wrote:
> I've tried creating an Index with default encoding set to
> iso-8859-5 but no joy, the cataloger won't catalog the docs!
"won't catalog" means what? Provide a
robert rottermann schrieb:
Hi there,
I am implementing a tool to handle userdata that is stored in a MySQL db.
The underlaying logic of the stored procedures used to maintain the db
content
dictate that I have to control the transactions myself.
Can you elaborate on that? I dont see a reason w
Quite possible that you have a form with something like this:
In python, if you do this::
def saveUser(self, user, REQUEST):
print user # will print {'age':'50', 'name':'Dee'}
REQUEST.SESSION.set('user_data', user) # will fail!
So you have to do this::
def saveUser(self, user, REQUE
Define it as a class attribute
class MyProduct(...):
ptMaster = PageTemplateFile('ptMaster', globals())
index = PageTemplateFile('index', globals())
ptMaster.pt will then have to look like this::
and index.pt::
BODY!
Brian Brinegar wrote:
I've got a Zope product which wil
Are you sure it doesn't do it out of the box?
I know it does for ZPsycopgDA which is the Postgresq Zope database adapter.
With that one I don't have to come near handling the SQL transactions.
What Zope commits and rollsback is done for SQL too automatically.
robert rottermann wrote:
Hi there,
Martijn Faassen wrote at 2007-1-10 11:45 +0100:
>
>I'm a bit surprised why the huge [warning] is necessary. What I
>understand you're saying is that you cannot use the component
>architecture before it's done initializing.
The warning comes from bad experience.
I have tested my registra
Philipp von Weitershausen wrote at 2007-1-10 15:40 +0100:
> ...
>Things changed a bit after Zope 2.8/X3 3.0. Nowadays, the Component
>Architecture doesn't need any setup anymore and you can do registrations
>on import.
Very good!
>I'd still recommend against that.
Why?
> ...
>That's because F
Edmund Moseley wrote at 2007-1-9 16:03 -0500:
>I am in the process of trying to add RAMCaches to my python scripts,
>and wanted to test it out TTW via custom.
>However, whenever I make a copy of my FS python script to custom, and
>then view the object which uses this script, I get the following e
robert rottermann wrote at 2007-1-10 09:00 +0100:
> ...
>I am implementing a tool to handle userdata that is stored in a MySQL db.
>The underlaying logic of the stored procedures used to maintain the db
>content
>dictate that I have to control the transactions myself.
If you know what you do, then
On 1/10/07, Dieter Maurer <[EMAIL PROTECTED]> wrote:
*It* must be informed whenever it is used in a different thread.
Perhaps it could use some thread-local data to keep track of this?
threading.local comes to mind.
-Fred
--
Fred L. Drake, Jr.
"Every sin is the result of a collaboratio
Marcus Schopen wrote:
I've installed a fresh Zope 2.10.1 and noticed a strange behaviour when
connectiong via FTP:
Through the ZMI I've created a Folder /A with a DTMLDocument "a" and an
empty Subfolder B:
/
-/A
---a
-/B
If I connect via FTP to the server and trying to upload an ASCII file
"a"
32 matches
Mail list logo