[Zope] ZClass acting up?

2000-05-22 Thread Erik Enge
erent projects. Does anyone know why this happens? And possibly how I can achieve what I want? -- Erik Enge ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - h

Re: [Zope] ZClass acting up?

2000-05-22 Thread Erik Enge
e wondered :-) -- Erik Enge ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.o

Re: [Zope] ZClass acting up?

2000-05-23 Thread Erik Enge
Tres Seaver [EMAIL PROTECTED] writes: If you fill out the ID and press 'Add', le voilà! Yeah, your right! But that still means I need to do some hacking about, and me and my semantics does not like that ;-) (Actually it looks like a duplicate of #811). How can I see number 811, it just

[Zope] Zope jobs.

2000-06-21 Thread Erik Enge
Hi, I was wondering.. Is there a place where I can post Zope job offerings? Shouldn't there be such a place on zope.org? (btw, anyone in England - or other parts of this planet - interested in work, please e-mail me) Thanks, Erik Enge EMM Solutions

Re: [Zope] Zope jobs.

2000-06-21 Thread Erik Enge
On Wed, 21 Jun 2000, Patrick Lewis wrote: Funny you should mention this. I have mocked up a job board at: www.zope.org/Members/plewis/job_board Let's hope they're not _too_ slow ;-). But, if you would like to privately email me with the details, I would happily post it in the meantime.

Re: [Zope] Zope jobs.

2000-06-22 Thread Erik Enge
On Wed, 21 Jun 2000, ethan mindlace fremen wrote: So I ask for your patience: I will be moving on this soon. Great! Be sure to let us know :-). ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] ZCatalog counting?

2000-06-27 Thread Erik Enge
On Tue, 27 Jun 2000, Alexander Limi wrote: Is there an easy way to count the number of occurences of a certain meta type in a Catalog? E.g: I want a dtml snippet that outputs: Couldn't you do: dtml-call "REQUEST.set('counter', 0)" dtml-in "objectValues('DTML Document')" dtml-call

Re: [Zope] Data.fs.lock?

2000-06-28 Thread Erik Enge
On Wed, 28 Jun 2000, Chris Withers wrote: I'd say it's definitely a problem if you have to stop zope to do a backup :( How would you do it? In Unix you can't check if the file is being read to (can you?), so if you start backing up a 2GB Data.fs file and then the Zope process starts writing

Re: [Zope] Data.fs.lock?

2000-06-28 Thread Erik Enge
On Wed, 28 Jun 2000, Oleg Broytmann wrote: On Wed, 28 Jun 2000, Chris Withers wrote: So, how should we backup data.fs without stopping Zope and ensuring the integrity of our data all the while? Pack and backup Data.fs.old. But what if the site is incredibly busy and transactions

Re: [Zope] Data.fs.lock?

2000-06-29 Thread Erik Enge
On Thu, 29 Jun 2000, Chris Withers wrote: Hmm, about extending this so you have 'rotating data.fs files' in the same way you have rotating log files? In general, yes :-). Do you think it would be solving the right problem the right way? Definitely, but I think it also needs to be solved

RE: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-29 Thread Erik Enge
On Thu, 29 Jun 2000, Jeff K. Hoffman wrote: It is my understanding that the ZODB on disk is always in a consistent state; Jim has said, in the past, that you can simply make a copy of Data.fs, even while Zope is running, without problems. But the Data.fs has to be updated sometimes. And if

RE: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-29 Thread Erik Enge
On Thu, 29 Jun 2000, Wilkinson Charlie E wrote: This would be consistent with "atomic updates." What it means is that a transaction is not written to the Data.fs file until it has completed, and when it is finally written out, it's done as an atomic operation, i.e. at the system level it is

Re: [Zope] SV: [Zope] urlquote?

2000-06-30 Thread Erik Enge
On Fri, 30 Jun 2000, Magnus Heino (Rivermen) wrote: Am I doing anything wrong? :-P Are you using this within Zope? Then you could do: dtml-var the_variable url_quote If I'm not mistaken, Zope also has sql_quote and html_quote. ___ Zope

Re: [Zope] Python Product Tutorial

2000-08-05 Thread Erik Enge
On Fri, 4 Aug 2000, Loren Stafford wrote: I don't know of any tutorial. ZScheduler creates a container (a subclass of Catalog in fact), so you might use that code as a starting point. It doesn't put other objects in the container, tho. Thanks, but I'm really interested in how I would add

Re: [Zope] REPOST: README.txt Tab

2000-08-05 Thread Erik Enge
On Fri, 4 Aug 2000 [EMAIL PROTECTED] wrote: I'll re-ask the question: How do I get the README tab to appear in a product? In the Squishdot Product I discovered this: Readme = Document('', __name__='') Readme.__roles__ = None This one seems to add a README tab. If you have a

[Zope] Python Class trickyness

2000-08-05 Thread Erik Enge
Good evening. I know how to make a Python Class, which is a container. But how do I make another Class which can only be added from the container-class I have created. Know what I mean? The last class should only show up in the "Available Objects"-list if the user is in a instance of the

Re: [Zope] Python Class trickyness

2000-08-08 Thread Erik Enge
[Andrew Kenneth Milton] | This is easier than you might think:- Hehe. Thanks a lot! :) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Missing doc string

2000-08-22 Thread Erik Enge
G'day, fellow Zopistas. I get Missing doc string at: http://localhost/misc_/TravelAgent When I call URL:http://localhost/misc_/TravelAgent/Folder_icon.gif Anybody who know which doc string I'm missing? ___ Zope maillist -

Re: [Zope] Missing doc string

2000-08-22 Thread Erik Enge
[Erik Enge] | Anybody who know which doc string I'm missing? Yes. I know, you lowlife. You see, the misc_ isn't a tuple, it's a dictionary - repeat after me: d i c t i o n a r y. Got that now? Sheesh... ;-) ___ Zope maillist - [EMAIL PROTECTED

[Zope] Barcodes, magnetic cards, etc.

2000-08-22 Thread Erik Enge
Good morning, people. I was wondering, can Zope interface to barcodes, magnetic cards (e.g. credit cards) and other common shop-"accessories"? Feedback is greatly appretiated :) ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Barcodes, magnetic cards, etc.

2000-08-23 Thread Erik Enge
[Curtis Maloney] | Well, I have used Zope with a Barcode scanner. Since the scanner | (as do most) work via the keyboard, AS a keyboard, there is really | nothing special to do. Ok, so it translates the barcodes to a string or what? Which scanner was this? Product, model type, etc. | From

Re: [Zope] Barcodes, magnetic cards, etc.

2000-08-23 Thread Erik Enge
[Curtis Maloney] | On Wed, 23 Aug 2000, Erik Enge wrote: | What is the mainstream format for the codes when the are scanned in? | | I don't understand what you mean. Are the barcodes usually a collection of integers, characters, special characters or what? And, by the way, do you know

[Zope] Zope.org is soooooo slow.

2000-08-31 Thread Erik Enge
Zope.org is slow as hell. A couple of days a week at least. It doesn't exactly work in favor for Zope when I try to show of Zope.org to friends, collegues or potential customers and the site won't even respond. Argh! Why is it so slow? Do something about it!

Re: [Zope] Zope.org is soooooo slow (not really)

2000-08-31 Thread Erik Enge
[J. Atwood] | Umm.. what makes you say it is slow? It popped up just as fast as | Microsoft.com and Apple.com this morning (with each page after even | faster). It _was_ slow. | Might be your connection. Certainly not slow from here (NYC, DSL) No. I check a zillion other sites; they were

Re: [Zope] Zope.org Mirroring

2000-09-02 Thread Erik Enge
(sorry for jumping in here) [Chris Withers] | What to do? ;-) It might not be interesting, but what I would really like is a complete mirror of documentation and products up and running all the time. That could be done statically, even without Zope if it sucks that much. (Although, I can't

[Zope] Cut down on the Available Objects list.

2000-09-06 Thread Erik Enge
Hi, all. When I create ZClasses I can make the Available Objects shrink to just a couple of available objects via subclasses and so forth. How would I do this with a Python Class in a Python Zope Product? (Let's say an OFS.Folder.Folder class, which would normally could contain all available

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Erik Enge
[Karl Anderson] | In order to link/incorporate a GPL'd module, you have to be able to | distribute the entire work under the GPL. : | Therefore, assuming RMS is correct, GPL'd components can't be | distributed as part of a Zope solution. : | Is this correct? If it is, the GPL isn't very

Re: [Zope] FSF about Zope and GPL'ed components

2000-09-20 Thread Erik Enge
[Nils Kassube] | From: [EMAIL PROTECTED] (Free Software Foundation) [Bradley M. Kuhn] | | It sounds like you are building software that combines Zope and | GPL'ed software to form a single, larger program. In this case, the | whole larger program falls under the terms of the GPL. I don't

Re: [Zope] meta type?

2000-10-30 Thread Erik Enge
On Mon, 30 Oct 2000, Jason C. Leach wrote: Is that like 'Image' in the case of images, and Folder in the case of folders? Yupp. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Almost Done.

2000-10-30 Thread Erik Enge
On Mon, 30 Oct 2000, Jason C. Leach wrote: hi, Hi. How do I get a TinyTable to display it's contents? All I find in the docs is !--in# tablename-- and that does not seem to work for me, unles I am lacking a tag? Try this: dtml-in tablename (and next time, post the error

Re: [Zope] Upscaling of performance

2000-11-02 Thread Erik Enge
On Thu, 2 Nov 2000, J. Atwood wrote: On some good hardware it can handle about 100 Requests per second (8,640,000 per day). Well, now. That truly depends on what Zope would be doing. Fire away a couple of objectValues() and the process will kneel _a lot_ sooner. Of course, this you could

[Zope] Job offering - England

2000-11-09 Thread Erik Enge
Zopistas, wanna get paid? :) Zope/Python programmer wanted to work with one of our clients in England. A team from Thingamy (URL:http://www.thingamy.com) have for some months now been developing a Zope application for a client in England. The client's main work is resourcing (ie. matching

Re: [Zope] ID = somebody@someserver.com... ?

2000-11-09 Thread Erik Enge
On Thu, 9 Nov 2000, Thomas Søndergaard wrote: I am sorry about me being a newbie but can somebody help me with an Email@dress as an ID? I'm not sure I understand your problem, but couldn't you either use string.replace() or dtml-var eadr url_quote?

Re: [Zope] ZCatalog and random key error

2000-11-10 Thread Erik Enge
On Fri, 10 Nov 2000, Bak @ kedai wrote: also, will iterating through catalog index faster than iterating through ..say.. objectItems('meta-type')? Much faster. Much, much faster. I tried an objectValues() on 2000 items (in 3 different folder-type objects) and did various calculations on

Re: [Zope] How do I set the Title property of a File object from aDTML method

2000-11-10 Thread Erik Enge
On 10 Nov 2000 [EMAIL PROTECTED] wrote: But I'm unable to set the Title property of a File object. Is it just the title property? All the others you can fiddle around with? Try manage_changeProperties() instead. I know (from lib/python/OFS/Image.py) that the File object has its own

Re: [Zope] zope, worldpilot, IMAP, POP...

2000-12-21 Thread Erik Enge
[marc lindahl] | This looks great, but it seems to assume pre-existing individual mail (POP | or IMAP) accounts. I'm stuck on, how to create new email accounts when | creating zope memberships, and keep the email accounts sync'd with the zope | memberships (username and password). Well, I

Re: [Zope] zope, worldpilot, IMAP, POP...

2000-12-21 Thread Erik Enge
[Morten W. Petersen] | Yup. The way that seems right is to proxy user-account creation through | sudo (unix (linux?) only), thoughts / comments ? Well, that probably depends on how you figure the administrator to work. I think I would've tried to abstract the whole notion about «something

Re: [Zope] Job listings?

2000-12-21 Thread Erik Enge
[Jiva DeVoe] | I don't see anything in the list charter about it, but I don't want | to be rude. Let me know! Thanks! :) URL:http://www.zope.org/Members/plewis/job_board/index_html Post the job there, although I'm not that all Zopistas would read it. Try it and see.

Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Erik Enge
[Chris Withers] | dtml-call "somemethod(absolute_url()+urlquote(_.getitem(id))" What about security issues? Wouldn't this also allow those methods to be called TTW by any user? ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Erik Enge
[Chris Withers] | Even if it did, what harm would it do? Denial of Service attacks was what I though of. But it's a non-issue I guess. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Tools used for programming Zope

2001-01-19 Thread Erik Enge
On Fri, 19 Jan 2001, Chris Withers wrote: Well, I get around this by keeping the code in Python Products as much as possible (nice and CVS friendly) and just using TTW stuff for customisation. That's the same thing as I do. What about you other people, are you actually doing serious

Re: [Zope] Getting an object from it's id

2001-01-23 Thread Erik Enge
[[EMAIL PROTECTED]] | Is there a Zope API method that will allow me to get an object from | it's id, or can I write a simple Python method to do it, or am I | missing something even more obvious? Well, sometimes objectItems or objectValues can be the right ones to use. Other times, (in Python

Re: [Zope] EMail with uploaded attachments

2001-01-23 Thread Erik Enge
[Klaus Herrmann] | but the only result is that the attachments contains: | ZPublisher.HTTPRequest.FileUpload instance at 88b4df0 I might be wrong, but what if you used this instead: dtml-var "_[attached_file]" Would that work? ___ Zope

Re: [Zope] Zope Games

2001-01-24 Thread Erik Enge
[Gerald Gutierrez] | Does anyone know about any web games written in Zope, something akin | to Blacknova.net, which is written in PHP ? The source is at | http://sourceforge.net/projects/blacknova/. I don't. But I might be able to hook someone up with some financial funding to do so. I recall

Re: [Zope] a little problem - $1 reward!

2001-01-25 Thread Erik Enge
[[EMAIL PROTECTED]] | ... in the received message. A previous version I had of this script gave | me the correct results (From: God, Reply-To: [EMAIL PROTECTED]) so I'm | pretty-sure that's it's a problem with '@cs.strath.ac.uk' being appended. And you are running with the same mailserver, on

[Zope] Mozilla and Zope (Was: Re: [Zope] Editors [OT])

2001-01-25 Thread Erik Enge
[Wolfgang Strobl] | It's pure Python and wxPython (i.a. wxWindows) based, it even comes | with a first attempt of a Zope interface! I wonder that it doesn't | get more publicity here. On the other hand, I noticed that Shane | Hathaway is listed as one of the developers ... I though DigiCool

Re: [Zope] ANNOUNCE: Zope 2.3.0 beta 3 released

2001-01-25 Thread Erik Enge
[Oleg Broytmann] | Finally it works for me lake a charm! (Even with python 2.0!) Really? Python 2.0? Without any problems? Digicool's, are you supporting Zope on Python 2.0? ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] ANNOUNCE: Zope 2.3.0 beta 3 released

2001-01-25 Thread Erik Enge
[Oleg Broytmann] | On 25 Jan 2001, Erik Enge wrote: | | Really? Python 2.0? Without any problems? | |I didn't found any, do you? I haven't tried running Zope with 2.0, yet. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

Re: [Zope] Problem instantiating ZClass

2001-01-25 Thread Erik Enge
[smund Hjulstad] | I did the following: But do you have to? Have you sniffed the Python Product API? If you haven't already, check these out: URL:http://www.zope.org/Members/maxm/HowTo/minimal_01 and then URL:http://www.itamarst.org/learningzope/index.html

Re: [Zope] DNS/access problems

2001-01-25 Thread Erik Enge
[Olaf Zanger] | any idea where to search? Try providing more details about what went wrong, how it should've worked instead and any error messages. Then, maybe, we'll be able to help you. :-) ___ Zope maillist - [EMAIL PROTECTED]

[Zope-dev] Redirecting from the manage interfaces.

2000-07-15 Thread Erik Enge
Hi. I've been browsing through the Zope and Zope-dev archives without finding anything related to this, please stop me if it has already been dealt with. :) technical person = someone who doesn't mind fuzzing around with the manage_main pages non-technical person = someone

Re: [Zope-dev] Redirecting from the manage interfaces.

2000-07-15 Thread Erik Enge
On Sat, 15 Jul 2000, Shane Hathaway wrote: call, it won't redirect. So you should be able to achieve the same results just by invoking manage_addImage without including the REQUEST object. But I have to pass something with the REQUEST, or else it won't add the image, right? A convention

[Zope-dev] Weird thing happend with Pack

2000-08-05 Thread Erik Enge
Hi. I was fiddling around with my Zope-instance, and decided to Pack the database, I had just deleted a lot of objects and the Data.fs was reported to be about 15MB large; which I knew couldn't be true. Under Control_Panel/Database I pressed the "Pack" button with "days older than" set to '0'.

[Zope-dev] Funny bug in Zope?

2000-08-16 Thread Erik Enge
I'm not quite sure if this is already reported or not, so I won't give much information on it (I've looked for something similar, but I haven't found it). I'm runnig Zope 2.2.0 under Linux. I have this product I've made myself - called TravelAgent. I add an instance of it to the Zope

Re: [Zope-dev] Transaction question

2000-08-28 Thread Erik Enge
[Shane Hathaway] | Johan Carlsson wrote: | | I just want to check if things work the way I think (hope) it does. | | In a transaction, are objects attributes safe from other threads. | | self._v_mytemp in my request does not conflict with other requests? | | This is correct (or it's

Re: [Zope-dev] Transaction question

2000-08-28 Thread Erik Enge
[Shane Hathaway] | It means that a correctly operating ZODB will behave this way. Oh, I see. Thanks for clarifying that. :) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] RFC: page contracts

2000-08-30 Thread Erik Enge
[Petru Paler] | - how this should be aproached Couldn't this be implemented by adding more properties to you objects? One thing that would be great, though, variable checking :) ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] REPOST: Cut down on the Available Objects list.

2000-09-07 Thread Erik Enge
Hi, all - someone suggested to me that I should try the zope-dev list instead of the zope list, here goes. When I create ZClasses I can make the Available Objects shrink to just a couple of available objects via subclasses and so forth. How would I do this with a Python Class in a Python Zope

[Zope-dev] Size of Data.fs - and crypto.

2000-09-10 Thread Erik Enge
Hi. Does the performance of Zope degrade as the Data.fs get larger? Both on startup time (which I'm pretty sure will degrade) and on respons time, serving a object f ex? Another thing. Have anyone tried to encrypt all data inside the Data.fs file? I mean, encrypted the data so that not even

Re: [Zope-dev] Size of Data.fs - and crypto.

2000-09-10 Thread Erik Enge
[Chris McDonough] | [Erik Enge] | | Another thing. Have anyone tried to encrypt all data inside the | Data.fs file? I mean, encrypted the data so that not even root can | access it, only if you have the right passphrase (or whatever) in the | management interface are you allowed access

Re: [Zope-dev] CatalogAware

2001-01-04 Thread Erik Enge
[Chris Withers] | The point behind CatalogAware was, as I understand it, that the object | inheriting from CatalogAware wouldn't have to worry about managing its | own indexing. Sadly, that didn't work out... I haven't been following this discussion, so my question may be redundant, and if it

Re: [Zope-dev] CatalogAware

2001-01-04 Thread Erik Enge
[Michael Bernstein] | When called, they find the nearest (acquisition-wise) ZCatalog | (named Catalog by default), I think you can specify the ZCatalog it should index itself in by putting the default_catalog attribute in your class. I think, that this object (in pseudo) would index itself

Re: [Zope-dev] ZCatalog scalability

2001-01-21 Thread Erik Enge
[Michael Bernstein] | I need to know how far the ZCatalog will scale using this indexing | and search strategy. Does anyone have anectodal or benchmark data to | suggest if (and when) I will hit a 'wall' regarding the number of | objects being indexed and searched? I'm going to try to stuff 27

Re: [Zope-dev] ZCatalog scalability

2001-01-23 Thread Erik Enge
[Michael Bernstein] | We seem to have disposed of the wildcard issue [snipped out | below], and I'm looking forward to Eric's results, but does | anyone else have any information about whether there is a | practical upper limit on how many objects can be indexed and | searched in a ZCatalog? I

Re: [Zope-dev] ZCatalog scalability

2001-01-23 Thread Erik Enge
[Chris Withers] | ...and is that specifically for BTree folders, or Zope BTree's in general? I don't believe that B-Tree folders have those kinds of limitations by general design. I'm more conserned that somewhere along the lines, doing operations on a huge BTree Folder (Yes, in Zope) will be

Re: [Zope-dev] ZCatalog scalability

2001-01-23 Thread Erik Enge
[Michael Bernstein] | Erik Enge wrote: | | I don't believe that B-Tree folders have those kinds of limitations by | general design. I'm more conserned that somewhere along the lines, | doing operations on a huge BTree Folder (Yes, in Zope) will be slow. | | What sort of 'operations' do

Re: [Zope-dev] ThreadSafeCounter 0.0.1 released

2001-02-11 Thread Erik Enge
[Morten W. Petersen] | There's a new product available, which enables unique ids in a given context, | take a look at url:http://www.zope.org/Members/morphex/ThreadSafeCounter. What happens if you run this with ZEO? Will the file be kept in sync with all ZEO Clients?

[Zope-dev] Introducing ZopePrints.

2001-02-12 Thread Erik Enge
Hola! Some of us over at ZopeZen.org (URL:http://www.zopezen.org) have been discussing the fenomena that is called ZopePrints. I'll give a brief explanation, and would appretiate feedback as to whether this a good idea or not. A ZopePrint is a document, or maybe a set of documents, which

Re: [Zope-dev] Introducing ZopePrints.

2001-02-12 Thread Erik Enge
[Tres Seaver] | Please see: | | http://dev.zope.org/Projects/PTK | | for our work-in-progress. Hey, looks like what I'm after. I can see that it's a work in progress, so if you need any help, give me a shout. It didn't say too much about the project itself, do you have any such information

Re: [Zope-dev] ThreadSafeCounter 0.0.1 released

2001-02-12 Thread Erik Enge
[Morten W. Petersen] | There's a new product available, which enables unique ids in a given context, | take a look at url:http://www.zope.org/Members/morphex/ThreadSafeCounter. On every view - a call to index_html() - it prints '{}' to stdout. Bug?

Re: [Zope-dev] ThreadSafeCounter 0.0.1 released

2001-02-12 Thread Erik Enge
[Erik Enge] | On every view - a call to index_html() - it prints '{}' to stdout. Bug? Forget it. My fault. *shame, shame* ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Updates! Refresh, BTreeFolder, and ZDebug products

2001-02-12 Thread Erik Enge
[Shane Hathaway] | If no one reports any problems No problems so far :). Tried them with Zope 2.2.1. | But here's the biggest news: the Refresh product Excellent! When will this be included in standard Zope distributions? ___ Zope-Dev maillist -

Re: [Zope-dev] Strange AttributeError in AccessControl/User.py

2001-02-13 Thread Erik Enge
[Morten W. Petersen] | indeed a strange problem, anyone experienced this? What did you do to make this happen? Versions? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding!

Re: [Zope-dev] Re: ThreadSafeCounter

2001-02-13 Thread Erik Enge
[Morten W. Petersen] | The ideal solution would be to use an object that lives in the ZODB, | I wonder if there is a way to keep the 'object history' empty? That | is, keeping the counter 'packed' while retaining 'object history' | information on all other objects. I'm no ZODB expert, but I

Re: [Zope-dev] Introducing ZopePrints.

2001-02-14 Thread Erik Enge
[Michel Pelletier] | We would love to see this description from you. The description of such a system/model in a Fishbowl project? Or just a general description? Sorry for being slow :) | I think it would be great to get examples of your problems in a case | study format, but also in a

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]

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

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

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 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] 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

