Re: [Zope] \n problems with mysql5

2006-09-15 Thread Tino Wildenhain
--On Freitag, 15. September 2006 01:08 -0700 Ferhat Ayaz <[EMAIL PROTECTED]> wrote: Hi, sorry list. The problem was the changed syntax of JOIN between mysql 4 and 5. SELECT bla FROM bla INNER JOIN table1,table2 ON ( bla ) must be changed to SELECT bla FROM bla INNER JOIN (table1,table2)

Re: [Zope] Calling a Script from ZPT

2006-09-18 Thread Tino Wildenhain
--On Montag, 18. September 2006 06:43 -0700 Ferhat Ayaz <[EMAIL PROTECTED]> wrote: Hi, a quick and newbie question: How can I call a Script (Python) within a page template. I'm using the 'define' tag: Is there a more serious way to do this? Yes, don't do it :-) PageTemplates are "vie

Re: [Zope] Log in as another user

2006-10-01 Thread Tino Wildenhain
Sinang, Danny schrieb: Hello, In Unix, there's the "su" command which admins can use to log in as another user. Is there a similar facility in Zope ? not as "login" but there are the proxy roles you can assign to an object (script) to do something with raised privs. If not, is there a wa

Re: [Zope] [Fwd: [USN-359-1] Python vulnerability]

2006-10-06 Thread Tino Wildenhain
Chris Withers schrieb: ouch... I'd imagine Zope is vulnerable to this? What source version(s) of python have these problems fixed? Well debian also had it already. I'd guess current sources should have it too. Watch changes.txt and friends. Regards Tino ___

Re: [Zope] ZSQL Method's Precision

2006-10-24 Thread Tino Wildenhain
e the name ;) Use of the deprecated money datatype in postgres isnt recommended. (And its superceeded by numeric anyway) Regards Tino Wildenhain ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML enc

Re: [Zope] DTML Call Fails

2006-10-24 Thread Tino Wildenhain
annot write in a python script something like: REQUEST.SESSION.set('some_resonable_named_variable','AR-DA-07') ? Could you explain in plain english what your final goal of your construction is? Regards Tino Wildenhain ___ Zope maillist -

Re: [Zope] DTML Call Fails

2006-10-24 Thread Tino Wildenhain
? No, but see above. Could you please escape the horribly code + template mixing with DTML? ;) See the zope book for python scripts. (After all in DTML "expressions" its already python code, so why not write just python code and skip all that stuff around it you dont need anyway? R

Re: [Zope] DTML Call Fails

2006-10-24 Thread Tino Wildenhain
[EMAIL PROTECTED] schrieb: Changing the dash to an underscore in the variable name solved the problem. I'm quite sure you could solve it even better - if we would know where these variables come from and what their meaning is. I suspect some kind of form? Regards Tino Wilde

Re: [Zope] How to create a new TAL statement?

2006-10-27 Thread Tino Wildenhain
Garito schrieb: Hi all! As Aj and Chris advise my to forget the __getattr__ bussiness I try to solve the same question by other ways Now I have a new question: Can you point me to some help about how to create a new TAL statement? I would like to create a tal:yanged (for example) statement

Re: [Zope] How to create a new TAL statement?

2006-10-28 Thread Tino Wildenhain
Garito schrieb: Tino Wildenhain escribió: ... I'm talking about not tal:replace="/foo/bar" /> What I need is control the expression far away from the normal way (I want to process the result automatically before return the result) Aj and Chris dissapoint me to modif

Re: [Zope] matplotlib and zope problem

2006-11-14 Thread Tino Wildenhain
Marek Szczypiński schrieb: Hello All, I've been using zope and matplotlib for some time now, and I want to connect them. I'am using the example code from page: http://www.scipy.org/Cookbook/Matplotlib/Matplotlib_and_Zope , but whenever I try to import matplotlib, and/or pylab packages i get th

Re: [Zope] Re: adding a python library

2006-11-14 Thread Tino Wildenhain
David Bear schrieb: On Mon, Nov 13, 2006 at 08:32:11PM -0500, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Bear wrote: I would like to add Mark Pilgrims feedparser to the available modules that I can use in zope. I have installed the feedparser into the python instanc

Re: [Zope] Z2.log format

2006-11-16 Thread Tino Wildenhain
Sascha Adler schrieb: I'm running an instance of Zope 2.8.6, and I'm stumbling into a problem with the format of Z2.log. Unlike an Apache log, which would have the format %S - %u ... Well the apache log format is configurable. I don't know why the analysis products stuck with the weird defaul

Re: [Zope] tal loop to render table

2006-11-29 Thread Tino Wildenhain
Dennis Schulz schrieb: I would like to build a tal loop that renders a list of elements (widgets in my case) in a table. (for example I have a list of 9 items, then it renders a table: five rows with 2,2,2,2,1 items) the table has 2 columns, so i would need to open and close the table row every

Re: [Zope] tal loop to render table

2006-11-29 Thread Tino Wildenhain
Tino Wildenhain schrieb: Dennis Schulz schrieb: I would like to build a tal loop that renders a list of elements (widgets in my case) in a table. (for example I have a list of 9 items, then it renders a table: five rows with 2,2,2,2,1 items) the table has 2 columns, so i would need to open and

Re: [Zope] Recovering from Data.fs

2007-01-09 Thread Tino Wildenhain
Maciej Wisniowski schrieb: >From my understanding the paths for the zope instance have to be the same for Data.fs to work correctly. Is that correct? No, Data.fs should be portable. Yup, need to crete plain new Zope instance and put your data.fs into var directory. After this start Zope and ta

Re: [Zope] ZSQL Methods and transaction control

2007-01-10 Thread Tino Wildenhain
robert rottermann schrieb: Hi there, I am implementing a tool to handle userdata that is stored in a MySQL db. The underlaying logic of the stored procedures used to maintain the db content dictate that I have to control the transactions myself. Can you elaborate on that? I dont see a reason w

Re: [Zope] emulate a sequence

2007-02-08 Thread Tino Wildenhain
Jonathan schrieb: - Original Message - From: "Yuri" <[EMAIL PROTECTED]> To: Sent: Thursday, February 08, 2007 9:09 AM Subject: [Zope] emulate a sequence I need a field in zope object which act as a sequence. I mean every time I create an object, the value is the previous sequence val

Re: [Zope] frameset problems

2007-02-21 Thread Tino Wildenhain
Garry Saddington schrieb: I have this page: "> The 'page' variable is in the request but no matter what I try I am having problems passing it the the python script 'getproperty'. Can anyone point me in the correct direction? dtml-call? wtf! This will never ever work since dtml-call doe

Re: [Zope] How to export ZWiki contents in ZODB to MYSQL

2007-02-26 Thread Tino Wildenhain
Win Myint Aung schrieb: Dear Members, I am a newbie in Zope. please do me a favor. I am looking for some python scripts that can export Zwiki contents from ZODB to MYSQL. Well, the script is easy in principle but you need to know how the result in your MySQL should look like. So its basicall

Re: [Zope] datetime format

2007-03-04 Thread Tino Wildenhain
Garry Saddington schrieb: I have 'datetime-format international' set in zope.conf but the date output is still rendered in the format (y,m,d) when using ZopeTime or when returning dates from python scripts. How can I change this behaviour? My server config is: Well what you see is not "the da

Re: [Zope] datetime format

2007-03-05 Thread Tino Wildenhain
Andreas Jung schrieb: --On 5. März 2007 07:12:23 +0100 Tino Wildenhain <[EMAIL PROTECTED]> wrote: Garry Saddington schrieb: I have 'datetime-format international' set in zope.conf but the date output is still rendered in the format (y,m,d) when using ZopeTime or when

Re: [Zope] datetime format

2007-03-05 Thread Tino Wildenhain
Andreas Jung schrieb: ... And I would not use it much because you loose all type information and the ability to sort accordingly and calculate with the values. Better format them just for output - which would be in python code. It depends on the usecase..if you don't have to deal with diff

Re: [Zope] Download Large Files in Zope

2007-03-07 Thread Tino Wildenhain
an extra storage for the files to avoid overly cache trashing) but the performance is more then acceptable. ZODB/Filestorage is currely only a problem if you regulary update those files (or objects anyway) because it would add a complete new version. Regards Tino Wildenhain

Re: [Zope] Two mysql / timestamp related fixes

2007-03-08 Thread Tino Wildenhain
Gaute Amundsen schrieb: Hi. Just had som troubles when I added timestamp columns to a table. Commnets? my setup: Mysql: 4.1.20-log Zope Version: (Zope 2.7.5-1.fc3, python 2.3.4, linux2) 1 ) First I got a ValueError 'query' when using a very simple zsql method. (consisting of only "") That

Re: [Zope] Two mysql / timestamp related fixes

2007-03-09 Thread Tino Wildenhain
Gaute Amundsen schrieb: On Thursday 08 March 2007 17:27, Tino Wildenhain wrote: Gaute Amundsen schrieb: Hi. 1 ) First I got a ValueError 'query' when using a very simple zsql method. (consisting of only "") Thats a very bad idea. Better make zsql methods for every

Re: [Zope] Calling a Variable

2007-03-09 Thread Tino Wildenhain
Martijn Pieters schrieb: On 3/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I thought I could call a variable in a page template by defining it and then putting a ? in front of it in a URL, like this: Incorrect, you can only use ? to interpolate variables into a path expression: Th

Re: [Zope] No space left on device

2007-03-09 Thread Tino Wildenhain
Maciej Wisniowski schrieb: Where? I added this line to zopectl and rebooted: rebooted? Lets hope you only restartet zope :-) Regards Tino ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML en

Re: [Zope] How can run multiple query in an Z sql method

2007-03-09 Thread Tino Wildenhain
Andreas Jung schrieb: --On 9. März 2007 14:42:57 +0530 Remil Mathew <[EMAIL PROTECTED]> wrote: Hi, How can run multiple query in an Z sql method.. Sure. SQL Statement just have to separated by . I am using Mysql.. Also is there any method to return a value from insert query? An insert

Re: [Zope] Two mysql / timestamp related fixes

2007-03-09 Thread Tino Wildenhain
Gaute Amundsen schrieb: On Friday 09 March 2007 09:40, Tino Wildenhain wrote: Gaute Amundsen schrieb: On Thursday 08 March 2007 17:27, Tino Wildenhain wrote: Gaute Amundsen schrieb: Hi. 1 ) First I got a ValueError 'query' when using a very simple zsql method. (consisti

Re: [Zope] How can run multiple query in an Z sql method

2007-03-09 Thread Tino Wildenhain
Jary Busato schrieb: If I understood you're telling me that begin and commit statements are "redundant". No in this case they would be an error. Sometimes conflicts are not correctly managed by ZTM (no rollbacks in db) Examples? Which bug reports? Regards Tino _

Re: [Zope] sql and script python

2007-03-13 Thread Tino Wildenhain
javi lopez schrieb: hello everyone: how to create a query(mysql) inside script python You dont. You write your Query into a ZSQL Method and call it as function in your python script. Regards Tino ___ Zope maillist - Zope@zope.org http://mail.z

Re: [Zope] How do people work with html-designers?

2007-03-16 Thread Tino Wildenhain
Chris Withers schrieb: Martijn Pieters wrote: That, for ZPT, was sadly a myth. Not a myth at all. Perhaps underutilised and not as robust as first hoped, but not a myth. At Pareto the designer and templater were quite comfortable with keeping TAL intact while using graphical tools. My experie

Re: [Zope] dtml Z SQL doubt

2007-03-22 Thread Tino Wildenhain
Remil Mathew schrieb: Hi all, I need to insert a row to mysql table if the corresponding data not exist, if it exist i need to update the row. Can we do it using a single Z SQL method. Well thats not business of ZSQL methods but rather stuff you do with the instruments of your database. Sa

Re: [Zope] Re: open image in a fitted new window

2007-03-22 Thread Tino Wildenhain
Tres Seaver schrieb: ... The only trick here is to get the javascript to include the "dynamic" URL; everything else is not specific to Zope or ZPT. Here is the hack I usually use for that:: Your popup javascript can then refer to the 'img_url' JS variable to set the window location.

Re: [Zope] How can I reset zope time???

2007-03-24 Thread Tino Wildenhain
Flemming Bjerke schrieb: On Fri, 23 Mar 2007 16:16:55 +0100 Andreas Jung <[EMAIL PROTECTED]> wrote: --On 23. März 2007 16:09:15 +0100 flem <[EMAIL PROTECTED]> wrote: I think this kind af date-deadlock is a vulnerability of the zope architecture. Is it the same thing with zope3? Isn't it an u

Re: [Zope] What's the tal expression to test for whether someone is logged in?

2007-04-01 Thread Tino Wildenhain
Ken Winter schrieb: Andrew ~ Yes!! It worked. One more question: Where (if anywhere) could I have looked up this answer (and probably many more), so I wouldn't have to bother this list with questions like this? Its in the general Zope API and in the ZPT documenation regarding the name spaces

Re: [Zope] Problem with using versions.

2007-04-10 Thread Tino Wildenhain
Catherine E. Reinehr schrieb: Hi, I've been working in a version for over a week and finally finished my changes today. I saved them and quit the version, but the affected folder still has a lock on it. I've tried four times now to save my changes, and it's just not working. The first time, i

Re: [Zope] RE: Problem Getting dtml-with to work

2007-04-30 Thread Tino Wildenhain
Andreas Jung schrieb: --On 30. April 2007 11:02:29 -0400 "Mark, Jonathan (Integic)" <[EMAIL PROTECTED]> wrote: Thanks to the other Jonathan for advising me to try to find why dtml-with was not working as expected with FolderB. When I did that I realized that FolderB was not an actual folde

Re: [Zope] SQLAlchemy 0.2 released - a generic database adapter for Zope 2

2007-05-05 Thread Tino Wildenhain
Andreas Jung schrieb: I am pleased to announce the first public release of SQLAlchemyDA V 0.2.0 Nice, saves me a lot of time :-) Btw, what do you think about an idea to (alternatively) configure db-connections in zope.conf? Just to add security (nobody could read credentials,

Re: [Zope] Problem w/ ZMySQLDA

2007-07-18 Thread Tino Wildenhain
[EMAIL PROTECTED] wrote: Forgive my ignorance, but not quite sure how to do that. Nonetheless... 1) There was no problem with any of this on the old server until the server crashed. 2) My backups were taken from a time when the old server was was working fine. Did you ever check these backups

