Re: [Zope] NEWBIE HELP can not get Zope to start

2000-09-07 Thread Martijn Pieters
On Thu, Sep 07, 2000 at 10:12:16PM -0400, Douglas Eadline wrote: > 6. OK, I'll add a user. I go to acl_users and add a user. > > 7. I quit netscape, and restart and attempt to login as >the new user - DOES NOT WORK > > 8> I check /var/zope/access - no new user added Only the superuser (mo

[Zope] Squishdot

2000-09-07 Thread Roch'e Compaan
I've upgraded our Zope Server to 2.2.1 and upgraded squishdot to 7.1. Whenever I post an article on my squishdot sites I get an attribute error: _catalog. It seems like squishdot has trouble putting the article in the catalog. I did modify all references to thread[0] to getThread(0): Traceback

[Zope] [PATCH] doesn't? Please fix... ;-)

2000-09-07 Thread Kip Rugger
Andrew Kenneth Milton <[EMAIL PROTECTED]> wrote: >+---[ Kip Rugger ]-- >| >| [snip] >| >| >| crap >| more crap >| >| Lots of crap >| >| >| >| by analogy with the common practice of #if 0 in C > >Won't work, the container will still be parsed for correctness at 'save'

Re: [Zope] ZClass for PDFs

2000-09-07 Thread Loren Stafford
From: "Timothy Wilson" <[EMAIL PROTECTED]> > On Thu, 7 Sep 2000, Tim Cook wrote: > > > Timothy Wilson wrote: > > > > > > I'd like to make a large number of PDF files available for download from my > > > site. HTML versions of the files will also be available for online viewing. > > > > > > I cou

[Zope] Help: PATH_INFO==>object

2000-09-07 Thread Li Dongfeng
I am writing a service for other pages to use as form action. How can I reference the caller object in DTML/python? I can only think of this: First use PARENTS[-1] to get to the root object of the site. Then split the PATH_INFO containing the caller's path, and go down from the root to every subf

Re: [Zope] ZClass for PDFs

2000-09-07 Thread Tim Cook
Timothy Wilson wrote: > It doesn't appear that the ZpdfDocuments is what I'm looking for. > ZpdfDocument seems to render PDF on the fly from structured text or HTML. I > was interested in simply storing an existing PDF file in the ZODB and making > it available for download. > > Is there a reaso

Re: [Zope] ZClass for PDFs

2000-09-07 Thread Timothy Wilson
On Thu, 7 Sep 2000, Tim Cook wrote: > Timothy Wilson wrote: > > > > I'd like to make a large number of PDF files available for download from my > > site. HTML versions of the files will also be available for online viewing. > > > > I could certainly include the PDF files as regular file objects

[Zope] NEWBIE HELP can not get Zope to start

2000-09-07 Thread Douglas Eadline
I have tried this 10 times with several versions of Zope and I get the same result - Zope will not let me add a user or log in. Here are my steps: 1. download and install latest RPMS: Zope-2.2.1-1.i386.rpm Zope-zserver-2.2.1-1.i386.rpm 2. Start zope: /etc/rc.d/init.d/zope start 3.

[Zope] SiteRoot (SiteAccess) problem

2000-09-07 Thread Joshua Brauer
I'm running a new server with 2.2.1 and Siteaccess 2.0.0 b3 and I don't get a "SiteRoot" item in the available items list. I can copy site roots and move them, but I cannot create new site roots... After reinstalling SiteAccess (& restarting) I still have problems. Any ideas? General Info:

Re: [Zope] Using Chinese Characters

2000-09-07 Thread David Trudgett
At 2000-09-07 21:18 +0200, Tino Wildenhain <[EMAIL PROTECTED]> wrote: >Hi Kelvin, > >Kelvin Cheong wrote: > > > > i was wondering how i can use chinese characters with Zpe on Linux. does > > anyone know how? According to my "mild" research so far, i found out that > > Big5is a 2-byte code and is

Re: [Zope] OSError along with FSSession...

2000-09-07 Thread Dieter Maurer
Chien-Pin Wang writes: > Zope complains an error type "OSError" and throws the error value > saying [Errno 21] Is a directory: '/usr/local/zope/var/FSSession/' > occasionally since a recent upgrade of FSSession product to 0.4.2. > Following that error will be a series of TransactionErrors

Re: [Zope] Zclass not reindexing (it is CatalogAware)

2000-09-07 Thread R. David Murray
On Thu, 7 Sep 2000, Tim Hicks wrote: > So each time there is a change made to the text, I must call > reindex_object, is that correct? If so, how do I make it so that each > time I hit the 'Change' button at the bottom of the text box, > is executed? If you take a close look at the how-to, it a

Re: [Zope] ZClass for PDFs

2000-09-07 Thread Tim Cook
Timothy Wilson wrote: > > Hi everyone, > > I'd like to make a large number of PDF files available for download from my > site. HTML versions of the files will also be available for online viewing. > > I could certainly include the PDF files as regular file objects or I could > create a ZClass s

Re: [Zope] Zclass not reindexing (it is CatalogAware)

2000-09-07 Thread Tim Hicks
- Original Message - From: "R. David Murray" <[EMAIL PROTECTED]> To: "Tim Hicks" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, September 07, 2000 10:12 PM Subject: Re: [Zope] Zclass not reindexing (it is CatalogAware) > On Thu, 7 Sep 2000, Tim Hicks wrote: > > The question

Re: [Zope] Zope 2.2.1 Solaris 8 dumps core

2000-09-07 Thread Fredrik Aronsson
Hello! I've had a similar problem, with Zope coredumping, but since I recompiled python using the same compiler that I compiled Zope with, Zope works correct. /Fredrik Aronsson (I've included the smallest script I could find that dumped core. If it dumps core for you too, perhaps you have the

[Zope] ZClass for PDFs

2000-09-07 Thread Timothy Wilson
Hi everyone, I'd like to make a large number of PDF files available for download from my site. HTML versions of the files will also be available for online viewing. I could certainly include the PDF files as regular file objects or I could create a ZClass specifically for PDF files. I suspect t

[Zope] Re: ZClass Bug (was: Re: [Zope] How to access id and title of document calling standard_html_header)

2000-09-07 Thread Tim Hicks
- Original Message - From: "Dieter Maurer" <[EMAIL PROTECTED]> To: "Tim Hicks" <[EMAIL PROTECTED]> Sent: Thursday, September 07, 2000 7:00 PM Subject: Re: ZClass Bug (was: Re: [Zope] How to access id and title of document calling standard_html_header) > Hi Tim > > > NameError: theatre_

RE: [Zope] Python, persistent objects and caching

2000-09-07 Thread Dieter Maurer
Brian Lloyd writes: > Soren Rough writes > > ... application level cache ... > > ... application objects flushed (including cache) > One approach would be to cache your data in the module's > namespace. For ex: > > mycache={} > > class MyClassThatKeepsGoingAway: > ... > def get_

[Zope] Need help with ZJetDA, Winnt4 and Zope 2.2.1

2000-09-07 Thread Farrell, Troy
As you have no doubt heard my cries for help, I figure that very few are running NT4. I am having a permissions difficultie with ZJetDA trying to modify data in an Access97 database. On my server, the DA is able to SELECT * FROM tablename with no problem, but when it comes to INSERT INTO tablena

Re: [Zope] DTML Question on lines

2000-09-07 Thread Tim Cook
"Coleman, Bryan" wrote: > > I am trying to itterate through a lines property in the folder so that the > options will drop down. I did not think that the following code would work > but I could not think of anything else. > > > valid_codes>  > > Try this Br

Re: [Zope] Zclass not reindexing (it is CatalogAware)

2000-09-07 Thread R. David Murray
On Thu, 7 Sep 2000, Tim Hicks wrote: > The question is, do I need to add the equivalent of what is written in > 'How-To: Creating a CatalogAware ZClass' for reindexing zclass > properties, but for reindexing the actual text? How could I do this? When is the text created? After it is, you have t

Re: [Zope] Editing of ZClasses using FTP: Access denied

2000-09-07 Thread R. David Murray
On Thu, 7 Sep 2000, Harald Koschinski wrote: > I am trying to edit methods inside a ZClass. The problem is, that the > ZClasse-folder don´t has any permissions via FTP - so there is no chance > to come into the folder. > > Where do I have to change the permission?? You don't. However, if you sp

[Zope] PTK - member can reconfigure portal

2000-09-07 Thread Anders Eriksson
Hello, I am a beginner on Zope so maybe I'm doing something wrong but... I have installed the Portal ToolKit 0.8.2 complete, and most things seem to work except: I have joined the Portal and when I log in as this member and select 'My Stuff', I get a new menu item: 'Re-configure portal'! Which w

Re: [Zope] wrapped object

2000-09-07 Thread Bill Anderson
Sven Hohage wrote: > > Hallo, > while adding ZClass instances by form I get the following traceback: > I don't know what's a wrapped object?? > And where the problem is. >Thanks > -->>> > Zope Error > Zope has encountered an error while publishing this resource. > > Error Type: Val

RE: [Zope] Zope 2.2.1 Solaris 8 dumps core

2000-09-07 Thread Brian Lloyd
> I've downloaded the src of Zope 2.2.1 on my UltraSparc running Solaris > 8, built it ok, but when I try run ./start it it dumps core with a > segmentation fault. > Is this problem known? Anything I can do? > I am completely new to both Python and Zope ... I don't know of any problems inherent t

Re: [Zope] Zope 2.2 & ZopeAttributionButton

2000-09-07 Thread Dieter Maurer
Ira Hochman writes: > Does anyone know how to set security on ZopeAttributionButton? I do not know how you can directly set permissions for ZopeAttributionButton. But, as a wordaround, you can give "standard_html_footer" an appropriate proxy role. Dieter ___

Re: [Zope] The Ascetic Superuser

2000-09-07 Thread Dieter Maurer
ethan mindlace fremen writes: > Now every object excecutes according to the permision of the owner, > *not* the viewer. It can also run as a proxy role. The > super-bootstrap-user lives outside of "normal" zope authentication & has > permission to do anything save that which NotEvenGodShouldD

[Zope] Re: ZClass Bug (was: Re: [Zope] How to access id and title of document calling standard_html_header)

2000-09-07 Thread Dieter Maurer
Tim Hicks writes: > I presume that this will only work for all *new* instances of > this class however! I don't suppose you know of a way of remaking all > 44 instances of this Zclass I have using this adjusted constructor? I > have tried (see below), but I think I come up against the s

Re: [Zope] Proxy roles don't propagate? - bizzare permissions from ZDChart too

2000-09-07 Thread Dieter Maurer
Brad Clements writes: > ... Proxy role does not propagate ... This has been changed starting with Zope 2.2. The callee no longer inherits the proxy role from its caller but must get its own proxy role. Dieter ___ Zope maillist - [EMAIL PROTECTED] h

Re: [Zope] Lock and Transaction in Zope.

2000-09-07 Thread Dieter Maurer
Aitor Grajal writes: > --=_9682482706334=_ > Content-Type: text/plain; charset="ISO-8859-1" > Content-Transfer-Encoding: quoted-printable I hate "multipart" or encoded messages to this list (because the digest removes MIME headers (what a stupidity!) and does not give my mail reader a chanc

Re: [Zope] DTML Question on lines

2000-09-07 Thread Rik Hoekstra
> I am trying to itterate through a lines property in the folder so that the > options will drop down. I did not think that the following code would work > but I could not think of anything else. > > > valid_codes>  > > try (untested):   assuming of c

[Zope] DTML Question on lines

2000-09-07 Thread Coleman, Bryan
I am trying to itterate through a lines property in the folder so that the options will drop down. I did not think that the following code would work but I could not think of anything else.   - Bryan Patrick Coleman Questcon Technologies (336)273-2428 ext-

[Zope] Call for Python Method opinions

2000-09-07 Thread Evan Simpson
If you want any say in how official Zope Python Methods work, I recommend heading over to: http://dev.zope.org/Wikis/DevSite/Projects/PythonMethods/StandardPythonMetho dModule ...soonest. If you have feedback on any part of the project, please contribute, but the link above is the squishiest pa

[Zope] Newbie question: Unhandled requests.

2000-09-07 Thread Hannes
We currently started to run our site using Zope behind Apache using ProxyPass, when testing from the outside it seems that there many (about one-third) of the requests that are not handled by Zope, the browser seems to recieve nothing, (means the browser times out), this behaviour does not depe

Re: [Zope] Using Chinese Characters

2000-09-07 Thread Tino Wildenhain
Hi Kelvin, Kelvin Cheong wrote: > > i was wondering how i can use chinese characters with Zpe on Linux. does > anyone know how? According to my "mild" research so far, i found out that > Big5is a 2-byte code and is a part of ISO-10646/Unicode. It also seems to > be the de-facto for traditional c

Re: [Zope] re module & through the web security

2000-09-07 Thread Evan Simpson
From: Dan L. Pierson <[EMAIL PROTECTED]> > > http://dev.zope.org/Wikis/DevSite/Projects/PythonMethods/GuardedImport > > I looked there. Ah, but I was sneaky and went and updated it just before posting ;-) You do have to follow a link or two, but it isn't hard to find (any more). Cheers, Evan

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

2000-09-07 Thread Eric L. Walstad
Just a follow-up: Morten Said: // Adding files to Zope through FTP doesn't seem to have the same restrictions. Actually, it did for me. FTP was able to upload all the class files except those with the $ in them (the classes with inner-classes). That's how I found out about the problem. Holger

Re: [Zope] re module & through the web security

2000-09-07 Thread Dan L. Pierson
Evan Simpson writes: > From: Dan L. Pierson <[EMAIL PROTECTED]> > > Does this work for any module or just a semi-safe subset? > > > > How are submodules handled? Just put the full path in the > > ModuleSecurityInfo call? Can you grant permissions for all children > > of a parent module (sc

Re: [Zope] re module & through the web security

2000-09-07 Thread Evan Simpson
From: Dan L. Pierson <[EMAIL PROTECTED]> > Does this work for any module or just a semi-safe subset? > > How are submodules handled? Just put the full path in the > ModuleSecurityInfo call? Can you grant permissions for all children > of a parent module (scary!)? http://dev.zope.org/Wikis/DevSi

Re: [Zope] re module & through the web security

2000-09-07 Thread Dan L. Pierson
Evan Simpson writes: > Fear not. In the brand new shiny PythonMethods Product coming soon > (really!) to a Zope near you, you will have the ability to say: > > ModuleSecurityInfo('re').protect('compile', 'Use the "re" module') > > ...and suddenly anyone to whom you grant 'Use the "re" mod

[Zope] Zclass not reindexing (it is CatalogAware)

2000-09-07 Thread Tim Hicks
I have created a Zclass, the the _ZClass_for_CatalogAware base class as the first added base class (second in the list of base classes). My zcatalog (named Catalog) is set to 'Find objects of type: "myClass_metatype"' and therefore, when I add a new instance of my class, it is automatically added

[Zope] Folderish Properties

2000-09-07 Thread Tim Cook
I have a folderish ZClass with a set of properties. When I create an instance via DTML my code doesn't update the properties from REQUEST. I use exactly (names changed of course) the same code to instantiate a document like ZClass and it works fine. So what's the difference between Folderish ZC

RE: [Zope] ZClass base classes

2000-09-07 Thread Chris McDonough
Hi Nick (please don't post HTML mail to the list). I *think* the "Include standard Zope persistent object base classes" check box gives your ZClass the "ZObject" interface which is similar to the SimpleItem interface (see the Zope API docs in the help system - I think it's under Help->Zope Help-

[Zope] Editing of ZClasses using FTP: Access denied

2000-09-07 Thread Harald Koschinski
Hallo, I am trying to edit methods inside a ZClass. The problem is, that the ZClasse-folder don´t has any permissions via FTP - so there is no chance to come into the folder. Where do I have to change the permission?? Help is really appreciate Thanks Harald _

Re: [Zope] ANN: Serving PHP/Perl from Zope update

2000-09-07 Thread Bill Welch
Last bug. Promise. # user might not have signed in yet try: username, password = req._authUserPW() except: username = password = None ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] wrapped object

2000-09-07 Thread Sven Hohage
Hallo, while adding ZClass instances by form I get the following traceback: I don't know what's a wrapped object?? And where the problem is. Thanks -->>> Zope Error Zope has encountered an error while publishing this resource. Error Type: ValueError Error Value: Invalid property valu

Re: [Zope] ZClass base classes

2000-09-07 Thread Nick Trout
> (please don't post HTML mail to the list). sorry > I *think* the "Include standard Zope persistent object base classes" > check box gives your ZClass the "ZObject" interface which is similar to > the SimpleItem interface (see the Zope API docs in the help system - I > think it's under Help->Zop

[Zope] [New User]: Investigating Zope...some preliminary questions

2000-09-07 Thread Vaibhav Goel
Hi all: I am currently investigating Zope as a possible "tool" to use for building the back end "engine" for several projects for our company. Some of the sites we are currently doing involve E-commerce, news, etc. It is definitely a very powerful system and I think I have not even scratched the

RE: [Zope] ZODB How To please HELP

2000-09-07 Thread Farrell, Troy
Could you send the SQL you used? Also, what platform and Database are you using? > -Original Message- > From: Norman Khine [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 07, 2000 7:05 AM > To: [EMAIL PROTECTED] > Subject: [Zope] ZODB How To please HELP > > I am trying to

RE: [Zope] Python, persistent objects and caching

2000-09-07 Thread Brian Lloyd
> I'm developing a Python-based product that uses persistent objects in > ZODB to store its configuration. No surprises there, but my product is > also using volatile attributes to do a bit of caching of its own. The > thing is, when ZODB takes a sweep every 60 seconds to flush it's own > cache i

[Zope] ZClass base classes

2000-09-07 Thread Nick Trout
I've looked all throught docs but I cant find anywhere an explanation of what properties the ZClass base classes give you. Also which order to inherit them, as the Developers Guide claims the order is important. Can anyone please enlighten me?   Regards, Nick.    

[Zope] Portal Toolkit and NTUserFolder

2000-09-07 Thread neeloy_saha
Hi all, Can anybody tell me how to integrate the NTUserFolder and the portal toolkit -neeloy ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.

[Zope] generate static html to webserver?

2000-09-07 Thread Torsten Eymann
Hello, I want generate a static site from zope-folder and his subfolders to put that on an really-internet-server. Can I do that? How? thanks torsten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross po

[Zope] ZODB How To please HELP

2000-09-07 Thread Norman Khine
I am trying to follow the How to on ZODB How To, but I get stuck at the point of when testing the sqlInsertProduct When I submit the query I get the following error Error, exceptions.SyntaxError: unexpected token sequence.near :: '_weight)\012VALUES'*'\012widget,\012Histor' *

[Zope] Python, persistent objects and caching

2000-09-07 Thread Soren Roug
Hi, I'm developing a Python-based product that uses persistent objects in ZODB to store its configuration. No surprises there, but my product is also using volatile attributes to do a bit of caching of its own. The thing is, when ZODB takes a sweep every 60 seconds to flush it's own cache it will

[Zope] Zope 2.2.1 Solaris 8 dumps core

2000-09-07 Thread Michele Ravani
Hi I've downloaded the src of Zope 2.2.1 on my UltraSparc running Solaris 8, built it ok, but when I try run ./start it it dumps core with a segmentation fault. Is this problem known? Anything I can do? I am completely new to both Python and Zope ... Thanks Michele ~~

[Zope] Using Chinese Characters

2000-09-07 Thread Kelvin Cheong
i was wondering how i can use chinese characters with Zpe on Linux. does anyone know how? According to my "mild" research so far, i found out that Big5is a 2-byte code and is a part of ISO-10646/Unicode. It also seems to be the de-facto for traditional chinese characters. There're also Unicode CJ