[Zope] Re: acl_users folder 25000

2008-06-06 Thread Max M
to read them from disk and save them in the ZODB. That is comparable. Perhaps you don't have a problem? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope] Re: problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Max M
/maxm/HowTo/minimal_01 So, where to start. Once we get some guidance, we could probably do it ourselves. Anyone willing to a$$$ist? We don't have a budget for it but could scrape something together to get started. You understand how to motivate ;-) -- hilsen/regards Max M, Denmark http

[Zope] Looks like a great tool for making web apis with minimal effort.

2008-02-13 Thread Max M
A web based tool for making any site into an api using xml, json etc. See the screencast: http://grid.orch8.net/extractions/grab -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http

[Zope] Re: Zope/plone behind ISS

2008-02-07 Thread Max M
TrashMan skrev: I can't. There is another service active with IIS . Oh yes. Just put apache in front of that and proxy it. No one will know the difference. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist

[Zope] Re: urlparse equivalent

2007-12-15 Thread Max M
about what I want to accomplish. You practically newer use urlparse like functionality when scripting and skinning zope. You sometimes do when developing special products, but then you got the entire python library to use. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad

[Zope] Re: Groupmember in ATWorkgroups

2007-11-20 Thread Max M
more place that needs a bit of changing for it to work. The main reason I have not changed it, is because it would change break the installed based. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope

[Zope] Re: How to use Zope2 products in Zope3 ?

2007-10-10 Thread Max M
believe the cockbook is by Steven Rooster. A synonym for Charles Dickens. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Re: Zope is in trouble

2007-09-27 Thread Max M
zope people. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ 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

[Zope] Re: genealogy product?

2007-09-07 Thread Max M
of the data and see how it pans out. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] Re: Zope products that allows people to Add Commentsto publications

2007-06-29 Thread Max M
are too used to minor versions breaking stuff. The upshot of the dev team moving their time and efforts to zope 3 is that the zope 2 base stays very stable :-s I have some stuff from years ago that runs unchanged on recent zope 2's If it it aint broke ... :-) -- hilsen/regards Max M

[Zope-dev] Re: ZClassNG and ProductNG proposal

2007-04-26 Thread Max M
at 1MPH. Reinventing the wheel as something bad, is only bad as a metaphor ;-) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

[Zope-dev] Re: ZClasses Maintenance and Upgrade

2007-04-18 Thread Max M
/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

[Zope] Re: Urgent Help Required......

2007-01-15 Thread Max M
/~esr/faqs/smart-questions.html#urgent -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] Re: a question about aq_base

2006-11-29 Thread Max M
') Is a lot different than name = getattr(obj.aq_base, 'name') In the first example you don't know if the name attribute is an aquired object or an attribute on the actual object. Which can make for uncontrollable results. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
-May/159291.html If your are using Zope 2 and is a newbie, do yourself the favour of starting with Zope 3. If you want to work in zope 2 you should use Plone as a base, and create products with Archgen XML (AGX) There are no advantages in using plain Zope 2 anymore. -- hilsen/regards Max

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
. I have done Zope for +6 years, and I would not dream of starting up a project from scratch in Zope 2 anymore. I did not say that Zope 2 was useless. I still spend most of my time working on Plone based projects. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
migrating to Zope 3, but it really is the same goal! This will take years. But it is happening. Eg. any new development in Plone will be in Zope 3. At least afaik. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
). There is a *lot* more documentation of Z3 than there was of Z2 when I was a newbie in that... -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
releases. They are practially only about bugfixes and Z3 integration. Core Zope 2 development has practically grinded to a halt. New developments are taking place in Zope 3. How is that not an outphasing? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
Andreas Jung skrev: --On 6. November 2006 20:01:55 +0100 Max M [EMAIL PROTECTED] wrote: Well the problem is that Zope 2 was never easy for beginners either. And by now it is starting to get phased out for Zope 3. BS A case of bear says that in the next two years (1. Jan. 2008) the vast

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
Max M skrev: Andreas Jung skrev: --On 6. November 2006 20:01:55 +0100 Max M [EMAIL PROTECTED] wrote: Well the problem is that Zope 2 was never easy for beginners either. And by now it is starting to get phased out for Zope 3. BS A case of bear says that in the next two years (1. Jan

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
is good advice. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ 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

[Zope-dev] Re: Future of ZClasses

2006-09-27 Thread Max M
Andreas Jung skrev: --On 27. September 2006 13:47:26 -0400 Jonathan [EMAIL PROTECTED] wrote: ... i don't suppose anyone has an 'automagical' utility that instantly transforms zclasses to python classes, and then changes all dtml/external method usage do they? ...didn't think so ;-) Also I

[Zope-dev] Re: I'm starting to get bored of people complaining about Zope

2006-09-06 Thread Max M
Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

[Zope-dev] Re: I am starting to hate Zope/Plone development and its bl**dy lack of refresh.

2006-09-05 Thread Max M
Max M wrote: I am not sure what is causing the problems. I am mostly a developer of end user tools. Not a core Zope/Plone developer. And I am not really interested in becoming one either. There must be a niche for developers like me that focus on end users. Well ok. I have researched a bit

[Zope-dev] Re: I'm starting to get bored of people complaining about Zope

2006-09-05 Thread Max M
Sidnei da Silva wrote: On Tue, Sep 05, 2006 at 03:39:14PM +0200, Max M wrote: | So the problem only exists for me in Archetype based products. Anytime I | do a change in any AT content type I need to restart the site. | | Can anybody confirm this behavior? That's a known-(at least to me

[Zope-dev] I am starting to hate Zope/Plone development and its bl**dy lack of refresh.

2006-09-04 Thread Max M
do I have to do to get the sweet sweet refresh working again? Frustrated regards Max -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope-Dev maillist - Zope-Dev@zope.org http

[Zope] Re: zope or python reading big or little Endian...

2006-08-28 Thread Max M
Allen Huang wrote: can anyone help me with this? I have a file that is written in a combination of big and little Endian bit-coding, can does anyone know how I can translate using python or zope? Check out Pythons struct module -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad

[Zope] Re: Zope behind iis

2006-08-24 Thread Max M
, twice shy!) Hmmm ... then try making a mistake in your apache httpd.conf and turn on proxy by mistake. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillist - Zope

[Zope] Using property() function in Zope 2.8

2006-07-06 Thread Max M
' print p.tester() -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

[Zope] Re: Using property() function in Zope 2.8

2006-07-06 Thread Max M
ComputedAttribute. That's probably what you want if your class is an ExtensionClass. Yeah. I remember too now. I don't think I have used one of those since 2000 in plain Zope. Thanks. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile

[Zope] Re: Improved Zope Org Proposal

2006-06-27 Thread Max M
somewhere. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

[Zope-dev] Re: Unify the Zope 2 and Zope 3 repositories!

2006-06-26 Thread Max M
that a squared problem? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

[Zope] Re: Need prof. tool for conversion html-pdf

2006-06-22 Thread Max M
be automated. Then make sure that your Plone output can be converted via that tool. This turned up many interesting tools: http://www.google.dk/search?q=html+pdf+conversion -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96

[Zope] Re: Render DTML inslide ZPT slot

2006-06-16 Thread Max M
python.context.some_dtml_method(here, request, **options) / -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope-dev] Re: Time-based releases vs Bugfixing

2006-06-15 Thread Max M
in peace, instead of fixing already working stuff. But then again, my interrest is in user functionality. Not in core development. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96

[Zope-dev] Re: Time-based releases a good idea?

2006-06-14 Thread Max M
that there is to few generations for deprecations. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev

[Zope] Re: Questions on ZODB BTrees versus bsddb BTrees

2006-05-04 Thread Max M
the previous version. So the real creation date is lost somewhere in space-time. But ZCatalog has allways been part of Zope as long as I have developed in it. And that is since sometime in the nineties. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94

[Zope] Re: How to convert characters that have special meaning in HTML to HTML character entities

2006-04-06 Thread Max M
rendering the string in a html page. Any ideas how I can achieve this? tal:content=structure d_stand_replaced_chars -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope

[Zope] Re: Zope + Apache on Quad Debian machine

2006-03-16 Thread Max M
... but thank you Jens for spending all that time writing an email that doesn't help any1 at all...!!! Sarkasm against a long time, and helpfull, list user will not help you any at all. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42

[Zope] Re: Zope + Apache on Quad Debian machine

2006-03-16 Thread Max M
is locked down exactly as you'd like... With a 4 GB machine that is probably not a problem. You can usually run quite a few sites with that much memory. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96

[Zope-dev] Re: How to delete an object given a path in Zope

2006-03-15 Thread Max M
container.manage_delObject('temp') If you are deleting a list of objects in different folders you need to do a bit of tapdancing not to delete parents first. Like reverse sorting on the length of the physical path. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone

[Zope] Re: About Archetypes

2006-03-15 Thread Max M
, but very nice and really fast once you get to know it. http://plone.org/documentation/tutorial/archgenxml-getting-started http://gentleware.com/ (Poseidon) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96

[Zope] Re: display results from external source in zpt

2006-03-15 Thread Max M
://site.ac.uk/cgi-bin/tasks?uid=$uidfmt=plain;view results/a Basically we would like to run above somehow but all results are returned within the same page. This might be what the doctor ordered? http://www.mxm.dk/products/public/mxmProxyTool/ -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's

[Zope] Re: Zope + Apache on Quad Debian machine

2006-03-15 Thread Max M
processors that shares the zeo server. That should get you a lot of the way. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillist - Zope@zope.org http://mail.zope.org

[Zope] Re: Problems with .po files

2006-03-13 Thread Max M
. It probably doesn't like windows line endings. Try to use an editor that can convert to unix line endings. Eg. Crimson Editor is free, and ok. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96

[Zope-dev] Re: characters allowed in object IDs

2006-03-10 Thread Max M
where @name is used... But if anyone else knows about it. Please speak up. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope-Dev maillist - Zope-Dev@zope.org http

[Zope-dev] Re: characters allowed in object IDs

2006-03-10 Thread Max M
3 too. Now that Twisted is put in front of Plone, we can also expect it to be a problem when Zope is used as a server for other services. Eg. mirroring an imap folder structure from exchange. Which I am allready having some fun with in mxmImapClient. :-s -- hilsen/regards Max M, Denmark

[Zope] Re: Upgrading to Zope 2.9.1

2006-03-10 Thread Max M
if plain Python worked that way :-( -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

[Zope] Re: Need Urgent Help

2006-03-08 Thread Max M
rate d8) LOL! -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

[Zope-dev] Re: [Zope3-dev] Re: Two visions?

2006-03-04 Thread Max M
Rocky Burt wrote: On Fri, 2006-03-03 at 09:30 +0100, Max M wrote: Benji York wrote: If we want people outside of the zope community to use these components, they should not have the word zope anywhere in their name. If it says zope people will *always* assume it is for use only with/inside

Re: [Zope-dev] Two visions?

2006-03-03 Thread Max M
Geoff Davis wrote: No, I think I understood you. I was being sloppy in my use of language. I should have said something more like Zope 3 then becomes an application server built around the Zed library. Or Zed is the part of Zope that can be used without Zope. -- hilsen/regards Max M

[Zope-dev] Re: Two visions

2006-03-03 Thread Max M
. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

[Zope-dev] Re: [Zope3-dev] Re: Two visions?

2006-03-03 Thread Max M
stack that will include people in Zope. Please remember It is *still* the sexiest technology out there! -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo

[Zope-dev] Re: Two visions

2006-02-27 Thread Max M
Dario Lopez-Kästen wrote: Max M said the following on 2006-02-27 17:26: Jim Fulton wrote: 2) In an alternate vision, Zope 2 evolves to Zope 5. Zope 2 is complicated! It has too many layers of everything. read the full sentence that Jim wrote: 2) In an alternate vision, Zope 2

Re: [ZWeb] zope web status report 2006-02-06

2006-02-09 Thread Max M
use rails ;-) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web

[Zope] Re: Packing data.fs programmatically

2006-01-31 Thread Max M
scripts? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ 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

[Zope] Re: Zope vs Plone: performance issues!

2006-01-24 Thread Max M
Chris Withers wrote: Me? I couldn't _possibly_ comment ;-) Mr. Chris FU Withers, you might very will think so. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

[Zope-dev] Re: [RfC] Removal of old stuff in Zope 2.10

2005-12-21 Thread Max M
difficulte than dropping a package into a directory it would be bad. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope] Re: Can HTTP and WebDAV share port 80?

2005-12-08 Thread Max M
/VirtualHostBase/http/www.example.com:80/plone_instance/VirtualHostRoot/_vh_webdav/$1 [P,L] So that the webdav port can be gotten to at: http://www.example.com:80/webdav -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope

[Zope] Method cache (Memoize) for Zope

2005-10-09 Thread Max M
def some_function(self, *args, **kwargs): Returns cached values return self._cache_it(self._some_function, *args, **kwargs) But I guess that there must be someone who has allready written a more generic way to do it via generators? -- hilsen/regards Max M, Denmark http

