[Zope] storing persisten object in python dictionaries

2006-10-26 Thread Jürgen Herrmann
hi! i have a writeen am framework where objects have unique ids and instances are stored in btreefolders, one per class. if i want to retrieve an instance based on id, i lookup it's class name and the get the class' container path from my metadata manager (f.ex. /app/data/Appointments/instances).

[Zope] Scalability

2006-10-26 Thread kevin7kal
This is probably falls under the catagory of FAQ but I couldn't find a good answer through searching, so I'll ask. Are there any size limitations on file system storages? At what point can things become very slow? I'm wondering as much about the number of objects stored as well as file size

Re: [Zope] storing persisten object in python dictionaries

2006-10-26 Thread Marco Bizzarri
Storing persistent object in object outside of ZODB can incur in the problem of passing object(s) between threads, and, therefore, passing one object which is related to a connection on the ZODB to another context with a different connection. Also, AFAIK, keep in mind _v_ attributes are not

Re: [Zope] storing persisten object in python dictionaries

2006-10-26 Thread Stefan H. Holek
You don't need to traverse /me thinks. Item access is fast. How about: app.data[classId].instances[obId] Stefan On 26. Okt 2006, at 05:44, Jürgen Herrmann wrote: i have a writeen am framework where objects have unique ids and instances are stored in btreefolders, one per class. if i want to

Re: [Zope] storing persisten object in python dictionaries

2006-10-26 Thread Marco Bizzarri
On 10/26/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: On Thu, October 26, 2006 14:53, Marco Bizzarri wrote: Storing persistent object in object outside of ZODB can incur in the problem of passing object(s) between threads, and, therefore, passing one object which is related to a connection

Re: [Zope] storing persisten object in python dictionaries

2006-10-26 Thread Jürgen Herrmann
On Thu, October 26, 2006 15:00, Marco Bizzarri wrote: On 10/26/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: On Thu, October 26, 2006 14:53, Marco Bizzarri wrote: Storing persistent object in object outside of ZODB can incur in the problem of passing object(s) between threads, and,

Re: [Zope] storing persisten object in python dictionaries

2006-10-26 Thread Jürgen Herrmann
On Thu, October 26, 2006 15:00, Marco Bizzarri wrote: On 10/26/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: On Thu, October 26, 2006 14:53, Marco Bizzarri wrote: Storing persistent object in object outside of ZODB can incur in the problem of passing object(s) between threads, and,

Re: [Zope] storing persisten object in python dictionaries

2006-10-26 Thread Jürgen Herrmann
On Thu, October 26, 2006 15:25, Jürgen Herrmann wrote: On Thu, October 26, 2006 15:00, Marco Bizzarri wrote: On 10/26/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: On Thu, October 26, 2006 14:53, Marco Bizzarri wrote: Storing persistent object in object outside of ZODB can incur in the

Re: [Zope] storing persisten object in python dictionaries

2006-10-26 Thread Jürgen Herrmann
On Thu, October 26, 2006 16:03, Jürgen Herrmann wrote: On Thu, October 26, 2006 15:25, Jürgen Herrmann wrote: On Thu, October 26, 2006 15:00, Marco Bizzarri wrote: On 10/26/06, Jürgen Herrmann [EMAIL PROTECTED] wrote: On Thu, October 26, 2006 14:53, Marco Bizzarri wrote: Storing

[Zope] UTF-8 conversion

2006-10-26 Thread Pascal Peregrina
Title: UTF-8 conversion Hi, We are running zope with ISO-8859-1 as the encoding for HTTP responses. In term of Zope objects, all the properties are lines, string, etc (not ulines, ustring, etc). Now, we have been asked to support Japanese (with UTF-8). So my question is: what should I need

[Zope] listing files in a LocalFS folder

2006-10-26 Thread Alan
Hi List! I am doing that: ul li tal:repeat=item context/objectValues a href=ABSOLUTE_URL tal:attributes=href item/absolute_url tal:content=item/title_or_idSUB-OBJECT TITLE OR ID/a/li /ul And it works to list the content of my main folder. Within my main folder, there's a

Re: [Zope] Re: zwiki users - own color text?

2006-10-26 Thread bigger boat
- Original Message - From: Simon Michael [EMAIL PROTECTED] To: zope@zope.org Subject: [Zope] Re: zwiki users - own color text? Date: Fri, 20 Oct 2006 11:11:21 -0700 That sounds not so easy. Do you mean just comments, or all edits all edits. :-( we're wanting to use a wiki to

[Zope] module UserFolder problem

2006-10-26 Thread Benjamin Menking
I am adding users to an acl_users using userFolderAddUser. What I can't figure out is that after I add a new user, I cannot log in using the username and password used when calling userFolderAddUser. If I manually set the password in acl_users.properties for that user, everything works great.

Re: [Zope] module UserFolder problem

2006-10-26 Thread Benjamin Menking
To provide more information... I exported the acl_users and the passwords are exactly what was entered using the userFolderAddUser. Ben Benjamin Menking wrote: I am adding users to an acl_users using userFolderAddUser. What I can't figure out is that after I add a new user, I cannot

[Zope-Annce] ANN: more zope.org wikis moved, zopewiki.org renamed

2006-10-26 Thread Simon Michael
Zopistas, all wikis that were under http://zope.org/Wikis have now been moved to http://wiki.zope.org . The old wikis have been made read only. 60 wikis were moved. ~500 old dtml methods and ~1500 old wiki help pages were cleaned out. Mail subscriptions still need a little work. Enjoy! You may

[Zope-dev] Zope Tests: 8 OK, 1 Failed

2006-10-26 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Wed Oct 25 10:00:01 2006 UTC to Thu Oct 26 10:00:01 2006 UTC. There were 9 messages: 9 from Zope Unit Tests. Test failures - Subject: FAILED (errors=1) : Zope-trunk Python-2.4.3 : Linux From: Zope Unit Tests Date: Wed Oct 25

[Zope-dev] buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot

2006-10-26 Thread buildbot
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 8409 Blamelist:

[Fwd: XML export/import is cool! (Was Re: [Zope-dev] Deprecating XML export/import?)]

2006-10-26 Thread Alexei Ustyuzhaninov
Hi! I would like to resurrect this thread with my own recent experience. My problem was to spread a set of zodb objects over several zope installations. Every installation required some slight modifications to be applied to original objects (such as usernames and passwords). So I decided to

[ZWeb] zope.org frontpage modifications

2006-10-26 Thread Michael Haubenwallner
for the records, a few changes have been made recently: zope.org frontpage - left column replaced 'Zope Exits' with 'Zope Sites', now links to http://zopewiki.org/Sites (anyone can add links and reorganize) - center column: added the first paragraph from MembersFAQ to fill the space

Re: [ZWeb] Re: [Zope-Annce] ANN: more zope.org wikis moved, zopewiki.org renamed

2006-10-26 Thread Rob Page
On Oct 26, 2006, at 9:43 AM, Chris Withers wrote: Simon Michael wrote: all wikis that were under http://zope.org/Wikis have now been moved to http://wiki.zope.org . Yay! Well done Simon! Everyone owes you beer ;-) Agreed! Thanks! --Rob -- Rob Page V: 540 361 1710 Zope

Re: [ZWeb] zope.org frontpage modifications

2006-10-26 Thread Andrew Sawyers
Any reason why we don't want to just do a permanent redirect from old wikis to new wikis? Andrew On 10/26/06 4:18 AM, Michael Haubenwallner [EMAIL PROTECTED] wrote: for the records, a few changes have been made recently: zope.org frontpage - left column replaced 'Zope Exits' with

[ZWeb] Re: ANN: more zope.org wikis moved, zopewiki.org renamed

2006-10-26 Thread Simon Michael
Thanks! I forgot to mention all those who helped, such as Jim (access), Chris (dns), Michael (zope.org config), and everyone who gave feedback. I'm not sure why the announcement didn't show up here.. reposting. Simon Michael wrote: Zopistas, all wikis that were under http://zope.org/Wikis