Re: [Zope] backup full instances

2007-10-27 Thread Tino Wildenhain
Hi, Jonas Meurer schrieb: On 27/10/2007 Andreas Jung wrote: If you create a local copy, it is safe. If you rsync a running Data.fs, it is not safe. In this case you create a local copy and rsync the copy. but if rsync is unsafe only because it takes long time, and changes on the instance duri

Re: [Zope] Re: Best Practice for including Javascript in Zope Applications

2008-01-01 Thread Tino Wildenhain
Andreas Jung wrote: ... Larger JS frameworks like Dojo tend to be split across several files and directories. The fun starts when such frameworks load/reload stuff using relative URLs. A co-worker using Dojo intensively had to invest some time in order to integrate such a JS monster properly.

Re: [Zope] Zope ZMI Templates

2008-01-16 Thread Tino Wildenhain
Tim Nash wrote: Jurian, While the ZMI is a bit geeky for the average user, it works quite well inside an iframe. iframes are used by many ajax/web2 (whatever you want to call it) libraries. So in my application (for example) I currently make ajax calls to load specific zmi pages inside tabs of

Re: [Zope] Zope ZMI Templates

2008-01-17 Thread Tino Wildenhain
Hi Tim, Tim Nash wrote: The other important difference between ajax loaded pages and iframes is that when you click on a link within an iframe page, the returned page is loaded into the same iframe. If I am not being clear, please check out this png file. http://medicinebrain.com/iframe.png";> h

Re: [Zope] Zope ZMI Templates

2008-01-17 Thread Tino Wildenhain
Andreas Jung wrote: ... Iframes are still a valid choice in case asynchronous won't work e.g. when you need to load resources from servers != your origin server. Due the security model of asynchronous requests, a browser will only load stuff from the origin server. Iframes are a way to work aro

Re: [Zope] POST version of Response.redirect

2008-02-15 Thread Tino Wildenhain
Hi, Jonathan wrote: I have a case where I need to redirect users from my Zope site to a third-party web site and send POST data that I generate. The only information I can find on RESPONSE.redirect relates to the GET format. Is there a POST version of RESPONSE.redirect and if so, how is the

Re: [Zope] Happy Valentine's Day from Zwiki HQ

2008-02-15 Thread Tino Wildenhain
robert rottermann wrote: Simon Michael schrieb: Hello Zopistas.. a happy Valentine's day to all! as martin said (or hinted) before me, a new wiki solution needs to be seamlessly integratable into plone. I like zwiki very much and still use it often. but rarely in new projects. the userinterfa

Re: [Zope] MySQL-python-1.2.2 breaks compiling on Mac OS X 10.5 (Andy Dustman?)

2008-02-21 Thread Tino Wildenhain
Hugo Ramos wrote: Well, I went googling for this error... Google gives 1 (one) answer!!! The worst part is that it's related to django and mod_python. I guess nobody solved this yet... I'll have to go back to OS X 10.4 (Tiger). You could also forward to Postgres :-) Unless you have a very spe

Re: [Zope] Managing Zope objects in Subversion

2008-03-03 Thread Tino Wildenhain
Dieter Maurer wrote: [EMAIL PROTECTED] wrote at 2008-3-2 14:17 +0100: We use Zope for the user interface part of our software product. We currently export the whole folder hierarchy into a .zexp file and maintain this file in Subversion. I'm looking for a way to manage a folder structure as i

Re: [Zope] define a class in a python script

2008-03-05 Thread Tino Wildenhain
Yuri wrote: Hi, all! I would like to define a class inside a python script (so I can catalog it and use catalog to store info, as the tutorial about catalog everything suggests). Its not possible in Python Scripts. You would need to write either an external method or a small product. Regard

Re: [Zope] define a class in a python script

2008-03-06 Thread Tino Wildenhain
Hi Yuri, Yuri wrote: Tino Wildenhain wrote: Yuri wrote: Hi, all! I would like to define a class inside a python script (so I can catalog it and use catalog to store info, as the tutorial about catalog everything suggests). Its not possible in Python Scripts. You would need to write

Re: [Zope] Re: Managing Zope objects in Subversion

2008-03-21 Thread Tino Wildenhain
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tino Wildenhain wrote: Dieter Maurer wrote: When I remember right, Tres has a product that allows to dump and restore standard Zope objects to/from the file system. I forgot its name but you should be able to find it via your

Re: [Zope] Zope utf-8 problem using MySQL

2008-03-21 Thread Tino Wildenhain
Hugo Ramos wrote: Yellow ppl, I'm using Zope 2.10.5 + MySQL 5.0.51a + MySQL-python-1.2.2. Why? I mean, is there a special business reason to use MySQL? Just curious... T. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zop

Re: [Zope] Zope utf-8 problem using MySQL

2008-03-22 Thread Tino Wildenhain
Hugo Ramos wrote: yellow, It's a question of taste... I use a Macbook Pro/Leopard laptop instead of a PC/win32 laptop... Also a question of taste! :-) Guess you got the taste thing a bit wrong ;-) MySQL is the PC/win32 in your picture :-) Cheers Tino __

Re: [Zope] Zope utf-8 problem using MySQL

2008-03-22 Thread Tino Wildenhain
Hugo Ramos wrote: What would you recommend? :-) What should the database do for you? How did you select? T. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - htt

Re: [Zope] running in debug mode

2008-03-26 Thread Tino Wildenhain
David Bear wrote: Is it possible to have one zeo client running in debug mode while another is not? It seems that it should be the way most people would make a development environment. One zeo is running in standard mode so you could see how the site performs -- while the other zeo is running i

Re: [Zope] Making Zope stop storing old object versions

2008-05-07 Thread Tino Wildenhain
Hi, Sinang, Danny wrote: Hello, We've got lots of Catalog reads and writes and our Data.fs is growing at an immense rate. Is there a way we can tell Zope to stop storing old object versions to limit the growth and not have to pack that often ? Well in fact it (Filestorage) does only "st

Re: [Zope] Making Zope stop storing old object versions

2008-05-09 Thread Tino Wildenhain
Hi, Jonathan wrote: Sinang, Danny wrote: Hello, ... You can also try some of the other storages like relstorage (where it depends on the RDBMS how it handles writes) Alternatively, you could just replace your Catalog with an external db such as MySQL (using zmysql database connections). w

Re: [Zope] Displaying Graphs using TAL

2008-05-30 Thread Tino Wildenhain
Hi, Andyy wrote: i am preparing graphs(MatPlotLib) related files using external methods., when i test them on zope they display very well there. But when i call these external methods using tal as: where IterationBar is my external method that displays a BarChart. No, well you need to unde

Re: [Zope] Re: Displaying Graphs using TAL

2008-05-30 Thread Tino Wildenhain
Hi, Encolpe Degoute wrote: ... If your site is only for FireFox or evolved browser you can use inline not only Firefox. also Opera supports this for years :-) It is not totally ideal because of the overhead due to the base64-encoding. For graphs (as the op wants to show) I think in the long

Re: [Zope] statistics and click analysis for a plone site

2008-06-02 Thread Tino Wildenhain
Hi, robert rottermann wrote: Hi there, for a Client using a plone2 intranet (with no access from the outside world) I installed awstat to track the usage of the intranet. now I wonder how meningfull such statisics are. I guess you have something like apache in front of the zope, if so you ca

Re: [Zope] Counting the elements of a result in a ZCatalog

2008-06-05 Thread Tino Wildenhain
Hi, Marco Bizzarri wrote: ... if result: result_len = results.actual_result_count else: result_len = 0 return result_len ... Thanks for your answer, but there is something I do not understand: if results: an empty result from ZCatlog is false in a boolen condition? Yes, thats standa

Re: [Zope] display HTML files using TAL

2008-06-08 Thread Tino Wildenhain
Hi, sujitha mary wrote: Hi all, I need help in displaying a set of HTML files .I have created a TAL code explain "display". which stores the name of the files in a list.But i don't know how to pass this values. pass to where? How does a code store anything? To where? this is my code her

Re: [Zope] UTF8 encoding

2008-06-17 Thread Tino Wildenhain
Hi Garry, Garry Saddington wrote: I am getting a few of this type of error only coming from Windows machines, does anyone know how to sort this out? ProgrammingError: ERROR: invalid byte sequence for encoding "UTF8": 0xa3 HINT: This error can also happen if the byte sequence does not match th

Re: [Zope] getting post data from a webcam

2008-07-08 Thread Tino Wildenhain
William Heymann wrote: I am trying to integrate a webcamera with a site and I can get it to POST the data to a certain url on the server the problem is I can't figure out how to get access to the data. It is not in REQUEST.form the relevant request vars are ('CONTENT_LENGTH', '111695') ('CONT

Re: [Zope] TALES expression

2008-07-16 Thread Tino Wildenhain
Garito wrote: Hi! Please consider this TALES expression: If I try this other: the result is None Then the first one will render the alternate expression isn't it? Then with it renders ? Сто? ;-) You should check the tales documentation. the pipe symbol | means a logical "or", in effec

Re: [Zope] TALES expression

