RE: [Zope] Tutorial

2000-05-26 Thread Charlie Derr


|
|Hi,
|
|I see Amos has a tutorial. Could this be added by default to each member's
|Zope area on Zope.org? Might me useful almost as a small 'demo' of Zope's
|features.
|
|Cheers,
|Dan


The flip side of this suggestion is that the act of installing the tutorial
does actually teach one something (if one is just starting out).   IMNHO,
it's not really that hard, though maybe your point was that many people
might not be aware of its existence, and having it installed by default
would help those who might not have found and installed it themselves.

~c



|
|Daniel Fairs
|[EMAIL PROTECTED], [EMAIL PROTECTED]
|http://www.darkalley.co.uk, http://listen.to/agentorange
|
|Just because you're not paranoid doesn't mean they're not out to get you.
|
|
|___
|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 )




RE: [Zope] Higher Education

2000-05-26 Thread Charlie Derr



|-Original Message-
|From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
|Timothy Wilson
|Sent: Friday, May 26, 2000 12:44 PM
|To: Rik Hoekstra
|Cc: Shane Hathaway; Phil Langton; [EMAIL PROTECTED]
|Subject: Re: [Zope] Higher Education
|
|
|On Fri, 26 May 2000, Rik Hoekstra wrote:
|
|> >How many are still interested in this?
|>
|> I was among one of the first to be active in the zope-edu list and I am
|> still interested and even working on a product for course maintenance. I
|> even sent Shane an immature snapshot, but had to reimplement the product
|> because of nesting ZClasses (sigh). Moreover, I was changing
|jobs as well,
|> which did not exactly help in getting things from the ground.
|>
|> So - yes I'm still interested Shane.
|
|I'm still very much interested in this. School's out in a week or so, and I
|plan to work hard this summer worked on developing Zope stuff to be used
|here at school. I would love to renew the discussions.
|
|-Tim


Where do i find out how to subscribe to the zope-edu list?

It doesn't seem to be listed on http://www.zope.org/Resources/MailingLists


tmia,
~c


___
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] Building ZPyGreSQLDA on Linux

2000-05-28 Thread Charlie Derr

My problem fits under this subject so i thought i'd hijack it :-]

I have redhat 6.1, and i've installed and gotten postgresql 7.0  working
okay (at least i can create tables at a psql prompt and insert data).

I have zope 2.1.6 and after untarring the ZPyGreSQLDA, the README.txt file
says to do two things.   First:


make -f Makefile.pre.in boot

there was lots of output, but everything seemed to go okay

however when i tried the second step:

make

it failed with an error saying that libpq-fe.h and libpq/libpq-fs.h weren't
found

any suggestions for how i correct this?   where *should* those header files
be?


thanx so much in advance,
~c

~
~ On Fri, 26 May 2000, Hung Jung Lu wrote:
~ > I need help building the PostGreSQL database adapter on Linux.
~
~Welcome!
~
~ > Sigh... why is installing everything on Linux such a nightmare?
~ ZPyGreSQLDA
~
~In the world of free software you must do it yourself - there are too
~ many UNIX variants and personal settings that noone can create an
~ universal
~ Makfile...
~
~ > make[1]: *** No rule to make target
~ > `/u/c2/hjlu/lwc_zope/lib/python1.5/config/Ma
~ > kefile', needed by `sedscript'.  Stop.
~
~You forget to install python-dev RPMs. Just a guess, but reasonable
~ guess.
~
~ Oleg.(All opinions are mine and not of my employer)
~ 
~ Oleg Broytmann  Foundation for Effective Policies
~ [EMAIL PROTECTED]
~Programmers don't die, they just GOSUB without RETURN.
~
~
~ ___
~ 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 )




RE: [Zope] Building ZPyGreSQLDA on Linux

2000-05-30 Thread Charlie Derr

Daryl,
Thanx very much for the reply.

|-Original Message-
|From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Daryl
|Tester
|Sent: Monday, May 29, 2000 6:27 AM
|To: Charlie Derr
|Cc: Zope Mailing List
|Subject: Re: [Zope] Building ZPyGreSQLDA on Linux
|
|
|Charlie Derr wrote:
|
|> My problem fits under this subject so i thought i'd hijack it :-]
|
|> I have redhat 6.1, and i've installed and gotten postgresql 7.0  working
|> okay (at least i can create tables at a psql prompt and insert data).
|[snip]
|> it failed with an error saying that libpq-fe.h and
|libpq/libpq-fs.h weren't
|> found
|
|Caveat: I'm running 6.5.2.  First, try running:
|
|   find /usr/include/ -name "libpq*"
|
|and see if it actually reports that you have those files present on
|your system.  You haven't said a lot (read: anything)



sorry about that.  I had first tried to install 6.5.3 using rpms, but hadn't
had success.  So i did an rpm -U for all that stuff and got things cleaned
out.   Then I downloaded the postgresql7.0.tar.gz file and proceeded
according to the instructions put forth by a Mr. Robert Easter in response
to a question from "Janet" on the pgsql [General] list last week (the
timestamp says it was sent Tues May 23, 2:54 am and i'm on the east coast of
the US).

I'm at work away from the machine i've got this set up on, so unfortunately
i'm not able to provide any more information at the moment.


|about how
|you installed postgresql, so I'm assuming that for whatever reason
|you may be missing your postgresql development environment (for the
|record, RedHat installs those include files in /usr/include/pgsql/,
|but you'll need the libraries as well).
|
|Regards,
|  Daryl Tester
|


thanx so much for taking the time to respond,
~c





___
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] Several users having problem accessing field names of a ZSQL Method

2000-06-07 Thread Charlie Derr

~
~ I am a new Zope user and am attempting to access field names of a
~ ZSQL method.  I have read and tried to use the How-To : "Access
~ the field names and fields of any arbitrary ZQSL query" by teyc.
~ The code suggested there has not worked.
~
~ For example, when I use the code:
~
~ 
~   
~ ,
~
~   
~ 
~
~ I get the error:
~ Error Type: KeyError
~  Error Value: SQL.names
~
~ I have nested the above code  in code that references a ZSQL
~ method, as well as trying several other permutations, but nothing
~ has worked. I'm wondering if this is a name lookup problem.
~
~ In checking this news group I see that several others have had
~ similar problems.  See:
~
~ http://zope.nipltd.com/public/lists/zope-archive.nsf/Main?SearchVi
ew=++&Start=1&Count=20&SearchOrder=1&ExactMatch=&SearchOrder=1&Query=sql.nam
es

Can anyone tell me (us)  how to correctly do this, or what mistake I (we) am
making.



I think i can tell you.   When zope encounters something inside quotes, it
generally treats it as a python expression.  Python is treating what you
thought was a hyphen as a minus sign and trying to subtract the variable
"index" from the variable "sequence" in this line of code:

   

The easy solution is to name your variable sequence_item instead of
sequence-item.  I think there's also a way to actually name a variable
sequence-item, but it involves an underscore and parens _(  )  and some more
funky syntax, but it's a lot easier to just stop using hyphens in variable
names.

hth,
~c



Version information:

Zope version: Zope 2.1.6 (binary release, python 1.5.2, win32-x86)
Python version: 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)]

Regards,

David H. Jones
Boeing Phantom Works,
Mathematics and Computing Technology
425-865-6924
425-865-2964 (FAX)
[EMAIL PROTECTED]

___
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 )




RE: [Zope] Products vs. ZClasses- Design Question

2000-06-16 Thread Charlie Derr

Jeff wrote:

~ As explained above, this advantage is shared by Python Products also. You
~ do *not* want to write application logic with DTML. At a minimum, use
~ Python Methods. Otherwise, use Python.
~


Let me apologize in advance because i think this is going to turn out to be
a really stupid question.  I'm never gonna know the answer if i don't ask it
though. :-\

I've seen this mentioned a lot (advice not to write application logic in
DTML).  If one wants to use pure python (and not Products and not external
methods) to create complex actions/relationships, then where does one place
this code?  Obviously i can litter my DTML with python expressions, but this
seems to be what is being  recommended against strongly.  Is there a way to
use python "correctly" without writing a product and without encapsulating
it in an external method?

tesmia,
~c


___
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] Plone/Zope on Debian Sarge

2005-04-04 Thread charlie derr
Andreas Pakulat wrote:
On 04.Apr 2005 - 14:02:43, Chris Withers wrote:
The moral of this whole story seems to shine through:
Don't install Zope from OS packages like debian, they never get it right and 
you will just end up getting confused ;-)

Yepp, especially, since Zope is that easy to install into your home...
Andreas
I (a relative zope amateur) would offer my own counter-experience.  I 
recently set up zope-coreblog and zope2.7 (using packages from debian 
sarge/testing), and it's been running with very few issues for several 
months (and I additionally was able to get ldap integration working 
using the ldapuserfolder Product)

maybe the "better" or "surer" way to do things is to install zope 
(os-agnostic) binaries, but being already familiar with debian, for me 
it's worked out fine (so far) to use the debian-packaged stuff (though 
I've admittedly not played substantially with plone yet)

	~c
___
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-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Unable to login to zope management interface on Ubuntu

2005-04-28 Thread charlie derr
Andreas Jung wrote:
> 
> 
> --On Donnerstag, 28. April 2005 23:28 Uhr +0530 Vishwas Narendra
> <[EMAIL PROTECTED]> wrote:
> 
>> Hi,
>>
>> I'm running Ubuntu (warty). I just installed zope 2.6.4-1.1 through
>> synaptic. I created a user with the "zpasswd inituser" command.
> 
> 
> Get the latest Zope 2.7.6 version and install it from the Zope sources.
> 2.6.4 is old and obsolete.
> 
> -aj



Debian sarge (testing) has 2.7.5 available, so I'd expect that to
probably be in ubuntu as well.  The package name is zope2.7 though (the
"zope" package will install the 2.6 version).

Not that the advice to install from source is bad, but I thought it was
worth pointing out that there is another option.
~c

___
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-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )