[Zope-dev] RFC: Pythonic Zope Instance Manager

2003-09-09 Thread Luis Lavena
Hello everyone,

I'll like to Request For Comments on something I was thinking for the past 
weeks: a pythonic replacement of mkzopeinstance script found on zope 2.7, 
and extend it later to a full GUI client (Win32 for a start).

the URL is :
http://www.mmediasys.com/zope/rfc.html
Please excuse the bad grammar, I'n not a native english speaker/writer, and 
I'm very tired at this time (didn't sleep well for the past days).

There some detractors of the idea (most of them linux evangelist), but the 
idea is grater than just "use the plain command line boy"...

Maybe provide a backend for ISP/ASP companies that provide Zope for their 
customers, so the setup process of instances or zeo clients could be taked 
by a script using ZIntanceManager instead of bash ones.

I'm looking forward the idea is good looking/attractive to some zope 
users/developers. When sending comments put on subject "RFC: 
ZInstanceManager" to avoid my spam filter deletion.

Regards,

Luis Lavena

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail

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


[Zope-dev] Add Plone Site - AttributeError

2003-09-09 Thread Robert Van Overmeiren
Hello,

I've added Plone 1.0.5 to my Zope 2.5.1 setup running on Suse Linux. When I
try to add a Plone site, I get a Zope Error:

Error Type: AttributeError
Error Value: get

I also installed Zope 2.6.1 with CMF and Plone on a Windoz 98 box and I get
the same error when adding a Plone Site.

I have Zope running on port 8081. Does that have any effect?

I've seen numerous postings and bug reports on this type of issue, but no
solutions. Is there a solution?

Thx,
Bob V


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


Re: [Zope-dev] Add Plone Site - AttributeError

2003-09-09 Thread Andy McKay
This is the Zope development list for the discussion of Zope 
development. Please try asking the Plone list where the solution is 
mentioned many times

You are trying to use CMF 1.4. Use CMF 1.3.1 as stated in the docs.

Robert Van Overmeiren wrote:
Hello,

I've added Plone 1.0.5 to my Zope 2.5.1 setup running on Suse Linux. When I
try to add a Plone site, I get a Zope Error:
Error Type: AttributeError
Error Value: get
I also installed Zope 2.6.1 with CMF and Plone on a Windoz 98 box and I get
the same error when adding a Plone Site.
I have Zope running on port 8081. Does that have any effect?

I've seen numerous postings and bug reports on this type of issue, but no
solutions. Is there a solution?
Thx,
Bob V
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

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


[Zope-dev] Fw: Zope and unicode

2003-09-09 Thread Mikhail Kashkin
Hello!
Severals day ago I send that letter to Jim. May be it was bad idea, and Jim
dont answer me anything.

But problem still exists.

Can you take me some advise how (and is that possible?) commit this patch to
Zope 2.7 release?
Who can do it?

- Original Message -
From: "Mikhail Kashkin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 03, 2003 11:29 PM
Subject: Zope and unicode


> Hello Jim!
>
> Zope from 2.6 release try to support unicode, but it make big problem to
> developers who cann't use unicode (there is many reasons). We make patch
to
> Zope 2.7.b1, but it also work with 2.7.b2.
>
> What this patch do.
>
> 1. Now Zope think that all non-unicode types (string, text, etc) use only
> latin-1 charset. It raise error when server encode sended data on
Properties
> (manage_properties) page (I haven't now traceback, but will send uppon
> request).
>
> 2. "manage_properties" work only in utf-8 charset that make big problems
to
> set (and read) values in national encodings. "management_page_charset" not
> resolve this problem it haven't effect on "manage_properties". Patch set
> proper charset. By default it will be as active locale (-L key).
>
> 3. Many other bugfixes (all in description on russian).
>
> I'm sorry for my poor english, I would like to pay your attantion to this
> patch. If you dont consider it
> then the work with Zope for russian Zope-developers/users will be quite
> complicated.
>
> I attach you full description to patch on russian, may be it will bu
useful
> for you.
>
> P.S.
> I submit it as bug to bugtracker under #1037
> (http://collector.zope.org/Zope/1037).
>


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


[Zope-dev] OrderSupport and ExternalEditor

2003-09-09 Thread Christian Tismer
Hi Zopistas,

I had sume trouble to get the extra sorting
controls to work for the Ordered Folders.
The Ordered Folders just appear(ed) the same
as regular folders.
After quite some code browsing, I found out:
(and there is a not on DZug as well)
The problem is, that I'm using ExternalEditor,
and this product does a "monkey patch" on
the ObjectManager: It replaces the manage_main
dtml with its own version, which has no support
for ordered folders, yet.
The reason why this patch happens is just to ad that
little edit pen next to each row in the view.
Quick solution, until the author updates his product:

copy OFS/dtml/main.dtml
  to Products/ExternalEditor/manage_main
edit that file and add this after line 170:
   This is the only different line: 
  
Here the same with more context, added lines marked by "*"

  
  
*  This is the only different line: 
* 
  
  
  

Remark: I don't know a general good way how products
should cope with such problems. It would be nicer
if they didn't carry a copy of maybe outdated code,
but if they could obtain a copy during installation
time (would require some setup script), and identify
the place where to insert their ads.
But this looks hard if the patched code doesn't provide
something like a tag that tells where the place to patch
is.
ciao - chris
--
Christian Tismer :^)   
Mission Impossible 5oftware  : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a :*Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34  home +49 30 802 86 56  pager +49 173 24 18 776
PGP 0x57F3BF04   9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
 whom do you want to sponsor today?   http://www.stackless.com/


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


[Zope-dev] Where is Zope 2.6 Final?

2003-09-09 Thread Andrew Sydelko

It's been a while since the last beta, and I haven't 
seen many (if any) changes checked into the 2.6 tree
in a while.

What's the holdup? With all the problems that exist with
2.6.1 (with packing, especially) I would have thought 
2.6.2 would have been out months ago. 

--andy.

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


Re: [Zope-dev] Fw: Zope and unicode

2003-09-09 Thread Mikhail Kashkin
That mean 'just wait'?

Ok, I'm wait here :)

- Original Message -
From: "Andreas Jung" <[EMAIL PROTECTED]>
To: "Mikhail Kashkin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, September 09, 2003 9:36 PM
Subject: Re: [Zope-dev] Fw: Zope and unicode


> the collector on collector.zope.org is the right place for patches.
>
> -aj
>
> --On Dienstag, 9. September 2003 21:42 Uhr +0400 Mikhail Kashkin
> <[EMAIL PROTECTED]> wrote:
>
> > Hello!
> > Severals day ago I send that letter to Jim. May be it was bad idea, and
> > Jim dont answer me anything.
> >
> > But problem still exists.
> >
> > Can you take me some advise how (and is that possible?) commit this
patch
> > to Zope 2.7 release?
> > Who can do it?
> >
> > - Original Message -
> > From: "Mikhail Kashkin" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 03, 2003 11:29 PM
> > Subject: Zope and unicode
> >
> >
> >> Hello Jim!
> >>
> >> Zope from 2.6 release try to support unicode, but it make big problem
to
> >> developers who cann't use unicode (there is many reasons). We make
patch
> > to
> >> Zope 2.7.b1, but it also work with 2.7.b2.
> >>
> >> What this patch do.
> >>
> >> 1. Now Zope think that all non-unicode types (string, text, etc) use
only
> >> latin-1 charset. It raise error when server encode sended data on
> > Properties
> >> (manage_properties) page (I haven't now traceback, but will send uppon
> >> request).
> >>
> >> 2. "manage_properties" work only in utf-8 charset that make big
problems
> > to
> >> set (and read) values in national encodings. "management_page_charset"
> >> not resolve this problem it haven't effect on "manage_properties".
Patch
> >> set proper charset. By default it will be as active locale (-L key).
> >>
> >> 3. Many other bugfixes (all in description on russian).
> >>
> >> I'm sorry for my poor english, I would like to pay your attantion to
this
> >> patch. If you dont consider it
> >> then the work with Zope for russian Zope-developers/users will be quite
> >> complicated.
> >>
> >> I attach you full description to patch on russian, may be it will bu
> > useful
> >> for you.
> >>
> >> P.S.
> >> I submit it as bug to bugtracker under #1037
> >> (http://collector.zope.org/Zope/1037).
> >>
>
>
>
>
>


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


Re: [Zope-dev] Fw: Zope and unicode

2003-09-09 Thread Andreas Jung
the collector on collector.zope.org is the right place for patches.

-aj

--On Dienstag, 9. September 2003 21:42 Uhr +0400 Mikhail Kashkin 
<[EMAIL PROTECTED]> wrote:

Hello!
Severals day ago I send that letter to Jim. May be it was bad idea, and
Jim dont answer me anything.
But problem still exists.

Can you take me some advise how (and is that possible?) commit this patch
to Zope 2.7 release?
Who can do it?
- Original Message -
From: "Mikhail Kashkin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 03, 2003 11:29 PM
Subject: Zope and unicode

Hello Jim!

Zope from 2.6 release try to support unicode, but it make big problem to
developers who cann't use unicode (there is many reasons). We make patch
to
Zope 2.7.b1, but it also work with 2.7.b2.

What this patch do.

1. Now Zope think that all non-unicode types (string, text, etc) use only
latin-1 charset. It raise error when server encode sended data on
Properties
(manage_properties) page (I haven't now traceback, but will send uppon
request).
2. "manage_properties" work only in utf-8 charset that make big problems
to
set (and read) values in national encodings. "management_page_charset"
not resolve this problem it haven't effect on "manage_properties". Patch
set proper charset. By default it will be as active locale (-L key).
3. Many other bugfixes (all in description on russian).

I'm sorry for my poor english, I would like to pay your attantion to this
patch. If you dont consider it
then the work with Zope for russian Zope-developers/users will be quite
complicated.
I attach you full description to patch on russian, may be it will bu
useful
for you.

P.S.
I submit it as bug to bugtracker under #1037
(http://collector.zope.org/Zope/1037).




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


Re: [Zope-dev] PythonLibraries Product

2003-09-09 Thread Dieter Maurer
Evan Simpson wrote at 2003-9-8 14:43 -0500:
 > I'm thinking seriously about writing a Product to provide collections of 
 > Python functions defined by a single source text -- PythonLibraries. 

+ 1

 > ...
 >The Python Libraries Product provides support for collections of
 >restricted Python code.  A Python Library is similar to a Folder
 >full of Python-based Scripts, except that the functions in the
 >Library are more like ordinary Python functions than Scripts, and
 >a single persistent global variable namespace is shared among the
 >functions in the Library.

Hopefully, these variables are used only for customization.


I have been hit in the past, when I used compiled regular
expressions as default parameters to an "ExternalMethod".
Apparently, because some objects (such as compiled
regular expressions) cannot be stored (worse loaded)
persistently.


Dieter

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


Re: [Zope-dev] help w/ LocalFS

2003-09-09 Thread Dieter Maurer
Roberto Benitez wrote at 2003-9-6 16:49 -0700:
 > I am trying to use LocalFS to access a directory in my
 > linux server (zope running on same suse linux server)
 > 
 > i am able to see the directory listing, but when i try
 > to access any file i get the following error message
 > 
 > 
 > The object at ../../5741.RPT has an empty or missing
 > docstring. Objects must have a docstring to be
 > published.

What object type do you see in the directory listing
(I am not sure, that you can see the type there)?
Your files might be mapped to a somewhat broken object.

If this does not reveal easily the cause of your problem,
I would start debugging.

On

  

you find a small module ("Interactive debugging support")
that lets you build the publishing environment in
an interactive interpreter. Build a request and
traverse to your object. Hopefully, you will get the same
error which you can now analyse with the "pm" (post mortem)
function of "pdb" (the Python debugger).


Dieter

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


RE: [Zope-dev] Where is Zope 2.6 Final?

2003-09-09 Thread Brian Lloyd
> It's been a while since the last beta, and I haven't 
> seen many (if any) changes checked into the 2.6 tree
> in a while.
> 
> What's the holdup? With all the problems that exist with
> 2.6.1 (with packing, especially) I would have thought 
> 2.6.2 would have been out months ago. 
> 
> --andy.

We'll try to crank that out today. 

And why haven't you raked my leaves yet - sheesh, I 
thought that would have been done months ago! :^)


Brian Lloyd[EMAIL PROTECTED]
V.P. Engineering   540.361.1716  
Zope Corporation   http://www.zope.com 



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


Re: [Zope-dev] RFC: Pythonic Zope Instance Manager

2003-09-09 Thread Shane Hathaway
Luis Lavena wrote:
I'll like to Request For Comments on something I was thinking for the 
past weeks: a pythonic replacement of mkzopeinstance script found on 
zope 2.7, and extend it later to a full GUI client (Win32 for a start).

the URL is :
http://www.mmediasys.com/zope/rfc.html
A while ago I made a mockup of a Zope instance manager GUI.

http://hathaway.freezope.org/Images/controller_snapshot2.png

I quite like how the mockup turned out.  I made the mockup using Qt 
Designer, but obviously the real thing could be written using wxPython 
or Tkinter.

Shane

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