[Zope] Mime type for PDB files

2006-11-01 Thread Alan
Hi List! I have some lines in a ZPT file creating a link to PDB files in a LocalFS folder: get file It works fine expect for one thing. When clicking at the link, my browser (Safari), thinks my PDB file has mime type text. Is it possible to define the mime type (chemical/x-pdb) for my link

[Zope] Zope 2.6.4 -> 2.10.0 Migration (PageTemplates, Unicode, etc.)

2006-11-01 Thread Brian Brinegar
So... We decided to move from Zope 2.6.4 to something newer (currently targetting Zope 2.10.0). I immediately found that none of our PageTemplates work we get an error on PageTemplates/Expressions.py line 92 that call_with_ns is not defined. ob = call_with_ns(ob, ns, 2) Changing it as follows

[Zope] Re: Zope 2.6.4 -> 2.10.0 Migration (PageTemplates, Unicode, etc.)

2006-11-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Brinegar wrote: > So... We decided to move from Zope 2.6.4 to something newer (currently > targetting Zope 2.10.0). I immediately found that none of our > PageTemplates work we get an error on > > PageTemplates/Expressions.py line 92 that call_w

Re: [Zope] Mime type for PDB files

2006-11-01 Thread Andreas Jung
--On 1. November 2006 04:56:28 + Alan <[EMAIL PROTECTED]> wrote: Hi List! I have some lines in a ZPT file creating a link to PDB files in a LocalFS folder: get file It works fine expect for one thing. When clicking at the link, my browser (Safari), thinks my PDB file has mime type t

[Zope] External Method = Slow; Shell Script = Fast

2006-11-01 Thread Edward Pollard
Hello, I've got an external method that does some pretty complicated stuff. Basically it takes two XML files - one defines constraints, the other variables - and the script finds a solution using the variables that satisfies the constraints. At the command line (or executed via an external method

Re: [Zope] External Method = Slow; Shell Script = Fast

2006-11-01 Thread Jonathan
- Original Message - From: "Edward Pollard" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 01, 2006 5:58 PM Subject: [Zope] External Method = Slow; Shell Script = Fast Hello, I've got an external method that does some pretty complicated stuff. Basically it takes two XML files -

Re: [Zope] External Method = Slow; Shell Script = Fast

2006-11-01 Thread Jonathan
- Original Message - From: "Edward Pollard" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Sent: Wednesday, November 01, 2006 5:21 PM Subject: Re: [Zope] External Method = Slow; Shell Script = Fast Hi Jon, ZopeProfiler seems to come with no instructions to install. Can you

[Zope] newbie root addressing questions

2006-11-01 Thread Terry Brown
I'm buidling a site in /site/collected on a Zope system. Using ZPT rather than DTML So every page starts with also, for the time being, the site's at someurl.com/collected/, but in future might be someurl.com/ so pages include things like so I'm wondering 1) how I can make the site reloca