[Zope-dev] Zope 2.2.4 Dying

2001-02-15 Thread Andre Schubert
Hi, since the last time i had some problems with my zope server. The zope 2.2.4 running under linux dies unexpectly with the following messages. 2001-02-16T01:50:08 ERROR(200) zdaemon zdaemon: Fri Feb 16 02:50:08 2001: Aiieee! 5451 exited with error code: 13 -- 2001-02-16T02:29:38 ERROR(200)

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Barry A. Warsaw
> "MWP" == Morten W Petersen <[EMAIL PROTECTED]> writes: MWP> BTW, there is a list called [EMAIL PROTECTED], for ZODB MWP> specific questions. Make that [EMAIL PROTECTED] now! -Barry ___ Zope-Dev maillist - [EMAIL PROTECTED] http://list

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Bill Anderson
On 15 Feb 2001 23:28:18 +0100, Morten W. Petersen wrote: > [Tim McLaughlin] > > | Is this true on windows too? I saw some mention of this limit be lifted, > | but if so, in what version? > > It's not a problem on Windows, AFAIK. It's a problem with Linux, if > you want to be able to use databa

[Zope-dev] Problem upgrading to Zope2.3

2001-02-15 Thread Jay, Dylan
I did a clean install (on w2k), then copied across my products and Data.fs etc and when I restarted I got the following when I tried to access manage_main on the root folder. Funny thing is this doesn't happen on any other folder. Error type: SystemError Error value: Failed to import class Guar

RE: [Zope-dev] Import Libraries into Python Script

