[Zope] NEWBIE: assign next free ID automatically

2000-10-15 Thread Patrick Koetter

Hi,

I've been through the Guides, How-Tos and also some of the list-archives.
Though I am not a programmer I finally decided to ask that question to all
of you...

I want to give Users the possibility to add documents in a folder
things_to_do ;-).
so far so good ... Then I want to control the IDs simply by assigning an ID
to their Form.
I found a few articles generating either randomIDs or calculating IDs from
ZopeTime().

What is it that I want to do?
I want to evaluate the highest ID (all are 'int') within the folder and
assign the next highest.
I'm sure this is easy to you...

If there's a RTFM-document I'd be glad to read that.

thanks,

p@rick


___
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] AW: [Zope] Web Mail Account creation.

2000-10-17 Thread Patrick Koetter

Hi Shervan,

Worldpilot ist the GUI you are looking for, if you use Zope.
Some friends and me use it.

Not included in WorldPilot are routines to

a) create a new account
b) modify and
c) delete an account

I use a UW IMAP on RH 6.2 to let WorldPilot connect to. That would require
me to modify the /etc/passwd if I wanted to fullfill the points a), b) and
c). Since I don't want anyone to touch that beside of root ;-) I am aiming
to use cyrus-imapd. Cyrus can even run with LDAP and that might be a choice
in connection with zope if you are willing to write something that emulates
the functions of 'cyradm' (the prog to administrate cyrus). OTOH you might
write some python script to get ridd of 'cyradm'.
After creating new users you can log them in using WorldPilot.

p@rick


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von
 Shervan Agard
 Gesendet: Dienstag, 17. Oktober 2000 22:39
 An: [EMAIL PROTECTED]
 Betreff: [Zope] Web Mail  Account creation.


 Is it possible to create a hotmail-like web email server using zope?
 Where users create their own account.

 I'd like some insight how-to's or any assistant.


 Thanks...
  Sherv...



 ___
 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 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] AW: [Zope] a problem with 'start' command

2000-10-23 Thread Patrick Koetter

Hi Gaby,

I am not on of the zope-gods on this list, but there is something in the
message that you sent that makes me stop and think:

IOError: [Errno 49] Disc quota exceeded

I believe the problem is not zope itself, but the amout of diskspace that
you or the user 'pecos' is allowed to use in the dir /home/pecos/...

Why this?
Something, I presume it's the "quota daemon" of the "solaris-machin" that
you are working on, tells your zope, that the 'Disc quota exceeded'.

So what to do about that?
1. get rid of files you don't need anymore -- try to start zope
2. ask your sysadmin to give you more diskspace. this can be a hard one
;-) -- try to start zope

I'm sure that after you've solved this problem, you are going to run into
'zope-problems' ;-)
Try to go for the Zope Book online http://www.zope.org/Members/michel/ZB/.


gruezi ;-)

p@



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von
 Gabriela Arevalo
 Gesendet: Montag, 23. Oktober 2000 17:23
 An: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Betreff: Re: [Zope] a problem with 'start' command


 Phil,

 thanks for your suggestion, i understood it

  If you are in the Zope directory, since most uni(x)es don't
 have the current
  directory in the path, you need to start zope with './start'.

 but now when i execute the command i have the following message:

 --
 ---

 Traceback (innermost last):
   File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in
 ?
 zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid))
   File
 "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py",
 line 204, in run
 pf.close()
 IOError: [Errno 49] Disc quota exceeded
 aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % --
 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname
 --
 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct
 23 17:18:55 2000
 Hostname: aurora
 Port:8080

 --
 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23
 17:18:55 2000
 Authorizer:None
 Hostname: aurora
 Port: 8021
 --
 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file.
 --
 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23
 17:18:55 2000
 Unix socket:
 /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc
 --
 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on
 port 8099
 Traceback (innermost last):
   File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in
 ?
 pf.close()
 IOError: [Errno 49] Disc quota exceeded

 --
 

 what does this message mean ? what can i do ?

 in fact, my problem is when i tried to execute
 "localhost":8080/pecos/ where i have the information i need, there seems
 to have problems, because the connection is not possible.
 first thing i thought is just to try to start the server again, but i can
 not.

 thanks for any help

 have a nice evening.

 Gaby


 ___
 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 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] AW: [Zope] Trying to follow tutorial

2000-10-24 Thread Patrick Koetter

Hi J.J.,

this problem is a result of the restrictions applied by zope. Nothing is
wrong with that.
It is just that it's not explained thouroughly or most people new to zope
tend to overread that in the manual ;-)

Here's what You do:
1. Login as the Superuser (the primary account provided after installing
zope) and create a new user in path_to_zope/acl_users '(e.g. Koos). Provide
Password when asked in the form and apply the role 'manager' to that user.
2. logout as superuser (e.g. close all browsers...)
3. login as the user you have just created
4. go on with the tutorial...

This should help you to get going with zope.
Besides that, working with zope is worth every minute of it :-)

p@


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von
 Schut, Koos (Koos)
 Gesendet: Dienstag, 24. Oktober 2000 13:34
 An: '[EMAIL PROTECTED]'
 Betreff: [Zope] Trying to follow tutorial


 Hi all, I am trying to follow the quick tutorial and immediately run into
 things I do not understand. I am trying to create a folder as explained in
 the docs.
 I get the error:

 Error Type: SuperCannotOwn
 Error Value: Objects cannot be owned by the superuser

 This is the example in which "Stan" needs to create a folder. Can anyone
 tell me
 what goes wrong and how to get it right?

 Cheers.

 J.J. Schut
 Integration Specialist
 Avaya
 The Former Enterprise Networks Group of Lucent Technologies
 tel. +31 (0)30 609 7835
 fax. +31 (0)30 609 7650
 email [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 )



___
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] AW: [Zope] newbie inquiry about zope

2000-10-24 Thread Patrick Koetter

Phew Aharon,

many questions...
Did you take a closer look at zope.org? I think many questions are answered
within the site. But let's get going...

1) Could Zope help me keep track of who is reading what and match people up
for discussion?

You could track down people with cookies :-( or sessions :-)
Both can be achieved with zope. I'd go for sessions - though I am not a
programmer. From what I know and what I think your idea is aiming to
sessions would help you to set up framework powerfull enough to reach your
goals.
Besides how to you deal with people who won't allow cookies?

Then you could analyse the informatios gathered within the sessions and
provide a "People who read this, also read that" ;-)

2) Could Zope help me personalize the fonts and other display settings for
each user? How
about letting users create their own bookmarks within the texts?

As for the bookmarks I don't know, but the fonts etc. could be done with
'skins'. I've seen a project on zope.org that promoted such functions.
See also http://www.zope.org/Members/hellmann/Chameleon/Chameleon-How-To



3) Could Zope help me manage user created content and the relations between
content and its
creators?

yupp.

4) Could Zope handle right to left text and non-Latin character sets?

Is that a job for zope? To me this seems to be a Browsers job e.g.
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-5"
in the head section of the HTML that is sent to the Browser. Or am I
missing something?


5) What are the advantages/disadvantages to developing this site with Zope
as opposed to
MySQL and PHP?

I can't comment on that, since I am not a programmer. For me it's a
elaborated framework that provides functions needed for managing content
e.g. versions, authentification ;-) etc.
Get a closer insight at http://www.zope.org/Tour/ar01.html
AFAIK you'd have to develop these basic functions from scratch if you use
plain MySQL and PHP.


6) Could Zope help me make the same content available to ordinary web
browsers and wireless
devices in different formats?

Are you after WAP? There is code that does that...
http://www.zope.org/Members/Duncan/wap_howto

and then there's XML... :-)

7) Since we are going to be having discussion, we might want to stream
voice between users
and also stream pre-recorded voice. Any support for that?

Hmmm, do you mean something like 'Zope Streaming Server' AFAIK I haven't
read about that...
But why stream this from zope? There are other servers that are spezialised
on that. I'd use a combination; zope as a frontend to provide the paths and
the specific information bound to the stream

8) Where can I find speed benchmark information about Zope?

What is it that you want to measure?
Anyway: There was a benchmark a while ago in the news. I couldn't find it
immediately which doesn't mean it's not there...


9) Where can I find virtual server and collocation hosting for my site if I
want to use zope,
or do I have to administrate my own server?

http://www.zope.org/Resources/ZSP

But let's think of your projects requirements first.
What would you need to get the baby of the ground?

Developing
1. If you use zope you will need zope :-|
2. You will have to develop a few Zope Products by yourself, either to
implement features that aren't there yet or to customize and mingle other
Products. That means you will need to have shell access to the machine you
build your site on.
3. You will need at least ftp-access to your zope-dir in order to implement
the new products. If you use only one machine, which I do not recommend, you
are done with 2.)
4. ZODB (the Database zope runs on...) is a good database. Still many
developers have their reasons to use a second DB mostly a relational
Database e.g. Oracle or MySQL

Serving
1. If your site hits the net and is a hit, you'll probably need: bandwidth
and response time are needed. Reasonably for serving that starts from 2Mbps
upwards.
2. If you go for ISPs they provide both: bandwitdh and short response times.
Furthermore the offer features as backup (who does it regularly???) and
probably better firewalling that you can do at your own. If you decide to
take care of that by yourself, you will have to take care not only of the
development but also of the above mentioned features plus a few more.
Also if you want to stream media you'd be off good if you have a streaming
proxy in order to take load of the machine that runs the server, when the
going gets tough. Streaming proxys aren't cheap. ISPs can provide you with a
solution that will serve not only your domain but also others. That makes it
a lot cheaper and again you won't have to deal with the Streaming Proxy.

So lets see, what I would do:
I'd get two machines (bid + medium) that run the same OS; preferably Linux
since it's cheap and there are enough people out there by now who really now
their way around that OS. OTOH you'd should decide where to go first and
decide on the ressources after that.
I'd get an ISP 

[Zope] dtml-var owner? author? editor?

2000-10-24 Thread Patrick Koetter

Hi Zopistas,

I want to include the owner (from acl_users) of a page in my HTML-output.

Unfortunately I'm not able to produce what I want.

Any hints?

Thanks,

p@rick

___
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] AW: [Zope] dtml-var owner? author? editor?

2000-10-25 Thread Patrick Koetter


  I want to include the owner (from acl_users) of a page in my
 HTML-output.

 dtml-var "AUTHENTICATED_USER.getUserName()"
 is what you want

Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong?
What I want is:
'Anonymous User' surfs to my site. She surfs trough the HTML output
generated by zope, while zope not only tells her the content provided, but
also the Name of the Zope-owner of the document (e.g patrick is owner of
index_html -- that info is also displayed to the anonymous user)

Thanks for more help,

p@


___
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] AW: [Zope] Trying to follow tutorial

2000-10-25 Thread Patrick Koetter

 
  BTW there is no easier way than to shut the browser and reopen it ?

 No easy sure way at least. That is, if you have basic authentication
 (which is always the case when you have Zope out of the box). It's
 reported that in some cases
 http://user:[EMAIL PROTECTED]:whateverport may log you out/log you
 in differently, but afaik that won't work in all browsers and all
 platforms _and_ it may present you with an authorization box

Another real dull way is: open NS and IE (or... or ...) and use them with
different authorization.

p@


___
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] AW: [Zope] dtml-var owner? author? editor?

2000-10-25 Thread Patrick Koetter


  I want to include the owner (from acl_users) of a page in my
 HTML-output.

 dtml-var "AUTHENTICATED_USER.getUserName()"
 is what you want

Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong?
What I want is:
'Anonymous User' surfs to my site. She surfs trough the HTML output
generated by zope, while zope not only tells her the content provided, but
also the Name of the Zope-owner of the document (e.g patrick is owner of
index_html -- that info is also displayed to the anonymous user)

Thanks for more help,

p@


___
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] display owner [repost]

2000-10-26 Thread Patrick Koetter

Hi all,

I posted this the last days, but didn't get quite what I needed.

I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method
or -Document etc.) in order to display this to the surfers when they drop
by.

I've searched through zope.org code, took a look at the Owned.py etc. I just
can't figure it out. Somebody help me?

Thanks,

p@


___
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] AW: [Zope] Zope Book Beta

2000-10-31 Thread Patrick Koetter

Thanks!
Pretty neat thing :-)

I like the ducks: a-hi-ru.
"Kore wa desu? Ahiru desu." It must have been something like that...

p@

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von
 Wolfgang Strobl
 Gesendet: Dienstag, 31. Oktober 2000 10:58
 An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Betreff: Re: [Zope] Zope Book Beta


 On 30 Oct 2000, 17:32  Michel Pelletier wrote:

 
  Amos and I are gibbering like madmen with excitement to announce the
  Zope Book Beta.  [...]

 Great!

 For my own use, I'Ve just created a fully indexed  MS-Windows
 HTMHelp-Version, see http://www.zope.org/Members/strobl, that I
 want to share with others doing Zope work on that platform.



 --
   o  ( [EMAIL PROTECTED] (+49 2241) 14-2394
  /\*   GMD mbH   #include
_`\ `_===  Schloss Birlinghoven, std.disclaimer
 __(_)/_(_)___.-._  53754 Sankt Augustin, Germany 

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