[Zope-dev] The structure of lib/python/*

2001-02-16 Thread Erik Enge
Hi, Zopistas. I've been reading a lot of Zope code the last couple of years, but still I really don't see any overall structure of lib/python. Is this documented somewhere? ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Executing zopescript using zope-time

2001-02-16 Thread Erik Enge
[Espen Sorbye Frederiksen] | I need to automaticly execute a zopescript once a day You could try Xron, cron-zope or something external. There is something something called ZScheduler also. URL:http://www.zope.org/Members/lstaffor/Xron URL:http://www.zope.org/Members/phd/cron-zope

[Zope-dev] Zope 2.3.1b1 glitch?

2001-02-17 Thread Erik Enge
Hia. When entering the ZMI and clicking on Control_Panel, Database management and then Cache parameters I get two new tabs: Contents and Undo. It's probably just me, but I don't quite understand these two. Couldn't we display the Undo tab along with Database, Cache parameters and Flush Cache?

Re: [Zope-dev] Zope 2.3.1b1 glitch?

2001-02-17 Thread Erik Enge
[Erik Enge] [about undo tabs] Hm. Just discovered this. Both /Control_Panel/manage_undoForm and /Control_Panel/manage_UndoForm work fine. manage_undoForm redirects to manage_UndoForm after you've pressed the Undo-button though. Maybe that's where

[Zope-dev] More Zope 2.3.1b1 stuff.

2001-02-17 Thread Erik Enge
This might be picking on very little things, but hey, someone has to do that too. :-) When adding a Version, the Help-button is there. Not a Help-link which seems to be the standard these days. Same goes for Mail Host, External Method, Z SQL Method and ZCatalog. Accelerated HTTP Cache Manager

Re: [Zope-dev] More Zope 2.3.1b1 stuff.

2001-02-17 Thread Erik Enge
[Erik Enge] | This might be picking on very little things And so is this: why isn't there a grey line above the Users in the acl_users? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] More Zope 2.3.1b1 stuff.

2001-02-17 Thread Erik Enge
[Erik Enge] | [Erik Enge] | | | This might be picking on very little things | | And so is this Yeah, this also - but I promise, this is the last one. For today anyways. Either my eyes aren't quite awake yet, or this line appears two times in the Credits-section of /manage_copyright

Re: [Zope-dev] The structure of lib/python/*

2001-02-17 Thread Erik Enge
[Dieter Maurer] | Erik Enge writes: | I've been reading a lot of Zope code the last couple of years, but | still I really don't see any overall structure of lib/python. Is this | documented somewhere? | | I find the names quite self explanatory. Yes, the names are fine in most cases

Re: [Zope-dev] ZCatalog scalability

2001-02-18 Thread Erik Enge
[Michael R. Bernstein] | Erik Enge wrote: | | I'll let you know how it goes. (And please, do poke at me if it takes | too long.) | | Ok, I'm poking :-). Thanks. Keep doing it till you get what you need, I truly don't mind. :-) | How did it go? Thanks to the speed of delivery at Royal

Re: [Zope-dev] ZCatalog scalability

2001-02-18 Thread Erik Enge
[Michael R. Bernstein] | What I'm looking for is any indication that object creation time | and/or indexing time goes up with the number of objects already in | the ZODB. Well, one thing I've already learned - which you all probably know - is that you do _not_ want to put index_object() in your

[Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-22 Thread Erik Enge
Right. This is the traceback I get, after doing a search (searchResults) - which goes fine by teh way - and then trying to do an getobject(x.data_record_id_) as a non-emergencyuser user get up an login box and press escape: Unauthorized Sorry, a Zope error occurred. Traceback (innermost

Re: [Zope-dev] Error message traceback

2001-02-22 Thread Erik Enge
On Thu, 22 Feb 2001, Philipp von Weitershausen wrote: how do I turn off this annoying traceback that is always printed out when an error occurrs? Start Zope with out the debugging switch; "-D". Look in your z2.py file for expalation of it, and in start (or start.bat on Windows?) to remove

Re: [Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-23 Thread Erik Enge
On Thu, 22 Feb 2001, Chris McDonough wrote: I'm not sure why this isn't in 2.3.1b1, but yes, the code in getobject was changed to use unrestrictedTraverse for this very reason. On closer inspection, I can see that it is actually changed in 2.3.1b1. It does say unrestrictedTraverse (line 457,

Re: [Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-23 Thread Erik Enge
On Fri, 23 Feb 2001, Chris McDonough wrote: No... "No" to which question? what are you getobjecting? Does it happen only with certain kinds of objects? Are they ZClass objects or Product-based objects? It happens with all kinds of objects I have in my index. All my objects in the index

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Erik Enge
On Fri, 23 Feb 2001, Michael R. Bernstein wrote: On the subject of numbers, I was wondering how to index alphanumeric values like ISBN numbers. Why can't you use FieldIndexes? ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] Traceback strangeness and default width/height (and those funnyPython Methods)

2001-02-23 Thread Erik Enge
Is it just me, or has the tracebacks provided by Zope when an Exception is raced gotten "worse"? In Zope 2.3.1b1 it usually says file: DT_In (or one of them), and doesn't even mention the file which the Exception was raised from. Also, When I set the default width/height with the new ZMI and

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Erik Enge
On Fri, 23 Feb 2001, Chris McDonough wrote: Maybe a "This How-To covers product such-and-such version x.x" is in order as a standard feature of the How-To? This is a good idea. It would be an even better idea to allow folks to add comments to howto pages, so that if the original author

Re: [Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-23 Thread Erik Enge
On Fri, 23 Feb 2001, Chris McDonough wrote: It happens with all kinds of objects I have in my index. All my objects in the index are from Python-based products. Are they all of one type? The same type (as in, they are all Python based), but with different meta_types. Can you

Re: [Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-23 Thread Erik Enge
On Fri, 23 Feb 2001, Chris McDonough wrote: I meant to narrow down the problem domain in cases where you do call getobject... cases where you aren't calling getobject are not relevant. Ok. I see. It would be helpful to find out for which objects getobject fails and for which it succeeds

  1   2   3   >