[Zope-dev] Source Code

2004-04-26 Thread Stephen Corey
Does anyone have the source code to the Addressit
sample program found in the Zope Bible? If not all
of it, I'm mainly looking for the Addressit.py file.
Thanks!





__
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25ยข
http://photos.yahoo.com/ph/print_splash

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope] PythonScripts documentation

2001-01-26 Thread corey

And upon Friday of January 26, the illustrious Gerald Gutierrez spake thusly...
 
 Where is the latest documentation for PythonScripts located? The closest I 
 found is
 
 http://www.zope.org/Members/4am/PythonMethod
 
 but it is dated and contains minimal information.
 
 I'm specifically interested in what I can do with them and what I cannot do 
 with them.
 


  Yes - excellent question; in fact I'm seeking the same information
  concerning PerlScripts as well. Mainly - I'd like to know what I can
  and can't do with them. The documentation is quite minimal in that 
  regard - for both Perl *and* Python scripts it seems.

  Is there any where else I could go to seek out more information than
  that provided in the Zope Book and at 
  http://www.zope.org/Members/andym/wiki/FrontPage  ?


Beers,

Corey


___
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/listinfo/zope-dev )




Re: [Zope] Re: Some help required but no sarcastic comments this time pleas ee

2001-01-25 Thread corey

And upon Thursday of January 25, the illustrious Stephane Bortzmeyer spake thusly...
 On Wednesday 24 January 2001, at 17 h 49, the keyboard of [EMAIL PROTECTED] 
 wrote:
 
I'll believe it when I see it.
  
Then I'll laugh when I see it crash.
 
 You rabid Unix bigot, how do you dare being so sarcastic?
 


  grin

  Yeah -- this comming from someone using exmh mua on a linux debian 
  box!   (c8=

  X-mailer... the true sign of manhood.


Beers!

Corey

--
"Windows was created to keep the stupid people away from Unix.
An "MS advocate" is therefore already beneath contempt."
  - Tom Christiansen


___
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/listinfo/zope-dev )




Re: [Zope] Re: Some help required but no sarcastic comments this time pleas ee

2001-01-24 Thread corey

And upon Wednesday of January 24, the illustrious Capesius, Alan spake thusly...
 What product is this?
 
 Supposed to be in NT7 (after whistler)
 It will be a headless version.
 


  Hmm... the term "vapor" comes immediately to mind.


  I'll believe it when I see it.

  Then I'll laugh when I see it crash.


Beers,

Corey


___
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/listinfo/zope-dev )




Re: [Zope] Zope vs. Enhydra

2001-01-11 Thread corey

And upon Thursday of January 11, the illustrious Paul Browning spake thusly...
 
 From the horse's mouth as it were. I'll let the
 list know where to find it when it appears.
 
snip
 
 The next issue of the Lutris Enhydra Journal will be
 delivered to you on Monday, 15 January 2001.  Articles
 will include:
snip
 Paul Gresham: Zope vs Enhydra
snip

  
  Coolness -- thanks for the heads-up.


Beers,

Corey


___
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/listinfo/zope-dev )




[Zope] 2.3.0a2 - missing a file

2001-01-11 Thread corey


I just downloaded and installed Zope 2.3a2, after setting
up a new database connection ( ZMySQLD ), I went to to
test it and lo-and-behold! No customDefaultReport.dtml for
which to display the results!

Anyhow, I just grabbed it off the 2.3.0a1 tree and put it 
in it's rightful place ( lib/python/Shared/DC/ZRDB/ ), and 
things work fine.

Anyhow, just a heads-up... 

What is the "proper" channel for directing such bug reports?

By the way -- kick-ass bit of work guys.  I'm really 
impressed with the rapid development of Zope, as well as 
it's feverishly dedicated community. And the new management
interface ain't half bad either!


Beers,

Corey



___
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/listinfo/zope-dev )




[Zope] Zope vs. Enhydra

2000-12-29 Thread corey


I know, I know -- total flame bait...

But really, has anyone had any experience with the *other*
open source Web Application Server, Enhydra?

I just "discovered" it the other day while writing an 
introduction to Zope for my co-workers, as we're about
to embark on a serious new development project.

At any rate, after already being *highly* impressed and
sold on Zope - I ended up spending a little time at
www.enhydra.org and became more and more enthused. I'm
currently downloading it to give it a fair chance -
but I was wondering if anyone else here has happened
to have already given it a review, and if so, could
you relay some of your findings/opinions?

I've yet to stumble across any mention of Enhydra in
any of the Zope documentation/introductory material or
even yet on this list. I'd be interested in hearing
any testimonials from Zopistas.

Thanks for any input!


Beers,

Corey



___
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/listinfo/zope-dev )




[Zope] ZODB robustness

2000-12-23 Thread corey


Yo!


  Hey, I got a few questions and could use the advice from some
  of you experts out there.

  First off, a quick background.  I'm in the current design and
  analysis stage of a major new project.  What I'm doing is a
  complete re-write of a venerable Operational Support System -
  essentially, an n-tier framework that will be the ultimate,
  back-bone engine ultimately running the whole company. Mission
  Critical comes to mind...
  
  My vision is to implement this thing entirely, from start to 
  finish, thoroughly in an object-oriented model. This is easy
  as far as the web-application ( our front-end user interface )
  is concerned, of course, by using Zope. However, in order to
  see a pervasive object-orientd design through and through -
  I'd also like to store all *data* as objects, within an Object
  Database as well -- rather than the more traditional means of
  using an RDBMS as the data-store and composing and decomposing
  complex objects into tables...  Yuck.
  
  Now, as a ( rather pleasant ) side-affect of choosing Zope as
  our Web Application Server - it looks like Python will be the
  choosen language that we'll be using to construct this OSS
  in. Which leaves every OODB *I'm* aware of out ( they all only
  support C++, Java and/or Smalltalk ) -- except, that is, for 
  ZODB.
  
  So there it is. Can a whole company confidently rely on ZODB 
  as a robust ( I know it's scalable, with ZEO ) OODB solution 
  for a large, highly-active, mission-critical, highly-available, 
  enterprise Operational Support System infrastructure? Storing 
  and serving thousands of objects? For added reliability, I've 
  looked into utilizing one of the custom ZODB storage types - 
  namely, OracleStorage looks like the ticket - rather than the 
  standard FileStorage Data.fs.

  So please, tell me - am I totally wacked? Crazy? Stark-raving
  Mad? Should I just use Zope and stick with Oracle rdbms for
  the data store, or is ZODB truly a viable and robust OODB?
  I really appreciate any and all comments, advice or rotten
  vegetables, thanks!


Beers,

Corey


___
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/listinfo/zope-dev )




Re: [Zope] WorldPilot

2000-12-21 Thread corey

http://sourceforge.net/projects/worldpilot/



And upon Thursday of December 21, the illustrious joshb spake thusly...
 Any idea where one can find WorldPilot these days? Looking at
 www.worldpilot.org takes you to NH's site where they'll sell
 a box running it but I was curious if there are any updtates
 to just the software?
 
 Josh
 

___
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/listinfo/zope-dev )




[Zope] ZMySQL Database Connection

2000-12-03 Thread corey


Greetings!

I'm at the point where I could really use some help...

Specifically, I cannot for the life of me get a ZMySQL
instance to work - on two different machines, using 
about 4 different combinations of Zope, Python, ZMySQLDA
and MySQLdb versions...  What occurs ( depending on which
particular combo I try ) is one of three things, either: 

#1 - the loading of the ZMySQLDA Product fails entirely,
 causing Zope itself to die upon startup,
or

#2 - an error about invalid syntax or somesuch occurs,
 although the sql query is perfectly correct. ( sorry,
 I can't remember the exact error msg, although it occured
 frequently through my attempts - and I'm not going
 to try and reproduce it ) 

or

#3 - the following error is recieved: 'There was no data 
 matching this Z MySQL Database Connection (connected) 
 query.'  Even though I *know* that the simple query
 I'm testing with *definately* returns data.


I was finally able to get past errors #1 and #2, with 
#3 being the closest I've been able to get everything 
working - I can create and load the ZMysqlDA Product
just fine, I can test the query, without error #2,
but for some reason no matter what - the response is
*allways* that there was no data matching my query!
I've attempted the same query using the same user on
the same database with the same table via the mysql
client just fine... why is Zope failing me?

Any suggestions? Anyone else run accross this problem?
I'm at wits end here. I've been through ever possible
logical solution I can think of to no avail. Is there
some lower level interface or debug or log that I can
inspect for further details?

Current config:

Zope version: Zope 2.2.4 (source release, python 1.5.2, linux2) 
Python version: 2.0 (#1, Oct 25 2000, 19:37:52) [GCC egcs-2.91.66 19990314/Linux 
(egcs-1.1.2 release)] 
System Platform: linux2 
ZMySQLDA: 1.2.0
MySQLdb: 0.1.2


Beers,

Corey




___
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/listinfo/zope-dev )




Re: [Zope] ZMySQL Database Connection

2000-12-03 Thread corey


Of course... after two complete days and nights of trying to get
this to work, and finally throwing up my hands in despair and
asking for help here on the list -- I made one last attempt while
awaiting a response... and behold! Viola! I finally got everything
to work correctly! ( and there was much rejoicing )

I just ended up compeletely erradicating every last vestige of
Python, Zope, ZMySQLDA and MySQLdb on my system - and recompiling
everything from scratch, carefully and methodically.

Anyhow - problem solved, sorry for the rant.


Beers!

Corey


And upon Sunday of December 03, the illustrious [EMAIL PROTECTED] spake thusly...
 
 Greetings!
 
 I'm at the point where I could really use some help...
 
 Specifically, I cannot for the life of me get a ZMySQL
 instance to work - on two different machines, using 
 about 4 different combinations of Zope, Python, ZMySQLDA
 and MySQLdb versions...  What occurs ( depending on which
 particular combo I try ) is one of three things, either: 
 
 #1 - the loading of the ZMySQLDA Product fails entirely,
  causing Zope itself to die upon startup,
 or
 
 #2 - an error about invalid syntax or somesuch occurs,
  although the sql query is perfectly correct. ( sorry,
  I can't remember the exact error msg, although it occured
  frequently through my attempts - and I'm not going
  to try and reproduce it ) 
 
 or
 
 #3 - the following error is recieved: 'There was no data 
  matching this Z MySQL Database Connection (connected) 
  query.'  Even though I *know* that the simple query
  I'm testing with *definately* returns data.
 
 
 I was finally able to get past errors #1 and #2, with 
 #3 being the closest I've been able to get everything 
 working - I can create and load the ZMysqlDA Product
 just fine, I can test the query, without error #2,
 but for some reason no matter what - the response is
 *allways* that there was no data matching my query!
 I've attempted the same query using the same user on
 the same database with the same table via the mysql
 client just fine... why is Zope failing me?
 
 Any suggestions? Anyone else run accross this problem?
 I'm at wits end here. I've been through ever possible
 logical solution I can think of to no avail. Is there
 some lower level interface or debug or log that I can
 inspect for further details?
 
 Current config:
 
 Zope version: Zope 2.2.4 (source release, python 1.5.2, linux2) 
 Python version: 2.0 (#1, Oct 25 2000, 19:37:52) [GCC egcs-2.91.66 19990314/Linux 
(egcs-1.1.2 release)] 
 System Platform: linux2 
 ZMySQLDA: 1.2.0
 MySQLdb: 0.1.2
 
 
 Beers,
 
 Corey
 
 
 
 
 ___
 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/listinfo/zope-dev )

___
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/listinfo/zope-dev )




[Zope] ZopeLDAP 1.0b4 breaks the root directory security tab

2000-10-06 Thread Corey Zimmet

Since installing ZopeLDAP 1.0b4, I get the following error when trying to
access the security tab at the root directory:
Zope Error

   Zope has encountered an error while publishing this resource.

   Error Type: TypeError
   Error Value: string member test needs char left operand



   Troubleshooting Suggestions

   The URL may be incorrect.
   The parameters passed to this resource may be incorrect.
   A resource that this resource relies on may be
encountering an error.

   For more detailed information about the error, please refer
to the HTML source for this page.

   If the error persists please contact the site maintainer.
Thank you for your patience.




Traceback (innermost last):
  File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222,
in publish_module
  File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187,
in publish
  File /usr/local/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171,
in publish
  File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160,
in mapply
(Object: manage_access)
  File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112,
in call_object
(Object: manage_access)
  File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 255,
in manage_access
(Object: ApplicationDefaultPermissions)
  File /usr/local/Zope-2.2.2-src/lib/python/App/special_dtml.py, line 120,
in __call__
(Object: access)
(Info: /usr/local/Zope/lib/python/AccessControl/access.dtml)
  File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: access)
  File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_With.py,
line 146, in render
(Object: _.namespace(valid_roles=valid_roles()))
  File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_In.py, line
630, in renderwob
(Object: permission_settings)
  File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 182,
in permission_settings
(Object: ApplicationDefaultPermissions)
  File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 177,
in lambda
TypeError: (see above)


Removing the product returns the system back to normal.  Does anyone know
what I can patch to remove this?

Thanks,
Corey


___
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/listinfo/zope-dev )




[Zope] unable to login with newly created user

2000-08-17 Thread Corey


Hello all,

  I'm new to Zope - extreme apologies if this question has already
  been answered, but I'm simply at wits end here...

  Linux 2.2.14 
  Python 1.5.2 
  Zope 2.2.0 from source wo_pcgi 
  Zserver

  I simply cannot for the life of me log in as non-superuser.
  
  I've installed and unininstalled and re-installed... and read,
  and re-read the docs but to no avail - I even went so far
  as to try from scratch on a wholy different computer all
  together and was met with the exact same issue.

  After spending plenty of time in the archives for the list
  and at the zope site's howto's I still have been unsuccessfull
  in gleaning any help. I must have missed something very simple
  along the way somewhere.

Here, in step by step order, is what I've been doing:

log in as superuser
access the manage page
traverse into the /acl_users folder
add a new user
correctly set and verify the password
attach Manager and Owner roles to user
submit the Change button
restart Zope
clear netscape cache
close netscape
restart netscape
point browser to zope page
attempt to login with new user into Manage page...
*allways* fail *everytime* with an 'Authorizatin failed' msg

ack!

  What is my feeble little mind not catching onto here? I've
  ran z2.py with the -D flag and logging, and went through
  the same steps but nothing at all in these logs provides
  me with anything remotely usefull...

  I've ran Zope as both root and nobody, with no change.
  This is very frustrating, I've been at it for most of the 
  night now.  I sure could use a clue...


Thanks,

Corey


___
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/listinfo/zope-dev )




Re: [Zope] Old Zope packages

2000-08-17 Thread Corey

And upon Thursday of August 17, the illustrious Jarkko Veijalainen spake thusly...
 
 Where can i download older versions of Zope. 

snip

  http://www.zope.org/Products/Zope/



___
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/listinfo/zope-dev )




Re: [Zope] unable to login with newly created user

2000-08-17 Thread Corey

And upon Thursday of August 17, the illustrious Martijn Pieters spake thusly...
 On Thu, Aug 17, 2000 at 01:58:04AM -0700, Corey wrote:
  Hello all,
  
I'm new to Zope - extreme apologies if this question has already
been answered, but I'm simply at wits end here...
snip
I simply cannot for the life of me log in as non-superuser.

snip
 
 Make sure that the domains field is empty. It is a space seperated list of
 domains the user is admitted from, in either ip-number or ip-address
 format. '*' as a wildcard for nameparts is allowed. Example:
 '*.digicool.com 194.153.144.*'.
 

  OK, yeah - I did leave that field empty.. forgot to mention that
  in my post.

 Also, you don't need to set the Owner role. It is a special, magic role
 used as a Local Role on objects a user created.
 

  Will having the Owner role actually keep me from logging in as that
  user?  I can't seem to create a user *without* the Owner role
  anyhow... jeeze.

  Any other suggestions?  I appreciate the help - in the mean time,
  I'm gong to try installing version 2.1.6.

Beers,

Corey



___
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/listinfo/zope-dev )




[Zope] 2.2 and ZLDAPConnection - editAttributes fails.

2000-07-31 Thread Corey Zimmet

Has anyone succeeded in getting ZLDAPConnections to work with Zope 2.2? 
When I try to perform an edit on an Entry object, the edit appears to
work. However, the transaction is never committed to the LDAP server.

Also,  when doing the examples from the Howto,  I have to explicitly
call the Entry object's get method rather than using the attribute
directly.  For example:

dtml-var uid will fail

dtml-var expr="get('uid')" is successful



Thanks,
Corey

___
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/listinfo/zope-dev )




[Zope] RE: [ Zope] ZCatalog dynamic sites

2000-07-21 Thread Corey Zimmet


Write a brains class that you would call to catalog and uncatalog
insert/update/delete ZSQLmethods:

For example:

class MyObject:
"""
Some arbitrary object - MyObjectID - the id of your object
MyCatalog -  the catalog you want to use to
index the sql
MyText1 -metadata column in your catalog
MyText2 -an additional metadata column in
your catalog
"""

def FullText(self):
"an index in your catalog"
return "%s %s" % (self.MyText1, self.MyText2)

def catalogObject(self):
"Catalog me"
self.MyCatalog.catalog_object(self, self.MyObjectID)

def uncatalogObject(self):
"Uncatalog me"
self.MyCatalog.uncatalog_object(self.MyObjectID)




Hope this helps,
Corey




___
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/listinfo/zope-dev )




[Zope] How do you use acquisition when instantiating an object via a REQUEST.set

2000-06-30 Thread Corey Zimmet

I am a relatively new Zope user and I have a simple python Class in a python
product such as:

class Item(Acquisition.Implicit):
  # Just a simple item class

  def __init__(self, id):
self.id=id

If I instantiate the object in DTML with somthing like this:

dtml-call "REQUEST.set('item',Item.Item('someid'))"

How can I make the object acquire the current context?  I do not want the
object to be added to any container other than the REQUEST.

Thanks,
Corey


___
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/listinfo/zope-dev )