[Zope] Re: Using the set object within page templates

2005-09-27 Thread Max M
, default=_marker): if default is _marker: return getattr(self._obj, attr) else: return getattr(self._obj, attr, default) def __getitem__(self, key): return self._obj[key] -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science

[Zope] JSON for Ajax applications

2005-09-23 Thread Max M
like dicts, lists, string, numbers etc. to transfer data. It is really simple to generate for Python programmers, so it is very simple to use in Zope too. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist

[Zope] Re: JSON for Ajax applications

2005-09-23 Thread Max M
Jean-Marc Orliaguet wrote: Max M wrote: JSON (JavaScript Object Notation) is a lightweight data-interchange format. this is used at 100% and more in cpsskins for Zope3 (cf. z3lab.org). You might also have a look at Jim Washington's 'jsonserver' for Zope3 and its implementation for Zope2

[Zope] Re: Zope iso-8859-1 to utf-8

2005-09-13 Thread Max M
will be finding all the attributes, but perhaps you can write a method that can help find those properties for you using introspection. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http

[Zope] Re: Can I use datetime and timedelta in zope?

2005-09-05 Thread Max M
Zope DateTime to Python datetime, Zope DateTime is allways utc return datetime.fromtimestamp(DT.timeTime(), LocalTimezone()) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http

[Zope] Re: Adding a zope product

2005-09-02 Thread Max M
. If you are starting from scratch learning Zope, and you don't want to use one of the frameworks, it would be far better to start on Zope 3 It's better coded, easier to understand, more futureproof and probably better documented. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad

[Zope] Re: Adding a zope product

2005-09-02 Thread Max M
Peter Bengtsson wrote: you registered the manage_addminimal function for creating the actual object, but what about the ZMI form that lets call manage_addminimal? It is not necessary in this case, as the function sets the id and adds the instance. -- hilsen/regards Max M, Denmark http

[Zope] Re: Sharing global data between threads / locking a method

2005-06-28 Thread Max M
Dieter Maurer wrote: Max M wrote at 2005-6-27 15:53 +0200: ... So in a external method/module I have a function like this: BUSY_STATE = 0 def sync_in_progress(busy=None): global BUSY_STATE if busy is None: return BUSY_STATE else: BUSY_STATE = busy Note

[Zope-dev] Re: Problems with PageTemplates on Zope 2.8

2005-06-27 Thread Max M
debug it? Does the server or the client hang? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope] Sharing global data between threads / locking a method

2005-06-27 Thread Max M
has completed. So it allways returns 'Sync done' and calls long_test_function() What am I misunderstanding here? Isn't it the right way to share global data? Or is there some kind of locking going on under my nose that I am to blind to see. -- hilsen/regards Max M, Denmark http://www.mxm.dk

[Zope] Re: Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-16 Thread Max M
or guidance you could provide - it'd be greatly appreciated. Use Plone and references instead ;-) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope] Objects loosing persistency

2005-06-14 Thread Max M
to the ZODB? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ 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-dev] Re: BTrees and Persistance

2005-06-01 Thread Max M
Yair Benita wrote: # I would really really like this to work T[1].add(6) T._p_changed = True get_transaction().commit() Why not use 'IOSet' in the BTrees package? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-Dev

[Zope] Memorysegment error in Zope

2005-04-26 Thread Max M
to these kind of problems, having been spoiled by Python for too long. regards Max M I have attached the connection pool code in the bottom. ## # a borg/singleton for pooling connections. # Necessary as login can take a looong time class ConnectionPool

[Zope] Re: Memorysegment error in Zope

2005-04-26 Thread Max M
debugging. Nothing is more fun than debugging something with a 20 minutes timeout :-s -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

[Zope] Re: How to convert Zope instance charset?

2005-04-24 Thread Max M
to sort correctly. Or file a bug in the collector. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

[Zope] Re: How to convert Zope instance charset?

2005-04-24 Thread Max M
that before sorting. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ 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

[Zope] DateTime(), locale, summertime etc.

2005-04-07 Thread Max M
;-) So it seems that there is some magic going on where Zope tries to take locale and summertime into account. Is this configurable somewhere. In Zope, Python, as a command switch or in a config file? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science

[Zope] Re: DateTime(), locale, summertime etc.

