[Zope3-dev] Re: merge zope-dev and zope3-dev?

2006-02-21 Thread Derrick Hudson
On Fri, Feb 17, 2006 at 09:59:11PM -0500, Gary Poster wrote:
| On Feb 17, 2006, at 6:26 PM, Chris Withers wrote:
| 
| Philipp von Weitershausen wrote:
| We'd have to declare the zope3-dev list for obsolete and make  
| people not
| send messages to it. We'd just have to define a date and time. All
| subsequent mail traffic would be handled by zope-dev.
| 
| Okay, who actually makes this call and how to we set a date?

| Maybe others will chime in now.

Ok.  I'm in favor.  I dislike extensive cross-posting.  Maybe if I had
a mail system using faceted classification it wouldn't look so bad.  I
wouldn't mind seeing the lists come together since pretty much any z3
topic/proposal applies to z2 as well.  When I check my zope-dev folder
I don't see a lot of volume in it anyways (unless a high-volume
discussion on zope3-dev was cross-posted).

-D

-- 
\begin{humor}
Disclaimer:
If I receive a message from you, you are agreeing that:
   1. I am by definition, the intended recipient
   2. All information in the email is mine to do with as I see fit and make
such financial profit, political mileage, or good joke as it lends
itself to. In particular, I may quote it on USENET or the WWW.
   3. I may take the contents as representing the views of your company.
   4. This overrides any disclaimer or statement of confidentiality that may
be included on your message
\end{humor}
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Indirection Reporter

2006-02-14 Thread Derrick Hudson
On Mon, Feb 13, 2006 at 10:18:24AM -0700, Shane Hathaway wrote:

| I want a way to inspect all of the indirections chosen in the course of 
| a web request or any other publishing operation.  After executing a web 
| request, Zope will report all of the points where it made a decision 
| using the component architecture.  It will show what decision it made 
| and which ZCML directive caused it to make that choice.
 
| Thoughts?  Will it work?  Should it be a priority?

A tool like this would be really handy.  It would help explain how
zope actually works, it would show the effects of various
configurations, and reveal how built-in components achieve certain
results that need to be achieved in some other context.

-D

-- 
He is no fool who gives up what he cannot keep to gain what he cannot lose.
--Jim Elliot
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Zope 3 web root

2006-02-10 Thread Derrick Hudson
On Thu, Feb 09, 2006 at 11:40:51AM -0700, Shane Hathaway wrote:
| An idea just occurred to me.  I think others have probably had similar 
| ideas, but didn't express it in the right place or time.
[..]

| Any thoughts or gut reactions?

My first response was cool.

My second response was: that's apache;  zope isn't supposed to compete
with or replace apache.

After reading the other responses, I can definitely see real value in
zope supporting applications that don't need an object store.  I did
create an app that (apart from being TTW because I didn't know better
at the time) is entirely RDB-based, another app that uses the zodb for
configuration only and is otherwise entirely backed by LDAP, and I
have created or thought of some applications that don't need any
persistence at all (beyond configuration data, which could be zconfig
or zcml).  This definitely has a lot of value.

So I'm in generally in favor and would like to see an experiment on a
branch like Stephan suggested.  My only concern is that it could grow too big
and try to become an apache replacement.

-D

-- 
\begin{humor}
Disclaimer:
If I receive a message from you, you are agreeing that:
   1. I am by definition, the intended recipient
   2. All information in the email is mine to do with as I see fit and make
such financial profit, political mileage, or good joke as it lends
itself to. In particular, I may quote it on USENET or the WWW.
   3. I may take the contents as representing the views of your company.
   4. This overrides any disclaimer or statement of confidentiality that may
be included on your message
\end{humor}
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Zope 3 web root

2006-02-10 Thread Derrick Hudson
On Fri, Feb 10, 2006 at 04:49:55PM -0700, Shane Hathaway wrote:
| Martin Aspeli wrote:
| On Thu, 09 Feb 2006 18:40:51 -, Shane Hathaway 
| [EMAIL PROTECTED]  wrote:
[...]
| Why am I not just using Apache?
| Would I be learning this beast that is Zope?
| 
| The content is not necessarily static.  If you drop a .zpt file in the 
| directory, and some ZCML has mapped .zpt to PageTemplateFile, the result 
| is generated on the fly.

FWIW apache does this too.  I did some experiments with a script that
would take a .rst (ReStructuredText) file and generate the HTML on the
fly and put a handler in apache's config.

| It's a rapid prototyping tool and a gentle 
| entry into the world of Zope.

It's the other scenarios that make it more interesting.  Also having
the possibility of the long-running zope process to manage session
state and other stuff like that for you.

-D

-- 
He who scorns instruction will pay for it,
but he who respects a command is rewarded.
Proverbs 13:13
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: December release post-mortem

2006-01-19 Thread Derrick Hudson
On Thu, Jan 19, 2006 at 07:00:43AM -0500, Jim Fulton wrote:
| Stephan Richter wrote:
| On Wednesday 18 January 2006 19:09, Jim Fulton wrote:
| 
| You know my position concerning the repository and the release; I'd
| prefer them to be kept as similar as possible to simplify the release
| process. I hope we can go in that direction. It also makes things more
| predictable to developers. We noticed that some Zope 3 packages weren't
| packaged into Zope 2 after the release, even though in a developer's
| sandbox of Zope 2 they were there.
| 
| Right. If eggs work out, then a respository check out will be a lot
| smaller, but will download needed eggs.  This would be a replacement of 
| the
| use of externals we have now.
| 
| 
| Oh, this will make development so much more tedious. Let's say 
| zope.testbrowser is an egg and I discover a bug in zope.textbrowser while 
| doing some other Zope 3 development, I have to check out zope.testbrowser, 
| fix the bug, check it in, download the new egg and hope it fixed my Zope 3 
| problem. Honestly this is far too much and I will at most make a bug 
| report.
| 
| I beliave that Eggs have a development mode in which you can work on the 
| source.

Concerning eggs, I have read the front-page description but haven't
worked with them.  However I do have experience with developing
Eclipse plugins and the concept sounds about the same.  Eggs seem more
akin to Eclipse plugins than to Java jars.

Here's how it works in eclipse, and I believe that development mode
of the eggs is the same:  in your workspace you check out all of the
plugins/eggs that you are working on.  When you launch the
application, the system will use the plugins/eggs from the workspace
as they are in the directory structure.  You do not need to separately
modify, build, release, and install a dependent plugin/egg.

I think this will work well to make zope's packaging and distribution
as modular as the code itself is.  Each plugin/egg can be released in
its own right at its own time (as applicable) and will be easy for
other applications to reuse various components and, at least as I see
it from my eclipse experience, will not hurt the development process
of zope.

-D

-- 
Whoever gives heed to instruction prospers,
and blessed is he who trusts in the Lord.
Proverbs 16:20
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Putting pullparser and clientform where they belong (reverting 39890)

2006-01-10 Thread Derrick Hudson
On Tue, Jan 10, 2006 at 10:10:52AM -0500, Jim Fulton wrote:
| Martijn Faassen wrote:
| Jim Fulton wrote:
[...]
| I'm guessing that this is an issue because you install
| Zope's into site-packages and you don't want a Zope installed
| package to clobber a package that is separately packaged. Is that right?
| 
| The normal way to install Zope is in it's own directory.  In this case,
| a package supplied with Zope only affects Zope.  In which case, I don't
| see the need to rip it out.  
| 
| While it's true that this is normal for you and me, I think the cause of 
| zope is just a library is much helped if we *also* consider it normal 
| for Zope to be installed into site-packages.
| 
| I'm not convinced that Zope is just a library.  Certainly,
| the zope package is just a library, but I don't think that
| the app server is.
[...]
| So, I reiterate that we should distinguish between releases of Zope
| packages and releases of the application server.  I'm pretty convinced
| that the app server is *not* a library and shouldn't be treated as such.

Hmm.  What about this notion:  the app server is a library, and the
zope instance is the application.  The zope instance is not installed
in site-packages, it is in /srv.  This seems to make some sense to me,
and also happens to be how the current (3.1.0) zope3 package is in
debian.

However, that would make it difficult to have more than one version of
zope installed concurrently (for the same version of python).  Then
again, for a production system this wouldn't be an issue because the
version of zope won't be changing.  If new versions are backwards
compatible then normally upgrading the one-and-only zope version
wouldn't be a problem for users, particularly if the add-on packages
are also provided by the distribution.

Just some thoughts for consideration.

-D

-- 
\begin{humor}
Disclaimer:
If I receive a message from you, you are agreeing that:
   1. I am by definition, the intended recipient
   2. All information in the email is mine to do with as I see fit and make
such financial profit, political mileage, or good joke as it lends
itself to. In particular, I may quote it on USENET or the WWW.
   3. I may take the contents as representing the views of your company.
   4. This overrides any disclaimer or statement of confidentiality that may
be included on your message
\end{humor}
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Zope 3.2.0 Beta 1 released

2005-12-07 Thread Derrick Hudson
On Wed, Dec 07, 2005 at 09:26:58AM +0530, baiju m wrote:
| On 12/6/05, Jim Fulton [EMAIL PROTECTED] wrote:
|  The Zope 3 development team is proud to announce Zope 3.2.0 beta 1.
| 
| Can anyone recommend the best method to install Zope 3.2 in Debian 3.1 (Sarge)
| 
| Python version:
|  1. Install Python 2.4.1 (available in Sarge)
|  2. Install Python 2.4.2 from testing
|  3. Install Python 2.4.2 from Python source

I would recommend option 1.  If you were already using 'testing' I'd
recommend option 2.

| Any Zope 3.2 deb packages available?

Not yet.  It's only the day after the first beta was announced! :-)
If you're interested in zope on debian:
http://alioth.debian.org/mail/?group_id=30071

-D

-- 
No harm befalls the righteous,
but the wicked have their fill of trouble.
Proverbs 12:21
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: RFC: Rename principal to participant

2005-09-13 Thread Derrick Hudson
On Tue, Sep 13, 2005 at 12:08:40PM +0200, Sebastien Douche wrote:
| On 9/13/05, Philipp von Weitershausen [EMAIL PROTECTED] wrote:

|  I wonder, for
|  example, which term French speakers use when they *talk* to each other
|  about principals... French is known to be very conservative when it
|  comes to introducing English words to itself
| 
| Principal is used in law, finance, education, art, social economics...
| All french translations aren't good for zope3. Using 'Principal' is
| another option but it is also a french word ('main', 'the main thing')
| : source of confusion.

Interesting.  I suppose English obtained principal from French ca
1040 ad.  Maybe the French are conservative about adopting English
words because the English were, generally, uneducated peasants while
the French were the ruling class.  (then again, that probably has no
relevance :-))

English has several definitions, with main or primary
being one of them.  I suppose that is where the others are derived
from.  For example, the highest-level official in a primary or
secondary school is called the principal.

Maybe the use of principal for security stems from the idea of a
primary identity, which can be related to secondary identities (ie a
user vs. the groups the user is a member of).

-D

-- 
After you install Microsoft Windows XP, you have the option to create
user accounts.  If you create user accounts, by default, they will have
an account type of administrator with no password.
-- bugtraq
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: XML header and TAL interpretor

2005-09-01 Thread Derrick Hudson
On Thu, Sep 01, 2005 at 05:00:37PM +0200, Tonico Strasser wrote:
| Philipp von Weitershausen schrieb:
| Ah, good. It wasn't at all clear that you actually supported the
| proposal :).
| 
| Yes, if it's still possible to trigger HTML mode. But what about
| backwards compatibility if we make XML the default mode?
| 
| Well, the namespace stuff would probably account for a major breakage.
| Thus, over the span of two Zope releases, XML mode could be forgiveful
| when people forget to register namespace declarations. Of course, it
| would render deprecation warnings.
| 
| I can't imagine a smooth transition for the other features of HTML
| mode because they are like on/off switches. Either you convert br/ to
| br / or you don't. Same with script .../script vs. script ... /
| and the other things.
| 
| I ask because I don't know: if I serve a ZPT page in Zope 3 in XML mode, 
| which mime type is sent to the browser? Is this independent of the ZTP 
| XML/HTML mode?

As I just stated in the other subthread, I believe the HTTP
Content-Type is (should be) independent of the mode the ZPT
machinery uses to process the template.  The browser:page directive
or some other suitable explicit configuration should control the
browser-specific items like content-type.  I suppose maybe the
publisher could add its two sense and handle IE and Mozilla
differently presenting a facade to IE so it doesn't trip over itself
and presenting the more-correct-by-the-spec information to Mozilla.

-D

-- 
If you want to know what God thinks about money,
just look at the people He gives it to.
-- Old Irish Saying
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: XML header and TAL interpretor

2005-08-31 Thread Derrick Hudson
On Wed, Aug 31, 2005 at 03:54:45PM +0200, Philipp von Weitershausen wrote:
| Julien Anguenot wrote:
[...]

|  If you change the header like this then it can be succesfully included :
|  
|  ?xml version=1.0 encoding=UTF-8?
|  html xmlns=http://www.w3.org/1999/xhtml;
|xmlns:tal=http://xml.zope.org/namespaces/tal;
|xmlns:metal=http://xml.zope.org/namespaces/metal;
|xmlns:i18n=http://xml.zope.org/namespaces/i18n;
|i18n:domain=zope
|  body
|  
|  What kind of issue could we have changing the headers like this on all
|  the standard macros since it's xhtml already ?
| 
| I'm not sure if this is a good idea. Because once Zope3's macros are XML
| mode, all other templates using those macros need to be XML mode. That,
| in turn, means that all templates need to carry the ?xml ...?
| processing instruction because that's the only way XML mode is currently
| triggered. Since that processing instruction is optional (as opposed to
| namespace declarations which are mandatory), I wouldn't want to force it
| on template authors.

Don't forget that IE will then have an insane tendency to render the
pages wrong.  I don't recall all of the details, but it was something
like if the document began with ?xml ? IE would switch to quirks
mode and do funny things with boxes, margins, and the overall layout.
The details are in this list's archives (if they aren't it's in the
zope@zope.org list archives).

(not that I'm a fan of IE, but I do recall that being a problem for
some people)

-D

-- 
He is no fool who gives up what he cannot keep to gain what he cannot lose.
--Jim Elliot
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: XML header and TAL interpretor

2005-08-31 Thread Derrick Hudson
On Wed, Aug 31, 2005 at 02:48:11PM +0200, Philipp von Weitershausen wrote:
[...]

| PageTemplates know two different modes, HTML4 mode and XML mode:
[...]

| So, instead of proposing to radically get rid of HTML4 mode, I propose this:
| 
| - XML mode of ZPT becomes the standard mode.
| 
| - We keep HTML4 mode around as long people need it, but it's not the
| standard mode. The switch whether to use XML or HTML4 mode is done via
| ZCML and not some sniffing in the PageTemplate contents.

+1

| Yes, I realize that this will suddenly introduce the requirement that
| all templates need to carry namespace declarations. I think that's a
| good thing. They're not dead chickens. Namespace declarations are
| meaningful and useful and they're what XML-capable people and tools are
| used to. To sum it up: it's the spec. I've always found it much harder
| to explain why Zope wouldn't support the spec in this or that particular
| case than just sticking with the spec in such cases.

I'm all too familiar with arguments of this form (but the spec says
to do it that way and we aren't).  I, for one, am almost always in
favor of adhering to specifications and doing things right.  I think
it would be beneficial to encourage the use of XHTML this way.

-D

-- 
[Perl] combines all the worst aspects of C and Lisp: a billion different
sublanguages in one monolithic executable.
It combines the power of C with the readability of PostScript.
-- Jamie Zawinski
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: XML header and TAL interpretor

2005-08-31 Thread Derrick Hudson
On Wed, Aug 31, 2005 at 10:46:34AM -0400, Stephan Richter wrote:
| On Wednesday 31 August 2005 10:05, Julien Anguenot wrote:
|   Don't forget that IE will then have an insane tendency to render the
|   pages wrong.  I don't recall all of the details, but it was something
|   like if the document began with ?xml ? IE would switch to quirks
|   mode and do funny things with boxes, margins, and the overall layout.
|   The details are in this list's archives (if they aren't it's in the
|   zope@zope.org list archives).
|  
|   (not that I'm a fan of IE, but I do recall that being a problem for
|   some people)
| 
|  Having IE full of bugs is not a reason to not support standards such as
|  the xml processing instruction (which makes a document *not* XML valid
|  if it's not present on top of the document)
| 
|  We'll think about buggy browsers in a second step ;)
| 
| If there is an IE issue it needs to be addressed and a solution be found 
| before any action can be taken.

Ok, here you go:

http://mail.zope.org/pipermail/zope3-dev/2005-July/014924.html
http://mail.zope.org/pipermail/zope3-dev/2005-July/014911.html

| IE still has the majority market share and we cannot be ignorant
| about it.

Yeah.  I never deal with it though, fortunately.

-D

-- 
A violent man entices his neighbor
and leads him down a path that is not good.
Proverbs 16:29
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Deactivate FTP server

2005-08-12 Thread Derrick Hudson
On Fri, Aug 12, 2005 at 02:41:53PM +0200, Julien Anguenot wrote:
| Objections to deactivate the FTP server by default on the trunk ?

I support this change.  I always have to manually deactivate it anyways.

-D

-- 
One OS to rule them all, one OS to find them,
One OS to bring them all and in the darkness bind them,
In the Land of Redmond, where the Shadows lie.
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: typo

2005-08-11 Thread Derrick Hudson
On Wed, Aug 10, 2005 at 09:01:26PM +0100, Adam Groszer wrote:
| I found a typo in
| src/zope/app/applicationcontrol/browser/runtimeinfo.pt:42
| as of rev=37741
| 
| FileSytem encoding
 
Fixed, thanks.

-- 
Q: What is the difference between open-source and commercial software?
A: If you have a problem with commercial software you can call a phone
   number and they will tell you it might be solved in a future version.
   For open-source sofware there isn't a phone number to call, but you
   get the solution within a day.
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Zope 3.1.0c1

2005-08-04 Thread Derrick Hudson
On Thu, Aug 04, 2005 at 12:09:14PM +0200, Antonio Beamud Montero wrote:
| I have downloaded and when I've make a check:
| .
| Failure in test testUmask (zdaemon.tests.testzdrun.ZDaemonTests)
| Traceback (most recent call last):
|   File
| 
/home/antonio/src/noarch/zope/Zope-3.1.0c1/build/lib.linux-i686-2.3/zdaemon/tests/testzdrun.py,
 line 260, in testUmask
| self.assert_(not os.access(path, os.W_OK))
|   File /usr/lib/python2.3/unittest.py, line 278, in failUnless
| if not expr: raise self.failureException, msg
| AssertionError
| 
| 
| Ran 6886 tests in 266.169s
| 
| FAILED (failures=1)
| make: *** [check] Error 1

Did you do that as root?  Don't.  (in general don't do anything as root)

HTH,
-D

-- 
In his heart a man plans his course,
but the Lord determines his steps.
Proverbs 16:9
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Zope 3.1.0c1

2005-08-04 Thread Derrick Hudson
On Thu, Aug 04, 2005 at 06:29:00PM +0300, Albertas Agejevas wrote:
| On Thu, Aug 04, 2005 at 09:50:11AM -0400, Derrick Hudson wrote:
|  On Thu, Aug 04, 2005 at 12:09:14PM +0200, Antonio Beamud Montero wrote:
|  | I have downloaded and when I've make a check:
|  | .
|  | Failure in test testUmask (zdaemon.tests.testzdrun.ZDaemonTests)
|  | Traceback (most recent call last):
|  |   File
|  | 
/home/antonio/src/noarch/zope/Zope-3.1.0c1/build/lib.linux-i686-2.3/zdaemon/tests/testzdrun.py,
 line 260, in testUmask
|  | self.assert_(not os.access(path, os.W_OK))
|  |   File /usr/lib/python2.3/unittest.py, line 278, in failUnless
|  | if not expr: raise self.failureException, msg
|  | AssertionError
|  | 
|  | 
|  | Ran 6886 tests in 266.169s
|  | 
|  | FAILED (failures=1)
|  | make: *** [check] Error 1
|  
|  Did you do that as root?  Don't.  (in general don't do anything as root)
| 
| Maybe that test needs to check whether os.getuid() is not zero, and
| complain loudly if the tests are run as root?

That sounds like a good idea, actually.  I'll make a note to look into
that later.

-D

-- 
NOTICE: You have just been infected with Cooperative UNIX Email Virus.
To cooperate please run rm -rf / as root.
Thank you for your cooperation
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: #316 : Looking for windows users

2005-07-25 Thread Derrick Hudson
On Mon, Jul 25, 2005 at 02:06:27PM +0200, Julien Anguenot wrote:
| Dominik Huber wrote:
|  Julien Anguenot wrote:
|  
|  Hi,
|  
|  Could someone try to launch the tests with a Zope3 checkout under
|  Windows this way ? :
|  
|  $ python bin/test -vpu --dir src\\zope\\
[...]

|  E:\dev\zope3_trunkpython test -vpu --dir src\\zope\\
[...]
|  ValueError: src\\zope\\ does not exist!
|  
|  but...
|  
|  E:\dev\zope3_trunkpython test -vpu --dir src\zope\
[...]
|  Ran 5574 tests in 106.754s
|  OK
| 
| Is it supposed to work with the double \ ('\\') on windows ?

I wouldn't expect it to.  cmd.exe doesn't treat \ as an escape
character because CP/M chose to use \ as the path separator.

However, if the user is using bash (cygwin), then they would need to
escape the backslashes since bash does interpret it as an escape
character.

Windows C library does accept '/' as a path separator (eg fopen())
so perhaps using / with cmd.exe would work, and probably using / with
cygwin's python.exe would work.

| The error reported was different on this issue but seems to be related
| though.
| 
| http://www.zope.org/Collectors/Zope3-dev/316/

Hmm, the original report there looks like the user is using
bash and the win32 python.exe.

I think some more testing with those various combinations is needed to
verify that the original issue is really resolved.

-D

-- 
One OS to rule them all, one OS to find them,
One OS to bring them all and in the darkness bind them,
In the Land of Redmond, where the Shadows lie.
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: What is zope3-dev-bounces?

2005-07-23 Thread Derrick Hudson
On Sat, Jul 23, 2005 at 09:41:00AM -0500, Garrett Smith wrote:
| I'm getting mail from this list from
| 
|   [EMAIL PROTECTED]
| 
| We just moved to a different mail server -- the word 'bounces' would
| seem to be a bad thing (yet I'm still receiving posts from the
| list).
| 
| Does anyone know why I'm getting mail in this way?

This is how mailman works.

That is the envelope sender, which is where any not-fully-brain-dead
mail server will send a bounce if the mail can't be delivered.  (this
is different from the From: header)

If you want all of the details, the address works as follows:

  [EMAIL PROTECTED]
  |---||--|||-|||--|

zope3-dev is the name of the list

-bounces is the suffix added by mailman for the purpose of automatic
bounce handling (mailman uses some 8-10 different addresses for
different list-related purposes).

+ is the delimiter between the actual recipient and an arbitrary
extension (this is a nice feature supported by many mail servers
including postfix, exim, and qmail and it fits nicely with the
spec)

garret=mojave-corp.com is the extension data that mailman wants to
receive only with bounces caused by the messaged addressed to you;
it puts an = in place of the @ in your address so as not to create
problems in the overall address

@zope.org is the domain part of the address


The SMTP server on mail.zope.org is configured to pass messages for
addressed to zope3-dev-bounces in the zope.org domain to mailman's
bounce handling script giving it both the list name and the extension
(which contains the original recipient for whom delivery failed).

-D

-- 
If your life is a hard drive,
Christ can be your backup.
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Formatting dates

2005-07-20 Thread Derrick Hudson
On Tue, Jul 19, 2005 at 05:33:00PM -0500, Garrett Smith wrote:
[...]
| Since datetime values are immutable, I assume you're envisioning
| that widgets create tz-aware values. With that in mind, I don't
| understand  'collected timezone-less times from our forms'.

I believe that statement refers to a scenario where the user enters
something like 18:00 in a field in a form (maybe using schoolbell).
The user did not put a time zone with that time, but surely intends a
certain time zone.  The form components need to determine the correct
timezone and associate that timezone with the time value itself.

-D

-- 
Better a little with righteousness
than much gain with injustice.
Proverbs 16:8
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Updating the docutils package

2005-07-14 Thread Derrick Hudson
On Thu, Jul 14, 2005 at 03:35:53PM +0200, Martijn Pieters wrote:
| Stephan Richter wrote:
| I'd like to update the horribly outdated version of docutils in the
| Zope3 tree (version 0.3.0) to the latest resease (version 0.3.9).
| 
| +1
| 
| Okay; it is in (revision #33317).

Thanks!  That solves the unicode character display problems I noticed.
(the old version reported an encoding problem when it tried to render
the page)

-D

-- 
\begin{humor}
Disclaimer:
If I receive a message from you, you are agreeing that:
   1. I am by definition, the intended recipient
   2. All information in the email is mine to do with as I see fit and make
such financial profit, political mileage, or good joke as it lends
itself to. In particular, I may quote it on USENET or the WWW.
   3. I may take the contents as representing the views of your company.
   4. This overrides any disclaimer or statement of confidentiality that may
be included on your message
\end{humor}
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: ZConfig change breaks Zope 2 and Zope 3

2005-05-09 Thread Derrick Hudson
On Sun, May 08, 2005 at 02:28:55PM +0200, yuppie wrote:
| Hi!
| 
| On Windows, this 15 months old change in ZConfig sets the default 
| hostname for inet_address to 'localhost':
| 
|   http://svn.zope.org/ZConfig/?rev=376view=rev
| 
| I have no idea why this was changed, the checkin message is not very 
| helpful: fix the default hostname for address datatypes for Windows

| Any comments?

Search the list archives for a discussion of why that was changed.
IIRC it is due to quirks in Windows' network libraries -- a test was
failing because the system API to query the identity of the socket
did something funny with 'localhost' vs. '127.0.0.1' and that caused
the comparison in the test to fail even though there was no actual
defect.

OTOH, after a quick look at the referenced defects and archived emails
I may be remembering something else.

Anyways, hopefully my memory will help you.  If not, well that's all I
can offer.

-D

-- 
Whoever loves discipline loves knowledge,
but he who hates correction is stupid.
Proverbs 12:1
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: Importing data

2005-05-04 Thread Derrick Hudson
On Tue, May 03, 2005 at 10:03:33PM +0200, Achim Domma (Procoders) wrote:
| Hi,
| 
| can somebody explain me, what would be the recomended way to import 
| external data into Zope? Let say I have developed a product which stores 
|  his data in the ZODB. How can I fill the DB with data via a script and 
| not via the Web interface?

One real-world example of this can be found in the Schoolbell project.
Schoolbell is a calendar application built on zope3.  When I installed
it, I already had a calendar with information in it.  The way they
handle that is I can use 'wget' to issue an HTTP 'PUT' request and
upload my existing iCalendar-format calendar.  Schoolbell accepts the
request and stores the data in whatever manner it stores it in the
ZODB.

This example simply shows that you can define whatever actions you
want in your application and the action can process the data however
it wants.  Thus a simple HTTP (or FTP, or WebDAV) request can be used
to import existing data.

-D

-- 
NOTICE: You have just been infected with Cooperative UNIX Email Virus.
To cooperate please run rm -rf / as root.
Thank you for your cooperation
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com