[Zope] Strange problem with WebDAV and Zope

2006-02-09 Thread Ivan \"Rambius\" Ivanov
Hello, I am observing a strange problem when trying to use MKCOL WebDAV method with a specific url. I can reproduce it with two WebDAV clients: Jakarta Slides[1] and the command-line client nd[2]. The problem: Invoking MKCOL method against Zope's WebDAV server with an url ending with "title" fai

Re: [Zope] Problem Inserting zsql query result

2005-11-15 Thread Ivan Stout
additional field to insert . . . my eyes must be getting old). Anyway, I will try not to make so many assumption when I run it future bugs. Thank you for your help, Ivan On 11/15/05, Chris Withers <[EMAIL PROTECTED]> wrote: Ivan Stout wrote:> Yes, the full error message is the following

Re: [Zope] Problem Inserting zsql query result

2005-11-11 Thread Ivan Stout
r in because it contains a ) notbecause of the \n What's the SQL you're trying to use? (Only need to see the SELECT ... part)On 11/11/05, Ivan Stout <[EMAIL PROTECTED]> wrote:> Peter,>>  Thank you, but unfortunately I still get the same error due to the newline > character

Re: [Zope] Problem Inserting zsql query result

2005-11-11 Thread Ivan Stout
Peter, Thank you, but unfortunately I still get the same error due to the newline character being there and still cannot remove it with variable.replace. Can a "long object" be converted to a string or integer some way? On 11/12/05, Peter Bengtsson <[EMAIL PROTECTED]> wrote: O

[Zope] Problem Inserting zsql query result

2005-11-11 Thread Ivan Stout
et the following error: 'long' object has no attribute 'replace' I would greatly appreciate it if someone could point me in the right direction. Than you very much, Ivan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/

Re: [Zope] Re: Text field and module import questions

2005-09-19 Thread Ivan Stout
closer attention to how I format my code in the future.   Cheers.   On 9/19/05, Martijn Pieters <[EMAIL PROTECTED]> wrote: Ivan Stout wrote:> It appears that the text input field I have created using a dtml method> has a default space character when you click in the field. Is there a

[Zope] Text field and module import questions

2005-09-18 Thread Ivan Stout
does not have authorization. Is there a way around this? Thanks. Ivan ___ 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

Re: [Zope] Problem : ZCatalog

2001-01-26 Thread Ivan Cornell
ute_url > string, that's to say "element" in my exemple. > > How could I search in all the string ? Well, my solution would be to create a python method that splits your url up into indexable words and then index this method in ZCatalog. One of cool features of the ZC

Re: [Zope] "Hiding" a Zope object from URL accesses

2001-01-24 Thread Ivan Cornell
sign proxy roles ['higher' than anonymous] to any of the methods that call your /query method otherwise they will also be refused access! Ivan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Getting an object from it's id

2001-01-23 Thread Ivan Cornell
7;t sure of the existance of the object, wrap the above in: Ivan ___ 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/zop

[Zope] Getting access to python methods of some product

2001-01-23 Thread Ivan Somov
How I can use method, stored in a ".py" file of some product, and send some parameters to that method? I want to create an instance of ExtImage product programmatically, but have a troubles doing it.. ___ Zope maillist - [EMAIL PROTECTED] http:

Re: [Zope] reindex when a zclass is edited

2001-01-10 Thread Ivan Cornell
t; not sure of the details. If it's not too much trouble, could someone give me > detailed instructions (or a link) on how to do this. I'd really appreciate > it. > In your method which is called by your edit form, insert a after updating the properties. Eg, in my manage_

Re: [Zope] can't change zclass meta type

2000-12-30 Thread Ivan Cornell
ed. > > > > Is this a bug? Or is the some other location where I also need to > > change this info? You must also change the factory, specifically the 'add list name'. See my previous message: http://zope.nipltd.com/public/lists/zop

[Zope] Creating product with Python

2000-12-20 Thread Ivan Somov
When I trying create an instance of class of my own product "Boring" with Python, Zope tells me: Missing doc string at: http://localhost:8080/a/manage_addProduct/Boring/manage_addBoring I tried to change "manage_addBoring" method, and compared my product with other working products, by the

Re: [Zope] PopyDA and DBMS Transactions

2000-12-18 Thread Ivan Cornell
: select * from customers where name='white' for update of customers Regards, Ivan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope

Re: [Zope] multiple selects are not allowed

2000-12-15 Thread Ivan Cornell
several simple methods. > Without seeing your queries, I would say use sql's UNION command, eg, SELECT name FROM animals WHERE id =21 UNION SELECT name FROM diseases WHERE id =21; regards, Ivan ___ Zope maillist - [EMAIL PROTECTED] http://lis

Re: [Zope] default values in forms

2000-12-13 Thread Ivan Cornell
Olaf Zanger wrote: > hi there, > > i'd like to send default values for an data update with the link to the > form > > like > c > > unfortunately name may contain spaces. > > i found out that spaces may be replaced by "+" in the link, > but how d

[Zope] Changing a Zclass meta type doesn't work

2000-12-13 Thread Ivan Cornell
think it would good if the latter's importance it is hilighted - that it isn't just the text that appears in the 'Add Product List'. Regards, Ivan PS Yes, the above took 3 hours. ___ Zope maillist - [EMAIL PROTECTED] http://list

Re: [Zope] namespace-problem

