Re: [Zope-dev] Installer for Windows - Status

2006-11-13 Thread Encolpe Degoute
Sidnei da Silva a écrit :
 Hi there,
 
 I've managed to get the Installers for Windows back into shape, using
 our internal build system/buildbot.
 
 You can follow the progress of the builds here:
 
  http://buildbot.enfoldsystems.com/zope/
 
 New builds will appear on this page once they are ready:
 
  http://www.enfoldsystems.com/downloads.html
 
 The known-good build is 6511+, which has not appeared on the downloads
 page yet. It should show up there in 2-3h at most.
 
 Please send your comments/feedback/critics.

Hello Sidney,
you made a great work but I found two littles things:

In test.py it should be better to save current dir before launching them:

@pushd .
@cd %INSTANCE_HOME%
RUN_COMMAND
@popd
@endlocal

In second,  I didn't find runzeo.bat and zeoservice.py I gave you when I
create a zeo instance.

Regards,
-- 
Encolpe Degoute
INGENIWEB (TM) - S.A.S 5 Euros - RC B 438 725 632
17 rue Louise Michel - 92300 Levallois Perret - France
web : www.ingeniweb.com - « les Services Web Ingénieux »
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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-dev] Installer for Windows - Status

2006-11-13 Thread Sidnei da Silva

On 11/13/06, Encolpe Degoute [EMAIL PROTECTED] wrote:

Hello Sidney,
you made a great work but I found two littles things:

In test.py it should be better to save current dir before launching them:

@pushd .
@cd %INSTANCE_HOME%
RUN_COMMAND
@popd
@endlocal


Why would it change directory to INSTANCE_HOME? I don't see a reason
for doing that.


In second,  I didn't find runzeo.bat and zeoservice.py I gave you when I
create a zeo instance.


Oh, you just want them to be in right, not to have the installer
create a ZEO instance? That would be easy so I will look into adding
this.

--
Sidnei da Silva
Enfold Systemshttp://enfoldsystems.com
Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


[Zope-dev] Zope Tests: 4 OK, 1 Failed, 4 Unknown

2006-11-13 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Sun Nov 12 12:00:00 2006 UTC to Mon Nov 13 12:00:00 2006 UTC.
There were 9 messages: 9 from Zope Unit Tests.


Test failures
-

Subject: FAILED (failures=2) : Zope-2.8 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sun Nov 12 21:14:26 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006553.html


Unknown
---

Subject: UNKNOWN : Zope-2.6 Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Sun Nov 12 21:06:56 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006548.html

Subject: UNKNOWN : Zope-2.6 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Sun Nov 12 21:08:26 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006549.html

Subject: UNKNOWN : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Sun Nov 12 21:09:56 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006550.html

Subject: UNKNOWN : Zope-2.7 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sun Nov 12 21:11:26 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006551.html


Tests passed OK
---

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Sun Nov 12 21:12:56 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006552.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sun Nov 12 21:15:56 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006554.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sun Nov 12 21:17:26 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006555.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sun Nov 12 21:18:57 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006556.html

___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


[Zope-dev] hanging zeo clients

2006-11-13 Thread M. Krainer

Hi!

We have one ZEO server that handles 3 FileStorages and 8 ZEO clients
connecting to the ZEO server.
Sometimes a client hangs and does no longer handle incoming connections.

The ZEO server log shows in such a case, that the (hanging) client
initiates a new connection

 2006-11-12T10:30:39 INFO ZEO.StorageServer (3958) new connection
('10.x.x.x', 32803): ManagedServerConnection ('10.x.x.x', 32803)


If I'm correct, the next that should happen is a log entry from the
ZEO server that he received a handshake from the client. Something
like

 2006-11-12T11:12:46 INFO ZEO.zrpc.Connection(S) (10.x.x.x:36805)
received handshake 'Z303'

This never happens. I have to restart the client.

Has anyone an explanation for the hanging clients?

(We're using Zope-2.8.8, Python-2.4.2)


 Markus
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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-dev] Re: Windows Installer Nice-to-have

2006-11-13 Thread Chris Withers

Philipp von Weitershausen wrote:

Chris Withers wrote:
I don't know how easy this is to do, but one thing that would be 
_really_ nice would be to use an existing compatible python install 
rather than Zope splatting it's own in regardless.


-1

That's what Zope 3 does (it's a standard distutils installer). It makes 
it hard to install several Zope 3 versions at the same time. Or perhaps 
that's just because it install itself into site-packages?


Yeah, putting Zope in site-packages is just plain dumb.

But I think having our own weird python binary install, and only doing 
something weird on Windows, is also dumb.


Anyway, I would rather see the Zope installer to be self-contained wrt 
Python. 


Why?

In fact, I also wish that the Zope 2 and 3 installers were the 
same so that we'd only have to maintain and support one installation 
scheme. 


Yeah, definitely agreed here...

I don't particularly care about the paths. I think the 
politically correct destination is Program Files, 


Actually, I thought I'd debunked this myth. Apparently not, so here goes 
again...


None of microsoft's own server apps are stupid enough to put themselves 
in Program Files, so lets NOT do that :-)


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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-dev] Re: Windows Installer Nice-to-have

2006-11-13 Thread Chris Withers

Christian Theune wrote:


That's more like it. But as you mentioned, a compiled Zope is dependent
on some binary compiled modules that want a compatible Python, so
bringing it's own might be reasonable.


I think bringing in its own is reasonable if none suitable can be found.

But, I think in that case, why not put it in the standard python 
location for windows? (and why not install it in the standard way so 
that installing other python binary things for windows (such as mysql 
and postgres) can find the python being used for Zope?


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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-dev] Re: Windows Installer Nice-to-have

2006-11-13 Thread Sidnei da Silva

On 11/13/06, Chris Withers [EMAIL PROTECTED] wrote:

Christian Theune wrote:

 That's more like it. But as you mentioned, a compiled Zope is dependent
 on some binary compiled modules that want a compatible Python, so
 bringing it's own might be reasonable.

I think bringing in its own is reasonable if none suitable can be found.

But, I think in that case, why not put it in the standard python
location for windows? (and why not install it in the standard way so
that installing other python binary things for windows (such as mysql
and postgres) can find the python being used for Zope?


Because 'finding the python being used by Zope' is a registry key. If
you look at Zope - Python in the start menu there are two shortcuts
there that will do register/unregister.

--
Sidnei da Silva
Enfold Systemshttp://enfoldsystems.com
Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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-dev] Re: Windows Installer Nice-to-have

2006-11-13 Thread Lennart Regebro

On Zope windows installers.

First of all, I only use Zope on windows intermittently nowadays
(although it was what I used most of the time a coupl of years ago).
So feel free to ignore anything I say.


1a. I really hate the C:\Python24 install. Zope should by default
install in the program files directory, debunked myth or not. On
closer though, lets de-debunk (rebunk?) that: ;-)


Python, Lotus Notes and, perhaps most tellingly, IIS and Microsoft's
other server offerings, don't install themselves in Program Files, they
create their own top level directory.


Python, I'm told, does it because of some earlier stupidity of not
working when installed in a directory with a space in it. Notes does
it because it's been installed in C:\Notes since Windows 3. Why
Microsoft does it is beyond me, but it's not like I feel any great
confidence in Microsoft doing server-things correctly. There is
nothing especially stupid with installing stuff in program files,
and it's no more stupid than installing them in /usr/bin instead of in
/. Polluting C:\ is bad and annoying.

If you, as a server admin, doesn't want to install Zope in Program
Files, but have some opinon on where it should be installed, it's
actually just as unlikely that you want to install it in C:\.
C:\Zope-whatevah is pretty much the most unlikely place to install it
at all no matter if you do it to test Zope or if you do it to make a
production install.

Hence, running on an english windows the default directory to install
Zope in should be C:\Program Files\Zope-something. I wouldn't mind
C:\Program Files\Zope\2.10.0 and C:\Program
Files\Zope\Name-of-instance.


2. It would be great if you could get a list of compatible Python
versions to select, or install one, in the directory above. If that's
too much work, installing a installation unique python version is a
better option, as that's most likely the best option for a production
server.
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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: [ZWeb] Fwd: [ZF] foundation site confusion

2006-11-13 Thread Chris Withers

Rob Page wrote:
Chris - did zoneedit get the zopefoundation info?  I don't think it's 
answering.


They did, but zoneedit have this bizarre policy of refusing to serve dns 
until the whois record points at their nameservers.


Worse still, even after the whois records have changed, they'll only 
start serving once you've gone in and editted the zone again.


I think I've done enough to get them to do what they're supposed to, but 
maybe someone who knows how to tickle zoneedit in the right way could 
also take a look?


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Move-Message in Wiki pages

2006-11-13 Thread Simon Michael
Does that mean apache rewrite rules are out ? Any idea how if the goal 
(redirect all old pages corresponding new pages) is achievable ?


___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] Move-Message in Wiki pages

2006-11-13 Thread Michael Haubenwallner

Simon Michael wrote:
 Does that mean apache rewrite rules are out ? Any idea how if the goal
 (redirect all old pages corresponding new pages) is achievable ?

I proposed to create a mapping from old to new page locactions 
(including rewriting to recentchanges and FrontPage) and redirect on the 
pagelevel.


Another option is to remove/rename the wiki area on zope.org, set a 
Redirector Object to the new location and rewrite there.


I'm happy to help you with this.

Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [Zope] i18n tags in XML file using Page Templates

2006-11-13 Thread Daniel de la Cuesta
The error message is the following:!-- Page Template Diagnostics Compilation failed xml.parsers.expat.ExpatError: unbound prefix: line 7, column 20--Line 7 is exctly where the i18n tag is- Mensaje original De: Andreas Jung [EMAIL PROTECTED]Para: Daniel de la Cuesta [EMAIL PROTECTED]; zope@zope.orgEnviado: lunes, 13 de noviembre, 2006 1:51:49Asunto: Re: [Zope] i18n tags in XML file using Page Templates--On 13.
 November 2006 00:48:22 +0100 Daniel de la Cuesta [EMAIL PROTECTED] wrote: Hi everybody, I am want to return an XML file with i18n tags using a page template. For example: ?xml version="1.0" encoding="UTF-8"? language xmlns:tal="http://xml.zope.org/namespaces/tal"; value i18n:translate=""My value/value /language When I use the i18n tag inside the page template I get a compilation error.It would really help if you could include the complete *error message*.-aj
		LLama Gratis a cualquier PC del Mundo.Llamadas a fijos y móviles desde 1 céntimo por minuto.http://es.voice.yahoo.com___
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] i18n tags in XML file using Page Templates

2006-11-13 Thread Andreas Jung



--On 13. November 2006 08:07:17 + Daniel de la Cuesta [EMAIL PROTECTED] 
wrote:



The error message is the following:

!-- Page Template Diagnostics
 Compilation failed
 xml.parsers.expat.ExpatError: unbound prefix: line 7, column 20
--




Look carefully at your code. You defined the 'tal' namespace but on the 
'i18n' namespace.


-aj

pgpvKPTSJFxza.pgp
Description: PGP signature
___
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] Zope Alternative

2006-11-13 Thread Chris Withers

Hafeliel wrote:


If you could, please take a moment to surf on over to
http://zopereplacement.wikidot.com/


http://en.wikipedia.org/wiki/Internet_troll

http://www.urbandictionary.com/define.php?term=numpty

Try doing a bit more digging before wasting your time writing this rubbish.

I suggest you take a good long hard look at Zope 3, read the 2 books, 
and then come back...


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
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] Re: View classes based on Page Templates in Zope2

2006-11-13 Thread Peter Bengtsson





Has anybody written a convenient class like this? Perhaps based in 
PageTemplateFile or something?


from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile


Cool. Thanks. I'll have a play.

--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
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] View classes based on Page Templates in Zope2

2006-11-13 Thread Peter Bengtsson



Jens Vagelpohl wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 12 Nov 2006, at 13:12, Peter Bengtsson wrote:

What options do we have for this in Zope2?
If Five is the answer, what options do we have without Five?


Five is the best answer. Why would you not want to use it?

I stated my question badly. I meant, are there any implements OTHER than 
Five. Just like without Plone there's CPS for example.

Perhaps a one dedicated solution just for this particular use case.

--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
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] View classes based on Page Templates in Zope2

2006-11-13 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 13 Nov 2006, at 12:21, Peter Bengtsson wrote:




Jens Vagelpohl wrote:


On 12 Nov 2006, at 13:12, Peter Bengtsson wrote:

What options do we have for this in Zope2?
If Five is the answer, what options do we have without Five?

Five is the best answer. Why would you not want to use it?
I stated my question badly. I meant, are there any implements OTHER  
than Five. Just like without Plone there's CPS for example.

Perhaps a one dedicated solution just for this particular use case.


I still don't understand why you want a separate solution - Five is  
part of Zope nowadays. Unless you didn't mention that you're using a  
really ancient Zope version. ;)


jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFWFiPRAx5nvEhZLIRAoxvAJ9mu9aJOemVS6NnsjuIFVUyOpAhUQCfYsMC
3Px70MAV9/mWdfB1XmVmzUo=
=Acxz
-END PGP SIGNATURE-
___
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] Zope Alternative

2006-11-13 Thread Peter Bengtsson


I walk away frustrated and angry.


Not a good thing.


[5] I have a neat idea for a Zope product so I start
coding it up.  I find some bits and pieces on the web
and try installing them, only to find that parts of my
product have a name collision with parts of their
product.

Products aren't libs. They're quite high-level and end-user specific. 
Take it or leave it or write your own and steal ideas from an existing one.

Perhaps you should look at them as one big Cookbook of examples?


[1] The documentation is not complete.


Yes and no. Probably complete but scattered all over the web and txt files.
We should have something like
http://www.postgresql.org/docs/ or http://dev.mysql.com/doc/





Basically, yes.  I want a tool that doesn't try to
protect me.  I want the full power of Python when I
make my web pages.  I do not want someone trying to
protect me, or that makes me jump through hoops to get
there.  I want Zope's few great features without all
of its restrictions.

Is that more clear?
Crystal clear. I hate that too. However, some restrictions can actually 
be good until you become a super expert because otherwise you'll write 
insecure or un-inheritable.
I love that Python has a one-way-to-do-it approach with it's syntax but 
still it doesn't stop you from writing non-Guido like code like this:

def foo ( self, a = b): return a (1%2+3)




Yet other parts of your discussion show a
frightening lack of knowledge of web development
environments in general.


Please don't be mean.  I've been a programmer since
1979.  I've done a lot of things in this last 27
years.  If I can't make a tool dance and sing within
two years of picking it up, then the chances are that
the tool itself isn't measuring up.  If there is
something specific you want to address, please do.

I think you're right. It shouldn't be hard. Usability matters. For geeky 
tools too.



--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
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] Zope Alternative

2006-11-13 Thread Andrew Milton
+---[ Chris Withers ]--

| http://www.urbandictionary.com/define.php?term=numpty

I'm so glad the word 'numpty' is making a comeback. Not so much a fan of the
modernised 'numptard' variant though.

-- 
Andrew Milton
[EMAIL PROTECTED]
___
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] Zope Alternative

2006-11-13 Thread Dario Lopez-Kästen
Chris Withers said the following on 11/13/2006 12:11 PM:
 Hafeliel wrote:

 If you could, please take a moment to surf on over to
 http://zopereplacement.wikidot.com/
 
 http://en.wikipedia.org/wiki/Internet_troll
 
 http://www.urbandictionary.com/define.php?term=numpty
 
 Try doing a bit more digging before wasting your time writing this rubbish.
 
 I suggest you take a good long hard look at Zope 3, read the 2 books,
 and then come back...

yeah, I can see how this kind of attitude draws lots and lots of new
followers to zope.

Sure, the man might be mistaken and misinformed, but  if it is hard to
understand the tool, maybe some docs or references might be in order,
thoughI fail to see anythign zope related in
http://en.wikipedia.org/wiki/Internet_troll unless we mean to describe
the attitude towards criticism we/some of us don't like (like to deal
with?).

I am sure that treating him like dirt under our shoes will help improve
his perception of zope and why it is such a wonderfull tool.

I am not sure, however, that the zope community needs this kind of ad
hominem argumentation (http://en.wikipedia.org/wiki/Ad_hominem) towards
any and all that raise any kind of issue with zope.

Whatever.

/dario

-- 
-- ---
Dario Lopez-Kästen, IT Systems  Services Chalmers University of Tech.
Lyrics applied to programming  application design:
emancipate yourself from mental slavery - redemption song, b. marley

___
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] Zope Alternative

2006-11-13 Thread Garito

Peter Bengtsson escribió:


I walk away frustrated and angry.


Not a good thing.


[5] I have a neat idea for a Zope product so I start
coding it up.  I find some bits and pieces on the web
and try installing them, only to find that parts of my
product have a name collision with parts of their
product.

Products aren't libs. They're quite high-level and end-user specific. 
Take it or leave it or write your own and steal ideas from an existing 
one.

Perhaps you should look at them as one big Cookbook of examples?


[1] The documentation is not complete.

Yes and no. Probably complete but scattered all over the web and txt 
files.

We should have something like
http://www.postgresql.org/docs/ or http://dev.mysql.com/doc/





Basically, yes.  I want a tool that doesn't try to
protect me.  I want the full power of Python when I
make my web pages.  I do not want someone trying to
protect me, or that makes me jump through hoops to get
there.  I want Zope's few great features without all
of its restrictions.

Is that more clear?
Crystal clear. I hate that too. However, some restrictions can 
actually be good until you become a super expert because otherwise 
you'll write insecure or un-inheritable.
I love that Python has a one-way-to-do-it approach with it's syntax 
but still it doesn't stop you from writing non-Guido like code like this:

def foo ( self, a = b): return a (1%2+3)




Yet other parts of your discussion show a
frightening lack of knowledge of web development
environments in general.


Please don't be mean.  I've been a programmer since
1979.  I've done a lot of things in this last 27
years.  If I can't make a tool dance and sing within
two years of picking it up, then the chances are that
the tool itself isn't measuring up.  If there is
something specific you want to address, please do.

I think you're right. It shouldn't be hard. Usability matters. For 
geeky tools too.



Well, as the weired man at zope list I think Zope will be better, as 
every project in the world

Zope has its advantages and its disavantages, as every project in the world

In my opinion the main Zope disavantages is its own architecture ;-)

Programmers use to thing in Model View Controller, Singletons, Adapters 
and so on but Zope is (always my opinion) a object tank were they 
(objects) can live and this part was the most dificult to understand to 
me (some years ago)


I use (as all of you know :-) ) Zope in not a regular way but it works! 
Some parts are not finished as I would like but some others are totally 
finished as I would dream some days ago (before to know about Zope)


I don't need to work with the finished parts I need to work with the 
unfinished. Perhaps Zope community don't understand the way you want to 
use Zope but you don't found any community without this kind of 
problems. If we work together every day in the same place problably we 
understand ourselves better but open source has this kinds of issues...


There are a lots of think I would like to do better and easily (for 
example search for my last threat at the list) but Zope is Zope and the 
Zope community has its owns plans. Give thanks they put Zope as open 
source because if not you need to program a lot of parts of your every 
day work


And the worst solution is always here: go to php or RoR or ASP.NET or 
what you want. Every plataform has its advantages and its disadvantages


Or you can start a Zope fork but you need to understand much better what 
Zope is and how Zope do the work (and I don't believe that you could do 
it for now)


--
Mis Cosas
http://blogs.sistes.net/Garito


___
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] Can't Track Simple Bug

2006-11-13 Thread Chris Withers

Nancy Donnelly wrote:

mailhost=getattr(context, context.superValues('Mail Host')[0].id)

what should I substitute for Mail Host 


MailDrop Host likely, check the source for the correct meta type.

Not really, it's a snippet for inserting into zope.conf alongside the 
other logging configuration. You appear to have chopped off the %, which 
you need to make it a valid zope.conf import statement.


Okay, corrected and entered into zope.conf


From what Tres has said, you should build yourself a new Zope instance 
with mkzopeinstance.py and then install any products you need int othe 
new instance, then finalyl move the Data.fs into it.


You config and control files are old beyond help...

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
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] Mail Boxer on Qmail

2006-11-13 Thread Chris Withers
My recommendation would be to use a real mailing list manager like 
mailman instead...


Chris

Nancy Donnelly wrote:

Hi;
I'm running into trouble getting Mail Boxer to play nicely with qMail. I've 
installed and tested Maildrop Host. It works ok, so that potential bug is 
eliminated. I was confused as to where to put smtp2zope.py, so I put it here:
/usr/bin/smtp2zope.py 
and symlinked it here:

/usr/local/sbin/smtp2zope.py
/var/qmail/bin/smtp2zope.py
just to be safe ;)
One of the how-to's I read said I should create the following file:
/var/qmail/aliases/.qmail-foo
where foo is the name of my list, and enter the following line by itself:
foo: |smtp2zope.py http://127.0.0.1:8080/foo/mailinglist/manage_mailboxer 
2
where the second foo/mailinglist is my path to the Mail Boxer instance.
and finally I send a message to [EMAIL PROTECTED] but I didn't get anything 
back.
Did I get subscribed? How do I know? I don't see any entry in the maillist in 
the properties tab.

Also, one of the how-to's said I should set up a forwarding email address. 
That's not necessary, is it?
TIA,
Nancy








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


--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
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] Zope Alternative

2006-11-13 Thread Chris Withers

Dario Lopez-Kästen wrote:


yeah, I can see how this kind of attitude draws lots and lots of new
followers to zope.


This guy doesn't want Zope, he wants something lighter like Django or 
Pylons. He might find what he's looking for in Zope 3...



I am sure that treating him like dirt under our shoes will help improve
his perception of zope and why it is such a wonderfull tool.


Well, he's treating us like dirt, Dario. Rather than spending time 
helping to document Zope, he's gone off and built a wiki slating it. 
Thanks, but no thanks...



I am not sure, however, that the zope community needs this kind of ad
hominem argumentation (http://en.wikipedia.org/wiki/Ad_hominem) towards
any and all that raise any kind of issue with zope.


This certainly isn't the case. People who expect their work to get doen 
for them for free will get a hard time. I'd suggest that people who come 
with particularly unconstructive approaches to how zope may be improved 
will also come in for a similarly hard time...


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
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] Zope Alternative

2006-11-13 Thread Andrew Milton
+---[ michael nt milne ]--
| yeah, I can see how this kind of attitude draws lots and lots of new
| followers to zope.
| 
| Quite right. It's an ignorant attitude and one that itself deserves the label
| that it is prescribing. It's been prevalent for a long time on this list. The

So if I start a wiki, making a tonne of incorrect, and ignorant statements
about plone, use these false/misleading statements as a basis for replacing 
plone, 
and then post it to the plone list trying to get support for replacing plone, 
that list will support me right? 100% ?

| whole attitude here is one of sneering and schoolboy name calling.

You need to trust that those you can identify as senior members of the
community, are telling the rest of you that this guy is full of crap.

There have some dubious postings of late. More are coming I can assure you.

The single thing that should have alerted you that something was up.

*** Chris Withers and I agreed on something d8)


Imagine for a moment this guy came to you for a job, claiming 25+ years of
dev experience, and 2+ years of Zope experience. How many of the following
would you expect him to know about? Let's just say Zope 2 even.

o REQUEST.SESSION
o bobobase_modification_time

o User Folders
  - CookieCrumbler
  - SimpleUserFolder
  - LDAPUserFolder
  - exUserFolder
  - PAS
  - anything at all in http://zope.org/Products/user_management

o metal:define-macro
o metal:use-macro
o metal:define-slot
o metal:fill-slot
o tal:replace=structure ...
o Zope Security Tab?
o General web security
o OO development
o Security overrides for python scripts
o Abstraction, encapsulation

Would you be pissed at having employed this person only to find out they didn't
know any of these things?

The people slagging this guys are pissed. Because the guy has done NO
research, and no reading whatsover, and then claims Zope needs to be
rewritten (of course, it IS already being rewritten, which shows how much 
research he
did, but, not for any of the reasons he listed [because they are crap]).

What if he claimed to be able to write a python Product, but, also claimed they
didn't know how to subclass OFS.Image to keep the creation date? 

Would you believe them? 

Would you give the guy any credibility?

Are you in a position to evaluate the claims?

| Is there a reason that the Plone list gets 3 times the level of postings that
| the Zope list gets? Yes.

Because it's larger and more complicated than Zope itself? You factored in the 
CMF 
list traffic too right?

| because it is a more mature and constructive support
| environment which actually helps promote the product.

That's just a bizarre claim (one, I imagine based more on opinion than fact?)

One could claim that the number of postings is proportional to the amount of 
help 
required, which is almost certainly proportional to the experience of the
userbase and the complexity of the subject.

These are the types of bizarre claims that generate sneering name-calling
replies d8) 


My counter claims;

o Zope list generates less traffic because it is a mature, well-documented
  piece of software well understood by its userbase, and supported through
  other media such as IRC (where #zope gets far more plone questions than it
  ought to because Everyone in #plone is asleep is oft lamented).

o Newbies will post regardless of the tone of the list, because for the most
  part they don't read anything, including the list-charter, list-archives,
  the FAQ, or any of the other documentation available.

o Noone is not going to use software because of a hostile userbase. Linux
  proves this. In fact it might make the case for us being more offensive. d8)

-- 
Andrew Milton
[EMAIL PROTECTED]
___
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] Zope Alternative

2006-11-13 Thread Andreas Jung





+---[ michael nt milne ]--



Quite right. It's an ignorant attitude and one that itself deserves the
label that it is prescribing. It's been prevalent for a long time on this
list. The whole attitude here is one of sneering and schoolboy name 
calling.


You should post only if you have something to say. You did not and you 
can't comment on the content of the wiki.




Is there a reason that the Plone list gets 3 times the level of postings
that the Zope list gets?


Because people use Plone and not Zope. Many Plone users identify Plone with 
Zope and don't recognize that Plone is a tiny CMS layer on top of Zope and 
several other big software components.



Yes. because it is a more mature and constructive
support environment which actually helps promote the product.


Speak with some Plone core developers. Some of them are also bored by 
ongoing laziness of a minority of ppl to use existing resources or to 
resolve very easy issues on their own. That's why a bunch of Zope and Plone 
developers are no longer available for giving help on -users lists.


-aj

pgpYApJoWK6UM.pgp
Description: PGP signature
___
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] Zope Alternative

2006-11-13 Thread michael nt milne
You should post only if you have something to say. You did not and youcan't comment on the content of the wiki.Of course I had something to say. What nonsense. And sure I had a look at the Wiki as well and am entitled to comment. Just because I don't have the high level of authority that many people on this list have with regard to Zope it doesn't mean I can't comment. 
By the way there's lots of people who are bored of the attitude of certain developers towards answering queries on lists. And if those developers then decide not to post then maybe it is a good thing for the list and the developer?
On 11/13/06, Andreas Jung [EMAIL PROTECTED] wrote:
 +---[ michael nt milne ]--Quite right. It's an ignorant attitude and one that itself deserves thelabel that it is prescribing. It's been prevalent for a long time on this
list. The whole attitude here is one of sneering and schoolboy namecalling.You should post only if you have something to say. You did not and youcan't comment on the content of the wiki.
Is there a reason that the Plone list gets 3 times the level of postingsthat the Zope list gets?Because people use Plone and not Zope. Many Plone users identify Plone withZope and don't recognize that Plone is a tiny CMS layer on top of Zope and
several other big software components.Yes. because it is a more mature and constructivesupport environment which actually helps promote the product.Speak with some Plone core developers. Some of them are also bored by
ongoing laziness of a minority of ppl to use existing resources or toresolve very easy issues on their own. That's why a bunch of Zope and Plonedevelopers are no longer available for giving help on -users lists.
-aj___Zope maillist-Zope@zope.orghttp://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 )-- michael
___
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] Zope Alternative

2006-11-13 Thread michael nt milne
Great. Thanks. On 11/13/06, Andreas Jung [EMAIL PROTECTED] wrote:
--On 13. November 2006 17:16:14 + michael nt milne[EMAIL PROTECTED] wrote: You posted again without significant content.
 And please: don't start a new thread for every reply. Learn to use your mail application properly. So did you. I thought you had filtered me out anyway? Please put the rule back in place...:-)
 I'm using Gmail and simply replying to the topic and the Zope list. If a separate thread is being started it's nothing to do with me.Sometimes we need some entertainment. You're back on the blacklist :-)
-aj-- michael
___
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 )


[Zope] Re: View classes based on Page Templates in Zope2

2006-11-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter Bengtsson wrote:
 
 Jens Vagelpohl wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 On 12 Nov 2006, at 13:12, Peter Bengtsson wrote:
 What options do we have for this in Zope2?
 If Five is the answer, what options do we have without Five?
 Five is the best answer. Why would you not want to use it?

 I stated my question badly. I meant, are there any implements OTHER than 
 Five. Just like without Plone there's CPS for example.
 Perhaps a one dedicated solution just for this particular use case.

This *is* the sweet spot for Five.  It ships in the Zope core for just
this purpose:  to make Zope3 technologies available from within Zope2.

Why wouldn't you use Five?


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFWKvF+gerLs4ltQ4RAj5WAJ4vFrWKog/E6DIkv1xYOOgjYTvtrgCeLBcJ
uoX6/ytXw+32zpJsBUfrtTI=
=mLFk
-END PGP SIGNATURE-

___
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] Can't Track Simple Bug

2006-11-13 Thread Nancy Donnelly
- Original Message From: Chris Withers [EMAIL PROTECTED]To: Nancy Donnelly [EMAIL PROTECTED] From what Tres has said, you should build yourself a new Zope instance  with mkzopeinstance.py and then install any products you need int othe  new instance, then finalyl move the Data.fs into it.  You config and control files are old beyond help...Sounds like, but I'll work on it later. It works for the moment ;)Thanks,Nancy___
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 )


[Zope] Mail Boxer on Qmail, Anyone?

2006-11-13 Thread Nancy Donnelly
Hi;I sent this over the weekend but I think it got overlooked. I'm
running into trouble getting Mail Boxer to play nicely with qMail. I've
installed and tested Maildrop Host. It works ok, so that potential bug
is eliminated. I was confused as to where to put smtp2zope.py, so I put
it here: /usr/bin/smtp2zope.py and symlinked it here: /usr/local/sbin/smtp2zope.py /var/qmail/bin/smtp2zope.pyjust to be safe ;)One of the how-to's I read said I should create the following file: /var/qmail/aliases/.qmail-foowhere "foo" is the name of my list, and enter the following line by itself: foo: "|smtp2zope.py http://127.0.0.1:8080/foo/mailinglist/manage_mailboxer
 2"where the second "foo/mailinglist" is my path to the Mail Boxer instance.and finally I send a message to [EMAIL PROTECTED] but I didn't get anything back.Did I get subscribed? How do I know? I don't see any entry in the "maillist" in the properties tab.Also, one of the how-to's said I should set up a forwarding email address. That's not necessary, is it?TIA,Nancy___
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 )


[Zope] Job Opening

2006-11-13 Thread David Johnson








Im apologize in advance if this is not the best place
to post, but finding Zope engineers is difficult. 



Were a small profitable non venture backed fast
growing company that provides technology for Colleges and Universities. We are
looking for a full time zope engineer to help us support our customers and make
their lives better. The job will include responding to customer calls and
finding ways to use Zope to improve the customer support and customer relationship
experience. 



The company is JSA Technologies, and our primary products
are web based financial transaction management products. We use a variety of
technologies and avoid Java. We are focusing on growth in the Zope and Zope 3
areas. The company is the market leader in the technologies it provides. 



Warm regards



--

David Johnson

[EMAIL PROTECTED]

201 Main Street
  Suite 1320

Fort Worth, TX 76102

(877) 572-8324 x2200








___
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] Job Opening

2006-11-13 Thread Jonathan



You may have better luck here:

http://zope.freerecruiting.com/



Jonathan

  - Original Message - 
  From: 
  David 
  Johnson 
  To: zope@zope.org 
  Sent: Monday, November 13, 2006 2:37 
  PM
  Subject: [Zope] Job Opening
  
  
  I’m apologize in advance if this 
  is not the best place to post, but finding Zope engineers is difficult. 
  
  
  We’re a small profitable non 
  venture backed fast growing company that provides technology for Colleges and 
  Universities. We are looking for a full time zope engineer to help us 
  support our customers and make their lives better. The job will include 
  responding to customer calls and finding ways to use Zope to improve the 
  customer support and customer relationship experience. 
  
  
  The company is JSA Technologies, 
  and our primary products are web based financial transaction management 
  products. We use a variety of technologies and avoid Java. 
  We are focusing on growth in the Zope and Zope 3 areas. The company is 
  the market leader in the technologies it provides. 
  
  
  Warm 
  regards
  
  --
  David 
  Johnson
  [EMAIL PROTECTED]
  201 Main 
  Street Suite 1320
  Fort 
  Worth, TX 76102
  (877) 572-8324 
  x2200
  
  
  

  ___Zope maillist 
  - 
  Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope** 
  No cross posts or HTML encoding! **(Related lists - 
  http://mail.zope.org/mailman/listinfo/zope-announcehttp://mail.zope.org/mailman/listinfo/zope-dev 
  )
___
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] Zope Alternative

2006-11-13 Thread Ricardo L. A. Banffy

The problem is the original poster (Hafeliel) did not make a credible
effort to learn Zope in his years of experience with the tool (as
taking more than two years not to figure out bobobase_modification_time
makes painfully clear) before complaining about it with a public site
full of inaccurate information.

It's OK to criticize, but if you do show up with a I can save your
project attitude, you are expected to have a deep knowledge of what the
real problems are and to be able to offer some useful suggestions.

Otherwise, you are asking for a harsh reception.

michael nt milne wrote:

yeah, I can see how this kind of attitude draws lots and lots of new
followers to zope.

Quite right. It's an ignorant attitude and one that itself deserves the 
label that it is prescribing. It's been prevalent for a long time on 
this list. The whole attitude here is one of sneering and schoolboy name 
calling.


___
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] Re: Mail Boxer On Qmail, Anyone?

2006-11-13 Thread Reinoud van Leeuwen
On Mon, Nov 13, 2006 at 12:55:31PM -0800, Nancy Donnelly wrote:
 From: Chris Withers [EMAIL PROTECTED]
 
 Subject: Re: Mail Boxer on Qmail110
 
 Newsgroups: gmane.comp.web.zope.general111
 
 Date: 2006-11-13 15:33:47 GMT
  (5 hours and 18 minutes ago)
 
 
  My recommendation would be to use a real mailing list manager like 
  mailman instead...
 
 Really? That bad? I mean, if you're sure, I'll follow your advice. Mailman is 
 certainly easier to install and well documented. But...and it's a big but (no 
 pun intended)...the beauty of Mail Boxer is that it all gets included in the 
 Data.fs, so it can be searched.
 I await your comment.
 Thanks,
 Nancy

There is also the possibility of PlonePostoffce. That means that your 
mailinglist is managed by something like mailman, and your Plone site is 
one of the subscribers. (takes a little procmail to post the incoming mail 
to a script). In that way you can easily create a mailinglist archive on a 
Plone site.
(I have not tried it on a zope site outside of plone)

-- 
__
Nothing is as subjective as reality
Reinoud van Leeuwen[EMAIL PROTECTED]
http://www.xs4all.nl/~reinoud
__
___
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 )


[Zope] adding a python library

2006-11-13 Thread David Bear
I would like to add Mark Pilgrims feedparser to the available modules
that I can use in zope. I have installed the feedparser into the
python instance that zope uses. However, when I attempt to import it,
I get an error that I'm not authorized. How might I make the
feedparser available to zope?

-- 
David Bear
phone:  602-496-0424
fax:602-496-0955
College of Public Programs/ASU
University Center Rm 622
411 N Central
Phoenix, AZ 85007-0685
 Beware the IP portfolio, everyone will be suspect of trespassing
___
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 )


[Zope] Re: adding a python library

2006-11-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Bear wrote:
 I would like to add Mark Pilgrims feedparser to the available modules
 that I can use in zope. I have installed the feedparser into the
 python instance that zope uses. However, when I attempt to import it,
 I get an error that I'm not authorized. How might I make the
 feedparser available to zope?

Check the examples in
$SOFTWARE_HOME/lib/python/Products/PythonScripts/module_access_examples.py


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFWRyb+gerLs4ltQ4RAkJYAKCOkGX3CKz+aNTvhtRTHdk8FAzPlgCgkk29
xt7g8f92Lo6zOjLG4w/yYH4=
=71Qs
-END PGP SIGNATURE-

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


[Zope] ImportError: No module named cPersistence

2006-11-13 Thread Glenn Gillis
I'm stuck on this error attempting to start Zope 2.9.5 with Python 2.4.3
on a FreeBSD 4.11-RELEASE-p22 box:

ImportError: No module named cPersistence

I've Googled the error message and have found several instances of
others receiving this error but no good candidates for resolving the
problem.

Python 2.4.3 seems to be the recommended version for Zope 2.9.5
according to the release announcement
(http://zope.org/Products/Zope/2.9.5/Zope-2_9_5-released) and I swear
I've installed other 2.9.5 Zopes on this box.

The full error message is quoted below, and my etc/zope.conf file is
attached. Anyone have any suggestions?

Thanks,

Glenn Gillis
ELAW U.S. Information Technology Manager
Environmental Law Alliance Worldwide
http://www.elaw.org

~~
[EMAIL PROTECTED]:www-dev.elaw.org]$ sudo ./bin/zopectl start Traceback (most
recent call last):
File
/var/newzope/software-home/Zope-2.9.5-final/lib/python/Zope2/Startup/zopectl.py,
line 322, in ?
main()
File
/var/newzope/software-home/Zope-2.9.5-final/lib/python/Zope2/Startup/zopectl.py,
line 280, in main options.realize(args)
File
/var/newzope/software-home/Zope-2.9.5-final/lib/python/Zope2/Startup/zopectl.py,
line 91, in realize ZDOptions.realize(self, *args, **kw)
File
/var/newzope/software-home/zope295/lib/python/zdaemon/zdoptions.py,
line 273, in realize self.load_schema()
File
/var/newzope/software-home/zope295/lib/python/zdaemon/zdoptions.py,
line 321, in load_schema self.schema = ZConfig.loadSchema(self.schemafile)
File /var/newzope/software-home/zope295/lib/python/ZConfig/loader.py,
line 31, in loadSchema return SchemaLoader().loadURL(url)
File /var/newzope/software-home/zope295/lib/python/ZConfig/loader.py,
line 65, in loadURL return self.loadResource(r)
File /var/newzope/software-home/zope295/lib/python/ZConfig/loader.py,
line 159, in loadResource schema =
ZConfig.schema.parseResource(resource, self)
File /var/newzope/software-home/zope295/lib/python/ZConfig/schema.py,
line 27, in parseResource xml.sax.parse(resource.file, parser)
File /var/newzope/software-home/python243/Lib/xml/sax/__init__.py,
line 33, in parse parser.parse(source)
File /var/newzope/software-home/python243/Lib/xml/sax/expatreader.py,
line 107, in parse xmlreader.IncrementalParser.parse(self, source)
File /var/newzope/software-home/python243/Lib/xml/sax/xmlreader.py,
line 123, in parse self.feed(buffer)
File /var/newzope/software-home/python243/Lib/xml/sax/expatreader.py,
line 207, in feed self._parser.Parse(data, isFinal)
File /var/newzope/software-home/python243/Lib/xml/sax/expatreader.py,
line 300, in start_element self._cont_handler.startElement(name,
AttributesImpl(attrs))
File /var/newzope/software-home/zope295/lib/python/ZConfig/schema.py,
line 99, in startElement getattr(self, start_ + name)(attrs)
File /var/newzope/software-home/zope295/lib/python/ZConfig/schema.py,
line 475, in start_schema keytype, valuetype, datatype =
self.get_sect_typeinfo(attrs)
File /var/newzope/software-home/zope295/lib/python/ZConfig/schema.py,
line 201, in get_sect_typeinfo datatype = self.get_datatype(attrs,
datatype, null, base)
File /var/newzope/software-home/zope295/lib/python/ZConfig/schema.py,
line 194, in get_datatype return self._registry.get(dtname)
File
/var/newzope/software-home/zope295/lib/python/ZConfig/datatypes.py,
line 398, in get t = self.search(name)
File
/var/newzope/software-home/zope295/lib/python/ZConfig/datatypes.py,
line 423, in search package = __import__(n, g, g, component)
File
/var/newzope/software-home/zope295/lib/python/Zope2/Startup/datatypes.py,
line 20, in ?
from ZODB.config import ZODBDatabase File
/var/newzope/software-home/zope295/lib/python/ZODB/__init__.py, line
20, in ?
from persistent import TimeStamp File
/var/newzope/software-home/zope295/lib/python/persistent/__init__.py,
line 19, in ?
from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: No module named cPersistence
###
# Welcome to Zope 2.
###
#
# This is the Zope configuration file.  The Zope configuration file
# shows what the default configuration directives are, and show
# examples for each directive.  To declare a directive, make sure that
# you add it to a line that does not begin with '#'.  Note that comments
# are only allowed at the beginning of a line: you may not add comments
# after directive text on the same line.
#
# Note for Developers
# ===
#
# This file is *not* auto-generated. If you create a new directive you
# very likely want to include an example of how to use the new
# directive in this file.
#
# You shouldn't modify 'zope.conf.in' to change
# configuration. Instead, you should make a copy into 'zope.conf' and
# modify that to avoid checking in changes to this file by mistake.

# ZConfig defines used for later 

Re: [Zope] ImportError: No module named cPersistence

2006-11-13 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 14 Nov 2006, at 02:34, Glenn Gillis wrote:

I'm stuck on this error attempting to start Zope 2.9.5 with Python  
2.4.3

on a FreeBSD 4.11-RELEASE-p22 box:

ImportError: No module named cPersistence


I'm afraid this has nothing to do with the zope.conf file you quoted  
so judiciously. Did you actually *compile* Zope..?


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFWSH7RAx5nvEhZLIRAjSCAKCCZ4yW4lnVsBu1jSl8ksbqnrMdJgCdEigS
Kq/zUSv0JVGt+b2+tawjQgo=
=tutM
-END PGP SIGNATURE-
___
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 )