Re: [Zope] product security changes from 2.8 to 2.8.5 - SOLVED

2006-02-28 Thread Ed Colmar
hey All It appears that I have solved it... My process in moving over the product from the old server was to blame. Here's what I did: export all of the zodb contents, and tarball the python product. Then I imported the zodb contents into the new server, and un-tarred the product. This

[Zope] product security changes from 2.8 to 2.8.5 ?

2006-02-27 Thread Ed Colmar
Hello I recently moved my zope product developed on a 2.8 server on to a 2.8.5 server, and all of my python code is no longer being published out. In the past I had been using a doc string doc to make methods accessible. I realize this is not the proper procedure, but it worked. Now,

Re: [Zope] product security changes from 2.8 to 2.8.5 ?

2006-02-27 Thread Ed Colmar
: --On 27. Februar 2006 15:20:11 -0800 Ed Colmar [EMAIL PROTECTED] wrote: Hello I recently moved my zope product developed on a 2.8 server on to a 2.8.5 server, and all of my python code is no longer being published out. In the past I had been using a doc string doc to make methods accessible. I

[Zope] Error importing objects 2.8 2.7

2006-01-26 Thread Ed Colmar
*Been working up some code on a zope 2.8.0 install, and I wanted to move it over to a live server. I keep getting this error: Error Type: AttributeError* *Error Value: 'module' object has no attribute '__newobj__' The new server is curious becuase it reads: * Zope Version

Re: [Zope] apache open proxy configuration problem

2005-12-22 Thread Ed Colmar
://clickingagent.com/proxycheck.php?ip=66.92.14.218port=80loc= HTTP/1.1 404 940 -e- Tino Wildenhain wrote: Ed Colmar schrieb: Hey All.. I'm following up on this thread after lots of different configuration attempts, reinstalling apache2 from source, more configuration attempts, banging my head against

Re: [Zope] apache open proxy configuration problem

2005-12-22 Thread Ed Colmar
wrote: On 12/22/05, Ed Colmar [EMAIL PROTECTED] wrote: Well, my access log fills up with lines like: 61.54.11.222 - - [21/Dec/2005:14:36:56 -0800] GET http://media.fastclick.net/w/get.media?sid=19765m=3tp=7d=sc=1 HTTP/1.1 404 927 Yeah so? They got a 404 response, a Not Found error

Re: [Zope] apache open proxy configuration problem

2005-12-22 Thread Ed Colmar
82 Should I be worried about this one? Thanks for the help again guys! Maybe I should migrate this thread over to apache forum instead, since it does not really have much to do with zope...??? -e- Tino Wildenhain wrote: Ed Colmar schrieb: Hey Tino Well, my access log fills up

Re: [Zope] apache open proxy configuration problem

2005-12-21 Thread Ed Colmar
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Colmar Sent: Saturday, October 15, 2005 9:19 AM To: zope@zope.org Subject: [Zope] apache open proxy configuration problem I've been running zope through apache for years and years now, and I have a new machine set up with apache 2.0.48

[Zope] ZSQL batching with dtml-in

2005-12-08 Thread Ed Colmar
Do ZSQL methods communicate with the dtml-in call and understand the size attribute? for example, in this dtml-in statement: dtml-in SQL_get_large_list size=20 start=query_start /dtml-in Will the database be queried for all results, and only have 20 displayed, or will the database just return

[Zope] Human validation in zope/python

2005-12-07 Thread Ed Colmar
Hey All I'm wondering if anyone has a module that will generate the randomized images that are so common these days in registration forms to verify that the user is a human. Or, alternativly, other strategies to block spamming of registration forms by bots or other automated methods.

[Zope] apache open proxy configuration problem

2005-10-14 Thread Ed Colmar
I've been running zope through apache for years and years now, and I have a new machine set up with apache 2.0.48 and zope (Zope 2.8.0-final, python 2.3.5, linux2) Using Identical Vhost configuration settings from an old machine all has been well, up until about 5 days ago, when I noticed the

[Zope] php header() equivalent in zope, translation please

2005-09-06 Thread Ed Colmar
I'm working on a website to be viewed in the eve-online in-game browser. This browser has a feature called trusted site that allows the server to extract information about the game character that is viewing the page... Once the website is trusted all of the variables are transferred over in

[Zope] zope 2.8 command line tracebacks

2005-08-29 Thread Ed Colmar
The 2.8 version of zope no longer displays tracebacks in the terminal window (after excecuting ./runzope). It just stops execution at any errors. I am trying to troubleshoot a page that is called from another server, so I do not get to view the error document. I have debug mode turned on.

