[Zope] ANN: ZSyncer 0.7-beta2

2005-10-19 Thread Paul Winkler
There were a couple of bugs in beta1. I've just released beta2. It also includes a working CMF folder status action for ZSyncerTool (replacing the useless stub that was there.) Get it here: http://sourceforge.net/project/shownotes.php?release_id=364738 About ZSyncer: ZSyncer is a project that al

[Zope] Re: Hello

2005-10-19 Thread Pierre Thibault
Andrew Milton a écrit : +---[ Pierre Thibault ]-- | Hello, | | Is someone reading this message? Yes. Hello Andrew & all, I am new to Zope. So I would like to learn. On the Zope website it is written to do the tutorials bundle with the Zope installation but where

[Zope] Hello

2005-10-19 Thread Pierre Thibault
Hello, Is someone reading this message? -- Best Regards. Pierre begin:vcard fn:Pierre Thibault n:Thibault;Pierre org;quoted-printable:;D=C3=A9veloppement web et programmation adr;quoted-printable;quoted-printable:;;95B Rose-De-Lima;Montr=C3=A9al;Qu=C3=A9bec;H4C 2L1;Canada email;internet:[EMAI

[Zope] [OT] ParsedXML dev mail list

2005-10-19 Thread Garito
Hi all Sorry for the off topic but I try to subscribe to ParsedXML dev mail list but I can't (mail list doesn't exists) Anyone knows where is it? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail

Re: [Zope] inheriting from SimpleUserFolder's User

2005-10-19 Thread Dieter Maurer
Jürgen Herrmann wrote at 2005-10-19 15:34 +0200: >i use the SimpleUserFolder product and derive a MyUser class from it's >included User class, which in turn inherits from BasicUser. > >the SimpleUserFolder's User class does neither reimplement >getRolesInContext() nor allowed(). i looked at the sou

Re: [Zope] Deleting objects from an external method