2008-07-16 Thread Tino Wildenhain
Fred Drake wrote: On Wed, Jul 16, 2008 at 6:34 AM, Tino Wildenhain <[EMAIL PROTECTED]> wrote: You should check the tales documentation. the pipe symbol | means a logical "or", in effect if the left expression resolves to "non existent", None, empty object,... (general

Re: [Zope] 404 on "/manage" frames with mod_rewrite

2008-08-20 Thread Tino Wildenhain
Bernard Devlin wrote: Hi folks, I managed to find some good information on putting zope behind apache and using mod_rewrite. This appears to be working fine as long as I'm using a non-framed page (and it works with SSL too). However, when I try to access the site using https://mysite.com/s

Re: [Zope] 404 on "/manage" frames with mod_rewrite

2008-08-21 Thread Tino Wildenhain
Bernard Devlin wrote: I worked it out. For the apache virtualhost config for 443 I changed the rewrite rule to this: RewriteRule ^/zp($|/.*) http://%{SERVER_NAME}:8080/VirtualHostRoot$1 [L,P] I probably should have included my rewrite rules in the earlier message. I'm sure my mistake would

Re: [Zope] kill user Session

2008-09-17 Thread Tino Wildenhain
vaibhav pol wrote: Dear all, I create logout page in my site when user want to logout it will submit the page of page submit i called "manage_zmi_logout" function . which promt me for again login user name password window i want redirect user to login page but if redirect whiou

Re: [Zope] delete a variable from REQUEST

2008-09-29 Thread Tino Wildenhain
Hi, indrajit926 indra wrote: Hi All, Iam relatively new to zope. I want to delete a variable and it value from REQUEST.I used python pop() and __delattr__() ,but getting attribute error. Actually you can't. (Not without writing a product in filesystem and getting deep into zope). Why would

Re: [Zope] delete a variable from REQUEST

2008-09-30 Thread Tino Wildenhain
some kind of stacking layers of name spaces where values get looked up. Please see the Zope book (online) for description of the API. Regards Tino thanks, Indrajit. On Mon, Sep 29, 2008 at 1:36 PM, Tino Wildenhain <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

Re: [Zope] use path function on a python script

2008-10-08 Thread Tino Wildenhain
Garito wrote: 2008/10/8 Tino Wildenhain <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> Garito wrote: Perhaps is better if I explain you what I'm trying to do Imagine a Plone site (I know there are a plone list but this is a generic quest

Re: [Zope] use path function on a python script

2008-10-08 Thread Tino Wildenhain
Garito wrote: Perhaps is better if I explain you what I'm trying to do Imagine a Plone site (I know there are a plone list but this is a generic question, sorry if not) I configure it in the way if you put a parameter ?print the plone point renders as when you push the print button at the bo

Re: [Zope] getProperty title and id

2008-10-15 Thread Tino Wildenhain
Tino Wildenhain wrote: Hamzat Kamal wrote: Hi, I just want to why will display the object title and and will dispaly none. apart from the fact that you probably should start using TAL instead of DTML, Did you look at the resulting output? Not the HTML rendered in the browser

Re: [Zope] getProperty title and id

2008-10-15 Thread Tino Wildenhain
Hamzat Kamal wrote: Hi, I just want to why will display the object title and and will dispaly none. apart from the fact that you probably should start using TAL instead of DTML, Did you look at the resulting output? Not the HTML rendered in the browser but the source - "view sourc

Re: [Zope] sending a encrypted login URL

2009-03-04 Thread Tino Wildenhain
Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Use SSL and you're done. SSL solves SSO? I don't think so. Cheers Tino - -aj On 04.03.2009 17:29 Uhr, Joseph Thomas (s) wrote: We’d like to construct a zope login URL of the form on another server: http://zope.domain:p

Re: [Zope] ZEO manageUndo not working - DisconnectedError

2015-05-06 Thread Tino Wildenhain
Hi Sebastian, Am 06.05.2015 um 15:26 schrieb Sebastian Tänzer: > After further testing I was able to sort this one out by downgrading ZopeUndo to 2.12.0 (pip install ZopeUndo==2.12.0 --force —upgrade). > PyPi only said 4.0 brought Py3 compability. Should I expect any problems using ZopeUndo 2.

Re: [Zope] Unstable Zope when started at boot time Linux.....centinel solutions notvery acceptablevery acceptable

2000-05-18 Thread Tino Wildenhain
s to start Zope with the appropriate user-id. see "man su" for this. Regards Tino Wildenhain "Felipe E. Barousse" wrote: > > > I do believe this approach will work to restart crashed Zope but, I > would expect Zope to work correctly and be very stable when

Re: [Zope] How to use WebDAV?

2000-05-20 Thread Tino Wildenhain
site with IE. So you have to always "log in" before open as webfolder. But you can drag and drop files into the open folder. At least this works :-) This is helpful for putting downloadable file, images into a zope folder. Regards Tino Wildenhain __

Re: [Zope] DTML Document size limit?

2000-05-23 Thread Tino Wildenhain
. Regards Tino Wildenhain Andrew Diller wrote: > > I can't get a DTML Document to be bigger than about 105k. > > Is there a size limit to a DTML Document, and if so, how big? > > 105k isn't that large. > > -andy diller > > __

Re: [Zope] tag?

2000-05-24 Thread Tino Wildenhain
(dit not found the original post) > On Sun, 29 Aug 1999, Martijn Pieters wrote: > > >permissions at all. At any Zope2 site, I can add /PrincipiaSearchSource to > >the URL and see the source of that DTML Method/Document. No, thats not true. I just checkt it. Regards Tino

Re: [Zope] SQL-Query works with MySQL-monitor but not with ZMySQLDA

2000-05-29 Thread Tino Wildenhain
Hi Andy, Andy Pahne wrote: > > Hi, there, > > if I use my mysq-monitor to execute the following query, everything works > fine: > > SELECT YEAR(START_DATE) FROM EVENT; > > but it doesn't work via the ZMySQLDA!?! > > Here's the traceback: > > Error, exceptions.KeyError: unhandled > Pleas

Re: [Zope] Traceback? Codechange!

