Re: [Zope] DCOracle + LOB

2000-10-30 Thread Andreas Jung
On Wed, Oct 18, 2000 at 02:11:05PM +0200, Francisco José Esteban Risueño wrote: If you know what type of data are you storing in the lob column, you can use dmbs_lob package in order to insert and retrive data from the original format into de lob format. We are use this techique succesfully

[Zope] Using aquisition inside a dtml method of a product ?

2000-12-07 Thread Andreas Jung
Inside a product my index_html is set to "index_html=HTMLFile('index_html',globals())" The index_html.dtml calls dtml-var standard_html_header. This DTML method is available in the top-level hierarchy. However When I call index_html Zope complains with a KeyError/standard_html_header.

Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-08 Thread Andreas Jung
On Thu, Dec 07, 2000 at 10:07:25PM -0500, Tres Seaver wrote: Could it be that you don't derive your product class (directly or indirectly) from Acquisition.Implicit? Otherwise, I'm stumped. I use just the code you describe inside the PTK, for instance. Yes, that was the problem. I took the

[Zope] ZPublisher and func(self,*args,**kw)

2000-12-09 Thread Andreas Jung
Inside a product I tried to replace the following function def myfunc(self,arg1='',arg2='',REQUEST=None): by def myfunc(self,*args,**kw): to get a more generic interface. However in every case "args" and "kw" are empty when I output their contents inside the function. Bug or feature ?

[Zope] How to traverse a subtree ?

2000-12-20 Thread Andreas Jung
Inside a product I need a function that walks through all objects of the current folder and all subfolders and collects all objects that have the same type as the products itself (similiar to os.path.walk()). What would be the best solution for this problem ? Tnx, Andreas

[Zope] [BUG] calling a constructor crashes Zope

2000-12-25 Thread Andreas Jung
While developing a product I encountered the following fatal problem. I added a stupid class declaration to my product: class AJFile: def __init__(self): self.d = {} Inside a function of the product I call "AJF = AJFile()". Zope/Python call __init__() but crashes before the

Re: [Zope] [BUG] calling a constructor crashes Zope

2000-12-25 Thread Andreas Jung
On Mon, Dec 25, 2000 at 11:18:23AM -0500, Steve Spicklemire wrote: Hi Andreas, You might try this: Start Zope in debug mode (./start -D ). Then in your __init__... class AJFile: def __init__(self): import pdb pdb.set_trace() self.d = {} Zope will stop in the

[Zope] Zope on Win2K stable ?

2001-01-09 Thread Andreas Jung
Hi, - is Zope under Win2K stable enough to be used in a production environment ? - is it possible to start Zope under Win2K as a service (controlable through the system management console) ? Andreas ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-01 Thread Andreas Jung
--On Freitag, 1. April 2005 7:22 Uhr -0500 Jim Fulton [EMAIL PROTECTED] wrote: We could choose to deprecate ZClasses. If we deprecated them in Zope 2.8, they would still work in Zope 2.8 and Zope 2.9, but their support would be removed in Zope 2.10. Would anyone be upset if this happened? +2 to

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-01 Thread Andreas Jung
--On Freitag, 1. April 2005 16:21 Uhr -0500 Ausum Studio [EMAIL PROTECTED] wrote: Whether there already is a tool like that in ZopeLand, I would agree to its deprecation, but actually there's nothing like it. Certainly ZClasses is not what it promised to be, but what it does do, it does it

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-01 Thread Andreas Jung
--On Freitag, 1. April 2005 16:52 Uhr -0500 Jake [EMAIL PROTECTED] wrote: want to use them going forward, but what are the reasons why not to support them as legacy into 3/2.10? To avoid that people use ZClasses in the future :-) -aj pgpNlVUdoEQdZ.pgp Description: PGP signature

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-01 Thread Andreas Jung
--On Freitag, 1. April 2005 23:10 Uhr -0800 David H [EMAIL PROTECTED] wrote: I would recommend ZClass people should form a group. And have good people keep the thing compatible with each Zope release. David I doubt that anyone will touch ZClasses - except Dieter and Jim :-) It's good to see

[Zope] [ANN] Zope 2.8.0 a2 released