2005-10-19 Thread Dieter Maurer
Nikko Wolf wrote at 2005-10-17 16:21 -0600: > ... > File "/usr/local/zinstance/Products/CMFPlone/PloneFolder.py", line >306, in manage_delObjects >raise Unauthorized, ( >Unauthorized: Do not have permissions to remove this object This obviously is the Plone implementation of "manage_delObjec

Re: [Zope] database connections from external method

2005-10-19 Thread Dieter Maurer
Vangelis Mihalopoulos wrote at 2005-10-19 12:22 +0300: > ... >I am thinking of using a Z Database Connection (mysql) from within an >external method, without using Z SQL Methods, but can't figure out how i >can "safely" do it Calling a "DA" object gives you a low level connection object (a "db"

Re: [Zope] __getitem__ and returning a PageTemplateFile instance

2005-10-19 Thread Dieter Maurer
Anders Bruun Olsen wrote at 2005-10-17 00:59 +0200: > >Zope has encountered a problem publishing your object. > >Cannot locate object at: http://localhost:8080/vitester/asonhe This is a "NotFound" problem. Zope is unable to locate "vitester/asonhe" Are you sure, "vitester/asonhe" is the

[Zope] Re: inheriting from SimpleUserFolder's User

2005-10-19 Thread Florent Guillaume
Jürgen Herrmann wrote: i use the SimpleUserFolder product and derive a MyUser class from it's included User class, which in turn inherits from BasicUser. the SimpleUserFolder's User class does neither reimplement getRolesInContext() nor allowed(). i looked at the source of BasicUser (lib/python/

Re: [Zope] database connections from external method

2005-10-19 Thread J Cameron Cooper
Vangelis Mihalopoulos wrote: Tino Wildenhain wrote: The threading is handled by the ZDA, so you can use query() or what the method actually is. I couldn't find a method like that... any hints? It is indeed the 'query' method, which you pass a string with SQL. It comes from Zope/lib/pytho

Re: [Zope] now learning zpt

2005-10-19 Thread Garry Saddington
Chris Withers wrote: Hi Gary, Garry Saddington wrote: Having had a bit of a lambasting over my use of dtml, I have started to learn zpt. Congratulations, welcome to the zLight ;-) However, I am curious about the following: How do you do the equivalent of name="comp.name:records" to subm

Re: [Zope] Pass as parameter to External Method

2005-10-19 Thread Thomas G. Apostolou
Αρχικό μήνυμα από Tino Wildenhain <[EMAIL PROTECTED]>: > ... > >>which is the quick & dirty variant, or: > >> > >> > >>Which uses a "boolean trick". > >> > >>HTH > >>Tino > >> > >>PS: get used to python scripts where this is a lot better > >>to write > > > > > > I agree with you and i would wri

Re: [Zope] Pass as parameter to External Method

2005-10-19 Thread Tino Wildenhain
... which is the quick & dirty variant, or: Which uses a "boolean trick". HTH Tino PS: get used to python scripts where this is a lot better to write I agree with you and i would write this in python script (if this was not an emegerncy and i was not a niewbie) There one more thing to sol

Re: [Zope] Pass as parameter to External Method

2005-10-19 Thread Thomas G. Apostolou
Αρχικό μήνυμα από Tino Wildenhain <[EMAIL PROTECTED]>: > Thomas G. Apostolou schrieb: > > Αρχικό μήνυμα από Tino Wildenhain <[EMAIL PROTECTED]>: > > > > > >>Thomas G. Apostolou schrieb: > >> > >>>I have an External Method "CharSetConv" that get a > >>>String_To_Be_Converted, its encoding and t

Re: [Zope] Pass as parameter to External Method

2005-10-19 Thread Tino Wildenhain
Thomas G. Apostolou schrieb: Αρχικό μήνυμα από Tino Wildenhain <[EMAIL PROTECTED]>: Thomas G. Apostolou schrieb: I have an External Method "CharSetConv" that get a String_To_Be_Converted, its encoding and the encoding to convert it to. I call it like this: 'String_To_Be_Conve

Re: [Zope] Pass as parameter to External Method

2005-10-19 Thread Thomas G. Apostolou
Αρχικό μήνυμα από Tino Wildenhain <[EMAIL PROTECTED]>: > Thomas G. Apostolou schrieb: > > I have an External Method "CharSetConv" that get a > > String_To_Be_Converted, its encoding and the encoding to convert > it > > to. > > > > I call it like this: > > > > > > > > but in the

[Zope] inheriting from SimpleUserFolder's User

2005-10-19 Thread Jürgen Herrmann
hello! i use the SimpleUserFolder product and derive a MyUser class from it's included User class, which in turn inherits from BasicUser. the SimpleUserFolder's User class does neither reimplement getRolesInContext() nor allowed(). i looked at the source of BasicUser (lib/python/AccessControl/Use

Re: [Zope] Display images stored in Relational DB

2005-10-19 Thread Thomas G. Apostolou
Αρχικό μήνυμα από Chris Withers <[EMAIL PROTECTED]>: > Thomas G. Apostolou wrote: > > I have an External Method "GetPrList" witch is connected to a > python > > module that reads like this > > You really want to be uxing mxODBC and it's Zope DA... > > > X.SODATA is jpg stored in SQL 2K in a fie

Re: [Zope] Pass as parameter to External Method

2005-10-19 Thread Jonathan
- Original Message - From: "Thomas G. Apostolou" <[EMAIL PROTECTED]> I have an External Method "CharSetConv" that get a String_To_Be_Converted, its encoding and the encoding to convert it to. I call it like this: but in the place of 'String_To_Be_Converted' i want to pa

Re: [Zope] Pass as parameter to External Method

2005-10-19 Thread Tino Wildenhain
Thomas G. Apostolou schrieb: I have an External Method "CharSetConv" that get a String_To_Be_Converted, its encoding and the encoding to convert it to. I call it like this: but in the place of 'String_To_Be_Converted' i want to pass , and i can not find the way to do so. i have

[Zope] Pass as parameter to External Method

2005-10-19 Thread Thomas G. Apostolou
I have an External Method "CharSetConv" that get a String_To_Be_Converted, its encoding and the encoding to convert it to. I call it like this: but in the place of 'String_To_Be_Converted' i want to pass , and i can not find the way to do so. i have tried to write it like:

Re: [Zope] now learning zpt

2005-10-19 Thread Chris Withers
Hi Gary, Garry Saddington wrote: Having had a bit of a lambasting over my use of dtml, I have started to learn zpt. Congratulations, welcome to the zLight ;-) However, I am curious about the following: How do you do the equivalent of name="comp.name:records" to submit multiple values to zs

Re: [Zope] Showing image field from SQL Server 2K

2005-10-19 Thread Chris Withers
Thomas G. Apostolou wrote: How can i show image field from SQL Server 2K? Do i have to select and show it with a special way? Yes, I already answered you about this earlier: http://mail.zope.org/pipermail/zope/2005-October/162375.html cheers, Chris -- Simplistix - Content Management, Zope &

Re: [Zope] write file to FS (LocalFS?)

2005-10-19 Thread Rakotomandimby Mihamina
On Wed, 2005-10-19 at 13:44 +0100, Chris Withers wrote: > Rakotomandimby Mihamina wrote: > > I am on a unix-like operating system, Zope 2.8, CMF, CPS (SVN Trunk). > > I would like users to be abble to write some file on the filesystem. > Why? I manage a group of users on a Unix system. They also h

Re: [Zope] write file to FS (LocalFS?)

2005-10-19 Thread Chris Withers
Rakotomandimby Mihamina wrote: I am on a unix-like operating system, Zope 2.8, CMF, CPS (SVN Trunk). I would like users to be abble to write some file on the filesystem. Why? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk __

[Zope] Showing image field from SQL Server 2K

2005-10-19 Thread Thomas G. Apostolou
How can i show image field from SQL Server 2K? Do i have to select and show it with a special way? Thomas G. Apostolou Software Engineer Θωμάς Γ. Αποστόλου Μηχανικός Λογισμικού ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zo

Re: [Zope] database connections from external method

2005-10-19 Thread Jens Vagelpohl
Otoh, what do you think you gain from circumventing ZSQL Methods? Well, i am running zope under root privileges in "read-only" mode. If there is a Zope break-in, i want to minimize interference with the database. Also, since this will be a commercial product, keeping most of the code in c

Re: [Zope] database connections from external method

2005-10-19 Thread Vangelis Mihalopoulos
Tino Wildenhain wrote: The threading is handled by the ZDA, so you can use query() or what the method actually is. I couldn't find a method like that... any hints? Otoh, what do you think you gain from circumventing ZSQL Methods? Well, i am running zope under root privileges in "read-only

Re: [Zope] database connections from external method

2005-10-19 Thread Tino Wildenhain
Vangelis Mihalopoulos schrieb: Hi, I want an external method to access a mysql database on each call. For now, i open up a new connection on every call, but this probably won't scale much either on performance (new connection on each call is quite an overhead) or availability (the number of

[Zope] database connections from external method

2005-10-19 Thread Vangelis Mihalopoulos
Hi, I want an external method to access a mysql database on each call. For now, i open up a new connection on every call, but this probably won't scale much either on performance (new connection on each call is quite an overhead) or availability (the number of open connections is restricted).

Re: [Zope] Zope Debugger lets WingDbg fail to connect toclient

2005-10-19 Thread Chris Withers
Stephan Deibel wrote: You can turn on and off debugging from the WingDBG control panel which installs/removes the tracer hook and also the monkey patches. When off, it's the same as if no debugger were running (except that WingDBG lets you turn it on again dynamically). Is the WingDBG contro

Re: [Zope] Display images stored in Relational DB

2005-10-19 Thread Chris Withers
Thomas G. Apostolou wrote: I have an External Method "GetPrList" witch is connected to a python module that reads like this You really want to be uxing mxODBC and it's Zope DA... X.SODATA is jpg stored in SQL 2K in a field degined as [SODATA] [image] NULL Bleugh... binary data in RBDs suck

Re: [Zope] A Flash file in Zope262

2005-10-19 Thread Chris Withers
J Cameron Cooper wrote: GAYOT Philippe SZSIC35 - BOM wrote: I want to show a Flash file in my home's page under ZopeCMF 262. Could anyone tell me the best way to do that ? It is precisely no different from the way you would do it with any other web server, except that the Flash movie comes f

Re: [Zope] __getitem__ and returning a PageTemplateFile instance

2005-10-19 Thread Anders Bruun Olsen
On Tue, Oct 18, 2005 at 08:47:23PM -0500, J Cameron Cooper wrote: > >>error_log is by default set to ignore three common types of exceptions. > >>You should remove NotFound from the list if you're getting NotFound > >>exceptions and want to see them. > >Ahhh.. Thanks, now I have a traceback, unfo