2000-05-29 Thread Tino Wildenhain
ery ugly imho. It schould be sufficient, if one includes the traceback-variable into the standard-error where its appropriate. In the current implementation it will break the HTML-standard with code outside and additionally makes it impossible to get error-messages to picky browsers, such as WAP-dev

Re: [Zope] IRC Chat - tools[win32] and advice

2000-05-30 Thread Tino Wildenhain
sewhere. Its really not too hard ;) Regards Tino Wildenhain ___ 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-anno

Re: [Zope] zodbc performance question

2000-06-09 Thread Tino Wildenhain
Hi Julio, we tested exactly this approach but run into some deadlock-situations. Since it did not improve performance we now use only one connection-object per database. Regards Tino Wildenhain julio dinis wrote: > > Hi all, > > Using zodbc, supose we have the following si

Re: [Zope] Extended characterset

2000-06-09 Thread Tino Wildenhain
Hi Ivan, you may want to try out the modifier url_quote eg: HTH Tino Wildenhain Ivan Mackintosh wrote: > > Hi, > > What I want to do is to allow users to be able to enter greek/mathematical > symbols into a textbox. I have managed to do this but get the following > pro

Re: [Zope] zodbc performance question

2000-06-09 Thread Tino Wildenhain
table after the update. It will however "commit" the write when the document is fully generated. connection2-object will block therefore. HTH Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Dynamically Picking which object to display

2000-06-09 Thread Tino Wildenhain
uded. If the session is timed out or a not authenticated user tries to access some pages, the session-management (a dtml-method) sends a redirect to the login-page. I can give a more detailed description on request. But at least: yes, you can do it; yes, it makes sense HTH Tino Wildenhain

Re: [Zope] YA newbie question

2000-06-09 Thread Tino Wildenhain
lling a dtml-method renders its output rather then the source. This is what is done in the first variant. NB: often you have to provide the documents context to the method, so the above call is somthing like (or such like - have to look again over some documentation or the list for this) HTH

Re: [Zope] logout

2000-06-10 Thread Tino Wildenhain
ften prependig the url with the new user like this: http://newuser@site/... logs you out and in as the new user. But this behavior is not defined as in rfc. HTH Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listi

Re: [Zope] Re: dtml-tree with data from multiple tables

2000-06-10 Thread Tino Wildenhain
make it unique, I add an offset to each tables key and remove it for query. My query is kind of self modifying for this, comparing if the key is inside a given interval and making the query at the appropriate table with removing the offset first and adding the next offset to the results. I can prov

Re: [Zope] problem with PTK and LoginManager

2000-06-15 Thread Tino Wildenhain
ownload-page. (in short: you have to restart your zope) Regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/

Re: [Zope] Extra Path Info

2000-06-15 Thread Tino Wildenhain
. snoop.jsp/ABC?query=.. I dont see the relation to Zope here, but why do you want to add a path to a document? >From what I know it does not work. You should probably use a servlet here or zope with the traversal patch for documents and methods.

Re: [Zope] TAG for file date

2000-06-20 Thread Tino Wildenhain
dynamic tag? I am >thinking something like copied-file > Any help would be apprechiated. > actually it is where fileobject is your actual object. HTH Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listin

Re: [Zope] Expressing expressions

2000-06-20 Thread Tino Wildenhain
Hi RC, RC Compaan wrote: > > Simple addition seems a bit tricky in zope > ><--// Here i tried to Try HTH Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cros

Re: [Zope] Change Notification

2000-06-20 Thread Tino Wildenhain
) ), but I need to update the relation links if the destination folder > is moved. if it is in aqisition path, may help. It would give you the URL of the object whereever it is at the moment. May be, you could use ZCatalog otherwise. HTH Tino Wildenhain

Re: [Zope] Using Zope DB connection from a Python class

2000-06-21 Thread Tino Wildenhain
Hi Ivan, > 3. Zope 2.1.7 > Z ODBC DA 3.0.3 > Solid dev kit 2.3 > RedHat Linux 6.1 on i386 How to use Z ODBC DA on Linux? I only found a windows binary. Tino ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/ma

Re: [Zope] image inclusion: empty ALT not the same as no ALT

2000-06-23 Thread Tino Wildenhain
t; supplied. I assume the check for the attribute is only something like that: if alt: ... So an empty string is considered also false. You can work around with Since a space is not seen but also not false. HTH Tino Wildenhain ___ Zope maillist

  1   2   3   4   5   >