[Zope] paypal IPN. Debug messages missing. Script goes zombie

2005-07-06 Thread Ed Colmar
Hi all! I've been hacking together a few seperate paypal IPN connections, some code from basion, and some from random web scrapings... Anyway... Things are working for the most part, except that this method for some reason dies when using urllib.urlopen(), and what is really wierd is that

[Zope] Simple paypal IPN external method or product

2005-06-23 Thread Ed Colmar
I found the Bastion Ledger and Bastion Paypal connection, but it is way way overkill for what I want to do. Does anyone have a simple(r) IPN script they can point me towards? TIA! -e- ___ Zope maillist - Zope@zope.org

[Zope] Py-Toc and zope products

2005-06-09 Thread Ed Colmar
Greetings. I have been messing around with the py-TOC code, and am looking forward to implementing it into my zope/MySQL site. I think I am missing something about how to connect it to my zope folder class My goal with this is to tie in the AIM messages in with the folder class I am using

Re: [Zope-dev] dynamically using inheritance

2002-02-04 Thread Ed Colmar
, in guarded_getitem (Object: index_html) File /usr/local/dc/zope/lib/python/AccessControl/ZopeGuards.py, line 151, in guarded_getitem KeyError: skins.default On Mon, 4 Feb 2002, R. David Murray wrote: On Sat, 2 Feb 2002, Ed Colmar wrote: dtml-call REQUEST.set('skinname', 'skins.default') dtml

[Zope-dev] dynamically using inheritance

2002-02-02 Thread Ed Colmar
Hey all. I'm working ona little skinning implementation where I want to pull a folder name out of a database, then navigate to it to get dtml methods. Hardcoding it is easy, but how exactly would I insert a variable into this simple dtml-with? dtml-with skins.default dtml-var

Re: [Zope-dev] Dynpersist.so and makefile.pre.in

2002-01-31 Thread Ed Colmar
PROTECTED] Cc: Ed Colmar [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 9:05 AM Subject: Re: [Zope-dev] Dynpersist.so and makefile.pre.in On Thu, 31 Jan 2002, Christian Theune wrote: On my systems it is located at somewhere like /usr/lib/python(version)/config

[Zope-dev] Dynpersist.so and makefile.pre.in

2002-01-30 Thread Ed Colmar
Hey! I know I've done this before, but for some reason it's eluding me. I'm on a brand new box with a fresh 2.4.3 zope. I am trying to get sql authentication working with loginmanager/Zpatterns I can't seem to find a makefile.pre.in on my system. I have python and python-devel both from

Re: [Zope] Re: [Image-SIG] Properly integrating PIL, reportlab, and zope

2000-11-09 Thread ed colmar
. we only have two files (logos) so it wasn't worth fighting with. thanks, Dan ed colmar wrote: Thanks for the help everyone! I'm a few steps closer to solving this one. What I'm doing is pretty much a workaround, since I can't figure out how to pass a image file directly from

Re: [Zope] Re: [Image-SIG] Properly integrating PIL, reportlab, and zope

2000-11-08 Thread ed colmar
Thanks for the help everyone! I'm a few steps closer to solving this one. What I'm doing is pretty much a workaround, since I can't figure out how to pass a image file directly from within the zodb. I have created a seperate field that gets passed to a localFS directory. Right now, I just

[Zope] Properly intergating reportlab and Zope

2000-11-06 Thread ed colmar
Hi all! I'm still trying to get this to work, so I'm going to try the lists for assistance again. TIA!!! I am working on a project using zope and reportlab. The goal is to have uploaded images end up in a formatted PDF file. I have both of these halves completed, I need to figure out how to

[Zope] UserDb - Please just WORK

2000-10-18 Thread ed colmar
Since Login Manager isn't doing the trick, I've been trying User DB to authenticate to my postgresql DB. I get some strange errors, like when I try to view a page that is 'protected' by UserDb, I get the error message below. Also, when I click a user in the management screen, it says "the

[Zope] LoginManager - With SQL

2000-10-16 Thread ed colmar
Thanks for the tips everyone! I keep going between UserDb and LoginManager to try to get this to work. UserDb gives me weird errors, and isn't really current, so I'm focusing on LM. I feel like I'm getting closer to a solution, but I'm still having difficuties... I followed jPenny's how to

Re: [Zope] LoginManager - with SQL?

2000-10-13 Thread ed colmar
Has anyone been able to use LoginManager with a SQL db? with or without encryption? I'm still baffled by this how-to: http://www.zope.org/Members/jok/SQL_based_LoginManager In this example, there are dtml-methods that do the work of the UserSource, but there is no retrieveItem? I would

Re: [Zope] LoginManager - how does it work?

2000-10-10 Thread ed colmar
Thanks for the help! Still looking for that HOWTO.txt So, now I have a UserSource Installed into my LoginManager. It is called "pgcrypt" and is supposed to authenticate to a SQL database. The password stored in the DB is encryputed using the same scheme. Any ideas why it doesn't let me in?

[Zope] LoginManager - how does it work?

2000-10-07 Thread ed colmar
I've managed to get loginManager to install, but I am very confused as to what to do with it. I've read the how-tos on zope.org, and the documentation of LoginManager itself... But I still don't understand what is supposed to happen. A User Source is a location to find users, Say, my SQL

[Zope] LoginManager Error

2000-10-03 Thread Ed Colmar
Hi! I'm getting a type error when I try to add a LoginManager to a folder. Any sugestions on how to get past this? My config: Zope 2.2.1 ZPatterns 0.3.0 LoginManager 0.8.6 The traceback: Error Type: TypeError Error Value: keyword parameter

[Zope] UserDB plus crypt

2000-10-03 Thread Ed Colmar
Since I couldn't get LoginManger to work, I started modifying UserDb to handle encrypted passwords... I've changed it so the encrypted password is stored in the DB, but I haven't been able to get it to authenticate. Can anyone offer any insight as to what I need to do?

Re: [Zope] How to require an @ symbol in email form field??

2000-07-22 Thread ed colmar
Couldn't you do something similar to Squishdot's "validArticle" dtml method? In addition to verification that the fields are filled in, you could pass the email variable off to a python regular expression that checks for [EMAIL PROTECTED] syntax. -ed- At 07:21 PM 7/21/00 -0400, you wrote: On

[Zope] Catalog contains items, but no results

2000-07-21 Thread ed colmar
Hmmm, more catalog strangeness.. I've finally gotten my product to add objects to a catalog correctly (with the correct URL) Whee! On my 2.2 development machine all appears fine, but on the 2.1.6 production server all searches come back with no results. When I look in "cataloged objects"

[Zope] more catalog issues

2000-07-21 Thread ed colmar
Strange... Now my 2.2 catalog is giving me the problems were supposed to be bugs in zope (catalog) 2.1.5 and lower... Inconsistancy, and missing indexes...??? When I update the catalog it corrects itself. h Any clues as to why my objects get cataloged incorrectly to start with? Is there

[Zope] looping through objectValues, how to get methods?

2000-07-19 Thread ed colmar
I have a method that looks through "objectValues". Using "hasattr" and "getattr" I can see the variables contained in the object. How do I get the values generated from an object's method in a similar fashion? For example: def dj_experince_statistics(self): """ """

[Zope] strange catalog problem

2000-07-08 Thread ed colmar
Here's a weird one. I'm testing out my products catalog functionality, and I'm seeing strange results. I add an object "A" with an indexed variable called 'styles' that contains the values: ['Ambient', 'Breakbeat', 'Downtempo'] I add a second object "B" with the varaibles: ('Ambient',

[Zope] sifting through python sub-objects

2000-06-19 Thread ed colmar
I've succesfully gotten the catalog to work (thanks everyone!), but in doing so, I've created a problem. Squishdot uses this code like this in order to add an item: id=self.createId()# make a datestamp id msg=PromoterPost(id,title) msg=msg.__of__(self) # ???

Re: [Zope] ZCatalog in python (getting closer)

2000-06-14 Thread ed colmar
I am getting closer to having a working catalog. Thanks everyone, all your hints have been really helpful. The catalog is automatically created when I add a new instance of my class to a folder My sub-classes now inherit: (CatalogAware, Persistent, Implicit, SimpleItem) It was the SimpleItem

[Zope] ZCatalog in python

2000-06-10 Thread ed colmar
I'm in a similar situation with Aaron, except my product is mostly python. I emulated the cataloging in the PortalCatalog method, but left out the permission check. When my product is added to a folder, the catalog gets created, and has the indexes I set up. I can create a

[Zope] still trying to get Catalog to work in my python product

2000-05-23 Thread ed colmar
Thanks to everone who has given me suggestions on this. I really do appreciate it. After looking over the PTK snapshot, I've tried to duplicate the catlog that is implemented there. I could not find any search utilities built in, so I'm assuming this is still done by adding the