2005-04-02 Thread Andreas Jung
will be able to use Z3 technologies like interfaces, adapters, schemas and views within your Zope 2 installation and have hopefully the best from the Zope 2 and Zope 3 world. Thanks to all who have worked on this release over the last weeks especially Martijn, Jim, Tres and Tim. Andreas Jung Zope 2 Release

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-03 Thread Andreas Jung
--On Sonntag, 3. April 2005 14:57 Uhr +0200 Garito [EMAIL PROTECTED] wrote: And +1 for DTML deprecation Deprecating DTML was never an issue. So stop the discussion about DTML. We're talking about ZClasses. -aj pgp0r7S8eJ6rx.pgp Description: PGP signature

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-04 Thread Andreas Jung
--On Montag, 4. April 2005 9:58 Uhr +0200 Yuri [EMAIL PROTECTED] wrote: Yes, but BEFORE do a tool to convert them in a python product or archetype similar, a tool to change base classes, a tool to convert a zclass based on catagaware to one based on catalogPATHaware, or merge the two. This would

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-04 Thread Andreas Jung
--On Montag, 4. April 2005 10:23 Uhr +0200 Yuri [EMAIL PROTECTED] wrote: Andreas Jung ha scritto: --On Montag, 4. April 2005 9:58 Uhr +0200 Yuri [EMAIL PROTECTED] wrote: Yes, but BEFORE do a tool to convert them in a python product or archetype similar, a tool to change base classes, a tool

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-05 Thread Andreas Jung
--On Dienstag, 5. April 2005 16:38 Uhr -0400 Jake [EMAIL PROTECTED] wrote: And that is probably the best arguement for keeping them around longer. We should get to the point: if some people depend on ZClasses then they should take over some responsibility in maintaining them in future releases.

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Andreas Jung
--On Mittwoch, 6. April 2005 12:59 Uhr -0500 Ausum Studio [EMAIL PROTECTED] wrote: Is this a kafkanian situation? Are really core developers asking the community to kick a used Zope's feature, saying it's because it's hard to maintain it, and simultaneously to say it's code 'unmaintained and

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Andreas Jung
--On Mittwoch, 6. April 2005 16:06 Uhr -0400 Jonathan Cyr [EMAIL PROTECTED] wrote: Yoohoo, ZClasses are not an expert technology to use, they are an introduction to Zope... Just because I use a thing, doesn't mean I can support/maintain a thing. I can read the list, and try to help folks with

Re: [Zope] how to store ZSQL query results in a python var

2005-04-07 Thread Andreas Jung
--On Donnerstag, 7. April 2005 4:10 Uhr -0700 prabuddha ray [EMAIL PROTECTED] wrote: from a newbie, i've this ZSQLmethod returning me a string only. how do i store it a var in my python script. eg., userlevel = container.getUserLevel(uname=user) when i print it using html_quote as :

Re: [Zope] best practices Zope filesystem development

2005-04-08 Thread Andreas Jung
--On Freitag, 8. April 2005 11:30 Uhr +0200 Milos Prudek [EMAIL PROTECTED] wrote: Hi, What are the best, most effective practices in leveraging filesystem when developing in Zope? I'm looking for an approach that would let me use keyboard and leave the mouse alone as much as possible. In other

Re: [Zope] newbie, setting member properties in python

2005-04-09 Thread Andreas Jung
--On Samstag, 9. April 2005 12:50 Uhr -0400 Dan E [EMAIL PROTECTED] wrote: I am trying to create a simple script that loops through the member properties and sets certain boolean ones to a certain value (which I have acquired). I realize I am probably making a simple mistake but the following

Re: [Zope] cvs (versus) svn

2005-04-10 Thread Andreas Jung
--On Sonntag, 10. April 2005 17:32 Uhr -0700 David H [EMAIL PROTECTED] wrote: Hi List, What is the status of cvs and svn in terms of which to use to get what software. I found some messages indicating that Zope went to svn about a year ago. Thanks, Zope 2.8 or higher - SVN on svn.zope.org all

Re: [Zope] ReSTX

2005-04-11 Thread Andreas Jung
--On Montag, 11. April 2005 9:09 Uhr +0200 Rakotomandimby (R12y) Mihamina [EMAIL PROTECTED] wrote: Hello, What about ReStructuredText? I found not much tutorial on it? How is its synonpsys (syntax) ? As always: there is documentation. Just look in the 'doc' folder of your Zope installation. -aj

Re: [Zope] DTML namespace problem (was: dtml-tree issue)

2005-04-11 Thread Andreas Jung
--On Montag, 11. April 2005 13:44 Uhr +0300 Vangelis Mihalopoulos [EMAIL PROTECTED] wrote: Hello, i have focused my problem on this: having a Python Script testScript: class obj: a = 1 b = 2 c = 3 return obj() and a

Re: [Zope] Full-text search in Office/PDF

2005-04-12 Thread Andreas Jung
--On Dienstag, 12. April 2005 9:16 Uhr +0200 Robert Sösemann [EMAIL PROTECTED] wrote: Hello, I am using a ZOPE-based application on top of the ZOPE APE (http://opensource.ca.com/projects/zopeape) persitence mechanism (sort of binary storage). So the binaries are in the normal unix file system.

Re: [Zope] developer docs

2005-04-12 Thread Andreas Jung
--On Dienstag, 12. April 2005 13:46 Uhr +0200 Milos Prudek [EMAIL PROTECTED] wrote: ZDG seems very outdated. Should I start with mxmEasyProduct and then read ZDG? Is there a book available in bookshops that is better than ZDG and contains all required information for building products? Why is it

Re: [Zope] developer docs

2005-04-12 Thread Andreas Jung
--On Dienstag, 12. April 2005 15:02 Uhr +0200 Milos Prudek [EMAIL PROTECTED] wrote: Why is it out-dated? Most things are still valid. If not, point them out to be corrected or even better: help producing a never version of the ZDG. Hello Andreas, This kind of response is so common that it

Re: [Zope] Security on email.Message.Message

2005-04-12 Thread Andreas Jung
--On Dienstag, 12. April 2005 16:18 Uhr +0100 Tim Hicks [EMAIL PROTECTED] wrote: Hi, I'm trying to import and use the email.Message.Message class in a zope 'Script (Python)'. I have the following security assertions in my product code:: from AccessControl import allow_module, allow_class

Re: [Zope] too big data.fs

2005-04-12 Thread Andreas Jung
--On Dienstag, 12. April 2005 22:06 Uhr -0400 Jianping Zhu [EMAIL PROTECTED] wrote: I have redhat 9.0 with zope on it. the size data.fs is 3.2 GB. my question is 3.2 GB is nothing I would call *large* or *big*. 1. how can find to size of folder and file inside data.fs, So i can ask the idiot

Re: [Zope] understanding Zope's memory usage

2005-04-13 Thread Andreas Jung
--On Mittwoch, 13. April 2005 10:51 Uhr +0200 Lucas Hofman [EMAIL PROTECTED] wrote: I am running a server with a handfull of plone intranet sites. The server has 4GB memory, but is now starting to page. What I notice is that the different Plone instances vary widely in there memory usage. For

Re: [Zope] newbie : select tag value setting problem

2005-04-13 Thread Andreas Jung
--On Mittwoch, 13. April 2005 2:14 Uhr -0700 prabuddha ray [EMAIL PROTECTED] wrote: I've this 'district' select tag .I'm getting the values usinga ZSQL method. I want to set the value of the option by the district code and the display the district name. I tried this : div tal:repeat=district

Re: [Zope] Re: understanding Zope's memory usage

2005-04-13 Thread Andreas Jung
--On Mittwoch, 13. April 2005 11:45 Uhr +0200 Lucas Hofman [EMAIL PROTECTED] wrote: Andreas Jung wrote: --On Mittwoch, 13. April 2005 11:33 Uhr +0200 Lucas Hofman [EMAIL PROTECTED] wrote: Will do. A bit of a nuisance with offices and vessels all over the globe accessing the site. Actually

Re: [Zope] Re: understanding Zope's memory usage

2005-04-13 Thread Andreas Jung
--On Mittwoch, 13. April 2005 13:26 Uhr +0200 Lucas Hofman [EMAIL PROTECTED] wrote: Andreas, can I use the same versions of Plone and all other products when upgrading zope to 2.7.5? Will the Data.fs load without problems? Backup first, try it out :-) In general it should work. -aj

[Zope] [ANN] Zope 2.7.6 b1 released

2005-04-13 Thread Andreas Jung
2.8: see doc/INSTALL.txt Andreas Jung Zope 2 Release Manager pgp1BWsdzOT8X.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Some problem about Data.fs

2005-04-13 Thread Andreas Jung
--On Mittwoch, 13. April 2005 23:09 Uhr +0800 Fu-Ming_Tsai [EMAIL PROTECTED] wrote: Hello, all The file Data.fs is growing up if we use zope. Of course it grows...it's your Data.fs containing all your data. And you have to pack it on a regular basis (Control Panel - database administration).

Re: [Zope] Some problem about Data.fs

2005-04-13 Thread Andreas Jung
--On Donnerstag, 14. April 2005 12:07 Uhr +0800 Fu-Ming_Tsai [EMAIL PROTECTED] wrote: What I meant is that if there are more and more objects, maybe it cause some problem because there are a big Data.fs. Doesn't it cause any problem if there are a big big Data.fs? I am not getting your point?

Re: [Zope] Sorting is broken with UTF-8?

2005-04-14 Thread Andreas Jung
--On Donnerstag, 14. April 2005 12:20 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: I have a Zope 2.7.0(+Plone) instance that uses utf-8 encoding everywhere. The problem is that alphabetical sorting (like with DocumentTemplate.sequence.sort(seq, 'locale', ...)) is broken everywhere: accented