2000-12-12 Thread Ivan Cornell
One (ugly!) way of doing it: This creates Test2 in Test1. Ivan > > Here some experiments (don't look at the syntax): > > > > > > > > > This looks fine to me, but ZOPE i

Re: [Zope] DTML-LET problems

2000-12-08 Thread Ivan Cornell
Mohan Baro wrote: > Why doesn't the following code work? > How do I achieve the desired functionality? > > "> > > > > Mohan. You can't embed dtml within dtml. Try: Ivan PS, I would have replied to yo

Re: [Zope] Why I Love Zope

2000-12-08 Thread Ivan Cornell
I now find I can answer about 50% of questions on this list - a very steep learning curve (ie going from zero to zen quickly!). Now I've just got to get to grips with it at work - I'm currently working on converting a 500,000 row postgresql/ph

Re: [Zope] duplicate column name

2000-12-07 Thread Ivan Cornell
and then refer to adr_id & fac_id from zope. [can't remember why, but think it is due to the way columns are addressed in libpq] Ivan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

Re: [Zope] Cut/copy/paste problems

2000-12-07 Thread Ivan Cornell
thing with my ZClasses. I've tried applying the reindex patch I found somewhere. I think my problems might be to do with the fact that I have catalogaware zclasses that inherit from catalogaware base classes and something isn't quite working there. Al

Re: [Zope] Disabling Services

2000-12-06 Thread Ivan Cornell
; -X : turn off all servers -w : explicitly turn on http server on port 8000 I took out -D as it is a production server & after reading the last few digests I'm going to add -Z, though Zope hasn't crashed once on me yet! HTH Ivan ___ Zop

[Zope] Checking for ID's before creating ZClass

2000-11-07 Thread Ivan Cornell
d now!), calling hasattr() but failed. Another possibilty would be to loop on a tryraise until successful, but that doesn't seem very zopish. In the source code for createInObjectManager I can see it getting the folder, but can't figure how to acheive that

Re: [Zope] ZClass beginners question

2000-07-03 Thread Ivan Raikov
ons on this forum. Regards, Ivan Raikov "Dierk Hoeppner" <[EMAIL PROTECTED]> writes: > Hi, > > I want to connect our own proprietary database to zope. I know > which features I want because I did an ordinary CGI-application > already. I would like to use a ZClass.

Re: [Zope] Why can't I subclass a ZSQLMethod?

2000-07-03 Thread Ivan Raikov
method, and you have to write the DTML code that obtains the result set, and displays it accordingly. At least that's way I do it; there might be a better way, I don't know. Best, Ivan "Cary O'Brien" <[EMAIL PROTECTED]> writes: > I tried that. You can&#x

Re: [Zope] Why can't I subclass a ZSQLMethod?

2000-06-30 Thread Ivan Raikov
Why don't you create a ZClass and make the ZSQLMethod to be one of its methods? Then the ZClass can provide the user interface to the SQL query and the result set. Regards, Ivan Raikov "Cary O'Brien" <[EMAIL PROTECTED]> writes: > I want to wrap a presentation laye

[Zope] Adding the objects resulting from a ZSQL query to a Zope folder

2000-06-28 Thread Ivan Raikov
Hello, everybody, Is there any way to programmatically add the objects, returned from a ZSQL method to a Zope Folder? Thanks, Ivan Raikov ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

[Zope] Making ZCatalog catalog the results from a ZSQL query

2000-06-27 Thread Ivan Raikov
to access SQLPatientSearch." (SQLPatientSearch is the ZSQL method). I think I've set all permissions right, so I don't know why I get this, but I was wondering if someone can come up with an easier way to do this. Thank you very much, Ivan Raikov ___

[Zope] Using Zope DB connection from a Python class

2000-06-21 Thread Ivan Raikov
he SQL query, Zope either dies and is restarted, or just sits there, doing nothing, until the HTTP connection times out. In either case, the new record is not written in the database. 3. Zope 2.1.7 Z ODBC DA 3.0.3 Solid dev kit 2.3 RedH

[Zope] Zope Database Connection

2000-06-16 Thread Ivan Raikov
rm of ZSQL Method. How do I get a list of connection instances in the current folder? Thanks, Ivan Raikov ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Extended characterset

2000-06-09 Thread Ivan Mackintosh
. Regards, Ivan ___ 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-announce http://lists.zope.org/mailman/lis

[Zope] Current date in DTML

2000-06-06 Thread Ivan Raikov
Hey all, How can I get the current date & time (preferably as a DateTime.DateTime object) in DTML? I cannot instantiate a DateTime object, because the DateTime module is not imported. Thanks, Ivan Raikov ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Zope and Python 1.6

2000-06-05 Thread Ivan Raikov
Hi all, Does Zope run under Python 1.6? If not, is anybody working on a port? Thanks, Ivan Raikov ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] ZServerSSL trouble

2000-05-31 Thread Ivan Raikov
Ng Pheng Siong <[EMAIL PROTECTED]> writes: > > Ivan, if you skip the https bits and just run the http stuff, does it > work? > Yes, the http server works; Zope dies the minute I try to access the https server. > > > RedHat Linux 6.1 > > Python 1.5.2 (the

[Zope] ZServerSSL trouble

2000-05-30 Thread Ivan Raikov
ts the following and dies: Traceback (innermost last): File "/home/ivan/src/Zope-2.1.6-src/z2s.py", line 681, in ? asyncore.loop() File "/home/ivan/src/Zope-2.1.6-src/ZServer/medusa/asyncore.py", line 107, in loop poll_fun (timeo

[Zope] Using relational DB for ZODB storage

2000-05-25 Thread Ivan
I can obtain the source code, and how I can contact the developers. Perhaps someone can provide me with this information? Regards, Ivan Raikov ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

[Zope] Relational DB Storage Manager for ZODB

2000-05-25 Thread Ivan
ere I can get a copy of the source, and how I can contact its developers. Perhaps someone can provide me with this information? Regards, Ivan Raikov ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross pos