2005-04-07 Thread Max M
Max M wrote: I have a product where I convert some external datetimes to zope DateTime() objects. I save them as UTC as zopes DateTime does by default. But when these are rendered, the time is offset by two hours. Ok. I was unclear here. I convert from datetime objects (python) to DateTime

[Zope] Re: Does anyone care whether we deprecate ZClasses?

2005-04-07 Thread Max M
Chris Withers wrote: Jim Fulton wrote: I think ZPT and python scripts are much more useful tools for newbies who will often enter with a scripting rather than OO frame of mind. Wouldn't that be ZPT and adapters ;-) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science

[Zope] Re: DateTime(), locale, summertime etc.

2005-04-07 Thread Max M
Max M wrote: When I convert to DateTime objects, they are saved as 9:00 Universal. So that is correct too. Ok. Turned out that I have misunderstood zopes DateTime(). It saves in UTC, but it still needs a timezone. So converting datetime objects to the local timezone and then converting

[Zope] Re: Does anyone care whether we deprecate ZClasses?

2005-04-05 Thread Max M
. Please do drop them. Besides, I think that most people are starting up on Zope using a cms like Plone, and in there I believe they go straight for archetypes. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope

[Zope-dev] Re: brain.getObject and traversal

2005-03-31 Thread Max M
/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

[Zope-dev] Re: Problems with non-zope object attribute access

2005-03-11 Thread Max M
AccessWrapper: __allow_access_to_unprotected_subobjects = 1 def __init__(self, obj): self._obj = obj def __getattr__(self, attr): return getattr(self._obj) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science

[Zope-dev] Re: Problems with non-zope object attribute access

2005-03-11 Thread Max M
work, the ImplicitAcquisitionWrapper most likely sets it to something else. have you tried changing the order? w = Acquisition.ImplicitAcquisitionWrapper(o, self) w.__allow_access_to_unprotected_subobjects = 1 return w -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad

[Zope-dev] Re: ZCatalog getObject broken

2005-03-11 Thread Max M
the public method and use the objects overall visibility? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-dev] Re: ZCatalog getObject broken

2005-03-03 Thread Max M
... that is odd. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

[Zope-dev] Re: CatalogBrains since Zope2.7.1b1

2004-06-23 Thread Max M
. Either reindex the catalog, or take the None's into account in your code. The latter is the safest approach. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman

[Zope-dev] Re: [ZODB-Dev] Re: BTrees strangeness (was Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please)

2004-05-18 Thread Max M
Plone 2.0 and Zope 2.7 I had the same kind of problem. But when I restarted the browser it would be solved. That could point in the direction of a session id being somehow involved. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science

[Zope-dev] How To run current Zope 2 3 from CVS on Windows

2004-05-03 Thread Max M
As I said, I would write a How-To in getting Zope 3 up and running on Windows, given the binaries that Tim has made. http://www.mxm.dk/papers/run-z3-cvs-wthout-compiler/ Feel free to comment. regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED

Re: Should we require windows users to use tools that honor Unix line endings? (Re: [Zope-dev] Re: [Zope3-dev] ATTENTION! cvs to subversion transitiontomorrow)

2004-04-28 Thread Max M
convert dos files to unix. regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

[Zope-dev] Re: Demonstration subversion repository created

2004-04-28 Thread Max M
problem? regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman

[Zope-dev] Re: Demonstration subversion repository created

2004-04-28 Thread Max M
, gennemsnitlig = 102ms regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

[Zope-dev] Re: Demonstration subversion repository created

2004-04-28 Thread Max M
Max M wrote: Now it's back up. And it works fine. Text files are in Unix format. As expected. regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

[Zope-dev] Re: The bleak Future of Zope?

2004-04-25 Thread Max M
they got the right solution for making it possible to do distributed development of products that can still work together. regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-dev] Re: The bleak Future of Zope?

2004-04-24 Thread Max M
using it seriously. regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org

[Zope-dev] Re: Nightly Zope 3 Binary Compiles for WIndows

2004-04-24 Thread Max M
and running either. I actually like writing technical documentation. Go figure. regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

[Zope-dev] Re: Nightly Zope 3 Binary Compiles for WIndows

2004-04-24 Thread Max M
this Zope 3 thing, and get a feel for how it develops. regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

[Zope-dev] Re: The bleak Future of Zope?!

2004-04-22 Thread Max M
that part of the product development that takes the most time. After the setup I can then enjoy that I don't have to fight the constraints of a framework. regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo

  1   2   >