Re: [Zope] Sorting is broken with UTF-8?

2005-04-14 Thread Andreas Jung
--On Donnerstag, 14. April 2005 15:25 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: I see, but then my question is: How do people use Zope for sites where Unicode is needed? They just don't use Zope in such cases? At my new employer here is fat Plone site running for months with the

Re: [Zope] tuples of length 2 in DTML

2005-04-14 Thread Andreas Jung
--On Donnerstag, 14. April 2005 12:20 Uhr -0400 Jim Abramson [EMAIL PROTECTED] wrote: Tuples of length 2 just don't seem to work in DTML. I don't know what it is, certainly never seen any documented explanation before. The simple test below explains itself . Can anyone explain why the results

Re: [Zope] tal:attributes and extra newline

2005-04-18 Thread Andreas Jung
--On Montag, 18. April 2005 16:31 Uhr +0200 Pascal Peregrina [EMAIL PROTECTED] wrote: Hi, I would like to know the reason why tal:attributes adds an extra newline for each generated tag attribute. This just makes generated HTML bigger... It does not (for me). -aj pgphBuUYHeDzH.pgp Description:

Re: [Zope] tal:attributes and extra newline

2005-04-18 Thread Andreas Jung
--On Montag, 18. April 2005 16:31 Uhr +0200 Pascal Peregrina [EMAIL PROTECTED] wrote: Hi, I would like to know the reason why tal:attributes adds an extra newline for each generated tag attribute. This just makes generated HTML bigger... It generates *only newlines if *you* generate multiple

RE: [Zope] tal:attributes and extra newline

2005-04-18 Thread Andreas Jung
--On Montag, 18. April 2005 17:55 Uhr +0200 Pascal Peregrina [EMAIL PROTECTED] wrote: Ok, it was TALInterpreter after all, but you need a long list of attributes (on a single line / single tal:attributes statement I mean)... It's because of the TAL.TALInterpreter.TALInterpreter.wrap value

Re: [Zope] How to break up an external method over multiply source files

2005-04-19 Thread Andreas Jung
--On Dienstag, 19. April 2005 11:25 Uhr +0200 Lucas Hofman [EMAIL PROTECTED] wrote: I have an external method a.py (in $INSTANCE_HOME/Extensions) that becomes to big to be in one python file. I have put some functions in b.py (also in $INSTANCE_HOME/Extensions) and want to use them from a.py.

[Zope] [ANN] Zope 2.7.6 beta 2 released

2005-04-20 Thread Andreas Jung
Andreas Jung Zope 2 Release Manager pgpYTSVRbNAVJ.pgp Description: PGP signature ___ 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

Re: [Zope] Pass index in a TAL path expr

2005-04-20 Thread Andreas Jung
--On Mittwoch, 20. April 2005 13:14 Uhr +0300 Vangelis Mihalopoulos [EMAIL PROTECTED] wrote: Hello, if data is a tuple (or list), how can directly access it's contents using path expressions, like in: -- script s: return context.t(data=(one, two, three)) -- template t htmlbody span

Re: [Zope] [python script] problem with AUTHENTICATED_USER

2005-04-20 Thread Andreas Jung
--On Mittwoch, 20. April 2005 16:30 Uhr +0200 [EMAIL PROTECTED] wrote: I have problem with my python script. I want to check if a user has a the manager role, and add an option in a menu in this case Here is my script: for el in rep.objectValues('Folder'): if el.id==Administration and

Re: [Zope] how to save page content to a word file.

2005-04-21 Thread Andreas Jung
--On Mittwoch, 20. April 2005 23:17 Uhr -0700 prabuddha ray [EMAIL PROTECTED] wrote: this again is a simple problem which got tricky for me. I've full page template taking parameters to generate a printable report. Another button on this page is for saving the report to a doc file. How can i

[Zope] [ANN] Zope 2.8.0 beta 1 released

2005-04-24 Thread Andreas Jung
interfaces, adapters, schemas and views within your Zope 2 installation and have hopefully the best from the Zope 2 and the Zope 3 world. Andreas Jung Zope 2 Release Manager pgprgXOZv7cd2.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 14:18 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: I have a Zope instance that uses utf-8 for everything. Since Python/Zope/etc practically doesn't support utf-8, Please explain in which sense Zope would not support utf-8. For your information: Plone has UTF8

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 16:03 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: Sunday, April 24, 2005, 2:36:24 PM, Andreas Jung wrote: --On Sonntag, 24. April 2005 14:18 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: I have a Zope instance that uses utf-8 for everything. Since Python

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 17:45 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote: First of all, in this thread I don't care whose mistake it is. My concern is if I can use Zope with UTF-8 (in fact, Plone) in reality or not. Assume

