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

2000-11-09 Thread magnus
trick? -Magnus ___ 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.org/mailman/listinfo/zope

[Zope] neat trick

2000-11-22 Thread magnus
ething like this: NameValue --- - Field1 abc Field2 def Field3 ghi -Magnus ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Change db connect string in python or dtml

2000-08-02 Thread Magnus Heino
? -- /Magnus Heino ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

Re: [Zope] Zope and the GPL poison pill

2000-09-12 Thread Magnus Alvestad
parts were 'infected' by a product on your site being GPL'ed. Third, you are only obligated to distribute source to parties you have already distributed the binary version to. I can't really see a customer buying a zope site from you and not expecting 'source' anyway. -Magnus (I'm not a lawyer

Re: [Zope] Zope and the GPL poison pill

2000-09-12 Thread Magnus Alvestad
nk a zope site could be defined as a 'work'. -Magnus ___ 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 h

Re: [Zope] Dynamically render DTML?

2000-09-18 Thread Magnus Alvestad
As a follow-up, is it possible to evaluate DTML that is returned from an SQL Query? -Magnus ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] 'websafe' colours

2000-10-03 Thread Magnus Alvestad
the problem with many colours is that there is slight difference between how they are shown in for example BGCOLOR and in a gif. There was an article about this in the online version of Wired. -Magnus ___ Zope maillist - [EMAIL PROTECTED] http

[Zope] Roxen patch

2000-05-26 Thread Magnus Heino (Rivermen)
Hi. I have lost the patch for Roxen 1.3 to work properly when you enable RXML-parsing for CGI, i.e. Zope. Who has it? /Magnus Heino ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] SV: [Zope] Building ZPyGreSQLDA on Linux

2000-05-29 Thread Magnus Heino (Rivermen)
rror like: make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. You need to install the python-devel-1.5.2 rpm (or compile and install python from source). /Magnus Heino ___ Zope maillist - [E

[Zope] urlquote?

2000-06-30 Thread Magnus Heino (Rivermen)
Hi. Is there a method available somewhere in python to urlquote(?) a string. Example: lösning - l%f6sning /Magnus ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] SV: [Zope] urlquote?

2000-06-30 Thread Magnus Heino (Rivermen)
in module 'urllib' quote (string[, safe]) Replace special characters in string using the "%xx" escape. Doesn't work like that here. import urllib urllib.quote('lösning') 'l\366sning' Am I doing anything wrong? :-P /Magnus __

[Zope] Tracker

2000-11-23 Thread Magnus Heino (Rivermen)
Hi. What is the status of the Tracker product? I remember someone saying that it had some problems with the latest version of Zope a while ago, is that still true? /Magnus ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

RE: [Zope] ZPatterns

2000-12-07 Thread Magnus Heino (Rivermen)
a couple of months ago? I tried it back then, but really didn't understand it all :-P I simple products that does things the ZPatterns way, and explains why and how would be just great. /Magnus ___ Zope maillist - [EMAIL PROTECTED] http

RE: [Zope] ZPatterns

2000-12-08 Thread Magnus Heino (Rivermen)
contributed their small part to a HowToWriteASimpleAndGoodZPatternsProductZWiki, then the documentation bit would be solved. Maybe people like you? :) /Magnus ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

RE: [Zope] Is there any (paper) book on Zope?

2001-01-09 Thread Magnus Heino (Rivermen)
Does anybody know if someone is going to publish a book on Zope? http://www.zope.org/Members/michel/ZB/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

RE: [Zope] Holiday Calendar anyone? (cont.)

2001-01-10 Thread Magnus Heino (Rivermen)
By end of January/early February we'll have a groupware thingy ready that will do things like holiday planning etc. (and much more ...) Where can we look at a preview? :) /Magnus ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org

RE: [Zope] PoPy Installation. Where's the BEEF?

2001-01-10 Thread Magnus Heino (Rivermen)
The PoPy module is not installed So, it looks like I need to install PoPy. I went to Can anyone give me a pointer? http://freshmeat.net/search/?q=popy ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

RE: [Zope] Python 2.0 ??????

2001-01-17 Thread Magnus Heino (Rivermen)
My web site had been working until this morning for months without a problem. When investigating the cause of the crush I found out that my ISP just upgraded to python 2.0 without my knowledge.My site isas far as I know the only zope site there. It does not start or build. I

RE: [Zope] Python 2.0 ??????

2001-01-17 Thread Magnus Heino (Rivermen)
of python to build with. 3. Although not official, the CVS checkout of Zope (2.3.1beta+), does seem to work just fine with python2.0. But maybe that will break something else in the products that you are using. /Magnus (Is there no way to tell Outlook2000 to NOT send a message in html format

Re: [Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Magnus Heino
ut I guess this still will be the same anyway. That is, if an object inhereted from Persistence.Persistance spawns a thread that manipulated data in the object, I will have no problems. The thread will be running just fine, and the data will be stored in the zodb. ? /Magnus - Original Message -

[Zope-dev] filter metatypes in objectmanager

2001-03-27 Thread Magnus Heino
How can I control what meta_type's that can be added to an ObjectManager? If you create a ZClass that inherits from ObjectManager, you can specify this, but how is it done from a python product? /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED

[Zope-dev] Security

2001-11-20 Thread Magnus Heino
Hi. Looking at Amos ZPublisher howto, http://www.zope.org/Members/Amos/ZPublisher Would it be possible to use the security machinery too? /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

[Zope-dev] LDAP

2001-11-22 Thread Magnus Heino
classes that work both in zope and with pam. /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce

SV: [Zope-dev] Fishbowl?

2001-11-30 Thread Magnus Heino
that. Bugzilla is an undocumented, hacked, run-at-one-place-but-dont-try-to-move-it-beast. imho. Just like sourceforge... I gave it a try a while ago, but threw it away. IMHO. /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

SV: [Zope-dev] Re: Fishbowl?

2001-11-30 Thread Magnus Heino
probably gets too many mails every day anyway, saying Good work!... well. I dunno. /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

SV: SV: [Zope-dev] Re: Fishbowl?

2001-11-30 Thread Magnus Heino
/FrontPage, does not contain the info that he sent in the mail, and it got some links pointing at non-existing pages. I thought I'd fix that, but it says that Only the owners may edit this page... But, everything is not bad, the Webservice package looks really good! :-) /Magnus

SV: [Zope-dev] Open Letters and Zope 3

2001-12-04 Thread Magnus Heino
... /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo

[Zope-dev] Acquisition and Threads

2001-12-07 Thread Magnus Heino
Can someone please tell me what is going on here? [magnus@bombardier magnus]$ cat aq.py from Acquisition import Implicit from threading import Thread import time class A(Implicit, Thread): def run(self): print context.aq_self class B(Implicit): pass b

[Zope-dev] SV: [Zope] authenticating over XML-RPC to implement the Blogger API

2002-02-03 Thread Magnus Heino
object. Has anyone elsedone user authentication via parameters? I have patched my xmlrpclib.py to allow authentication with username/password. I dont have access to it right now, but I can send it to you tomorrow morning... /Magnus ___ Zope-Dev

SV: [Zope-dev] Small Alert

2002-03-05 Thread Magnus Heino
fixed in CVS) with VHM for some time now. Everything is fine on 8080, but fails using VHM. Since noone else experienced it, I thougt that it was something local here... /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

SV: SV: [Zope-dev] Small Alert - Temp Solution

2002-03-05 Thread Magnus Heino
snapshot of Zope-2_5-branch and CMF1.2) /Magnus I started debugging Zope. I found that the various methods in CookieCrumbler are called and should normally set a cookie for auth_cookie. However, under VHM operation, this does not happen when auth_cookie == '__ac' I changed the name

SV: [Zope-dev] Zope 2.6 project updated

2002-03-06 Thread Magnus Heino
I don't know OrderedFolder very well but it'd be very useful in several of my projects, so I can volunteer a bit of time in helping to get it in Zope 2.6 as well. I'd rather see that you used your time to put Formulator into 2.6 :-P /Magnus

SV: SV: [Zope-dev] Small Alert - Temp Solution - more...

2002-03-06 Thread Magnus Heino
://collector.zope.org/Zope/260 also does different things when using VHM. /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman

SV: SV: [Zope-dev] Small Alert - Temp Solution - more...

2002-03-09 Thread Magnus Heino
You will see that the Set-Cookie is different in the 5 cases My conclusion for now is that something could be wrong with the Apache rewriting process. Nope, cause I'm running Roxen.. and have the same behaviour. /Magnus ___ Zope-Dev maillist

[Zope-dev] rfc1123_date

2002-07-15 Thread Magnus Heino
Why is rfc1123_date a method in App.Common, and not a method on DateTime.DateTime? How am I supposed to use it from dtml/zpt? /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] rfc1123_date

2002-07-15 Thread Magnus Heino
Thats how I solved it. Seems a bit weird though to put date methods like iso8601_date, rfc1123_date and rfc850_date in App.Common, when DateTime already has method like that, like rfc822. /Magnus You could use ModuleSecurityInfo (see Zope Developer's Guide), you could use an External

Re: [Zope-dev] Re: [ZODB-Dev] Blather

2002-09-12 Thread Magnus Heino
? -- /Magnus Heino ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman

Re: [Zope-dev] Bugfix release?

2002-11-27 Thread Magnus Heino
Someone posted already a fix for this problem. It should not be hard to fix this single problem by exchanging the DateTime.py file on your sites That really doesn't matter. The official release on http://www.zope.org/Products still has the bug. -- /Magnus

Re: [Zope-dev] Bugfix release?

2002-11-27 Thread Magnus Heino
off a branch which became the release. Changes to the branch are limited to the release manager and his designated 'bots. Thats really the current problem. Changes happening just before the release. -- /Magnus ___ Zope-Dev maillist - [EMAIL

[Zope-dev] i18n

2003-01-19 Thread Magnus Heino
Hi. Where is the ZPT i18n-support described? I cant find anything thats up2date. -- /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] Re: current best of breed ZEO for Zope 2.6.2 in production?

2003-10-03 Thread Magnus Heino
always get the latest release. Or add a meta refresh to redirect after 1s to the new page. -- /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

[Zope-dev] soap and zope

2000-09-18 Thread Magnus Heino (Rivermen)
Has anyone done anything with soap and zope? /Magnus Heino ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo

[Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Magnus Heino (Rivermen)
lass, what will happen with it? Can the ZODB still decide to free my persistent object even thoght it has a reference to a thread that is running?? Or can I start my thread when the object first is used, and rely on that it will be running until I stop it or remove any reference to it?

[Zope-dev] Loginmanager and LDAP

2000-11-27 Thread Magnus Heino (Rivermen)
Hi. I'd like to authenticate users using LDAP and Active Directory. Zope is running on a RH7.0 box. Has anyone done this, is it possible? /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

RE: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Magnus Heino (Rivermen)
But like I told ChrisW, I think BerkeleyStorage will fill the need that PartitionedFileStorage was only partitially addressing. How is the new BerkeleyStorage product coming along? /Magnus ### This message has been scanned by F-Secure Anti-Virus

[Zope-dev] Product Tutorial

2001-03-18 Thread Magnus Heino (Rivermen)
Hi. Is http://www.zope.org/Members/hathawsh/PythonProductTutorial/index_html?pp=1 still valid, or have things changed since it was written? /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

[Zope-dev] CoreSessionTracking

2001-04-23 Thread Magnus Heino (Rivermen)
. ? /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )

SV: [Zope-dev] CoreSessionTracking

2001-04-23 Thread Magnus Heino (Rivermen)
that the session started when I received a new token... Thanks! /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org

SV: [Zope-dev] CoreSessionTracking

2001-04-23 Thread Magnus Heino (Rivermen)
This onStart method... sdo['date'] = context.ZopeTime() ...gives this error: -- 2001-04-23T14:36:32 PROBLEM(100) Session Tracking session event failed The call to function onStart failed. Traceback: Traceback (innermost last): File /usr/home/magnus/www/Zope-2.3.1-src/lib/python/Products

SV: [Zope-dev] CoreSessionTracking

2001-04-23 Thread Magnus Heino (Rivermen)
In the meantime, use the .set method of the session data object, e.g. in the onStart function: sdo.set('Username', 'Foobar') .. or use an external method. Ok, works now. Thanks. How to I access things like the DTML AUTHENTICATED_USER.getUserName() from a python script? /Magnus

[Zope-dev] manage_tabs

2001-05-04 Thread Magnus Heino (Rivermen)
is removed. Why? My Edit dtml looks like this; dtml-var manage_page_header dtml-var manage_tabs p class=form-help This is the edit form. /p dtml-var manage_page_footer Thanks, /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http

SV: [Zope-dev] manage_tabs

2001-05-04 Thread Magnus Heino (Rivermen)
change anything. /Magnus Could this be an "Internet Explorer failing to pass the AUTH info" problem? It sounds as though you are getting access to the edit tab via Anonymous permissions (Have you restricted access to the manage_main method using the __permissions_

[Zope-dev] Threads...

2001-05-04 Thread Magnus Heino (Rivermen)
later on security = ClassSecurityInfo() _v_fooThread = FooThread.FooThread(Label) _v_fooThread.start() /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-dev] change ownership

2001-05-09 Thread Magnus Heino (Rivermen)
Is it not possible to change ownership of an object? I can only find methods to take ownership... /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

SV: Subject: [Zope-dev] change ownership

2001-05-10 Thread Magnus Heino (Rivermen)
I can get it to work :-/ I get an attributeerror on aq_inner in lib/python/AccessControl/Owned.py, line 302, in ownerInfo Seems as if the user i provide isn't of the right type? How do you use your method? How is it being called? /Magnus Magnus, No, changeOwnership is not exposed for TTW

SV: Subject: [Zope-dev] change ownership

2001-05-10 Thread Magnus Heino (Rivermen)
. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 223

SV: Subject: [Zope-dev] change ownership

2001-05-10 Thread Magnus Heino (Rivermen)
The one that comes with Zope. /Magnus -Ursprungligt meddelande- Från: Tim McLaughlin [mailto:[EMAIL PROTECTED]] Skickat: den 10 maj 2001 15:26 Till: 'Magnus Heino (Rivermen)'; Tim McLaughlin Kopia: '[EMAIL PROTECTED]' Ämne: RE: Subject: [Zope-dev] change ownership What kind

SV: [Zope-dev] 60GB Data.fs?

2001-06-06 Thread Magnus Heino (Rivermen)
Also how are the disks layed out? Is it possible to have, say, 5 disks each on their own (no RAID) and then split the data.fs over them using PartitionedFileStorage or similar. Where can I get PartitionedFileStorage? /Magnus ___ Zope-Dev maillist

[Zope-dev] url quote from pyton scripts

2001-06-26 Thread Magnus Heino (Rivermen)
Hi. How can I do a url quote from a python script? Can I somehow access the method in urllib or DT_Var or how can it be done? -- /Magnus Heino ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

SV: [Zope-dev] ZPT equivalent for DTMLFile?

2001-09-13 Thread Magnus Heino (Rivermen)
I'd like to use ZPT for product add pages and the like, where I'd usually use DTMLFile. How do I do that? PageTemplates itself does this. Take a look at the initialize method in PageTemplates/ZopePageTemplate.py /Magnus ___ Zope-Dev

SV: [Zope-dev] Web Services for Zope

2001-09-28 Thread Magnus Heino (Rivermen)
in the future to get the job done, let me know and I'll be happy to send you a snapshot of what I have... Why don't you put into the public CVS instead? /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev