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

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:

Re: [Zope-dev] SVN: zope2book/trunk/ Lot's of updates over the weekend!

2009-02-17 Thread Tino Wildenhain
Dieter Maurer wrote: Tres Seaver wrote at 2009-2-15 10:45 -0500: ... At the moment, the book is largely a guide to what can be done with Zope TTW. DTML is still part of that store: it isn't gone, nor even deprecated: its just that most core developers prefer not to use it in most cases. Note

Re: [Zope] getProperty title and id

2008-10-15 Thread Tino Wildenhain
Tino Wildenhain wrote: Hamzat Kamal wrote: Hi, I just want to why dtml-var xx.getProperty('title') will display the object title and and dtml-var xx.getProperty('id') will dispaly none. apart from the fact that you probably should start using TAL instead of DTML, dtml-let xx= _.getitem

Re: [Zope] getProperty title and id

2008-10-15 Thread Tino Wildenhain
Hamzat Kamal wrote: Hi, I just want to why dtml-var xx.getProperty('title') will display the object title and and dtml-var xx.getProperty('id') will dispaly none. apart from the fact that you probably should start using TAL instead of DTML, dtml-let xx= _.getitem('id') dtml-var

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 question, sorry if not) I

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

Re: [Zope] delete a variable from REQUEST

2008-09-30 Thread Tino Wildenhain
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: Hi, indrajit926 indra wrote: Hi All, Iam relatively new to zope. I want

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] 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 whiout

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] 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

Re: [Zope-dev] Syntax error in python2.6

2008-07-21 Thread Tino Wildenhain
Bristow Thankachan wrote: Hi everybody, During the porting of Zope2 to Python2.6, I am stuck with a syntax error in the module AccessControl, which is given below. def reorder(s, with=None, without=()): ^ SyntaxError: invalid syntax in line 56 of

Re: [Zope-dev] Syntax error in python2.6

2008-07-21 Thread Tino Wildenhain
Hi, Bristow Thankachan wrote: ... def reorder(s, with=None, without=()): ^ SyntaxError: invalid syntax in line 56 of /home/zope/ztrunk26/lib/python/RestrictedPython/Utilities.py. The same code when run in python2.4 and

Re: [Zope] TALES expression

2008-07-16 Thread Tino Wildenhain
Garito wrote: Hi! Please consider this TALES expression: div class=DataPrevista tal:content='here/getDataInici | string: nosta' / If I try this other: div tal:content='string:${here/getDataInici}' / the result is divNone/div Then the first one will render the alternate expression isn't it?

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,... (generally python False) the right part

Re: [Zope] getting post data from a webcam

2008-07-09 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')

Re: [Zope] UTF8 encoding

2008-06-18 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 the

Re: [Zope] display HTML files using TAL

2008-06-09 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 here

Re: [Zope-dev] Conflict Errors

2008-06-05 Thread Tino Wildenhain
Jim Fulton wrote: On Jun 5, 2008, at 9:52 AM, David Otero Figueroa wrote: I would like to know: - Can conflict errors appear when reading objects from the ZODB? Yes shouln't MVCC resolve this particular problem? Cheers Tino smime.p7s Description: S/MIME Cryptographic Signature

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

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

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: Img tal:attributes=src python: context.IterationBar(context) / where IterationBar is my

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

Re: [Zope-dev] sad news about Joachim Schmitz

2008-05-14 Thread Tino Wildenhain
Martijn Faassen wrote: Hi there, Joachim Schmitz, long-standing member of the Zope community, died last weekend. Please see the following: http://faassen.n--tree.net/blog/view/weblog/2008/05/14/0 unbelievable... Yes I also met Joachim. Don't know much to say but I feel sorry for his family.

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

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

Re: [Zope-dev] Non-ASCII characters in URLs

2008-04-09 Thread Tino Wildenhain
Dieter Maurer wrote: Wichert Akkerman wrote at 2008-4-7 20:45 +0200: ... Almost surely, Alexander wants to ask why Zope does not allow non-ASCII characters in ids. And, in fact, there are only two reasons: * lazyness of the Zope developpers: without the restriction to ASCII

Re: [Zope-dev] Re: GSoC proposal

2008-04-04 Thread Tino Wildenhain
Malthe Borch wrote: On 04/04/2008, Chris Withers [EMAIL PROTECTED] wrote: zope.security uses RestrictedPython, iirc... For untrusted python, yes –– but is anyone using this (in Zope 3)? It's integral to most Zope 2 applications of course to allow secure execution of Python scripts, so we

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

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 -

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

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] 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.

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

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

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

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

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. a

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

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] 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] 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

Re: [Zope-dev] Re: Moving the Zope 2 bugtracker to Launchpad

2007-08-12 Thread Tino Wildenhain
Philipp von Weitershausen schrieb: Martijn Pieters wrote: On 8/12/07, Andreas Jung [EMAIL PROTECTED] wrote: to make it short: I propose to move the Zope 2 bugtracker to Launchpad. Since the Zope 3 bugtracker works already with success on LP we should follow with the Zope 2 bugtracker.

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

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

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 dtml-in objectIDs to find why dtml-with was not working as expected with FolderB. When I did that I realized that FolderB was not

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,

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] 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

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.

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:: !-- assumes that 'image' is bound to an actual Zope image object -- script type=text/javascript

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

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

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. snip 1 ) First I got a ValueError 'query' when using a very simple zsql method. (consisting of only dtml-var sql ) Thats a very bad idea. Better make zsql methods for every query I

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: span

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

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 dtml-sql-delimiter. I am using Mysql.. Also is there any method to return a value from 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. snip 1 ) First I got a ValueError 'query' when using a very simple zsql method. (consisting of only

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 dtml-var

Re: [Zope] Download Large Files in Zope

2007-03-07 Thread Tino Wildenhain
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 ___ Zope maillist - Zope

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 returning dates from

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

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

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

Re: [Zope] frameset problems

2007-02-21 Thread Tino Wildenhain
Garry Saddington schrieb: I have this page: frameset rows=75%,25% frame src=dtml-var page frame src=dtml-call expr=getproperty(page=_['page']) /frameset 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

Re: [Zope] emulate a sequence

2007-02-08 Thread Tino Wildenhain
Jonathan schrieb: - Original Message - From: Yuri [EMAIL PROTECTED] To: zope@zope.org 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

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

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

Re: [Zope-dev] [ZPT/Zope 2.10] Unicode fixes backported

2006-12-28 Thread Tino Wildenhain
Andreas Jung schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, as mentioned in an earlier I was working on several encoding and webdav issues related to the Zope 3 ZPT integration in Zope 2.10. I backported the changes to the 2.10 branch. The changes include an in-place migration of

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

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

Re: [Zope-dev] Cache code in Shared/DC/ZRDB/DA.py

2006-11-17 Thread Tino Wildenhain
Chris Withers schrieb: Tino Wildenhain wrote: I have a replacement started, which uses Cacheable mixin instead. Advantage is, with RAM Cache Manager you can see the hits your method cause and invalide the cache per object. I also introduced a execution time treshold, so you can configure

Re: [Zope-dev] Cache code in Shared/DC/ZRDB/DA.py

2006-11-17 Thread Tino Wildenhain
Chris Withers schrieb: Tino Wildenhain wrote: I have a replacement started, which uses Cacheable mixin instead. Advantage is, with RAM Cache Manager you can see the hits your method cause and invalide the cache per object. I also introduced a execution time treshold, so you can configure

Re: [Zope-dev] Cache code in Shared/DC/ZRDB/DA.py

2006-11-17 Thread Tino Wildenhain
Chris Withers schrieb: Chris Withers wrote: I have to be honest, I'm looking to simplify, and this sounds a LOT more complicated... Okay, I've written unit tests and refactored the code on the 2.9 branch, 2.10 branch and trunk. Please let me know if you have any problems... Uh oh -

Re: [Zope-dev] Cache code in Shared/DC/ZRDB/DA.py

2006-11-16 Thread Tino Wildenhain
Chris Withers schrieb: Hi Jim, I'm wondering if you can still remember the rational behind the cache code at around lines 355-387 of: http://svn.zope.org/Zope/trunk/lib/python/Shared/DC/ZRDB/DA.py?rev=68158view=auto This code is pretty old (checked in 5th Dec 1997) but has started

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

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

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

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

2006-10-28 Thread Tino Wildenhain
Garito schrieb: Tino Wildenhain escribió: ... I'm talking about tal:anything tal:yanged=/foo/bar / not tal:yanged 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

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] ZSQL Method's Precision

