RE: [Zope] A ZClass for LaTeX documents

2000-10-23 Thread Max M
From: John Verzani >* Ideally, I would like to be able to call the latex file this way > > > (or even better just as ) Why not then just make an external method that can be called like: That isn't to ugly. Max M. W. Rasmussen,Denmark. New Media Director private:

RE: [Zope] SuperUser cannot own ;-)

2000-10-24 Thread Max M
why ;-) Well I for one have accidently removed view privilliges for administrators in a folder, at that time I was very happy to be able to log in as super and restore those proviliges, or else I would have had to remove the directory and start fresh. Perhaps it is also to avoid trojan hor

RE: [Zope] dtml-in returning null

2000-10-24 Thread Max M
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Diego Rodrigo Neufert > > "> > > But, if InMethod return nothing it display this tag one time >There's a way to do that?? "> will probably suffice Max M. W

RE: [Zope] OT:NT and rebooting

2000-10-25 Thread Max M
ly sexy. Just gotta finish one more project then I will upgrade from my old KDE1.0. Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lis

RE: [Zope] Displaying Folder Contents.

2000-10-30 Thread Max M
ested. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Hei

[Zope] My Items will not show themself in manage_main (objectItems)

2000-10-30 Thread Max M
hat the id is allready used. But the Item doesn't show up in Itemlist on the "manage_main" page. So I cannot edit the items that I have added. I only get the: "There are currently no items in XXX" Why is this? is there any special methods or something that I need to cre

RE: [Zope] Getting class hierarchy in products

2000-11-02 Thread Max M
but here goes, when calling objectValues() you can give it a parameter: objectValues('Folder') or for several "Meta Types": objectValues(['Folder', 'Image']) Regards Max M. W. Rasmussen,Denmark. New Media Dire

RE: [Zope] dtml-in over the output from my method

2000-11-06 Thread Max M
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Hicks >I am trying to create a zope product in python but have got stuck with using the >dtml-in tag to iterate over a method (or is it a function? I get a little mixed >up) of my class. Here is the method, def list_messages(self

[Zope] Persistence triggering

2000-11-07 Thread Max M
= self.list + [item] Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Heinlein

RE: [Zope] Persistence triggering

2000-11-07 Thread Max M
u can get your head the wrong way around things. Naturally it will have no effect on my own class if I set that value. So I guess I will use that. Thanks for the help. Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mail

[Zope] acessing parameters in a "helper class"

2000-11-07 Thread Max M
ents" self.comments = [] RESPONSE.redirect('index_html') def deleteComment(self, id, RESPONSE=None): "Deletes a single comment" del(self.comments[id]) self._p_changed = 1 # Trigger persistence RESPONSE.redirect('index_

RE: [Zope] Can't delete products

2000-11-08 Thread Max M
lete it there too. There might be exceptions but I havn't meet them yet. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. -

RE: [Zope] acessing parameters in a "helper class"

2000-11-08 Thread Max M
works #__roles__= None # This doesn't def __init__(self, comment, author): self.comment = comment self.author = author Thanks for the info Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] ---

RE: [Zope] why DTML confusing

2000-11-10 Thread Max M
t us use "sequence_item" etc. together with the other for a while and then drop the old form. It is the single most annoying thing in dtml, and as far as I can see in the source it should be trivial to give all those sequence-* a sequence_* name also. Regards Max M M

RE: [Zope] problems reading tar file

2000-11-12 Thread Max M
ar.tar. Just re-rename it to *.tar.gz and Winzip will do the right stuf. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Rob

RE: [Zope] Newbie question(s)

2000-11-12 Thread Max M
d do it like this (untested): Regards Max M ___ 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

[Zope] [ANNOUNCE] New Minimal product How-To

2000-11-12 Thread Max M
etail. If there is ANYTHING that is unclear please tell me about it. (Use the " Feedback to this page's author" link in the bottom of this page.)' Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]

RE: [Zope] Newbie question(s)

2000-11-12 Thread Max M
remember having seen any other way of doing it. I expect that better days will be here with v.2.3 as we will get Python Methods, or whatever they are called. >I am also still looking for example code using manage_delObjects. Sorry I cannot help there. Regar

RE: [Zope] Zope declining?

2000-11-12 Thread Max M
will be able to solve harder problems in 2 minutes. If only somebody better would take 2 minutes to solve some of my questions :-) Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

