Re: [Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-06-01 Thread Holger Lehmann

Hi Brian, hi all,

great to hear this.

Now comes a tricky question:

Suppose we are running a Linux Kernel 2.4.x and using the latest Python 2.x 
distribution. And supposing we can recompile all code if neccessary:

How large can a Data.fs grow until it breaks ?
We need to be able to store about 7.5 GBytes (note: Gigabytes) in the ZODB. I 
would rather use the ZODB than a LocalFS 

Thanks in advance 
- Holger


Am Donnerstag, 31. Mai 2001 22:55 schrieb Brian Lloyd:
 Hello all,

   Zope 2.4.0 alpha 1 has been released - you can download it from
   Zope.org:

 http://www.zope.org/Products/Zope/2.4.0a1/


   Highlights of what is new in Zope 2.4:

 - Zope 2.4 supports (and requires) Python 2.1

 - New restricted execution architecture

 - WebDAV Level 2 locking support

 - New WebDAV Access permission

 - A new built-in 'Authenticated' role

 - Product refresh without restart during development

 - New Drop-in indexes support for ZCatalog


   Be sure to see the Zope 2.4 Migration Guide:

http://www.zope.org/Products/Zope/2.4.0/Zope24MigrationGuide.html

   which outlines the new features and provides other important
   information for users of Zope 2.4.

   For more information on what is new in this release, see the
   CHANGES.txt and HISTORY.txt files for the release:

 http://www.zope.org/Products/Zope/2.4.0a1/CHANGES.txt

 http://www.zope.org/Products/Zope/2.4.0a1/HISTORY.txt

   For more information on the available Zope releases, guidance for
   selecting the right distribution and installation instructions,
   please see:

   http://www.zope.org/Documentation/Misc/InstallingZope.html

   Note that this is an alpha release, so it is available as a source
   distribution only. We will make binary releases available with the
   first beta release.


 Brian Lloyd[EMAIL PROTECTED]
 Software Engineer  540.371.6909
 Digital Creations  http://www.digicool.com




 ___
 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 )

-- 
---
catWorkX GmbH
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 (0700) catWorkX
Tel: +49 (40) 890 646-0
Fax: +49 (40) 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de



___
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 )



[Zope-dev] MySQL (Zope) Problem on Sun Solaris machines ?

2001-05-21 Thread Holger Lehmann

Hi Andy, and all !

I was developing a little webapp under Zope.
I was using the following setup:
Linux 2.4.x
Zope 2.3.0
MySQL 3.22.32
ZMySQLDA-2.0.6
MySQL-python-0.3.5

Everything went smooth that way. Small SQL queries and complex SQL queries, 
queries on empty tables and on full ones, they all went well.

Now I exported the website and dumped the tables structure.

I the impoerted the website and created the tables on a:
Sun Solaris (don't ask me what release) - Sparc processor.
Zope 2.3.0
MySQL 3.23.32 (or 3.23.33, I am not sure)
ZMySQLDA-2.0.6
MySQL-python-0.3.5

And this happened:
Querying MySQL like this:
--
show tables;
--
or
--
select * from data;
--
all went ok.
But running this statement on *empty* tables (mark you, just no data) left no 
python process running, they all died:
--
select a.a b.b c.c
from a b c
where a.fk_b = b.pk_b
and a.fk_c = c.pk_c
order by a.a;
--
It looks to me there is an uncaught NULL pointer exception deep down 
somewhere in the code

Anyone hints or solutions ?
I am going to put some valid data into the database and try to run the 
queries again. I have not done this yet.

- Thanks in advance, Holger


-- 
---
catWorkX GmbH
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 (0700) catWorkX
Tel: +49 (40) 890 646-0
Fax: +49 (40) 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de



___
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 )



[Zope-dev] Adding a property to a batch of objects ?

2001-03-20 Thread Holger Lehmann

Hi,

I wanted to do sonething like this:
dtml-in "objectIds(['DTML Document'])
dtml-call manage_addProperty('foo','bar','string')
/dtml-in

But I am missing the  part :-(
I can happily add the property to myself or the folder above (if a DTML
Method is used) but I just cant seem to be able to add the property to an
object I want.

Any suggestions ? I would be sooo hapyy, since I have to add three props
to about 1200 DTML Documents :-(

- Holger

---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel : +49 40 890 646-0
Info: 0700 catWorkX
( 0700 22 89 67 59 )
Fax : +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de



___
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 )



Re: [Zope-dev] Adding a property to a batch of objects ?

2001-03-20 Thread Holger Lehmann

Thanks,

dtml-call "_.getattr(this(),_['sequence-item']).manage_addProperty(...)"

worked just like a beauty. I thought I tried that one, but I must have
made a mistake :-)

- Holger

---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel : +49 40 890 646-0
Info: 0700 catWorkX
( 0700 22 89 67 59 )
Fax : +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de


On Tue, 20 Mar 2001, Christian Scholz wrote:

 Hi!
 
  I wanted to do sonething like this:
  dtml-in "objectIds(['DTML Document'])
  dtml-call manage_addProperty('foo','bar','string')
  /dtml-in
 
 You might want to use dtml-in "objectValues(['DTML Document'])"
 (or objectItems). then just say
 
 dtml-call "manage_addProperty(...)"
 
 or you might change the ... to
 
 dtml-call "_.getattr(this(),_['sequence-item']).manage_addProperty(...)"
 
 (hope this is right, have not tested it.)
 
 First form directly builds a list of the objects instead of the
 Ids, second form first looks up the id with _['sequence-item'] and
 then looks up the object with that id in the local object (your folder).
 
 Hope this helps..
 
 -- mr topf
 
 -- 
 COM.lounge  http://comlounge.net/
 communication  design [EMAIL PROTECTED]
 


___
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 )



[Zope-dev] HowTo: trying to acces only the form elements in the REQUEST ...

2001-03-13 Thread Holger Lehmann

Hello everyone,

I need a quick hint.

How do I check wether there are any "form" elements in the request.
And how can I only acces those ?
I want to pass those, and only thos on to a ZClient call to another website. 

I do have a request like this:
http://server/foo/bar?name=barparam=fooparam2=baz

Now I want to isolate name, param and param2.
I need to construct a request like this:
dtml-if any parameters at all
  dtml-in all form parameters in REQUEST
. do something
  /dtml-in
/dtml-if

TIA Holger

-- 
---
catWorkX GmbH
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 (0700) catWorkX
Tel: +49 (40) 890 646-0
Fax: +49 (40) 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de



___
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 )



Re: [Zope-dev] Debugging Zope with Komodo

2001-01-15 Thread Holger Lehmann

Am Donnerstag, 11. Januar 2001 20:10 schrieb Andy McKay:
 Aaron has just helped me get Komodo debugging working for Zope. Both Neil
 and I think this is great, for the first time we can see the
 interaction of Zope internals as they happen (its no longer a black box
 anymore). This shed so much light on Zope, I think its great and so will
 any Zope developer.

 Many thanks to all involved in Komodo for making this happen.
 --
   Andy McKay.


Ok, now you got us up to speed, where is the howto ?

- Holger




 ___
 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 )

-- 
---
catWorkX GmbH
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 (0700) catWorkX
Tel: +49 (40) 890 646-0
Fax: +49 (40) 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de



___
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 )




Re: [Zope] MySQLDA and MySQL-python - patch needed?

2001-01-11 Thread Holger Lehmann

Am Donnerstag, 11. Januar 2001 00:16 schrieben Sie:
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
  [EMAIL PROTECTED]
  Sent: Wednesday, January 10, 2001 9:30 AM
-snipp---
  FYI:
  I installed from these rpms
 
  ftp://ftp.logicetc.com/pub/Zope/RPMS/MySQL-python-0.2.1-1.i386.rpm

I was not able to get ZMySQLDA with MySQL-pyhton to run.
Instead I used the mysqldb sourcecode that came with ZMySQLDA and symlinked 
the resulting _mysqlmodule.so into .../lib/python1.5/site-packages/

  ftp://ftp.logicetc.com/pub/Zope/RPMS/Zope-ZMySQLDA-1.2.0-1.i386.rpm
 
  This did not install into my Zope installation directory, so I used a
  symbolic link in my Zope Products directory that points to the
-snipp---
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )

-- 
---
catWorkX GmbH
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 (0700) catWorkX
Tel: +49 (40) 890 646-0
Fax: +49 (40) 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de



___
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-dev )




Re: [Zope] log file.

2001-01-11 Thread Holger Lehmann

Am Donnerstag, 11. Januar 2001 08:21 schrieben Sie:
 hi,

 Is the Zope log file in Common Log File Format?


whatever you mean by that ...
it looks to me like the one from apache and a webalizer works without any 
quirks

 j.

 ...
 .. Jason C. Leach
  University College of the Cariboo.
 ...


 ___
 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-dev )

-- 
---
catWorkX GmbH
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 (0700) catWorkX
Tel: +49 (40) 890 646-0
Fax: +49 (40) 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de



___
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-dev )




Re: [Zope] RSS and JavaScript

2001-01-08 Thread Holger Lehmann

Am Montag,  8. Januar 2001 04:11 schrieben Sie:
 On 7 Jan 2001 17:51:24 -0800 LARRY CHUON [EMAIL PROTECTED] wrote:
  Hi Zopistas,
 
  Happy New Year!

--snipp--

 Or do what you did before:

 SCRIPT LANGUAGE="JavaScript" SRC="dtml-var
 expr="openMe_js.absolute_url()""/SCRIPT

This will also do the trick:
script language="javascript" src="dtml-var openMe.js url"


- Holger

 Use the absolute_url() method, so that the browser is sure of getting the
 right url for the script (which may have been your problem before).

 I'd use the first method as you can at least eyeball the html output of
 htmlPreview and see if the openMe function has acutally been include,
 before having to use whatever passes for javascript debugging in your
 browser.

 HTH,
 John


 ___
 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-dev )

--
-----------
catWorkX GmbH
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 (0700) catWorkX
Tel: +49 (40) 890 646-0
Fax: +49 (40) 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] Windows NT, Zope, PostgreSQL, PoPy, and ZPoPyDA

2000-12-05 Thread Holger Lehmann

Am Freitag,  1. Dezember 2000 22:26 schrieben Sie:
 Is anyone using NT (or W2K), Zope, PostgreSQL, PoPy and ZPopyDA?
 Do PoPy and ZPoPyDA build on NT?  with cygwin?

Yes, cygwin should do the trick.

My colleague is successfully using PoPy to access a Postrgres DB, well under 
Linux :-)

 Thanks for any type of  input you have.

 Troy

 Troy Farrell
 Video Operations Technician III
 Williams VYVX Services
 918.573.3029
 918.573.1441 fax
 mailto:[EMAIL PROTECTED]
 http://www.williams.com

 ___
 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-dev )

-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel : +49 40 890 646-0
Info: 0700 catWorkX
( 0700 22 89 67 59 )
Fax : +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de


___
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-dev )




Re: [Zope] User Source choices

2000-11-13 Thread Holger Lehmann

We had a close look at all products available for sroting users in a sql db.

We tested:
GUF-- did not work with Zope 2.2.x (yet)
MySQLUserFolder  -- colleague of mine had some trobles o this thing being
 outdated
UserDB -- works for us, but has some logical problem that has an impact on
performance when having a lot of users. We will try to fix
that asap.
LoginManager -- thoug being called the best here is it did not yet work for
  us. We would like to get things started up with
  LoginManager but constantly fail to get it up and
  running.

As a Database we are using MySQL without any problems so far.

- Holger

PS: you might want to visit zdp.zope.org and look under Zope FAQ - Topic 14. 
"Scalability" for a FAQ about user folders.

Am Dienstag,  7. November 2000 14:35 schrieben Sie:
 This is a bit off-topic, but I wondered if anyone has any opinions on
 the matter.

 I'm going to use LoginManager for my user folder stuff, and I'm
 wondering which type of DB to use to store user information.

 Has anyone any advice about this?  Here's some of the free choices with
 what I know about them:

 MySQL is my first choice because I know it well
 postgres has transactions, stored procedures, but can scale badly
 SyBase I know nothing about
 LDAP (e.g. OpenLDAP) is optimised for this kind of thing, but I'm not sure
 I've quite grokked it yet

 Should my choice be dependent on the quality of the adapters available,
 or are all the adapters much the same?

 any comments appreciated,

 seb

 ___
 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-dev )

-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel : +49 40 890 646-0
Info: 0700 catWorkX
( 0700 22 89 67 59 )
Fax : +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de


___
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-dev )




Re: [Zope-dev] Re: [Zope] Multi-lingual sites and workflow

2000-11-02 Thread Holger Lehmann

Guys, please !

Try to use the translator:

your folder/
  /translator   --- product translator
  /en/   --- DTML-Methods returning the  
strings/pages for english
  /fr/ --- DTML-Methods returning the
   strings/pages for french
  /de/ --- DTML-Methods returning the
   strings/pages for german
  /nl/ --- DTML-Methods returning the
   strings/pages for netherlands

So now you do have the e.g. index_html  in your folder (content between 
):

dtml-var header !-- your standard header --
h1dtml-lvar welcomeh1!-- your welcome message notice the dtml-lvar 
call instead dtml-var --
a href="dtml-lvar mainpage url"dtml-lvar mainlinktext/a !-- mainpage 
being the document you want to link to and mainlinktext the text for the link 
--
dtml-var footer   !-- your standard header --


Now lets walk trough this example.
In en/welcome is the following (between the ):

Welcome to my page.


In  en/mainpage is some document with images, text forms, whatever.
In en/mainlinktext is (content between ):

Go to main page.


What happens if someone with english prefs set in browser visits you page ?

Easy: dtml-lvar calls get expanded to language/variable content instead 
of variable content like a dtml-var would do:
--
. header 
h1Welcome to my page/h1
a href="en/mainpage"Go to main page./a
 footer 
---

No if someone from France with fr prefs set in the browser the link would 
change to fr/mainpage and all text would be taken from the french versions.

It is extremely powerful. The language directories can contain any kind of 
object you can put in a folder - they are nothing special. Only the 
translator is nessecary since it provides the dmtl-lvar method.

We have already created a german/english website using a bunch of squishdots, 
metapublishers and whatnot without having big trouble. We had to change a 
couple of products to use dtml-lvar instead of static text, but apart from 
that 

- Holger


Am Donnerstag,  2. November 2000 11:21 schrieb Petr van Blokland:
 Lee Hunter wrote:
  I was wondering if anyone here has used Zope to create
  bilingual/multi-lingual/localised websites.
 
  I've done a number of bilingual (French and English) projects in recent
  years using plain old html where the two language versions had to be kept
  mostly symmetrical and its been a bit of a pain as the site grows to keep
  the two versions in synch and make sure the translations are done on time
  etc.
 
  Its seems that Zope might help manage these kinds of projects - by
  smoothing the workflow - tracking what needs translation, perhaps sending
  stuff to the translator automatically, reporting on what's been done by
  who and comparing the two language versions to make sure they are
  parallel. And perhaps even sharing a common architecture - so that you
  didn't need two sets of DTML methods etc.
 
  I'm wondering if this fits into other generic Zope workflow products that
  people have talked about developing or if it would have to be built from
  scratch.
 
  Anyone have thoughts on this subject?

 Yes. Look at our bilingual site at http://www.petr.com
 In the url: http://z.petr.com/buro/p/index_html?language=en
 the parameter 'language' is available in the whole object tree.
 Only text modules need to know how to react on this parameter.
 Pages, images, navigation, templates etc. are not aware of the language
 (though they may if needed, e.g. changing the layout)
 So there in only one tree of pages, one set of navigation.
 The text modules have syntax like:

 dtml-if "getform('language') == 'nl'"De kracht van het werken met klein
 team...
 dtml-elseThe strength of working with a small team...
 /dtml-if

 Pages only contain references to text modules and the name of a template
 to be used.

 Kind regards, Petr van Blokland
 [EMAIL PROTECTED]


 ___
 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 )

-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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/mailma

[Zope] Re: [Zope-dev] Re: [Zope] Multi-lingual sites and workflow

2000-11-02 Thread Holger Lehmann

Hi Petr,

Am Donnerstag,  2. November 2000 14:49 schrieb Petr van Blokland:
 Holger, thanks for the reply.
 Some questions:
 - Where is the Translator product avalaible.

Please visit
http://www.zope.org/Members/fog/Translator

 - What is I want to change from one language page to the same
 page with a different language. I don't want to change the settings
 in the browser for it.

Translator supports the standard browser settings as well as a cookie based 
version. It comes with a fully fledged demo that demonstrates this cookie 
stuff. For me it was cut, copy and paste from there on :-)

Make sure you check out www.vitaminic.com to see how it feels like :-) They 
did their site using Zope and Translator with cookies.

 - It seems that you have different folders per language containing
 all things for that language. That is not what we want. I want to have
 one folder structure where the different language versions of a text
 a in the same document or folder.

Sorry, no way :-(
But let me see if I can argue with you :-)

Yes, you can put it all in one directory and into on document.

But, just imagine this:
You have the "templates" in you main directory and only (!) a bunch of 
DTML-Methods located in the subfolders en,de,nl,fr,es and so on. These 
DTML-Methods only return a simple String or a small part of your document 
translated properly.
This enables you to choose different images for different languages for 
example.
Furthermore you can "give" someone a copy of your default language folder and 
as him/her to translate it. This can be done in parallel without people 
having the need to change the original templates.

Now if you do not like all the DMLT-Methods, you can simple create a e.g. en 
folder and use properties attached to that folder to hold your translations.

If you do not like to have folders flying around, you can create them 
*inside* the translator. But please notice, you cannot have them outside as 
well as inside, the inside ones will always be the ones used, Translator will 
not seek any other folders once he found one.

The translator itself has another way of storing translated text. It is 
accesible on the Translate tab inside the translator. IMHO the translator has 
a very clumsy interface there so I never used it. But it might be cool as 
well, since you could be able to export this data as XML and reimport it once 
it is translated.

Anyway, whatever you do make shure you check it out and give yourself a day 
to waste on the translator to find out all possiple ways to play around. I 
had a lot of fun with it up to now and it works absolutely reliably.
Even the highest educated people in our company think this product is well 
designed to support multi lingual features so easily (apart from a fwe 
enhancements they would like to see :-))) )

- Holger


 Petr

 Holger Lehmann wrote:
  Guys, please !
---snipp---
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




[Zope] MailHost: bcc broken ?

2000-10-24 Thread Holger Lehmann

Hi all,

I wanted to use bcc in a mail generated though a 
dtml-sendmail.../dtml-sendmail (Included in MailHost) tag.

But it did not work. All I got was a junk line like this:
subject: foo barbcc: user1, user2, user3

mark the missing carriage return and/or line feed between the subject and the 
bcc line.

Anyone got any ideas ?

- Holger

-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] MailHost: bcc broken ?

2000-10-24 Thread Holger Lehmann

Hi Paul,

Thanks for that response, but .

I can send single email with one recipient without problems.
I need to use a bcc: for about 4000 users. No way doing that halfway 
performant with a dtml-in ... /dtml-in statement.

I am thinking of the 
bcc: user1, user2, user3  user4000
header.
It ought to get parsed in the MailHost product and sent directly to the 
proper smtp-host 

Holger


Am Dienstag, 24. Oktober 2000 18:16 schrieb Paul Zwarts:
 Hi,

 Im using this:

 dtml-sendmail smtphost="mail.host" port="25"
 To: dtml-var email
 From: dtml-var emailfrom
 Subject: dtml-var subject

 Hi,

 blah blah

 /dtml-sendmail


 Im supposing that the double brackets is due to the fact that the email
 address itself is encapsulated with brackets as well as the variable being
 passsed.

 Cheers,

 --
 Paz
 Oratrix Development BV
 http://www.oratrix.com
 GRiNS SMIL Editor
 -



 ___
 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-dev )

-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] LoginManager - with SQL?

2000-10-13 Thread Holger Lehmann

Well we use the UserDbFolder Product after havin the same/similar problems 
with the LoginManager :-)

- Holger

Am Fri, 13 Oct 2000 schrieben Sie:
 Has anyone been able to use LoginManager with a SQL db?  with or without
 encryption?

 I'm still baffled by this how-to:
 http://www.zope.org/Members/jok/SQL_based_LoginManager

 In this example, there are dtml-methods that do the work of the UserSource,
 but there is no retrieveItem?

 I would really love to get this working instead of having to revert back to
 older depreciated products.

 Thanks for any help!

 -e-

 From: "Aleksander Salwa" [EMAIL PROTECTED]

  I remember I had some troubles trying to put methods rolesForUser,
  domainsForUser, authenticateUser in UserSource class. They can be moved
  to user class. I did so.
  But your case is harder then mine, cause you don't have objects
  representing users in ZODB. Maybe there are problems with retrieveItem
  method ?
  Maybe you should build wrapper class around your database
  data - something like "pluggable brains" ?
  I have no more ideas :(

 ___
 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-dev )

-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




[Zope] Tracker weirdness

2000-09-06 Thread Holger Lehmann
rrents)
File string, line 0, in ?
File /usr/local/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 
140, in careful_getattr
File /usr/local/Zope-2.2.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line 189, in 
validate
  (Object: index_html)
File /usr/local/Zope-2.2.0-linux2-x86/lib/python/AccessControl/SecurityManager.py, 
line 139, in validate
File 
/usr/local/Zope-2.2.0-linux2-x86/lib/python/AccessControl/ZopeSecurityPolicy.py, line 
209, in validate
  Unauthorized: (see above)
-
Anyone got an idea or solution for that ? I even CVS'ed me the latest code an
gave it a try, same error

- Holger

-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] Java applet with inner classes causing probs in Zope

2000-09-05 Thread Holger Lehmann

Am Die, 05 Sep 2000 schrieben Sie:
 Hello all,
 
 The problem is that inner classes have names like "Parent$Inner.class"
 I'm unable to create a Zope file object with a name that includes the dollar
 sign.  However, the applet won't function without it.
 
 Has any one overcome this?

What about putting it all in a jar-file ?

- Holle

 
 Yes, the applet functions properly when served from apache (but I need to
 serve it from Zope).
 
 Please respond directly to me and mailing list as I am not currently on the
 mailing list.
 
 Thanks,
 
 Eric.
 
 
 ___
 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-dev )
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




RE: [Zope] manage

2000-09-01 Thread Holger Lehmann

Am Fre, 01 Sep 2000 schrieben Sie:
 Hi dieter,
 
 Thx for ur reply.  
 
 The child window  pop ups when u do http://localhost:8080/manage . One
 enters the username and password there. That is validated against the
 acl_user folders member names or if it is a superuser who installed zope it
 validates it against the access file.
 
 I want to look at the source code and understand the authentication
 mechanism.That's why i want to know the following:-
 
 1.what is the python file which pops up that child window for entering
 username and password ?

It is your web browser, not a python script :-) It does that because it got a
"401 authentication required" response from zope.

 2.After u give the username and password what is the file / module name
 against which  the username and password is authenticated.

Well, username/password will be send together with all subsequent requests to
zope. Zope veryfies if username and password match against the info retreived
from the acl_users folder. What happens there depends on what object
*is* acl_users (i.e. Generic User Folder, mySQLuser, ACL Manager, Login Manager
)

 3.what is this 'manage'? method/module???

Well, that is the way to get the management screen. Source can be viewed at
zope-install/lib/python/OFS/manage.dtml

 
 Thx in advance
 
 -neeloy

- Holle

 
 
 
 -Original Message-
 From: Dieter Maurer [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 01, 2000 1:34 AM
 To: neeloy_saha
 Cc: '[EMAIL PROTECTED]'
 Subject: Re: [Zope] manage
 
 
 neeloy_saha writes:
   when i do http://localhost:8080/manage it pops up a login window which
 asks
   for username and password. what is the entry point after that??
 That is exactly what one would expect.
 
 Enter the username and password that was assigned during installation
 or that you set with
 
   python zpasswd.py access
 
   Is there a way of running zope with debugger?? 
 There is "Test.py" in "lib/python/ZPublisher".
 It will, however, not help you with the above problem.
 
 
 Dieter
 
 ___
 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-dev )
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] Zboard 0.2.3 released

2000-07-28 Thread Holger Lehmann

I do not really get it:

Zboard (as of 0.2.4) is not a product (that sucks).
After importing it into /somewhere
and trying to view it I get a authentification failure (oops), though I am
superuser ...
when checking it out it tells me:
--
You are not authorized to access Clist. 

 Traceback (innermost last):
   File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 214, in 
publish_module
   File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 179, in publish
   File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 165, in publish
   File /usr/lib/python1.5/site-packages/ZPublisher/mapply.py, line 160, in mapply
 (Object: Drainlood)
   File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 102, in 
call_object
 (Object: Drainlood)
   File /usr/share/zope/lib/python/OFS/DTMLDocument.py, line 166, in __call__
 (Object: Drainlood)
   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_String.py, line 502, in 
__call__
 (Object: Drainlood)
   File /usr/share/zope/lib/python/OFS/DTMLDocument.py, line 162, in __call__
 (Object: Dlist)
   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_String.py, line 502, in 
__call__
 (Object: Dlist)
   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_With.py, line 148, in 
render
 (Object: _[Vfolder])
   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_Let.py, line 145, in 
render
 (Object: Vobj="[]")
   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_In.py, line 611, in 
renderwb
 (Object: Vobj)
   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_Let.py, line 145, in 
render
 (Object: Vitem=sequence-item)
   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_With.py, line 148, in 
render
 (Object: _.getitem(Vitem))
   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_Let.py, line 145, in 
render
 (Object: Vstr=__str__)
   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_Util.py, line 335, in eval
 (Object: Dlis(reply=reply, Vtime=bobobase_modification_time, Vstr=Vstr, 
type=type, id=id, author=author, Vqs=Vqs, title=title))
 (Info: Vstr)
   File string, line 0, in ?
   File /usr/share/zope/lib/python/OFS/DTMLDocument.py, line 162, in __call__
 (Object: Dlis)
   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_String.py, line 502, in 
__call__
 (Object: Dlis)
 Unauthorized: (see above)
-

And when I start looking for Clist I cannot even find one, nor any other method
starting with C ...
Here is what was in the Zboard0.2.4.zexp:
---
Articles 
Articles2 
Ddate 
Ddelete 
Dedit 
Dfooter 
Dheader 
Dlis 
Dlist 
Dlred 
Drainlood 
Dread 
Dwpn 
Dwrite 
Len 
Lko 
Mdel 
Mdelete 
Medit 
Mfile 
Mread 
Mwrite 
index_html
--

...

- Holger

Am Fre, 28 Jul 2000 schrieb rainlood:
 Hello.
 I was done some bug fix.
 
 http://www.zope.org/Members/rainlood/Zboard/
 
 
 Thanks all zope hacker.
 good bye.
 
 ==
 ¿ì¸® ÀÎÅͳÝ, Daum
 Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀϳÝ
 Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼­ºñ½º Daum FIREBALL
 http://www.daum.net
 
 ___
 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-dev )
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




[Zope] Re: Sybase in Remote Machine

2000-07-25 Thread Holger Lehmann

Hi Herbert,

I have no clues regarding sybase, sorry. I am using a MySQL database which
*can* run on the same or on a different host.

But have you checked if there is a new Sybase DA on zope.org ?
Furthermore, have you mailed this to the maintainer ? He/she might be
interested in that you want to connect to a remote host. Maybe you will get
what you want if you trigger the maintainter ... :-))

Can you switch to a different database ? If so, why not use MySQL or PostgreSQL
? Both are free to use (well MySQL costs a couple of bucks for commercial
purposes) and quite well supported.

- Holger

Am Mon, 24 Jul 2000 schrieb [EMAIL PROTECTED]:
 Hello,
 
 By using the SybaseDAv2.00b interface to input the database connection
 in the database@hostname format, I got this error: Invalid connection
 string.
 
 And I checked the readme of the DA, it says "Ensure that you have
 Sybase installed on your machine,.." and "Set the environment variable
 ... to the Sybase installation directory on your local machine." Does
 iit imply that I have to put Sybase and Zope in the same machine?
 
 
 Regards,
 Herbert
 
 
 --- In [EMAIL PROTECTED], Holger Lehmann [EMAIL PROTECTED] wrote:
  Hi,
  
  you should be able to specify the hostname/IP-Adress in the
 connection string.
  It should be similar (or the same) to the MySQL DA connection string
 I am using:
  database@hostname user password
  where hostname being the (correct !) hostname as being seen from the
 database,
  i.e. I have to use the fqdn to connect since my MySQL server sees me
 with the
  full domainname. Furthermor you have to set the access rights in
 your database
  correctly for the user to be able to connect from that host ...
  
  - Holger
  
  Am Mon, 24 Jul 2000 schrieb Herbert Kwong:
   Hello,
   
   I have SuSE 6.4, Zope 2.1.6, Sybase 11.9.2 and SybaseDAv2 in my
   machine.  It works fine.  However, is it possible to make my local
   Zope create a connection to a remote Sybase server?  As I would
 like
   to separate the Sybase Database from the Apache/Zope server. 
 Thanks.
   
   Regards,
   Herbert Kwong
   [EMAIL PROTECTED]
   
   ___
   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-dev )
  -- 
  ---
  catWorkX GmbH Hamburg
  Dipl.-Ing. Holger Lehmann
  Stresemannstr. 364
  22761 Hamburg
  Tel: +49 40 890 646-0
  Fax: +49 40 890 646-66
  mailto:lehmann@c...
  http://www.catworkx.de
  http://www.catbridge.de
  
  ___
  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-dev )
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] Inserting Python object in Zope !

2000-07-25 Thread Holger Lehmann

Am Mon, 24 Jul 2000 schrieb [EMAIL PROTECTED]:
 
 I'm a newbie, and I wonder : how could I use a personal Python object in 
 Zope. 
 I've a second question : how could I display (in html page) the  results 
 from the Pythons function ?

Get the product PythonMethod from zope.org
(http://www.zope.org/Members/4am/PythonMethod) install an use it :-)

e.g.:

dtml-var standard-header
dtml-var myPythonScriptThatProducesHTMLOutput
dtml-var standard-footer

- Holger

 
 
 thanks In advance 


Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description: 


-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] Sybase in Remote Machine

2000-07-24 Thread Holger Lehmann

Hi,

you should be able to specify the hostname/IP-Adress in the connection string.
It should be similar (or the same) to the MySQL DA connection string I am using:
database@hostname user password
where hostname being the (correct !) hostname as being seen from the database,
i.e. I have to use the fqdn to connect since my MySQL server sees me with the
full domainname. Furthermor you have to set the access rights in your database
correctly for the user to be able to connect from that host ...

- Holger

Am Mon, 24 Jul 2000 schrieb Herbert Kwong:
 Hello,
 
 I have SuSE 6.4, Zope 2.1.6, Sybase 11.9.2 and SybaseDAv2 in my
 machine.  It works fine.  However, is it possible to make my local
 Zope create a connection to a remote Sybase server?  As I would like
 to separate the Sybase Database from the Apache/Zope server.  Thanks.
 
 Regards,
 Herbert Kwong
 [EMAIL PROTECTED]
 
 ___
 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-dev )
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




[Zope] Translator 0.5 broken ?

2000-07-14 Thread Holger Lehmann

Hi all,

I was trying to get Translator to work on my Zope System but all I get is an
error about the system not being able to find the modules Shared.XMLio ...
I do not have it and I am not able to find it, so where dos it come from ?

- Holger

PS: I tried to contact the author but got no reply so far.

-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] Howto store objects??

2000-07-12 Thread Holger Lehmann

Am Die, 11 Jul 2000 schrieben Sie:
 On Tue, 11 Jul 2000, Mario Premke wrote:
  Do I have to import these files as objects
  and store them within Zope or is it possible
  to store them on the local filesystem and 
  make a Link via DTML to access these files ???
 
 The latter.  Take a look at the LocalFS product.

Though about using FTP to upload your files ? Port is 8021 by default.

- Holger

 
 --RDM
 
 
 ___
 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-dev )
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] Address already in use

2000-07-12 Thread Holger Lehmann

Well there might be a proxy server running on 8080 and maybe something else on
9080.

Why not trying something bigger like 10080 or so ? 
Check your local /etc/services for explanations of what runs where.

- Holger

Am Die, 11 Jul 2000 schrieben Sie:
 While trying to install PoPy, I've screwed up my Zope install.  I had
 trouble with my ld.so.conf and ld.so.cache files, but seem to have fixed
 that.  Everything else appears to be running correctly, except Zope.
 
 Here are the errors I get when I try to start Zope:
 [root@frankenstein ewalstad]# /usr/local/Zope/start 
 [1] 1161
 [root@frankenstein ewalstad]# Traceback (innermost last):
   File "/usr/local/Zope/z2.py", line 493, in ?
 logger_object=lg)
   File "/usr/local/Zope/ZServer/medusa/http_server.py", line 552, in
 __init__
 self.bind ((ip, port))
   File "/usr/local/Zope/ZServer/medusa/asyncore.py", line 205, in bind
 return self.socket.bind (addr)
 socket.error: (98, 'Address already in use')
 
 Here's what's using port 8080:
 [root@frankenstein Zope]# fuser -v 8080/tcp
 
  USERPID ACCESS COMMAND
 8080/tcp root   2104 f  xps
 
 So, I tried running Zope on port 9080 and received the same "socket.error:
 (98, 'Address already in use')" error.
 
 Next, I tried to rerun the "python w_pcgi.py" thinking that maybe this would
 restore any screwed up library references.  I saw the same "socket.error:
 (98, 'Address already in use')" error scroll by as it ran the w_pcgi.py
 script.
 
 My question is, what happened and how do I fix it?
 
 Any help is greatly appreciated.
 
 Eric.
 
 
 ___
 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-dev )
-- 
-------
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] Manager Screen Authenication

2000-07-12 Thread Holger Lehmann

Check the file called access with your favourite editor.
There must be a mimimum of two and a maximum of three colon separated fields:
1. username of the manager
2. encrypted password of the manager
3. (optional) domains from where the manager is allowed to login from

delete the last colon and the 3rd field (or run zpasswd with the proper
parameters) to allow logins from everywhere.

- Holger

 Am Die, 11 Jul 2000 schrieben Sie:
 hi sean,
 
 the zpasswd is run like this:
 
 python zpasswd.py access
 
 the password creation is in dialog form.
 
 jens
 
 p.s.: please don't send HTML-formatted mail to the list
 
 
 on 7/11/00 14:55, Sean S. Rowe at [EMAIL PROTECTED] wrote:
 
 Hello.
  
 I'm new to Zope and have just installed it on a server running BSD.  I built
 the source and everything went fine.  I went to localhost:8080 bypassing
 Apache and the welcome screen came up as it was supposed to.
  
 However, I cannot logon to the manage section of Zope.  My password is
 always wrong.  I changed my password with the following: 'python zpasswd.pyo
 -p new_password access'.  Nothing I do seems to work and the only info I can
 find is on running with Apache not Zserver.  Any help would be greatly
 appreciated.
  
 Thank you,
  
 Sean S. Rowe
 Output Technology Corporation
 
 
 
 
 ___
 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-dev )
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




[Zope] SiteRoot (SiteAccess) bug ?

2000-07-11 Thread Holger Lehmann

I am using a SiteRoot object since I am proxying my webpage through an apache.
Everything works as expected (apart from some weird broken ziconimages with a 
Control_Panel/Products path e.g. SiteSummary and Tracker)

Now if I view the Management screen trough the proxy and I am editing an object
everything works as expected but the topmost link on that page linking back
i.e. the breadcrumbs. They are not at all affected by the SiteRoot object ...

Anyone an idea ?

- Holger

-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] Win98 service

2000-07-11 Thread Holger Lehmann

Have you tried setting up your environment variables in your autoexec.bat und
then just creating a link on your desktop calling the proper python interpreter
with the correct python script ?

BTW: as far as I know (not that I know much of it) only WinNT has services :-(

- Holger

Am Die, 11 Jul 2000 schrieben Sie:
 
 Is it possible to have Zope run as a Win98 service?  I'm going to be using
 win98 until I get up to speed and then use Linux.  But for several months I
 don't want to be stuck with this DOS window that remains after I run the
 start.bat.
 
 -mjm
 


Content-Type: application/ms-tnef; name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Description: 


-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope-dev] Common Icons or Free Icon collection

2000-06-26 Thread Holger Lehmann

Linux distributions come bundled with a bunch of "free" icons. And I beleive
there are some ...tar.gz archives on metalab.unc.edu (former sunsite.unc.edu).

-Holger

Am Mon, 26 Jun 2000 schrieben Sie:
 Hi,
 
 I need some icons/pics for my Zope project. Are there any common icons for
 Zope I could use, and if not, shouldn`t there be such a thing? Does anybody
 know of any other collection of free icon-collections available ?
 
 Thomas
 
 ___
 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 )
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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 )




[Zope] Translator package/project died or what ?

2000-06-26 Thread Holger Lehmann

Hi everyone, especially J. David Ibáñez and Federico Di Gregorio :-)

Since Federico did not reply to my mail I am posting this on the list to gain
responses.

We **need** a translator package for Zope. We will be hosting a site that will
have the feature to "speak" different languages.

So I got Translator-0.5.tar.gz from somewhere (do not ask me where, I forgot).
Unpacked it and restarted Zope. The product is broken since it tries to import:
from Shared.xmlio import XMLio
But this is obviously not available (I tried finding it on zope.org  and
with google/altavista). The only available xml package is in DC.xml and is
based on xmllib.

Now here is the question: Does anyone have the XMLio stuff ? If so can this
someone be so nice and either post the URL here or make it available and post
the URL here ?
If all this is in vain and that package will not be developed any further, can
someone tell me if there is another solution out there ?

- TIA Holger

-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




[Zope] All ZSchedule archives on zope.org broken ! (Was: Re: [Zope] ZScheduler-0.0.5 problem)

2000-06-19 Thread Holger Lehmann

Hi Francois,

I attempted the same and had the same fate. *All* archives you try to donwload
from http://www.zope.org/Members/lstaffor/ZScheduler are truncated (!) to 20480
Bytes (huh ?). I mailed lstaffor, without any reply or results so far. Please
notify him as well, so he can update his Archive

- Holger

Am Mon, 19 Jun 2000 schrieben Sie:
 Hi,
 
 1/ I'm Trying to use ZScheduler-0.0.5 on Linux 6.1, I386, Zope-2.1.7.
 Just after to install the product I cannot start Zope !!!
 
 2/ There is also an archive problem when I extract the file from
 ZScheduler-0.0.5.tgz :
 
 srchocolat 138% tar xvzf ZScheduler-0-0-5.tgz
 lib/python/Products/ZScheduler/
 lib/python/Products/ZScheduler/__init__.py
 lib/python/Products/ZScheduler/addOneTimeZEvent.dtml
 lib/python/Products/ZScheduler/README.txt
 lib/python/Products/ZScheduler/CHANGES.txt
 lib/python/Products/ZScheduler/ZSchedule.py
 lib/python/Products/ZScheduler/version.txt
 lib/python/Products/ZScheduler/ZEvent.py
 lib/python/Products/ZScheduler/Loggerr.py
 lib/python/Products/ZScheduler/Dispatcher.py
 lib/python/Products/ZScheduler/documentEdit.dtml
 lib/python/Products/ZScheduler/scheduleView.dtml
 lib/python/Products/ZScheduler/www/
 lib/python/Products/ZScheduler/www/OneTimeZEvent.gif
 lib/python/Products/ZScheduler/www/RecurringZEvent.gif
 lib/python/Products/ZScheduler/www/ZSchedule.gif
 
 gzip: stdin: decompression OK, trailing garbage ignored
 tar: Le processus enfant a retourné le statut 2
 tar: Statut d'erreur reporté d'erreurs précédentes.
 srchocolat 139% 
 
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   

 
 ___
 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-dev )
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )




Re: [Zope] How-to Connect MySQL database with zope

2000-06-13 Thread Holger Lehmann

Hi Vikas,

it was kind of tricky ;-)

First: Create DB/User/Password in mysql

Then add a ZMySQLDA in your working folder and name it accordingly, make shure
the id is unique and contains no spaces.
The connection string is as follows:
databasename[@hostname] username password

Example:
foo bar baz
would connect to the database named foo on the "localhost" (local being local
for zserver) with the username bar and the password baz.
foo@here bar baz.
would connect to the database named foo in the host named here with the
username bar and the password baz.

When creating/editing the grant tables for mysql make check whether you need to
include the domainname (i.e. here.mydomain.com instead of just here). This was
neccessary for my mysql server. The IP-Adress might work, too.

- Holger

Am Die, 13 Jun 2000 schrieben Sie:
 Hello,
 I am a new user of zope. I want to use MySQL database with zope. But I am
 unable to do it myself. Can you give me some tips or complete process 
 regarding the installation of the adapter with zope. I have already read
 the installation instruction given at ZMySQLDA but, still I am unsucessful
 Thanking you in anticipation. 
 Best Regards,
 Vikas
 
 
 ___
 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-dev )
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
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-dev )