Re: [Zope] ZODB access via ZEO

2007-02-07 Thread Jonathan


- Original Message - 
From: "Adit Ranadive" <[EMAIL PROTECTED]>

To: "Jonathan" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, February 07, 2007 3:12 PM
Subject: Re: [Zope] ZODB access via ZEO


The problem that I encountered is that once the Plone Products are 
installed in

data.fs and I move the same data.fs to another machine there is a constant
message upgrade product in the plone site setup window.
It occurs since the plone setup is unable to find the 'version.txt' file 
in the

products directory. The home attribute can be changed to fix this.

The problem seems to be of migration of data.fs and products to another 
machine.

I was hoping to get any info on accessing objects in ZODB


This is definitely a plone issue and you should ask on plone lists.


Jonathan 


___
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

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ZODB access via ZEO

2007-02-07 Thread Adit Ranadive
The problem that I encountered is that once the Plone Products are installed in
data.fs and I move the same data.fs to another machine there is a constant
message upgrade product in the plone site setup window.
It occurs since the plone setup is unable to find the 'version.txt' file in the
products directory. The home attribute can be changed to fix this.

The problem seems to be of migration of data.fs and products to another machine.
I was hoping to get any info on accessing objects in ZODB

Thanks,
Adit


>
> - Original Message -
> From: "Adit Ranadive" <[EMAIL PROTECTED]>
> To: "Jonathan" <[EMAIL PROTECTED]>
> Cc: 
> Sent: Wednesday, February 07, 2007 2:39 PM
> Subject: Re: [Zope] ZODB access via ZEO
>
>
> > Well, the home attribute cannot be changed using the manage_changeProperty
> > since it is not exactly a property of the object.
> > I tried that bt did not work..
> > Any way of putting an object back in ZODB?
>
> This is really a plone question (regarding 'home attribute'), so you will
> probably get more help on the plone lists.
>
>
>
> > As to causing the pain the script would be useful if users can take a
> > copies of
> > the main dbs and use copies of their own products.
>
> I clearly don't understand your objective then.
>
> By way of an example:  i have an application which, when a user registers:
> creates a folder, creates an instance of a ZCatalog in that folder,
> populates the ZCatalog with some indexes and metadata, creates mysql db
> entries for the user and then emails a password to the user.  The user gets
> their own folder, ZCatalog and mysql entries, but they are instances, not
> 'products'.
>
>
>
>


--

___
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
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ZODB access via ZEO

2007-02-07 Thread Jonathan


- Original Message - 
From: "Adit Ranadive" <[EMAIL PROTECTED]>

To: "Jonathan" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, February 07, 2007 2:39 PM
Subject: Re: [Zope] ZODB access via ZEO



Well, the home attribute cannot be changed using the manage_changeProperty
since it is not exactly a property of the object.
I tried that bt did not work..
Any way of putting an object back in ZODB?


This is really a plone question (regarding 'home attribute'), so you will 
probably get more help on the plone lists.




As to causing the pain the script would be useful if users can take a 
copies of

the main dbs and use copies of their own products.


I clearly don't understand your objective then.

By way of an example:  i have an application which, when a user registers: 
creates a folder, creates an instance of a ZCatalog in that folder, 
populates the ZCatalog with some indexes and metadata, creates mysql db 
entries for the user and then emails a password to the user.  The user gets 
their own folder, ZCatalog and mysql entries, but they are instances, not 
'products'.




___
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

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ZODB access via ZEO

2007-02-07 Thread Maciej Wisniowski

> Well, the home attribute cannot be changed using the manage_changeProperty
> since it is not exactly a property of the object.
> I tried that bt did not work..
Isn't this possible to set this attribute with extenal method for
example?

> Any way of putting an object back in ZODB?
What do you mean by 'back in zodb'? back from where?

> As to causing the pain the script would be useful if users can take a copies 
> of
> the main dbs and use copies of their own products.
I have no idea what you're talking about. You say that you want to
copy data.fs between few zope intantces with different set of products?

Which class(?) has 'home' attribute? What do you mean by changing
location of products and what are products for you?

-- 
Maciej Wisniowski

___
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
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ZODB access via ZEO

2007-02-07 Thread Andreas Jung



--On 7. Februar 2007 14:39:34 -0500 Adit Ranadive 
<[EMAIL PROTECTED]> wrote:



Well, the home attribute cannot be changed using the manage_changeProperty
since it is not exactly a property of the object.
I tried that bt did not work..
Any way of putting an object back in ZODB?


As to causing the pain the script would be useful if users can take a
copies of the main dbs and use copies of their own products.


All you are writing does not make much sense. Please give a detailed 
description of your problem. I can't think of a problem that might require 
such an approach.


-aj

pgpJMrWHB2np3.pgp
Description: PGP signature
___
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
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ZODB access via ZEO