2006-10-24 Thread Tino Wildenhain
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 encoding! ** (Related lists

Re: [Zope] DTML Call Fails

2006-10-24 Thread Tino Wildenhain
construction is? Regards Tino Wildenhain ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman

Re: [Zope] DTML Call Fails

2006-10-24 Thread Tino Wildenhain
for python scripts. (After all in DTML expressions its already python code, so why not write just python code and skip all that foo stuff around it you dont need anyway? Regards Tino Wildenhain ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

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 Wildenhain

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] Log in as another user

2006-10-02 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 way

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: tal:contain define=no_matter_var python:context.mycall(myParam)/ Is there a more

Re: [Zope-dev] Serving large files

2006-09-17 Thread Tino Wildenhain
Sidnei da Silva schrieb: I remember having a conversation with Jim at some point where he proposed a strategy for requests that could potentially take a long time to finish. If I recall correctly, he proposed having a separate ZODB connection pool. One thing that is problematic today is serving

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] DTML - ZPT

2006-08-31 Thread Tino Wildenhain
implementation it is a python script which queries the original item list and outputs a formattet item list you use directly w/ path expressions only. This way you can centrally control and switch your formatting w/o touching the templates anymore. Regards Tino Wildenhain

Re: [Zope] python expression in tal:attributes

2006-08-30 Thread Tino Wildenhain
to prepare your search and results and use its return value (usually prepacked, preformattet data in lists and dictionaries) instead? Links to index.html are also extremly ugly. Why not just link to the container? Regards Tino Wildenhain ___ Zope

Re: [Zope-dev] PAS-1.4-final Released

2006-08-28 Thread Tino Wildenhain
Andreas Jung wrote: ... I'm pleased to announce that the final 1.4 version of the Zope PluggableAuthenticationService product is now available at: *me loud thinking*: wouldn't it make sense to integrate PAS into the Zope 2 core and make it the new default mechanism for authentication

Re: [Zope] autorefresh a web page every x minutes

2006-08-04 Thread Tino Wildenhain
Andreas Jung wrote: --On 4. August 2006 15:32:26 +0100 Alan [EMAIL PROTECTED] wrote: Dears, Is there a way of doing a particular page template (ZPT) keeping reloading/refreshing itself every x minute? I hope so. Any help would be very appreciate. Many thinks in advance. This is

Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-29 Thread Tino Wildenhain
Chris Withers wrote: Mark Barratt wrote: 2: In the root of the Zope Management Interface, choose the properties tab. In it, add a new property called MANAGEMENT_PAGE_CHARSET of type 'string' with value utf-8. Actually, for hysterical raisins, this needs to be UTF-8 rather than utf-8 in

Re: [Zope] Script execute with every request

2006-07-24 Thread Tino Wildenhain
Joshua Burvill wrote: Hi, I’d like to log certain parts of each request into a database table for every request to provide an audit trail. I thought of inserting a dtml-call xxx into the standard_html_header, but when there is a RESPONSE.redirect, it will not be the original request

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Tino Wildenhain
Stefan H. Holek wrote: On 21. Jul 2006, at 16:53, Chris Withers wrote: I wonder how Zope 3's filesystem-based ZPT's deal with this? zope.pagetemplate.pagetemplatefile.PageTemplateFile reads an eventual meta http-equiv=Content-Type ... header, or defaults to UTF-8. Well, pagetemplate

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Tino Wildenhain
Andreas Jung schrieb: --On 22. Juli 2006 15:34:01 +0200 Tino Wildenhain [EMAIL PROTECTED] wrote: Well, pagetemplate files are another thing. They have to deal with the lack of charset information of a filesystem file and what they do once they load the data is even another thing. Even

  1   2   3   4   5   6   >