[Zope] Relational DB Storage Manager for ZODB

2000-05-25 Thread Ivan
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 posts

[Zope] Using relational DB for ZODB storage

2000-05-25 Thread Ivan
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 HTML

[Zope] ZServerSSL trouble

2000-05-30 Thread Ivan Raikov
: 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 (timeout) File "

[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

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

[Zope] Zope Database Connection

2000-06-16 Thread Ivan Raikov
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 - http

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

2000-06-27 Thread Ivan Raikov
ccess 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 maillist

[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

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 layer around ZSQLQ

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't add a ZSQLMethod unless there is a

[Zope] Checking for ID's before creating ZClass

2000-11-07 Thread Ivan Cornell
!), calling hasattr() but failed. Another possibilty would be to loop on a try..createInObject..raise 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 directly, Ivan

Re: [Zope] Disabling Services

2000-12-06 Thread Ivan Cornell
er 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 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/lis

Re: [Zope] Cut/copy/paste problems

2000-12-07 Thread Ivan Cornell
act that I have catalogaware zclasses that inherit from catalogaware base classes and something isn't quite working there. All my problems are consistent (always happen!) I'm running latest of everything: Zope 2.2.4 apache 1.3.14, Regards, Ivan __

Re: [Zope] duplicate column name

2000-12-07 Thread Ivan Cornell
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 HTML encoding! ** (Related lists - http

Re: [Zope] Why I Love Zope

2000-12-08 Thread Ivan Cornell
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/php media database over using ZPatterns... Regards, Ivan

Re: [Zope] DTML-LET problems

2000-12-08 Thread Ivan Cornell
let the_current_user="AUTHENTICATED_USER.getUserName()" dtml-var the_current_user /dtml-let Ivan PS, I would have replied to your previous post if it hadn't been in HTML! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailm

Re: [Zope] namespace-problem

2000-12-12 Thread Ivan Cornell
One (ugly!) way of doing it: dtml-with "manage_addFolder ('Test1')" dtml-let test1Object="_.getitem(Test1')" dtml-with "test1Object.manage_addFolder ('Test2')" /dtml-with /dtml-let /dtml-with This creates Test2 in Test1. Ivan Here some experim

Re: [Zope] default values in forms

2000-12-13 Thread Ivan Cornell
he link, but how do i get the "+" into the dtml-var ... statement? Try a href="adr_change_frm?f_id=dtml-var idf_name=dtml-var name fmt=url_quote"c/a Ivan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/l

Re: [Zope] multiple selects are not allowed

2000-12-15 Thread Ivan Cornell
animals WHERE id =21 UNION SELECT name FROM diseases WHERE id =21; 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

Re: [Zope] PopyDA and DBMS Transactions

2000-12-18 Thread Ivan Cornell
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.org/mailman/listinfo/zope

[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

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

2000-12-30 Thread Ivan Cornell
change this info? You must also change the factory, specifically the 'add list name'. See my previous message: http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687f0024bb5f/6163e128ae1c60db802569b400388292?OpenDocument Ivan __

Re: [Zope] reindex when a zclass is edited

2001-01-10 Thread Ivan Cornell
dtml-call "propertysheets.Base.manage_editProperties(REQUEST)" dtml-call "propertysheets.Facility.manage_editProperties(REQUEST)" dtml-call "this().reindex_object()" Regards, Ivan ___ Zope maillist - [EMAIL

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

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

2001-01-23 Thread Ivan Cornell
ml-call myObject.foo ... /dtml-let or probably: dtml-let myObject="_.getitem(REQUEST['myId'])" If you aren't sure of the existance of the object, wrap the above in: dtml-if "_.hasattr(this(), REQUEST['myId'])" /dtml-if Ivan ___

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

2001-01-24 Thread Ivan Cornell
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 posts or HTML encoding! ** (Related lists - http://lists.zope.org

[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] Re: Text field and module import questions

2005-09-19 Thread Ivan Stout
/textarea Anyway, thanks again. I will pay much 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

[Zope] Problem Inserting zsql query result

2005-11-11 Thread Ivan Stout
' 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/listinfo/zope ** No cross posts or HTML encoding

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: On 11/11/05, Ivan Stout

Re: [Zope] Problem Inserting zsql query result

2005-11-11 Thread Ivan Stout
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 being there and still cannot remove it with variable.replace. Can a long object be converted to a string or integer

Re: [Zope] Problem Inserting zsql query result

2005-11-15 Thread Ivan Stout
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: ProgrammingError: (1064, You have

[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

[Zope-dev] ZServerSSL trouble

2000-05-31 Thread Ivan Raikov
Greetings, I just installed ZServerSSL, but when I try to access the https server, I get the following: Traceback (innermost last): File "/home/ivan/src/Zope-2.1.6-src/z2s.py", line 681, in ? asyncore.loop() File "

[Zope-dev] Custom Login

2001-09-24 Thread Ivan Raikov
? The product I described above, already does that, so it would be rather easy for me to put together some documentation, provided that nobody has bothered to write any. Let me know... Sincerely, Ivan Raikov ___ Zope-Dev maillist

Re: [Zope-dev] Vulnerability: attacking can get file list and directory

2001-09-24 Thread Ivan Raikov
Why not use logrotate, similarly to how you handle the Apache logs? Or set a cron job to clear the logs, if you don't like logrotate... [EMAIL PROTECTED] writes: On a high-traffic site, wouldn't the log get really big, really quickly with tracebacks? It is also nice to have

Re: [Zope-dev] Stripogram or similar in core

2001-10-29 Thread Ivan Raikov
So, in this validation framework, do you envision having a parameter-validating routine being invoked whenever a publicly-exposed method is called by DTML methods, or did you want to focus on mere HTML form validation/stripping? I'm asking because I've had situations when I've