2007-02-07 Thread Adit Ranadive
Well, the home attribute cannot be changed using the manage_changeProperty
since it is not exactly a property of the object.
I tried that bt did not work..
Any way of putting an object back in ZODB?


As to causing the pain the script would be useful if users can take a copies of
the main dbs and use copies of their own products.


>
> - Original Message -
> From: "Adit Ranadive" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, February 07, 2007 2:10 PM
> Subject: [Zope] ZODB access via ZEO
>
>
> > Hello All,
> >
> > Im trying to read from the data.fs file plone product information like
> > home
> > attributes.
> > Im doing this via ZEO using app.Control_Panel.Products.getObjectItems()
> > This returns to me a set of (object ids, objects). Using the object I
> > change the
> > home attribute.
> > When I restart the script the home attribute is the same as it was before.
> > So
> > the change did not take place in the database.
> > Is there any way to check back in the retrieved object from data.fs?
>
> I don't know anything about plone, but...
>
> if you want to change a property of an item you can google for info on
> "manage_changeProperties", however I would be very careful about changing
> things in the Products folder!!!
>
> Do you want to change the product or an instance of a product/class?  In
> which case you need to be accessing the instance object not the Product
> object.
>
> It makes no difference as to whether you are using zeo or not.
>
>
> > PS: I want to be able to modify the home attrib so I can change location
> > of
> > products even after theyre installed. AFAIK this is the only way to do it.
>
> As I said I know nothing about plone, but changing the location of products
> after they are installed sounds like a good way to cause yourself some
> serious pain. ;-)
>
>
> Jonathan
>
>


--

___
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
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ZODB access via ZEO

2007-02-07 Thread Jonathan


- Original Message - 
From: "Adit Ranadive" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, February 07, 2007 2:10 PM
Subject: [Zope] ZODB access via ZEO



Hello All,

Im trying to read from the data.fs file plone product information like 
home

attributes.
Im doing this via ZEO using app.Control_Panel.Products.getObjectItems()
This returns to me a set of (object ids, objects). Using the object I 
change the

home attribute.
When I restart the script the home attribute is the same as it was before. 
So

the change did not take place in the database.
Is there any way to check back in the retrieved object from data.fs?


I don't know anything about plone, but...

if you want to change a property of an item you can google for info on 
"manage_changeProperties", however I would be very careful about changing 
things in the Products folder!!!


Do you want to change the product or an instance of a product/class?  In 
which case you need to be accessing the instance object not the Product 
object.


It makes no difference as to whether you are using zeo or not.


PS: I want to be able to modify the home attrib so I can change location 
of

products even after theyre installed. AFAIK this is the only way to do it.


As I said I know nothing about plone, but changing the location of products 
after they are installed sounds like a good way to cause yourself some 
serious pain. ;-)



Jonathan

___
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

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] documentation about the ":method"

2007-02-07 Thread Andreas Jung



--On 7. Februar 2007 17:24:57 +0100 Manuel Spuhler 
<[EMAIL PROTECTED]> wrote:



Hello,

I posted this question in the Plone-Users List, but it might be more a
Zope stuff.

I am looking for some documentation about the ":method" used in some
forms, for instance  name="discussion_reply:method", but can't find
anything.





-aj

pgpiIfmbFh5Hz.pgp
Description: PGP signature
___
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
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] ZODB access via ZEO

2007-02-07 Thread Adit Ranadive
Hello All,

Im trying to read from the data.fs file plone product information like home
attributes.
Im doing this via ZEO using app.Control_Panel.Products.getObjectItems()
This returns to me a set of (object ids, objects). Using the object I change the
home attribute.
When I restart the script the home attribute is the same as it was before. So
the change did not take place in the database.
Is there any way to check back in the retrieved object from data.fs?

Thanks,
Adit

PS: I want to be able to modify the home attrib so I can change location of
products even after theyre installed. AFAIK this is the only way to do it.


___
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
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] documentation about the ":method"

2007-02-07 Thread Manuel Spuhler

Hi Marco,

thanks for your input. What I can't understand is that in some case
the string before the ":method" is the id of the current template, so
I have "current_template:method"  and 'current_template' is a page
template, not a method, that's why I don't get it.

regards

M.

2007/2/7, Marco Bizzarri <[EMAIL PROTECTED]>:

On 2/7/07, Manuel Spuhler <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I posted this question in the Plone-Users List, but it might be more a
> Zope stuff.
>
> I am looking for some documentation about the ":method" used in some
> forms, for instance  name="discussion_reply:method", but can't find anything.
>
> Thanks for any pointers
>
> Manuel Spuhler

I can't provide pointers, but can share what I understand about it.

If the user clicks on an input submit with the name "testMethod:method", the
testMethod will be invoked instead of the action of your form.

