Re: [Zope-dev] Using db_connections from Zope products

2001-06-26 Thread Kent Polk
On 20 Jun 2001 11:25:01 -0500, Tom Brown wrote: > I would like to make an SQL query directly from python > code. Do I have to make a > ZSQL Method dynamically, or is there another way > without making the class database > dependent (i.e. Gadfly, PoPy, etc), utilizing an > existing db_con? Supp

Re: [Zope-dev] determining database manager type from z database connection?

2001-05-04 Thread Kent Polk
On 3 May 2001 21:15:01 -0500, Andreas Heckel wrote: > Kent Polk wrote: >> >> Is there a generic way to determine what 'brand' of database manager >> a Zope database connection is connected to by interrogating the >> connection object? > > > ID:

[Zope-dev] determining database manager type from z database connection?

2001-05-03 Thread Kent Polk
Is there a generic way to determine what 'brand' of database manager a Zope database connection is connected to by interrogating the connection object? I couldn't see anything in the source and I also walked a connection object using the debugger and couldn't locate any non-specific way to determ

Re: [Zope-dev] getattr'ing proxy object's methods

2001-04-13 Thread Kent Polk
On 13 Apr 2001 05:50:01 -0500, Dieter Maurer wrote: >Kent Polk writes: > > >I do not understand your goal precisely... >However, the surrogate technique used in >"CMFCore.DirectoryView.DirectoryView" may come near >to your proxie objects. I played around with

[Zope-dev] getattr'ing proxy object's methods

2001-04-12 Thread Kent Polk
I have a product with a proxy class for building objects which manage data for other objects. The proxy clients locate their proxy via meta_type, similar to a sql connection_id and use acquisition to establish parameters for each call. I want to pass method calls made to the clients directly to t

[Zope-dev] setattr and skinscript

2001-04-06 Thread Kent Polk
I have a Specialist which I am using to programmatically load table data into a rack with. When I add a skinscript to query the rack, my setattr, which is used to set the row attributes produces the following error: 2001-04-06T22:45:03 PROBLEM(100) ZPatterns Error computing attribute SID Tracebac

[Zope-dev] More ZPatterns confusion

2000-12-01 Thread Kent Polk
I have a persistent object class I'm trying to model in ZPatterns. --- MasterRack Class: A physical Master Rack is composed of 96 tubes of DNA, one tube per DNA sample, organized by families. ___ Zope-Dev maillist - [EMAIL PR

[Zope-dev] SybaseDAv2

2000-10-06 Thread Kent Polk
(anyone else using the SybaseDAv2 Database Connector?) I had to make a couple of changes to the source for SybaseDAv2 for Solaris and will probably report them, but I was wondering exactly how to make a database connection with SybaseDAv2? How is the datasource specified, etc.? Is there any docum

[Zope-Dev] Re: 'REQUEST' lost on DTML rendering

2000-10-03 Thread Kent Polk
On 28 Sep 2000 17:00:32 GMT, Kent Polk wrote: > >I have a Product which works fine under Zope 2.1.6 but am having >trouble moving it to 2.2.1 > >This product creates temporary instances of objects and then uses >__bobo_traverse__ to traverse class operators specified in the URL

[Zope-dev] 'REQUEST' lost on DTML rendering

2000-09-28 Thread Kent Polk
I have a Product which works fine under Zope 2.1.6 but am having trouble moving it to 2.2.1 This product creates temporary instances of objects and then uses __bobo_traverse__ to traverse class operators specified in the URL which create the objects that are rendered via DTML methods. The very f

Re: [Zope-dev] ZServer and ftp port-1 data channel

2000-09-26 Thread Kent Polk
On 26 Sep 2000 12:50:00 -0500, Shane Hathaway wrote: >Here's what Sam Rushing told me regarding this issue. > >Shane Hathaway writes: > > I hear that you have found a way to get Medusa to use the correct >port > > in active mode FTP. This could be a great benefit to the Zope > > community. Anyth

[Zope-dev] ZServer and ftp port-1 data channel

2000-09-26 Thread Kent Polk
It appears we still have a problem with ZServer's port 20 data channel response behavior with the latest released Zope (Zope 2.2.1 (source release, python 1.5.2, linux2) and Active Mode ftp clients. In particular, when you select the port-1 behavior, medusa can't seem to bind to port 20 when port

Re: [Zope-dev] remote procedure calls to manage functions

2000-08-15 Thread Kent Polk
On 10 Aug 2000 08:10:01 -0500, Jim Fulton wrote: >Michel Pelletier wrote: >> Jim Fulton wrote: >> > Michel Pelletier wrote: >> > > Also, ZClient >> > > is much faster i've found, probably due to the marshalling/unmarshalling >> > > necessary for xml-rpc. >> > >> > That's interesting..Hm. ZCl

Re: [Zope-dev] XML to SQL or XML into tables

2000-05-24 Thread Kent Polk
On 24 May 2000 07:20:00 -0500, Thomas Weholt wrote: >Hello, > >Has anybody tried to somehow get xml-data into SQL-statements or in some >other way use xml-data as datasource for insertion into tables? >It shouldn`t be impossible, if we could just agree on some format or DTD to >use. I'm headed t

Re: [Zope-dev] ZServer Ftp Active mode through firewall

2000-05-19 Thread Kent Polk
Shane Hathaway wrote: > > I did some research into this today. Note that this is actually a > problem with the Medusa server used by Zope. Thanks > 3) The only remaining solution would be to bind to the data port at > startup. However, the accept() call and the connect() call have a very > su

Re: [Zope-dev] ZServer Ftp Active mode through firewall

2000-05-18 Thread Kent Polk
Shane Hathaway wrote: > Kent Polk wrote: > > If we could simply solve this problem by replacing our active ftp > > clients with passive ones, it would be great, but it still doesn't > > solve the problem of clients *elsewhere* which are running behind > > a firewa

Re: [Zope-dev] ZServer Ftp Active mode through firewall

2000-05-18 Thread Kent Polk
On 18 May 2000 08:45:02 -0500, Shane Hathaway wrote: >Kent, > >If possible, I'd like you to check whether the FTP server is trying to >make the connection from a port other than 20. Then try out a Ahhh! figured it out... 1) ZServer passive mode appears correct. 2) ZServer active mode responds o

[Zope-dev] ZServer Ftp Active mode through firewall

2000-05-17 Thread Kent Polk
I believe we discovered a problem with ZServer's ftp server. (Zope 2.1.6) I posted the following to the collector: http://classic.zope.org:8080/Collector/1257/view Has anyone else seen this problem? : -- It appears that ZServer's active ftp mode may be broken, but probably