RE: [Zope] help

2000-11-13 Thread Max M
a new user in acl_user in your Zope root and give that user Manger rights. Then you can do what you expect. Regards Max M Btw. You should probably use a more descriptive subject in your e-mails. It was by coincidence that I opened it. "Help" isn't terribly descript

[Zope] PropertyManager

2000-11-14 Thread Max M
Does anybody know a good example that shows the working of the PropertyManager?? An example with a product that subclasses the PropertyManager and sets the "_properties" and the "__ac_permissions__" would be preferable. But anything will do. Regards Max M Max M. W. R

RE: [Zope] Access to Python arrays

2000-11-26 Thread Max M
ed for every parameter. Either an object has changed or it hasn't. So you don't have to trigger it individually for every list or whatever you use in your object. regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL P

RE: [Zope] How do i write ?

2000-11-28 Thread Max M
t page works. But maybe letter=* will work. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. He

[Zope] Problem with "Python Script" in Zope-2.2.x-to-2.2.4-win32-x86.tgz or in my brain???

2000-11-27 Thread Max M
I just upgraded Zope on my Win 2K machine with Zope-2.2.x-to-2.2.4-win32-x86.tgz But I cannot find "Python Methods" or "Python Scripts" anywhere. Is it me being stupid or is the product missing from that tarball?? Regards Max M Max M. W. Rasmussen,Denmark. New Me

RE: [Zope] Finding PARENTS in an external method.

2000-11-30 Thread Max M
Thank you... just what the doctor ordered. It was the passing of PARENTS that did the trick I was looking for. Regards maxm Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED

[Zope] Finding PARENTS in an external method.

2000-11-30 Thread Max M
s Folder's, but no luck. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Heinlein

RE: [Zope] Dreamweaver

2000-12-04 Thread Max M
be a bother though. I believe Dreamweaver 4.0 is better in this regards. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. -

RE: [Zope] Which Python versions are supported?

2000-12-06 Thread Max M
ppropriate for current Zope releases? Perhaps I just missed >it, but it would seem appropriate for this information to be in a prominent >place (i.e., Zope's download page). The current releases of Zope is suposed to use Python 1.5.2. It might work with Python 2.0 but it hasn't been

RE: [Zope] Another Zope E-Commerce Site Online

2000-12-06 Thread Max M
(It's been tested) Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Heinlein -Original Message- From: [EMAIL

[Zope] Re: PIL Problem

2000-12-13 Thread Max M
s very limited font/text support though. I got this working pretty fast, as PIL is very well written, but I cannot find a way to transfer my Windows truetype fonts to PIL's proprietary format. Bummer. regard Max M --- buttonList = {} buttonList['02_ho

RE: [Zope] site structure (fwd)

2000-12-14 Thread Max M
27; unique content. If I where to do it in regular Python I would use special classes for special layouts. That is hard to do in Zope. Regards maxm Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]

RE: [Zope] site structure

2000-12-14 Thread Max M
rue(){return 1;} --> anywhere on your page. Makes no difference. or you could: What goes here And then just make shure that your "header_script" method doesn't do any funny business through aquisition. ie. you should put an empty "header_scrip

RE: [Zope] ZPatterns

2000-12-17 Thread Max M
ead through your >explanation, I figured you were a regular ZPatterns user :-) No such luck. I am too busy right now to learn new stuff. Has to get a project or two out the door first. But it sounds very interresting so I will give it a go in the beginning of the new year. Regards Max M Max M

RE: [Zope] tuples in DTML

2000-12-27 Thread Max M
String 2 > String 3 >Now, how do I iterate over the list in DTML? blah blah .... Something like the above ought to work. Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

RE: [Zope] [python] converting int to string?

2001-01-07 Thread Max M
From: Jens Vagelpohl >in python you can do: >str(int) >and in zope you do it like >_.str(int) You can also use the short form in both Zope and Python: `int` Two of those funny `` characters surrounding what you want converted to a string. Regards Max M Max M. W. Rasmussen

[Zope] My own alternative interface to a propertysheet in a zClass gets redirected to the original interface

2001-01-07 Thread Max M
o avoid it? something like: I thought i could just set: in the alternative form. Regards Max m Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A

RE: [Zope] My own alternative interface WHOOPS that got mangled

2001-01-07 Thread Max M
d just set: in the alternative form. Do I have to make a new page to avoid it? something like: Regards Max m Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is f

RE: [Zope] Design/DTML question

2001-01-10 Thread Max M
The no-break tag is really underestimated. It can save loads of table tags.) (_['batch-size']/2)"> Max M. W. Rasmussen,Denmark. New Media Director priva

[Zope] "PrincipiaSearchSource()" dtml-method and Catalog

2001-01-14 Thread Max M
The title gets indexed ok when i update my classes but not the content delivered via the PrincipiaSearchSource method. Does anybody have an idea? I have tried to return via PrincipiaSearchSource in 2 different ways (None of which works): #1 --- #2 --- regards Max M

RE: [Zope] How do I authenticate through pcgi and win2000 ????

2001-01-15 Thread Max M
I just wondered if there is an "AUTHENTICATED_USER.authenticate(userName, password)" that I could call from a form. And then bypass all that IIS mumbo jumbo completely. Guess I will have to dig the sources. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director priva

[Zope] Strange structured-text behaviour in Python Product.

2001-01-15 Thread Max M
I have a Python product where I have a variable called self.description but when I try to show it with the text doesn't get formatted. Is there any good reason for that? It shows the text just fine, just not as structured-text. Regards Max M Max M. W. Rasmussen,Denmark.

RE: [Zope] Putting a variable in a redirect call

2001-01-17 Thread Max M
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Yvonne Totty >I need to replace the URL below to a partial and and an address, >like so: >('https://www.mysite.com/scripts/zope.pcgi/Anywhere/COMTemp/'+LUserOut+'.do c')"> >to: >/COMTemp...blah, blah)"> Actually you are allmost doi

[Zope] Setting the sort var in

2001-01-17 Thread Max M
is it possible to use the sort from dtml-in in a Python Product as a method on the list that getAllComments() returns? Yes I could roll my own but it would be easier to use Zope's, if I knew how to. regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PRO

RE: [Zope] Setting the sort var in

2001-01-18 Thread Max M
From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Max M writes: > > Does anybody know if it is possible to programatically set the sort > > parameter in something like: >There is a product on zope.org that enhances sorting capabilities >drastically. Unfortunately, its na

[Zope] Security error when inserting object from my own Python product in objectmanager

2001-01-18 Thread Max M
cancel it inserts the object just fine. So it kind of works, but it looks somewhat sloppy to get a page full of errormessages when inserting an object. ;-) regards Max M Traceback (innermost last): File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\mxmZope

RE: [Zope] Mental disconnect help: Zope objects vs. Python objects in ZODB

2001-01-18 Thread Max M
have written a How-To that'll get you at least some of the way in understanding it. regards Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Shipping software

RE: [Zope] Using images as submit buttons

2001-01-18 Thread Max M
Untested but tried: function submit(){ self.document.formName.submit(); } Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects

RE: [Zope] What the f*ck went wrong...?

2001-01-19 Thread Max M
an "Uninstalled" directory. I cannot imagine that it would be difficult. regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Shipping software is an unnatural act

RE: [Zope] PCGI and MS-IIS on Nt5

2001-01-29 Thread Max M
2.3 You will probably want to use: http://www.zope.org/Members/4am/SiteAccess2 It can change your links so that they will match the ugly /scripts/zope.pcgi url that you get through IIS. Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://

RE: [Zope] RESPONSE.redirect

2001-01-29 Thread Max M
first page you want shown. Or you could make a delay in JavaScript and after that do a self.document.src = "new/url" Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]

[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] DateTime(), locale, summertime etc.

2005-04-07 Thread Max M
along ;-) 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 M

[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 M

[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 conv

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

2005-04-24 Thread Max M
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

[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.o

[Zope] Memorysegment error in Zope

2005-04-25 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-25 Thread Max M
eeper 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 cros

[Zope] Re: Sending mail with attachments via Python

2005-05-03 Thread Max M
blame either Python, nor dtml or Zope for that. Python has a very nice email module, but even that can be difficult to use. Especially when using attachments and non-ascii encodings. Dtmls mail handling is limited to a specific set of problems. If you want to go outside those, you need to roll yo

[Zope] Objects loosing persistency

2005-06-14 Thread Max M
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/mailma

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

2005-06-16 Thread Max M
advice 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/m

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

2005-06-27 Thread Max M
method merely waits until the first one 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.

[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 that this is

[Zope] Re: Adding a zope product

2005-09-02 Thread Max M
the list of products. 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, Denmar

[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: Can I use datetime and timedelta in zope?

2005-09-05 Thread Max M
ateTime(dt.year, dt.month, dt.day, 0, 0, 0) def DT2dt(DT): """ Converts 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/

[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

[Zope] JSON for Ajax applications

2005-09-23 Thread Max M
on objects 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] 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 implement

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

2005-09-27 Thread Max M
= obj def __getattr__(self, attr, 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/rega

[Zope] Method cache (Memoize) for Zope

2005-10-09 Thread Max M
return 42 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

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

[Zope] Re: Product refreshing in Zope 2.9

2006-01-31 Thread Max M
hout having to restart the server causing downtime and lost sessions. Oh, but it has. I just haven't moved to 2.9 yet. Not having refresh would be extremely annoying. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___

[Zope] Re: Packing data.fs programmatically

2006-01-31 Thread Max M
hat is the better way then? ZEO and ordinary Python 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!

[Zope] Re: Need Urgent Help

2006-03-08 Thread Max M
and triple our 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:

[Zope] Re: Upgrading to Zope 2.9.1

2006-03-10 Thread Max M
willing to fix it, I did it for myself by setting up my svn rules to linux line endings ... But it is clearly an annoying bug. Imagine 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:

[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:

[Zope] Re: About Archetypes

2006-03-15 Thread Max M
ure it out, 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:

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

2006-03-15 Thread Max M
;>view results 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 Mad Science Phone: +45 66 11 8

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

2006-03-15 Thread Max M
n assign 3 zeo clients on different 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 maillis

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

2006-03-16 Thread Max M
arly it can be done. Hey... 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 Scien

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

2006-03-16 Thread Max M
inity 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:

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

2006-04-06 Thread Max M
he characters, I tried this in my TAL: But it converted the '>' I replaced with a '>' back to a '>' upon rendering the string in a html page. Any ideas how I can achieve this? tal:content="structure d_stand_replaced_chars" -- hilsen/regar

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

2006-05-04 Thread Max M
ot; That date was when the site was migrated from 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:/

[Zope] Re: Render DTML inslide ZPT slot

2006-06-16 Thread Max M
thomas desvenain wrote: and how can we transfer the namespace of the current zpt doing : as we do in dtml writing : If it doesn't automatically you can most likely just write: -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 M

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

2006-06-22 Thread Max M
ne that can 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 Mob

[Zope] Re: Improved Zope Org Proposal

2006-06-27 Thread Max M
g. Just in cases there is a nugget 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/z

[Zope] Using property() function in Zope 2.8

2006-07-06 Thread Max M
p = PropTest() p.__ac_local_roles__ = 'working' 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:

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

2006-07-06 Thread Max M
forgot all about 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 Phon

[Zope] Re: Zope behind iis

2006-08-24 Thread Max M
nce bitten, 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 ma

[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'

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
/2005-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/regard

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
work like Plone. 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/ I

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
jects I have heard about. They call it slowly 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] Re: newbie -- creating a Product

2006-11-06 Thread Max M
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

[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 Sc

[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. 200

[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   2   >