Re: [Zope] Re: How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 18:01 Uhr +0200 Max M [EMAIL PROTECTED] wrote: Daniel Dekany wrote: Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote: Zope itself gives a method for sorting strings: DocumentTemplate.sequence.sort. Many of the products relies on that for sorting. And that sorts

Re: [Zope] Re: How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 18:26 Uhr +0200 Max M [EMAIL PROTECTED] wrote: Yes. I was thinking in the line of a monkeypatch of the sort method, that could be used in eg. Plone. It should be very possible for it to look up the charset under properties, and decode strings from that before

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 18:34 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: Maybe *you* don't get the point. Python has a virtual machine level setting that specifies the locale and encoding (the charset). You can set it for example like: locale.setlocale('hu_HU', 'ISO-8859-2'). And

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 21:31 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: Yeah, I tried to use that earlier, but as I said for many times here, it can't sort utf-8 encoded strings, despite that I have set the global locale to something.utf8, certainly because Python locale.strcoll

Re: [Zope] Sequence sorting module from a Python script

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 17:36 Uhr -0400 Leticia Larrosa [EMAIL PROTECTED] wrote: sort_on =(('self', test, 'desc')) As documented the 'sort_on_ parameter must be a *sequence* of sorting definitions and a *single* sorting definition. This should work: sort_on =(('self', test, 'desc'),) -aj

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
PROTECTED] wrote: Sunday, April 24, 2005, 7:22:42 PM, Andreas Jung wrote: --On Sonntag, 24. April 2005 18:34 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: Maybe *you* don't get the point. Python has a virtual machine level setting that specifies the locale and encoding (the charset). You can set

Re: [Zope] How to convert Zope instance charset?

2005-04-25 Thread Andreas Jung
--On Montag, 25. April 2005 10:42 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: As someone who works often with Java I absolutely agree with it. Just I don't know how to do it with Zope/Plone/other 3rd party products (not written by me), since they use not unicode strings. I don't know,

Re: [Zope] manage_edit for Page Templates

2005-04-25 Thread Andreas Jung
--On Montag, 25. April 2005 16:23 Uhr +0530 Rushabh Mehta [EMAIL PROTECTED] wrote: hi. there is a manage_edit() to modify the contents of a DTML document. is there anything similar for page templates? i tried manage_edit() on a page template and i get an attribute error for manage_edit... the

Re: [Zope] How can I do audio/video streaming between users?

2005-04-25 Thread Andreas Jung
--On Montag, 25. April 2005 12:49 Uhr + Birol BI«AKLI [EMAIL PROTECTED] wrote: I want to do communication between users who want to do voice and video conferencing. Is there any program that can do this? That's unlikely a task for Zope :-) -aj pgpD6DvtzpqXs.pgp Description: PGP signature

Re: [Zope] Memorysegment error in Zope

2005-04-26 Thread Andreas Jung
--On Dienstag, 26. April 2005 8:01 Uhr +0200 Max M [EMAIL PROTECTED] wrote: I am writing an Imap client. The Imap server (Groupwise) I connect to is really slow at accepting logins. So I have made a connection pool where I store the open connections to the server. But once in a while I get a

Re: [Zope] Python2.4.1 and Zope 2.7.X

2005-04-26 Thread Andreas Jung
--On Dienstag, 26. April 2005 9:53 Uhr -0700 Dennis Allison [EMAIL PROTECTED] wrote: Has anyone had problems with Python 2.4.1 with the latest Zope 2.7.X versions? As documented in doc/INSTALL.txt: Python 2.4 is *not* supported. -aj pgpvUa0fe1rCs.pgp Description: PGP signature

Re: [Zope] Generating and Downloading PDF.

2005-04-27 Thread Andreas Jung
--On Mittwoch, 27. April 2005 15:56 Uhr -0300 Fernando Lujan [EMAIL PROTECTED] wrote: Is there some import wich I have been missing? At least we are missing the *complete* definition of the method. Your code fragment is insufficient. -aj pgpURp1R95QIW.pgp Description: PGP signature

Re: [Zope] zope-2.8b1, zclass and five documentation

2005-04-27 Thread Andreas Jung
--On Donnerstag, 28. April 2005 10:02 Uhr +0800 Bakhtiar A Hamid [EMAIL PROTECTED] wrote: since zope2.8 comes with five, is there any documentation/tutorials on how to actually use it? i've looked at Five/docs/*txt and FiveDemo*. it seems that i may need to grok (or at least know *something*

Re: [Zope] problems rendering objects stored in the local file system

2005-04-27 Thread Andreas Jung
--On Mittwoch, 27. April 2005 19:57 Uhr -0700 Dennis Allison [EMAIL PROTECTED] wrote: In the local file system (that is, the Linux file system to be explicit) I have a collection of directories each containing an index.html file consisting of HTML and a collection of image files (*.jpg, *.gif,

Re: [Zope] Code

2005-04-28 Thread Andreas Jung
--On Donnerstag, 28. April 2005 11:21 Uhr +0200 [EMAIL PROTECTED] wrote: Hello the list, I want to use all the possibilities of python in my ZOPE local server. Do you know which file can I modify to enable this? Where must I contact to know that? By using external method or writing your own

Re: [Zope] Charset

2005-04-28 Thread Andreas Jung
--On Donnerstag, 28. April 2005 12:29 Uhr +0200 [EMAIL PROTECTED] wrote: Hello the list, In Zope.conf ( ZOPE 2.7.5-final ) I changed rest-input-encoding and rest-output-encoding to send UTF-8 and then restarted the server. But in my webbrowser, the files are always received in windows-1252.

Re: [Zope] Session Variable Error

2005-04-28 Thread Andreas Jung
--On Donnerstag, 28. April 2005 13:44 Uhr -0400 Asad Habib [EMAIL PROTECTED] wrote: I have a session variable called 'undergraduateProjectsDirected' that I declare using the following syntax: dtml-call REQUEST.SESSION.set('undergradProjectsDirected', [ ]) When I try to append items to this list

Re: [Zope] Session Variable Error

2005-04-28 Thread Andreas Jung
a value of None for it. Also, if this were the case, then simply changing the name of the variable would not solve the problem. - Asad On Thu, 28 Apr 2005, Andreas Jung wrote: --On Donnerstag, 28. April 2005 13:44 Uhr -0400 Asad Habib [EMAIL PROTECTED] wrote: I have a session variable called

Re: [Zope] Unable to login to zope management interface on Ubuntu

2005-04-28 Thread Andreas Jung
--On Donnerstag, 28. April 2005 23:28 Uhr +0530 Vishwas Narendra [EMAIL PROTECTED] wrote: Hi, I'm running Ubuntu (warty). I just installed zope 2.6.4-1.1 through synaptic. I created a user with the zpasswd inituser command. Get the latest Zope 2.7.6 version and install it from the Zope sources.

Re: [Zope] Unable to login to zope management interface on Ubuntu

2005-04-28 Thread Andreas Jung
--On Donnerstag, 28. April 2005 14:27 Uhr -0400 charlie derr [EMAIL PROTECTED] wrote: Not that the advice to install from source is bad, but I thought it was worth pointing out that there is another option. The people can't figure out how the packages are configured then it is better use the

[Zope] [ANN] Zope 2.7.6 final released

2005-04-29 Thread Andreas Jung
/Products/Zope/2.7.6/CHANGES.txt This release also includes the security hotfix from 2005-04-05. It is highly recommended to upgrade existing installations. For information on using Python 2.4 with Zope 2.7.6: see doc/INSTALL.txt Andreas Jung Zope 2 Release Manager pgpxAkJxTdeXW.pgp Description: PGP

Re: [Zope] Python 2.4.X

2005-04-29 Thread Andreas Jung
--On Freitag, 29. April 2005 10:29 Uhr -0700 Dennis Allison [EMAIL PROTECTED] wrote: Are there any problems using Python 2.4.X with Zope 2.7.X? *Please* read doc/INSTALL.txt. All Zope 2.7.X announcements contained a reference concerning this issue. So please don't ask over and over

Re: [Zope] Security issues

2005-05-01 Thread Andreas Jung
--On Sonntag, 1. Mai 2005 13:02 Uhr +0100 cla [EMAIL PROTECTED] wrote: Hi! Im developing a portal using, zope and i had been some problems with the security of some template pages that I have created. Those pages are accesible just puting the correct path in the url, even if they are only for

[Zope] [ANN] TextIndexNG 3.0 beta 1 released

2005-05-03 Thread Andreas Jung
. TextIndexNG V 3 is published under the GPL. Andreas Jung --- - Andreas JungZOPYX Software Development and Consulting - - E-mail: [EMAIL PROTECTED] Web: www.zopyx.com

Re: [Zope] Security framework troubles

2005-05-06 Thread Andreas Jung
--On Freitag, 6. Mai 2005 18:19 Uhr +0200 Anders Bruun Olsen [EMAIL PROTECTED] wrote: It works if I do setDefaultAccess(allow), but I don't want to allow access by default and then just deny for those I know I want to deny access to. I want it the other way around. Why don't you write an

Re: [Zope] utf-8 vs. unicode question(s)

2005-05-07 Thread Andreas Jung
--On Freitag, 6. Mai 2005 19:40 Uhr +0200 Jürgen Herrmann [EMAIL PROTECTED] wrote: i have set my python default encoding to utf-8, i always send http responses from zope as utf-8 My personal point on changing the default encoding of Python: don't do it (other people will see this different).

Re: [Zope] Find a object in a zope list

2005-05-08 Thread Andreas Jung
--On Samstag, 7. Mai 2005 19:52 Uhr -0700 Allen Huang [EMAIL PROTECTED] wrote: I have a fold and I used objectValues['Image'] to make a array list of images. I have rename each image using AUTHENTICATED_pic.jpg and want to use an if statement to find the image with the same name in the array

Re: [Zope] problem with ZODB

2005-05-09 Thread Andreas Jung
--On Montag, 9. Mai 2005 17:04 Uhr +0530 JV Singh [EMAIL PROTECTED] wrote: Hello Everyone.. I have been a silent member of the list mostly.. There is a slight problem that needs to be addressed rather urgently... The thing is that though unicode strings can be input and retrieved into the

Re: [Zope] Encoding of the query that zope passed to the RDBMS

2005-05-09 Thread Andreas Jung
--On Montag, 9. Mai 2005 17:20 Uhr +0530 JV Singh [EMAIL PROTECTED] wrote: Specifically, how do i make sure that the query that zope passes on to the underlying RDBMS is in utf-8 ?? by *converting* it to UTF-8 from within your ZSQL method?

Re: [Zope] Access log

2005-05-09 Thread Andreas Jung
--On Montag, 9. Mai 2005 15:17 Uhr -0300 Luiz Fernando B. Ribeiro [EMAIL PROTECTED] wrote: Hi all, I am hosting several virtual hosts and I need to provide access log reports (like awstats) for my clients. I would like to know if any of the following alternatives is possible: 1. Is it possible

Re: [Zope] Underscoring Inaugural Address

2005-05-11 Thread Andreas Jung
--On Mittwoch, 11. Mai 2005 15:00 Uhr -0400 Dan Pozmanter [EMAIL PROTECTED] wrote: Is there a way to muck about with getattr, traversal, or something related so that, for a particular kind of object (eg with a particular attribute), Zope ignores the cannot start with a '_' rule? I think it is a

Re: [Zope] Can't see new Plone installation

2005-05-12 Thread Andreas Jung
--On Donnerstag, 12. Mai 2005 10:29 Uhr +0100 Brian Hickey [EMAIL PROTECTED] wrote: Hi all, Can't seem to figure this one out: - Just installed Plone and added a Plone site through the ZMI - After the install the redirect to view the Plone site doesn't complete, and I get an 'Action Canceled'

Re: [Zope] Delete user from acl_users folder

2005-05-13 Thread Andreas Jung
--On Donnerstag, 12. Mai 2005 22:47 Uhr -0700 Allen Huang [EMAIL PROTECTED] wrote: I tried your method before and it didn't work I have a folder called conference and inside it there is acl_users folder and I write all my dtmls in the conference folder (by the way, your are talking about

Re: [Zope] Bad Hostname with Zope 2.8.X on Windows

2005-05-13 Thread Andreas Jung
--On Freitag, 13. Mai 2005 12:09 Uhr +0200 Simon ALEXANDRE [EMAIL PROTECTED] wrote: Hi all, I'm using Zope 2.8.0.b.1 on windows 2000. The problem is quite simple: when I start the zope server the hostname is 'Localhost' then it's impossible to connect the server remotely (i.e. by specifying

Re: [Zope] Generating and Downloading PDF[Solved]

2005-05-13 Thread Andreas Jung
--On Freitag, 13. Mai 2005 13:43 Uhr -0300 Fernando Lujan [EMAIL PROTECTED] wrote: This was the best solution that I could thought, once reportlab didn't create PDF on the fly, without writing in the filesystem. You could use cStringIO for writing the file in memory but in reality it really

[Zope] [ANN] TextIndexNG 3.0.0 final released

2005-05-14 Thread Andreas Jung
the extension modules. Windows binaries of the required extension modules are currently not available (any volunteers?). TextIndexNG V 3 is published under the GPL. Andreas Jung --- - Andreas JungZOPYX Software

Re: [Zope] Corrupt Data.fs / ZODB

2005-05-16 Thread Andreas Jung
--On Montag, 16. Mai 2005 17:18 Uhr +0200 Michael Kaplan [EMAIL PROTECTED] wrote: When I try this I get obj=root.unrestrictedTraverse('/folder') Traceback (most recent call last): File stdin, line 1, in ? NameError: name 'root' is not defined 'root' must be 'app'...that's an error in

Re: [Zope] Seeking advice on Zope implementation

2005-05-17 Thread Andreas Jung
--On Dienstag, 17. Mai 2005 19:33 Uhr +0530 pythonic [EMAIL PROTECTED] wrote: reading the docs available on zope.org. So far we have decided to use zope behind apache+fastcgi server to take advantage of apache rewrite engine and to serve static content. You should run Zope as standalone server

Re: [Zope] zope objects question

2005-05-17 Thread Andreas Jung
--On Dienstag, 17. Mai 2005 18:17 Uhr +0100 cla [EMAIL PROTECTED] wrote: Hi! in first place i want to know if there is some tutorial that explains how the zope objects are stored and how to manipulated them! The Zope Developers Guide (linked from zope.org) should be a good start to learn about

Re: [Zope] Zope 3 for Debian?

2005-05-17 Thread Andreas Jung
--On Dienstag, 17. Mai 2005 18:20 Uhr +0100 David Given [EMAIL PROTECTED] wrote: (No, I don't want to install Zope 3 manually. It's sufficiently large and sufficiently complex that it'd be a dependency nightmare.) You just need Python 2.3.5 and the Z3 sources. Typing make is trivial :-) -aj

Re: [Zope] dtml-sendmail with a tab

2005-05-19 Thread Andreas Jung
--On Donnerstag, 19. Mai 2005 14:48 Uhr +0200 [EMAIL PROTECTED] wrote: Hello, I want to send an e-mail with a tab. How can I do that with a dtml-sendmail tag? What is an email with a tab?? -aj pgpbvBfqBN6yT.pgp Description: PGP signature ___ Zope

Re: [Zope] dtml-sendmail with a tab

2005-05-19 Thread Andreas Jung
--On Donnerstag, 19. Mai 2005 15:13 Uhr +0200 [EMAIL PROTECTED] wrote: Sorry, for me a tab is an horizontal tabulation ( #9; or HT ). Best regards. Jean Tinguely Maybe by using \t...but no idea...if you want something extraordinary you should consider using Python's 'email' module to produce

Re: [Zope] Zope Mirror sites running on different zope versions...

2005-05-19 Thread Andreas Jung
--On Freitag, 20. Mai 2005 10:49 Uhr +0530 JV Singh [EMAIL PROTECTED] wrote: Hi Everyone, We have our main zope site running on Zope-2.7.6 and want to create a mirror for that (on our local LAN)... Is it feasible to use Zope-2.8.0b1 (the current stable prerelease) or a higher for the mirror?

Re: [Zope] SQL Database Connections

2005-05-20 Thread Andreas Jung
--On Freitag, 20. Mai 2005 9:05 Uhr -0700 Jonathan Daugherty [EMAIL PROTECTED] wrote: Greetings, I connect to PostgreSQL from Zope and whenever I upgrade postgres on my server, my persistent database connections in Zope fail. I have to log in to the ZMI and reconnect the connection objects

Re: [Zope] SQL Database Connections

2005-05-20 Thread Andreas Jung
--On Freitag, 20. Mai 2005 9:18 Uhr -0700 Jonathan Daugherty [EMAIL PROTECTED] wrote: # Depends on the underlaying DAso which one are you using? In # general a DA should reconnect automatically. I'm using the zope-psycopgda 1.1.18-1 debian package, debian testing. Try to upgrade... -aj

Re: [Zope] Modifying __bases__

2005-05-20 Thread Andreas Jung
--On Freitag, 20. Mai 2005 12:32 Uhr -0400 Dan Pozmanter [EMAIL PROTECTED] wrote: Hey, I noticed that the version of python that ships with zope is restricted, such that when you create an instance of a class, you are no longer able to modify __bases__ for that class object. This is not

Re: [Zope] Keyword index search

2005-05-21 Thread Andreas Jung
--On Samstag, 21. Mai 2005 13:29 Uhr +0200 Garito [EMAIL PROTECTED] wrote: A long standing bug in KeywordIndex... Hi Dieter! I can't understand the lack of concern you talk about unresolved bugs in Zope It seems Zope is not a serious tool. Imagine you want to buy a car but the seller

[Zope] [ANN] TextIndexNG 3.0.1 released

2005-05-21 Thread Andreas Jung
. Windows binaries of the required extension modules are currently not available (any volunteers?). TextIndexNG V 3 is published under the GPL. Andreas Jung --- - Andreas JungZOPYX Software Development

  1   2   3   4   5   6   7   8   9   10   >