I made a simple product using python that stores some varibles, but I couldn't
make it acts like a folderish, stores objects, and have a content tab page
using manage_main like when I use to have when I use internal product.
I reviewed the tutorials on how to make internal products and I found t
--On 9. März 2007 00:01:50 -0800 Allen Huang <[EMAIL PROTECTED]> wrote:
I made a simple product using python that stores some varibles, but I
couldn't make it acts like a folderish, stores objects, and have a
content tab page using manage_main like when I use to have when I use
internal produc
Gaute Amundsen schrieb:
On Thursday 08 March 2007 17:27, Tino Wildenhain wrote:
Gaute Amundsen schrieb:
Hi.
1 )
First I got a ValueError 'query' when using a very simple zsql method.
(consisting of only "")
Thats a very bad idea. Better make zsql methods
for every query
I know the orthod
Hi;
I'm moving everything over to a new server because the old server's OS is
corrupt. I've d'l'd a 300MB *.zexp file from the old server. (I have to d'l it
to my PC over a slow satellite connection, then upload it to the new server
because of the corruption.) When I went to install it, I got th
Martijn Pieters schrieb:
On 3/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I thought I could call a variable in a page template by defining it
and then
putting a ? in front of it in a URL, like this:
Incorrect, you can only use ? to interpolate variables into a path
expression:
Th
--On 9. März 2007 03:45:05 -0500 [EMAIL PROTECTED] wrote:
Hi;
I'm moving everything over to a new server because the old server's OS is
corrupt. I've d'l'd a 300MB *.zexp file from the old server. (I have to
d'l it to my PC over a slow satellite connection, then upload it to the
new server bec
On 3/9/07, Tino Wildenhain <[EMAIL PROTECTED]> wrote:
I notice ZPT gets weirder and weirder...
How many syntactic specialities will we add to path expressions? ;)
?var interpolation have been supported since the first checkin Evan
Simpson made nearly 6 years ago, the feature has been a bit
unde
Hi,
How can run multiple query in an Z sql method.. I am using Mysql..
Also is there any method to return a value from insert query?
Thanks
Remil
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; zope@zope.org
Sent: Fri, 9 Mar 2007 4:49 AM
Subject: Re: [Zope] No space left on device
--On 9. März 2007 03:45:05 -0500 [EMAIL PROTECTED] wrote:
> > Hi;
> > I'm moving everything over to a new server because the old
> Where? I added this line to zopectl and rebooted:
> TMPDIR="/usr/local/zope/tmp"
> (usr has plenty of space) but it didn't help.
TMPDIR="/usr/local/zope/tmp"
export TMPDIR
also there is df -h command that shows free space
on devices, you may use this to observe how it
changes while importing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The CMF developer community is hereby announcing the release of CMF
version 2.1.0-beta. The CMF 2.1 series will be used as the foundation
for the Plone 3.0 release, which will see its first beta over the next
few days as well.
What is the CMF?
The
--On 9. März 2007 14:42:57 +0530 Remil Mathew <[EMAIL PROTECTED]> wrote:
Hi,
How can run multiple query in an Z sql method..
Sure. SQL Statement just have to separated by .
I am using Mysql..
Also is there any method to return a value from insert query?
An insert statement does not retu
Maciej Wisniowski schrieb:
Where? I added this line to zopectl and rebooted:
rebooted? Lets hope you only restartet zope :-)
Regards
Tino
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML en
Right, restarted. But it didn't work, Tino. Any ideas?
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: zope@zope.org
Sent: Fri, 9 Mar 2007 6:28 AM
Subject: Re: [Zope] No space left on device
Maciej Wisniowski schrieb:
> >> Where? I added this line to zopectl and r
Andreas Jung schrieb:
--On 9. März 2007 14:42:57 +0530 Remil Mathew <[EMAIL PROTECTED]> wrote:
Hi,
How can run multiple query in an Z sql method..
Sure. SQL Statement just have to separated by .
I am using Mysql..
Also is there any method to return a value from insert query?
An insert
[EMAIL PROTECTED] wrote:
Hi;
I thought I could call a variable in a page template by defining it and then
putting a ? in front of it in a URL, like this:
template_id string:index;
here python:here.restrictedTraverse('s/c/x/root/en-us/Help')">
redefining 'here' isn't a good idea...
I th
Tino Wildenhain wrote:
I notice ZPT gets weirder and weirder...
It's always been that weird ;-)
If you want sanity, try Twiddler instead :-)
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
__
On Friday 09 March 2007 09:40, Tino Wildenhain wrote:
> Gaute Amundsen schrieb:
> > On Thursday 08 March 2007 17:27, Tino Wildenhain wrote:
> >> Gaute Amundsen schrieb:
> >>> Hi.
> >
> >
> >
> >>> 1 )
> >>> First I got a ValueError 'query' when using a very simple zsql method.
> >>> (consisting of
On Friday 09 March 2007 10:12, Remil Mathew wrote:
> Hi,
> How can run multiple query in an Z sql method.. I am using Mysql..
> Also is there any method to return a value from insert query?
>
> Thanks
> Remil
could you possibly be thinking of?
insert foo into bar
SELECT LAST_INSERT_ID()
gaute
Yes, I must do it when I need to know an autonumber PK after an insert.
when DB support transaction i write:
begin transaction
insert foo into bar
SELECT LAST_INSERT_ID() as lastid
commit
Then, a DTML method:
Make the insert and write the id returned by the select.
Illorca
Gaute Amun
Gaute Amundsen schrieb:
On Friday 09 March 2007 09:40, Tino Wildenhain wrote:
Gaute Amundsen schrieb:
On Thursday 08 March 2007 17:27, Tino Wildenhain wrote:
Gaute Amundsen schrieb:
Hi.
1 )
First I got a ValueError 'query' when using a very simple zsql method.
(consisting of only "")
Tha
--On 9. März 2007 15:30:23 +0100 Jary Busato <[EMAIL PROTECTED]> wrote:
Yes, I must do it when I need to know an autonumber PK after an insert.
when DB support transaction i write:
begin transaction
insert foo into bar
SELECT LAST_INSERT_ID() as lastid
commit
Sorry, but you must be crazy
My only need is to be sure to keep the right id; I did'nt use this
method for other operations.
You sayd that it's not recommended but I don't understand why in this
simple context.
Andreas Jung ha scritto:
--On 9. März 2007 15:30:23 +0100 Jary Busato <[EMAIL PROTECTED]> wrote:
Yes, I must
On 3/9/07, Jary Busato <[EMAIL PROTECTED]> wrote:
Yes, I must do it when I need to know an autonumber PK after an insert.
when DB support transaction i write:
begin transaction
insert foo into bar
SELECT LAST_INSERT_ID() as lastid
commit
Then, a DTML method:
Make the insert an
If I understood you're telling me that begin and commit statements are
"redundant".
Sometimes conflicts are not correctly managed by ZTM (no rollbacks in db)
Marco Bizzarri ha scritto:
On 3/9/07, Jary Busato <[EMAIL PROTECTED]> wrote:
Yes, I must do it when I need to know an autonumber PK af
Jary Busato schrieb:
If I understood you're telling me that begin and commit statements are
"redundant".
No in this case they would be an error.
Sometimes conflicts are not correctly managed by ZTM (no rollbacks in db)
Examples? Which bug reports?
Regards
Tino
_
--On 9. März 2007 16:45:56 +0100 Jary Busato <[EMAIL PROTECTED]> wrote:
My only need is to be sure to keep the right id; I did'nt use this method
for other operations.
You sayd that it's not recommended but I don't understand why in this
simple context.
Simple or complex context..that does
Sorry! I'm new to this fields. Where can I change this "PYTHON_EGG_CACHE"?
Is it in zope.conf? I can not find it.
Thanks, -DY
On Thu, March 8, 2007 10:28 pm, Maciej Wisniowski wrote:
>
>> I already change the permission.
>> 8 drwxrwxrwx 4 zope zope 4096 Mar 7 22:13 .python-eggs
>> The result
On 3/9/07, Jary Busato <[EMAIL PROTECTED]> wrote:
If I understood you're telling me that begin and commit statements are
"redundant".
Yes, exactly: they are issued by Zope at the boundaries of a transaction.
Sometimes conflicts are not correctly managed by ZTM (no rollbacks in db)
Are you u
--On 9. März 2007 08:19:50 -0800 Daniel <[EMAIL PROTECTED]> wrote:
Sorry! I'm new to this fields. Where can I change this "PYTHON_EGG_CACHE"?
Is it in zope.conf? I can not find it.
PYTHON_EGG_CACHE is an environment variable and has nothing to do with Zope.
-aj
pgpg8H33YRPNw.pgp
Descript
On 3/9/07, Jary Busato <[EMAIL PROTECTED]> wrote:
Marco Bizzarri ha scritto:
> On 3/9/07, Jary Busato <[EMAIL PROTECTED]> wrote:
>> If I understood you're telling me that begin and commit statements are
>> "redundant".
>
> Yes, exactly: they are issued by Zope at the boundaries of a transaction.
>> If I understood you're telling me that begin and commit statements are
>> "redundant".
>
> No in this case they would be an error.
>
>> Sometimes conflicts are not correctly managed by ZTM (no rollbacks in db)
>
> Examples? Which bug reports?
Stored procedures implementation in DCOracle2 (ori
export PYTHON_EGG_CACHE="/tmp"
chmod 777 tmp
/opt/Plone-2.5.2/zeocluster/bin/restartcluster.sh
It still has the same error, and did not got to the /tmp directory.
Where did I set wrong?
Thanks,
Daniel
ExtractionError: Can't extract file(s) to egg cache
The following error occurred while tryin
Jonathan wrote at 2007-3-8 09:27 -0500:
> ...
> Module /apps/Zope-2.9.2/Extensions/playwiser-1.0.py, line 3228, in
>IncrementViewCount
> Module OFS.PropertyManager, line 320, in manage_changeProperties
> Module Shared.DC.Scripts.Bindings, line 311, in __call__
This looks funny.
Your "manage
David VanKirk wrote at 2007-3-8 10:08 -0500:
>I have Zope and SQL Server setup on the same machine, with no firewall
>running on that PC, so there is no firewall between the two.
>Occasionally I will get the following error, upon refreshing the page
>the error disappears.
>
>Error Type: ReplayTrans
35 matches
Mail list logo