So, in your example, if you click on the discussion_reply, the discussion_reply
method/script will be called instead.

Regards
Marco
--
Marco Bizzarri
http://iliveinpisa.blogspot.com/




--
Manuel Spuhler

Développeur Web -  www.rsr.ch
Radio Suisse Romande
30, av. Temple
CH - 1010 Lausanne

Mail: [EMAIL PROTECTED]
Phone: +41 21 318 60 86
___
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
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope Products and proprietary software

2007-02-07 Thread Mark, Jonathan (Integic)
>>>what the FSF is FSF?  :-)

FSF - The Free Software Foundation. The organization that "started it all" in 
free or open source software. 
www.fsf.org/ 
___
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
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] documentation about the ":method"

2007-02-07 Thread Manuel Spuhler

Hello,

I posted this question in the Plone-Users List, but it might be more a
Zope stuff.

I am looking for some documentation about the ":method" used in some
forms, for instance  name="discussion_reply:method", but can't find anything.

Thanks for any pointers

Manuel Spuhler
___
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

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] stop undo revisions?

2007-02-07 Thread Jonathan


- Original Message - 
From: "Dennis Schulz" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, February 06, 2007 9:31 PM
Subject: [Zope] stop undo revisions?



Hi,

is there any way of stopping zope from doing revisions in a particular 
folder of a site?

I have hundreds of megas in seconds..
If not, how can I automize the packing of the zodb by a cronjob?


Google for "manage_pack".


Jonathan
___
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

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] zope form server and workflow

2007-02-07 Thread Jonathan


- Original Message - 
From: "Tim Nash" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, February 06, 2007 10:13 PM
Subject: [Zope] zope form server and workflow



I'd like to get zope developers advice. I'm interested in the
possibility of developing a system by putting together several zope
instance that talk to each other via web services. I'd like to use
zope as a RESTful server but I am novice zope user. I have only built
one product and that was over a year ago.

What I would like to do is the following:

I'd like to be able to use zope as a url addressed storage system for
e-forms. These are forms like you would find in a hospital clinic.
There would be a gui interface that would be separate from the zope
server (maybe it would also run in a different zope server but it
could also be built in php or jsp).


This sounds like a very straight-forward application that could easily be 
implemented in zope.  If you want a relational db for storage, there are 
several, i personally like mysql as the ZSQLDA interface does everything I 
need.  You could use ReportLab to dynamically generate pdf docs if you need 
them.  You can google for "zope xml-rpc" if you want to use that approach.


hth

Jonathan 


___
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

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope Products and proprietary software

2007-02-07 Thread David H

Andrew Milton wrote:


+---[ Marco Bizzarri ]--
| Hi all.
| 
| I would like to know if someone can provide infos on the following topic:
| 
| we have developed OpenFlow, which is released under GPL.
| 
| A company is distributing a proprietary product based on Zope and OpenFlow.
| 
| I suspect that if they want to do so, they should have a different

| licence from us.
| 
| Can someone provide further insight?


If they are distributing a codebase that is derived from OpenFlow then that
part of the code has to be released as GPL. The GPL is pretty specific about
derivative products.

You are probably best to go to the FSF with the exact details, they will most
likely be able to advise you better.

 


what the FSF is FSF?  :-)


___
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

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] stop undo revisions?

2007-02-07 Thread Chris Withers

Dennis Schulz wrote:
is there any way of stopping zope from doing revisions in a particular 
folder of a site?


No.


If not, how can I automize the packing of the zodb by a cronjob?


cron job?

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
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

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope Products and proprietary software

2007-02-07 Thread Andrew Milton
+---[ Marco Bizzarri ]--
| Hi all.
| 
| I would like to know if someone can provide infos on the following topic:
| 
| we have developed OpenFlow, which is released under GPL.
| 
| A company is distributing a proprietary product based on Zope and OpenFlow.
| 
| I suspect that if they want to do so, they should have a different
| licence from us.
| 
| Can someone provide further insight?

If they are distributing a codebase that is derived from OpenFlow then that
part of the code has to be released as GPL. The GPL is pretty specific about
derivative products.

You are probably best to go to the FSF with the exact details, they will most
likely be able to advise you better.

-- 
Andrew Milton
[EMAIL PROTECTED]
___
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
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope Products and proprietary software

2007-02-07 Thread Marco Bizzarri

Hi all.

I would like to know if someone can provide infos on the following topic:

we have developed OpenFlow, which is released under GPL.

A company is distributing a proprietary product based on Zope and OpenFlow.

I suspect that if they want to do so, they should have a different
licence from us.

Can someone provide further insight?

Regards
Marco
--
Marco Bizzarri
http://iliveinpisa.blogspot.com/
___
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

http://mail.zope.org/mailman/listinfo/zope-dev )