2001-02-15 Thread Itai Tavor
What's wrong with: import imaplib imaplib.__allow_access_to_unprotected_subobjects__ = 1 And, if the above is somehow bad or insecure, how would you use your method to allow access to specific methods in a module, as in: import re re.__allow_access_to_unprotected_subobjects__

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Chris Withers
> FileStorage type database was implicit, as we're discussing ZODB, > and that's one file per database. Not necessarily ;-) http://www.zope.org/Members/hathawsh/PartitionedFileStorage ...thanks Shane! *grinz* Chris ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Morten W. Petersen
[Erik Enge] | [Morten W. Petersen] | | | BTW, there is a list called [EMAIL PROTECTED], for ZODB specific | | questions. | | Actually, I think its called ZODB-Dev; [EMAIL PROTECTED] I stand corrected. Cheers, Morten ___ Zope-Dev maillist - [EMAI

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Erik Enge
[Morten W. Petersen] | BTW, there is a list called [EMAIL PROTECTED], for ZODB specific | questions. Actually, I think its called ZODB-Dev; [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev *

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Morten W. Petersen
[Erik Enge] | [Morten W. Petersen] | | | It's a problem with Linux, if you want to be able to use databases > | | 2GB in size on Linux, a kernel >= 2.4.0 is required. | | Nope. First, the limit is at file-level, not database-level (mind | you, a problem with the filesystem, not Linux per se).

[Zope-dev] ANNOUNCE: Zope 2.3.1 beta 1 released...

2001-02-15 Thread Brian Lloyd
Hello all, Zope 2.3.1 beta 1 has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.3.1b1/ Zope 2.3.1b1 fixes a number of issues that have come up through usage of 2.3.0, as well as some previously reported issues from the Zope bug collector.

Re: [Zope-dev] How to read ZODB with Python script?

2001-02-15 Thread Michel Pelletier
http://www.kuchling.com/zodb/guide/ -Michel On 15 Feb 2001, Petr Knapek wrote: > Hi Zopists, > > I would like to know how to connect to running Zope ZODB from a python > script. I would like to have possibility to read only objects from > ZODB? Is there any possibility how to do it when Zop

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Erik Enge
[Morten W. Petersen] | It's a problem with Linux, if you want to be able to use databases > | 2GB in size on Linux, a kernel >= 2.4.0 is required. Nope. First, the limit is at file-level, not database-level (mind you, a problem with the filesystem, not Linux per se). You can have tons and tons

Re: [Zope-dev] Calling Catalog from python script

2001-02-15 Thread Erik Enge
[[EMAIL PROTECTED]] | Where did getobject come from? I know about Catalog.data, but I've never | seen a getobject() method... It's a method of the brain ;). If you have a data_record_id, you can use getobject() to retrieve the object it represents.

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Andy McKay
Windows, according to Trent Mick a Developer here at ActiveState who added in some large file support for Python platforms for python 2.0 (and has looked at this in detail). I heard a rumour Solaris does not have this problem. -- Andy McKay. - Original Message - From: "Morten W. Peters

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Morten W. Petersen
[Andy McKay] | Yes, you will hit this limit. Windows uses a 32 bit integer for file size... | No matter what MS says, Ive hit it on Win2k. Interesting. Are you sure the problem lies with Win2K and not Python or something else? Cheers, Morten ___ Zo

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Morten W. Petersen
[Tim McLaughlin] | Is this true on windows too? I saw some mention of this limit be lifted, | but if so, in what version? It's not a problem on Windows, AFAIK. It's a problem with Linux, if you want to be able to use databases > 2GB in size on Linux, a kernel >= 2.4.0 is required. Hope this h

Re: [Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Andy McKay
Yes, you will hit this limit. Windows uses a 32 bit integer for file size... No matter what MS says, Ive hit it on Win2k. -- Andy McKay. - Original Message - From: "Tim McLaughlin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 1:13 PM Subject: [Zope-dev]

[Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Tim McLaughlin
Is this true on windows too? I saw some mention of this limit be lifted, but if so, in what version? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] DA for DB2 ?

2001-02-15 Thread Philipp Auersperg
I have looked around for a DB2 database adapter for Zope and did not find any. But I have found that there exists a DB2 driver for Python under: ftp://people.linuxkorea.co.kr/pub/DB2 This driver claims to be Python DB API compliant, so it should be possible to port for example the ZOracleDA. But

Re: [Zope-dev] Getting the parent of a container in a Python Script

2001-02-15 Thread Cyril Elkaim
Erik, >What do you need the reference for? How are you going to use it? And >when you're talking about «inside ZODB», does that mean that you're >not using Zope to access it? I'm using Zope but I made up my application by components. So I want to access an object anywhere

Re: [Zope-dev] How to read ZODB with Python script?

2001-02-15 Thread Shane Hathaway
Steve Alexander wrote: > > Petr Knapek wrote: > > > > > I would like to know how to connect to running Zope ZODB from > > a python script. I would like to have possibility to read > > only objects from ZODB? Is there any possibility how to do > > it when Zope application server is runni

Re: [Zope-dev] How to read ZODB with Python script?

2001-02-15 Thread Steve Alexander
Petr Knapek wrote: > > I would like to know how to connect to running Zope ZODB from > a python script. I would like to have possibility to read > only objects from ZODB? Is there any possibility how to do > it when Zope application server is running and not to corrupt > the ZODB? This

Re: [Zope-dev] How to read ZODB with Python script?

2001-02-15 Thread Chris McDonough
Hi Petr, Look into ZEO. You'll be able to connect to a ZODB database from multiple processes with ZEO. - C - Original Message - From: "Petr Knapek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 11:34 AM Subject: [Zope-dev] How to read ZODB with Python sc

[Zope-dev] How to read ZODB with Python script?

2001-02-15 Thread Petr Knapek
Hi Zopists, I would like to know how to connect to running Zope ZODB from a python script. I would like to have possibility to read only objects from ZODB? Is there any possibility how to do it when Zope application server is running and not to corrupt the ZODB? Thanks, Petr -- Petr Knápek

Re: [Zope-dev] Getting the parent of a container in a Python Script

2001-02-15 Thread Erik Enge
[Cyril Elkaim] | I want to give the id (eventually qualified) of an object and get a | reference to it. I'm talking about persistent objects inside the | ZODB. What do you need the reference for? How are you going to use it? And when you're talking about «inside ZODB», does that mean that you'

Re: [Zope-dev] Getting the parent of a container in a Python Script

2001-02-15 Thread Cyril Elkaim
Eric, Thanks that works :-) And you know what I've tried that before posting but inside the test tab of my zclass. I should tried it inside the client Folder. Anyway that's OK. >I'm not quite sure what you mean, could you elaborate please? Do you >mean like you want t

Re: [Zope-dev] Getting the parent of a container in a Python Script

2001-02-15 Thread Tom Jenkins
Do you mean the aq_parent? I believe that is the property that you want. Cyril Elkaim wrote: >Hi all, > > My question is in the title. I think I'm stupid because I have really searched > anywhere, and found nothing. The answer is certainly trivial but too many hours > you know... :-)

Re: [Zope-dev] Getting the parent of a container in a Python Script

2001-02-15 Thread Erik Enge
[Cyril Elkaim] | Of course I have tried REQUEST.PARENTS[0] but this is the parent | inside the URL, I'm searching the PARENT inside the object system. yourobject.getParentNode() should do the trick. Have a read at lib/python/OFS/ZDOM.py | Another question how can I get a reference of any obje

Re: [Zope-dev] Getting the parent of a container in a Python Script

2001-02-15 Thread Morten W. Petersen
[Cyril Elkaim] |Hi all, Hia Cyril, [snip] | Aside from my problems Zope rocks really. Yes it does. And you can find usable information in $ZOPE_INSTANCE/lib/python/OFS/ZDOM.py . Hope this helps, Morten ___ Zope-Dev maillist - [EMAIL PR

RE: [Zope-dev] Import Libraries into Python Script

2001-02-15 Thread Brian Lloyd
This needs to be documented (and made a little easier), but heres a quick primer: o Create a new directory in your 'Products' directory (called ModuleAssertions or something like that - the name is unimportant). o Create an '__init__.py' file in the new directory. o Add module

[Zope-dev] Getting the parent of a container in a Python Script

2001-02-15 Thread Cyril Elkaim
Hi all, My question is in the title. I think I'm stupid because I have really searched anywhere, and found nothing. The answer is certainly trivial but too many hours you know... :-) I'm able to get all the children of the current container or context but unable to get its parent. Maybe

[Zope-dev] Re: More Feedback on Refresh

2001-02-15 Thread Chris Withers
Shane Hathaway wrote: > > Oh, here's a hypothesis... if, in __init__.py, you use "import" within > the initialize() method rather than at module scope, Refresh can't > detect the module dependency correctly. We're not using import in this way but are still seeing icon wierdities. Also, if you u

Re: [Zope-dev] [Newbie Alert] How to make an existing class catalog-aware

2001-02-15 Thread Erik Enge
[stefano ciccarelli] | Is there any way to make an existing class catalog aware? Is this ZClasses or Python classes, and are there any objects that exist already? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-

[Zope-dev] [Newbie Alert] How to make an existing class catalog-aware

2001-02-15 Thread stefano . ciccarelli
Hi everybody I am using managed meeting to set up a course management site. I would like to make its classes catalog aware, so I can make canned searches and display different kind of courses, depending on the user interest. Is there any way to make an existing class catalog aware? Thanks, St

[Zope-dev] Import Libraries into Python Script

2001-02-15 Thread Chris Withers
Hi, What's the 'approved' way of validating standard python modules so they can be imported in Python Scripts? I want to import imaplib but can't find out how :-( cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailma