Re: [Zope] db newbie

2000-09-14 Thread Stephan Richter
>I feel strange, asking such basic questions, but I don't really know where >to get started. I know a little bit about relational databases, but only a >little. I've seen in the zope tutorial that you can send an SQL query to the >database and use it to populate a list, but where do you build the

Re: [Zope] DCOracle Connection with Oracle 8.0.5

2000-09-14 Thread Dario Lopez-Kästen
>From: "Celio C. Guimaraes" <[EMAIL PROTECTED]> > > 1) In order to connect successfully I had to drop the @sid parameter: > dbc=DCOracle.Connect('scott/tiger@ora8') > returns with error: ORA-12154 : TNS: could not resolve service name > > 2) I would like to connect to a remote oracle se

[Zope] FW: [Zope] FW: list of users tied to database

2000-09-14 Thread tom smith
-- From: tom smith <[EMAIL PROTECTED]> Date: Thu, 14 Sep 2000 09:01:22 +0100 To: tom smith <[EMAIL PROTECTED]> Subject: Re: [Zope] FW: list of users tied to database > ')"> Thanks for the efforts of everyone so far, but alas,

Re: [Zope] And now for a good laugh (Re: [Zope] Zope and the GPL poison pill)

2000-09-14 Thread Nils Kassube
[EMAIL PROTECTED] (Lalo Martins) wrote: > Renderable wasn't even GPL'ed to begin with. And this isn't a > mistake; now that I think if it, I clearly remember having > chosen the ZPL so that DC folks could easily take the changes > and merge them into Zope if they wished. My copy of Renderable ZC

Re: [Zope] db newbie

2000-09-14 Thread Rik Hoekstra
> >I feel strange, asking such basic questions, but I don't really know where > >to get started. I know a little bit about relational databases, but only a > >little. I've seen in the zope tutorial that you can send an SQL query to the > >database and use it to populate a list, but where do you bu

Re: [Zope] Re: CASE in point -- [Zope] Simple dtml-unless problem

2000-09-14 Thread Oleg Broytmann
On Thu, 14 Sep 2000, Tim Hicks wrote: > Thanks Albert and Oleg. If I'm honest, while I have become somewhat > familiar with what Albert describes as zope's 'multiple personality > disorder', I can't say I truly understand it. I still don't think I've > got my head around the _['whatever'] syntax.

Re: [Zope] list of users tied to database

2000-09-14 Thread gotcha
Did you try this proposal posted yesterday ? on Wednesday, September 13, 2000 tom smith wrote : ts> I'm trying to create a list of users' emails. There is a table called ts> "tblUsers" and a field called "Email". ts> I have created a sql method called "get_email(UserName)" which works fine. ts>

[Zope] Static pages

2000-09-14 Thread Nick Trout
Hi, I would like to incorporate a load of static HTML pages into my Zope website. My question: what is the best way to do this? Is there a product to this.? I don't really want to have to use Apache. Regards, Nick. ___ Zope maillist - [EMAIL PR

Re: [Zope] Logging out of Zope

2000-09-14 Thread Tino Wildenhain
Hi Stuart, Stuart Foster wrote: > > Is there a way to allow an authenticated user to logout of Zope? Not really. The browser caches the authentication information until it is closed. There are some "workarounds" that work with some browsers, basically raising "unauthorized" pops the authenticati

[Zope] how to reload external method?

2000-09-14 Thread Riku Voipio
How do you reolad an external method that has changed? the only way I hafe found is restarting zope - pretty slow, and I wouldn't want to do on the daytime at our server (versions are rather cool, now I can develop on the production server safely). The only other way I see would be writing bu

Re: [Zope] uploading Word files to Zope

2000-09-14 Thread Tino Wildenhain
Hi Timothy, Timothy Wilson wrote: > > Hey everyone, > > Does anyone have any experience with allowing users to upload MS Word files > to your Zope server and make them available through your site. Specifically > I'm wondering about using wv (formerly mswordview) to convert the Word file > to HT

Re: [Zope] Passing parameters to external methods

2000-09-14 Thread Dominic Mitchell
On Wed, Sep 13, 2000 at 11:49:03PM +0200, Andreas Pauley wrote: > Hi, > I need to pass some parameters to my external methods. > > I have an external method that looks (somewhat) like this: > > def extAccess(self, accttype_cde): > return accttype_cde > > In the following dtml code, the foll

Re: [Zope] zope 2.2.1 and python 1.6

2000-09-14 Thread Toby Dickenson
On Wed, 13 Sep 2000 12:03:40 -0400, Brian Lloyd <[EMAIL PROTECTED]> wrote: >> i couldn't find anything in the list archives or the docs about python >> 1.6 from python's site, it looks like there are a lot of changes that >> could break code. can i run zope 2.2.1 on python 1.6 or should i >> st

[Zope] Organizing huge content

2000-09-14 Thread brocken22
Hallo, my question is about organizing scripting when you have to deal with huge amounts of content. I.e. you have a custom that wants to establish a website .This website should have in the future about 2000 pages but you on your own are building only some pages and a lot of templates that his c

Re: [Zope] how to reload external method?

2000-09-14 Thread Aleksander Salwa
On Thu, 14 Sep 2000, Riku Voipio wrote: > How do you reolad an external method that has changed? Just click on 'Edit' button. [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/ ___

[Zope] LocalFS or LoadSite

2000-09-14 Thread Chris Withers
Nick Trout wrote: > My question: what is the best way to do this? > > Is there a product to this.? You could look in the mail list archvies before asking this question since it's such a FAQ :-( LocalFS load_site.py cheers, Chris ___ Zope maillist

Re: [Zope] External Methods, reloading and Versions

2000-09-14 Thread Chris Withers
Riku Voipio wrote: > How do you reolad an external method that has changed? You shouldn't need to do anything, or so I was told... In practice, you can either: - wait a few minutes until the external method object gets flushed out of the cache - Hit the 'Edit' button for the external method. > (

[Zope] Python 1.6 makes Zope not work?!

2000-09-14 Thread zope
I was running Zope 2.2.0, and python 1.6a2 on linux. When I upgraded python to 1.6 release, I found that I can't run Zope again(Can go to the first, very simple page, and no further). The error msg are: WARNING: Python C API version mismatch for module ExtensionClass: This Python has API version

[Zope] Passing parameters to external methods is broken...

2000-09-14 Thread Chris Withers
Andreas Pauley wrote: > I have an external method that looks (somewhat) like this: > > def extAccess(self, accttype_cde): > return accttype_cde > > The external method returned true > > > I get the following error for the above statement: > Error Type: TypeError > Error Value: not enoug

Re: [Zope] list of users tied to database

2000-09-14 Thread tom smith
on 14/9/00 9:28 am, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > Did you try this proposal posted yesterday ? Yep, and I can't quite get it to work. I'm still trying though tom ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

[Zope] Any Swedish/Nordic Zope Users?

2000-09-14 Thread Dario Lopez-Kästen
Hello! I am curious to see if there are any Swedish and/or Nordic users of Zope on this list. Cheers, /dario - Dario Lopez-Kästen Systems Developer Chalmers Univ. of Technology [EMAIL PROTECTED] ICQ will yield no hits

Re: [Zope] External Methods, reloading and Versions

2000-09-14 Thread Riku Voipio
On Thu, Sep 14, 2000 at 11:52:59AM +0100, Chris Withers wrote: > Riku Voipio wrote: > > How do you reolad an external method that has changed? > > (versions are rather cool, now I can develop on the production > > server safely). > Versions and external methods interact very badly :-( > Don't tr

Re: [Zope] Static pages

2000-09-14 Thread J. Atwood
The best way is the product called Loadsite. You can point it to a directory and it will suck up all your images and html. Zope will have no problem serving it up. J At 9:56 AM +0100 9/14/2000, Nick Trout wrote: >Hi, I would like to incorporate a load of static HTML pages into my Zope >website

[Zope] Permission problem with my own zClass.

2000-09-14 Thread Max Møller Rasmussen
I have made a zClass called "newsProduct" that is articles with predefined properties. It works nicely when I am logged on as an Administrator. I can add articles. No problem. I also have a site with the following structure root news I want some users to be able to add "news" articles

[Zope] Announce: Squishdot 0.7.2 now available!

2000-09-14 Thread Chris Withers
Squishdot 0.7.2 is now available from http://www.zope.org/Members/chrisw/Squishdot/ http://www.squishdot.org/Download/Squishdot The following changes were made: - Squishdot now works with INSTANCE_HOME Zope installations If you run into problems, remember Squishdot has a mailing list at eG

[Zope] How do I add a property to created objects?

2000-09-14 Thread Kristofer Kiik
Hi, hope someone can point me to the right direction with this: I want to add an object using DTML. To do this I create a method 'addanewFolder' (not in a product, but somewhere in the document tree): === cut here === === cut here === This gets the folder added, but does not add the prop

[Zope] id_quote

2000-09-14 Thread Chris Withers
Hi, Given the new strictness characters allowed in id's, it'd be great if there was something called id_quote which behaved in the same way as html_quote or url-quote except it made a string suitable for use as an id. It's be great if ti was available as a methdo in python as well :-) What do pe

[Zope] subscribe

2000-09-14 Thread Dicken, Peer
subscribe     MfG / best regards,    Peer Dicken   IMD GmbH Softwareentwicklung & Unternehmensberatung Edisonstr. 1 59199 Bönen   Tel.: +49 23 83 - 9191-0 Fax.: +49 23 83 - 919191  

Re: [Zope] id_quote

2000-09-14 Thread Rik Hoekstra
> Given the new strictness characters allowed in id's, it'd be great if > there was something called id_quote which behaved in the same way as > html_quote or url-quote except it made a string suitable for use as an > id. It's be great if ti was available as a methdo in python as well :-) > > Wha

[Zope] How to give content maangers ability to update a Zope site ?

2000-09-14 Thread Richard Moon
How would you give a content manager the ability to update a live Zope site ? What I have is an in-house development site with various folders and each folder has a manager. I thought I would be able to let them use FTP on port 8021 to unload objects from the development site and update a live

[Zope] Pluggable brains

2000-09-14 Thread gotcha
Is there a place where pluggable brains mechanism is described ? I am beginning a Zope site project. With the few I have read about pluggable brains, I feel that more info could help me in deciding which part of data has to stay in ZODB and which should go inside RDBM. Thanks. Godefroid Cha

[Zope] cannot access articles in Squisdot

2000-09-14 Thread Tomaso Scarsi
Hi, I'm running squishdot 0.4.0 on zope 2.1.6 on a system running linux rh 5.2 and I'm experiencing some problem: when I try to open the main page index_html I get this error: Error Type: AttributeError Error Value: 'string' object has no attribute '__basicnew__' and on the console running z

Re: [Zope] Python 1.6 makes Zope not work?!

2000-09-14 Thread John Hayward-Warburton (Programming account)
[EMAIL PROTECTED] wrote: > I was running Zope 2.2.0, and python 1.6a2 on linux. When I upgraded python to > 1.6 release, I found that I can't run Zope again Though I am a newbie Zope developer, it was very kindly explained to me that a bug in Python 1.6 was being ticked by Zope 2.2.1 (you'll fin

Re: [Zope] How to give content maangers ability to update a Zope site ?

2000-09-14 Thread ethan mindlace fremen
[EMAIL PROTECTED] wrote: > Plan B was to use the export facility but they would then need to have > telnet access to the Zope import directory in order to put the .zexp file > there, which seems a huge security gap to me. I set up ncftp to allow ftp uploads (but not erasures or the creation of n

[Zope] FTP Server bug or feature

2000-09-14 Thread Júlio Dinis Silva
Hi all, just to check: with zope 220 when I do any changes to a normal user in a normal acl_users folder this user can no more access the zope module via ftp, i.e, login ok but a simple dir command return a unauthorized error . Isn't suppose to the FTP server view this changes cause its accessi

Re: [Zope] And now for a good laugh (Re: [Zope] Zope and the GPL poison pill)

2000-09-14 Thread Lalo Martins
On Thu, Sep 14, 2000 at 10:23:21AM +0200, Nils Kassube wrote: > [EMAIL PROTECTED] (Lalo Martins) wrote: > > > Renderable wasn't even GPL'ed to begin with. And this isn't a > > mistake; now that I think if it, I clearly remember having > > chosen the ZPL so that DC folks could easily take the chan

[Zope] Eventfolder 1.0.1 does not work

2000-09-14 Thread Joachim Schmitz
Hi, I trying to use Eventfolder 1.0.1, I imported the EventFolder.zexp, restartet Zope 2.2.1 and could add an Eventfolder, when I try to open the created eventfolder I get the message: The specified module, EventFolder.utils, couldn't be found. what's wrong here ? Mit freundlichen Grüßen Jo

Re: [Zope] Static pages

2000-09-14 Thread Jonothan Farr
If they are: - very large (MB+) - generated by some external process -or- - uploaded by users ...then Local File System is one way to go. Otherwise, loadsite.py will just slurp them all into the ZODB and you can serve them from there. --jfarr - Original Message - From: Nick Trout <[E

[Zope] Permissions logic and redirecting failed logins cleanly

2000-09-14 Thread Jason Cunliffe
Hello We have folder on our site with a list of links to restricted pages and downloadable binary objects. 1. 'Anonymous' can view the index_html of the top level folder for this part of the site. I did this by selecting 'Security' tab of my Zope folder, and then deselected the 'Aquire permissi

Re: [Zope] Organizing huge content

2000-09-14 Thread Maik Roeder
Hi ! [EMAIL PROTECTED] wrote: > > Hallo, > my question is about organizing scripting when you have to deal with huge > amounts of content. > I.e. you have a custom that wants to establish a website .This website > should have in the future about 2000 pages but you on your own are building > only

[Zope] Adding a new property over http

2000-09-14 Thread Jason Cunliffe
Hello I asked this in longer form before, but it fell by the way I think.. How to add a property to a containing folder. Looking for DTML or External Method way to do this. We need a Method to to add a new folder property assigning an 'Id' = adn 'type' = 'tokens'. We need to be able to do this

Re: [Zope] Pluggable brains

2000-09-14 Thread Chris McDonough
Alas no, other than what's in the ZSQL guide. :( This is something that badly wants to be documented in the Product Developer's Guide and generalized to include returning brains from the Catalog. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Se

Re: [Zope] Static pages

2000-09-14 Thread Dieter Maurer
Nick Trout writes: > Hi, I would like to incorporate a load of static HTML pages into my Zope > website. > Is there a product to this.? You already have been adviced to look for "loadsite". I add: you may look at the excellent "LocalFS" product. Dieter _

Re: [Zope] Re: CASE in point -- [Zope] Simple dtml-unless problem

2000-09-14 Thread Dieter Maurer
> Thanks Albert and Oleg. If I'm honest, while I have become somewhat > familiar with what Albert describes as zope's 'multiple personality > disorder', I can't say I truly understand it. I still don't think I've > got my head around the _['whatever'] syntax. You like that you can use

Re: [Zope] img tag dtml question

2000-09-14 Thread Dieter Maurer
Jason Cunliffe writes: > Can anyone see why under 2.2.0 this is wrong ? > > ... I am getting > >>> invalid syntax, for tag , on > line 3 of standard_html_footer The Python interpreter interprets expressions inside "...". Python requires names to start with a letter. You name "7Dlogoicon_gi

Re: [Zope] Passing parameters to external methods

2000-09-14 Thread Dieter Maurer
Andreas Pauley writes: > I need to pass some parameters to my external methods. > > I have an external method that looks (somewhat) like this: > > def extAccess(self, accttype_cde): > return accttype_cde > > > > > The external method returned true > > > I get the fol

Re: [Zope] Pluggable brains

2000-09-14 Thread Dieter Maurer
[EMAIL PROTECTED] writes: > Is there a place where pluggable brains mechanism is described ? I forgot where I saw a description. But it is incredibly simple: You can wrap an arbitrary class instance around your database rows. This transforms your rows into full featured objects with the c

Re: [Zope] Adding a new property over http

2000-09-14 Thread Dieter Maurer
Jason Cunliffe writes: > How to add a property to a containing folder. > Looking for DTML or External Method way to do this. You have at least 2 options: * Look at the object reference (--> zdp.zope.org) for the method that adds a property (probably something like "manage_addProperty"). *

Re: [Zope] Pluggable brains

2000-09-14 Thread Andreas
[EMAIL PROTECTED] wrote: > Is there a place where pluggable brains mechanism is described ? > > I am beginning a Zope site project. With the few I have read > about pluggable brains, I feel that more info could help me in > deciding which part of data has to stay in ZODB and which should > go ins

Re: [Zope] problem logging in to /manage resource

2000-09-14 Thread Dieter Maurer
Hi Manuel > I've been tryhing hard for the last two weeks to use > zope but I can't seem to get it to go past the /manage > resource. I'm running zserver, I tried the default > password, changing it with zpasswd, removing domain > restrictions, everything, but it still gives me > authentic

[Zope] Indirection, acquisition, asphyxiation

2000-09-14 Thread Dennis Nichols
I'm having trouble using the value of a property to determine which object to render (Zope 2.2.1, if it makes any difference). Starting from the beginning, let's say I have two folders A and B with four DTML methods (Nilo, Alpha, Smalpha, and Bravo): / Nilo /A Alpha Smalp

[Zope] China First Ag. B2B(FPA)

2000-09-14 Thread Gao Yue
Dear Sirs, I would like to introduce our website FarmChina.com to you. FarmChina is the first and only B to B website in China specializing in agricultural products. It provides an e-commerce platform to connect buyers and sellers in China with their partners abroad. You can register free to

[Zope] problem

2000-09-14 Thread Indra Gunawan
okay.. I have this website like this: on the left column I have a dtml tree, and on the right side, I have a content that using SQL method and requires a parameter. but when I try to expand or collapse a tree node... it returns an error because the SQL method on the right columns ask for a paramet

[Zope] SQLRelay vanish ??

2000-09-14 Thread Didier Georgieff
Hello, Since several days, the {HYPERLINK "http://www.firstworks.com/"}http://www.firstworks.com/ web site is unavailable. (SQLRelayDA and SQLRelayDA). Any information about the SQLRelay future, and download site ? Thanks. Didier. ___ Zope ma