Re: [Zope] ZODB data loss - help required

2013-12-05 Thread Encolpe Degoute
Le 05/12/2013 09:43, Johannes Raggam a écrit :
 On Don, 2013-12-05 at 15:42 +1000, Tom Cameron wrote:


 Questions
 My main aim is to work out what happened. My best guess is that Zope
 was somehow connecting to a stale or outdated file pointer and
 updating that file all along while the Data.fs was pointing to an
 August 5 copy. But how could this situation eventuate and persist for
 so long?
 for my, it looks exactly like that Zope used an inode, which wasn't the
 Data.fs you expected. It used that as long as you restarted Zope. your
 backups were always copying the old Data.fs from the filesystem path,
 where you expected the correct one to be in.

 that happens, when the directory with your Data.fs is moved
 (e.g. $ mv ./var ./var-bak)
  and a new one copied back to the old place
 (e.g. $ cp -R ./var-bak ./var).

 that happens also, when the Data.fs is deleted.

I'm agree with this description. You can test this python behavior
in a python shell: when a file is unlinked in the filesystem (move or
deleted) python move the file descriptor into RAM and still use it
there without warning. The file descriptor is destroyed when the
python process end (Zope stop or restart).
Your only way is to find a Data.fs.old from the last pack somewhere
or to have a backup.


-- 
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales


___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Setting Timezone on Zope2.13.20 in virtualenv

2013-07-23 Thread Encolpe Degoute
You should not modify the timezone of Python or Zope.
Instead modify the timezone of your server, it's more coherent for all
software you will use.

Regards

Le 20/07/2013 13:10, Giampiero Benvenuti a écrit :
 Please ignore my previous messages and forgive me for  this mess.

 Now it looks like the best way to set the time zone is adding a line:

 export TZ=Europe/Rome

 to the beginning of the file instance/bin/runzope

 Still, I'm not sure that's' the proper way to do it.

 Somebody can please confirm?

 Thanks,

 Giampiero


 On Jul 19, 2013, at 13:09 43, Giampiero Benvenuti wrote:

 I'm sorry, never mind.

 it has to be in this format:

 environment
 TZ Europe/Rome
 /environment

 and it works.

 Best,

 Giampiero

 On Jul 19, 2013, at 10:54 13, Giampiero Benvenuti wrote:

 Hello!

 I just installed the latest zope version 2.13.20 using virtualenv. I would 
 like to be able to set the timezone to Europe/Rome.
 So far, I try this in instance/etc/zope.conf:

 environment
 TZ Europe/Rome
 /environment

 But I didn't have any success.

 Do you have any hint?

 Thanks for your help,


 Giampiero
 ___
 Zope maillist  -  Zope@zope.org
 https://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
 ___
 Zope maillist  -  Zope@zope.org
 https://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope-dev )



-- 
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales


___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Form issue with apache frontend

2012-01-29 Thread Encolpe Degoute

  
  
Hello,

I'm facing a strange bug between Apache and Zope. I'm suspecting
Apache but I need to prove that Zope isn't at the origin of this
mess.

In the two files attached you have the request sent by firefox
logged with livehttpheaders (request.orig.txt) and the request read
in ZPublisher/Publisy.py=publish with request.stdin.read(). You
can see that a part of the request overload the start's of it. The
size of file in the request is 6855 bits. I don't understand how
this is possible.

Two apache servers and one ZEO cluster composing the architecture :
- the first Apache 2.1 is a FreeBSD gateway for external requests :
it's using SSL with an homemade certificate and
ProxyPass/ProxyPassReverse to redirect to the second server on the
8080 port
- the second Apache 2.2 server is on Windows Server 2003 and
listening on 80 and 8080.
- the port 80 for all local requests with mod_auth_sspi to handle
the SSO and redirect to a first ZEO client
- the port 8080 for outside requests from the first Apache server
without SSO and redirect to a second ZEO client

There is a know bug with apache and SSL but only for requests above
128KB: here the request's weight is about 8KB.

Is there something that modifies the incoming request before it
comes in the publish module ?

Regards,
-- 
  

  


POST 
/intranet/tests-admin/portal_factory/File/file.2012-01-27.524747/atct_edit 
HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:9.0.1) Gecko/20100101 
Firefox/9.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-fr;q=0.8,fr-ca;q=0.6,en;q=0.4,de;q=0.2
Accept-Encoding: gzip, deflate
Accept-Charset: UTF-8,*
Connection: keep-alive
Referer: 
https://example.com/intranet/tests-admin/portal_factory/File/file.2012-01-27.524747/atct_edit
Cookie: __ac=bWFxdWlsbGFnZTM6bWFxdWlsbGFnZQ%3D%3D
Content-Type: multipart/form-data; 
boundary=---160730456519863244361435514965
Content-Length: 8685
-160730456519863244361435514965
Content-Disposition: form-data; name=id

file.2012-01-27.524747
-160730456519863244361435514965
Content-Disposition: form-data; name=title

CELA
-160730456519863244361435514965
Content-Disposition: form-data; name=description


-160730456519863244361435514965
Content-Disposition: form-data; name=description_text_format

text/plain
-160730456519863244361435514965
Content-Disposition: form-data; name=file_file; filename=rst cheatsheet.rst
Content-Type: application/octet-stream

=
 The reStructuredText_ Cheat Sheet: Syntax Reminders
=
:Info: See http://docutils.sf.net/rst.html for introductory docs.
:Author: David Goodger good...@python.org
:Date: $Date: 2006-01-23 02:13:55 +0100 (Mon, 23 Jän 2006) $
:Revision: $Revision: 4321 $
:Description: This is a docinfo block, or bibliographic field list

Section Structure
=
Section titles are underlined or overlined  underlined.

Body Elements
=
Grid table:

++---+
| Paragraphs are flush-left, | Literal block, preceded by  |
| separated by blank lines.  |   |
|| Indented  |
| Block quotes are indented. |   |
++ or::  |
|  print 'Doctest block'  |   |
| Doctest block  |  Quoted  |
++---+
| | Line blocks preserve line breaks  indents. [new in 0.3.6]   |
| | Useful for addresses, verse, and adornment-free lists; long  |
|   lines can be wrapped with continuation lines.|
++

Simple tables:

  
List Type Examples
  
Bullet list   * items begin with -, +, or *
Enumerated list   1. items use any variation of 1., A), and (i)
  #. also auto-enumerated
Definition list   Term is flush-left : optional classifier
  Definition is indented, no blank line between
Field list:field name: field body
Option list   -o  at least 2 spaces between option  description
  

  

Re: [Zope] Hotfix for security vulnerability

2011-10-25 Thread Encolpe Degoute
Hello,

Both of these url are not available:
- http://download.zope.org/Zope2/index/2.12.21/versions.cfg
- http://download.zope.org/Zope2/index/2.13.11/versions.cfg

Regards,
Encolpe DEGOUTE

Le 24/10/2011 23:54, Tres Seaver a écrit :
 On behalf of the Zope security response team, I would like to announce
 the availability of a hotfix for a vulnerability inadvertently
 published earlier today.
 
 'Products.Zope_Hotfix_20111024' README
 ==
 
 Overview
 
 
 This hotfix addresses a serious vulnerability in the Zope2
 application server.  Affected versions of Zope2 include:
 
 - 2.12.x = 2.12.20
 
 - 2.13.x = 2.13.6
 
 Older releases (2.11.x, 2.10.x, etc.) are not vulnerable.
 
 The Zope2 security response team recommends that all users of
 these releases upgrade to an unaffected release (2.12.21 or
 2.13.11) as soon as they become available.
 
 Until that upgrade is feasible, deploying this hotfix also
 mitigates the vulnerability.
 
 
 Installing the Hotfix:  Via 'easy_install'
 ---
 
 If the Python which runs your Zope instance has 'setuptools'
 installed (or is a 'virtualenv'), you can install the hotfix
 directly from PyPI::
 
   $ /prefix/bin/easy_install Products.Zope_Hotfix_20111024
 
 and then restart the Zope instance, e.g.:
 
   $ /path/to/instance/bin/zopectl restart
 
 
 Installing the Hotfix:  Via 'zc.buildout'
 -
 
 If your Zope instance is managed via 'zc.buildout', you can
 install the hotfix directly from PyPI.  Edit the 'buildout.cfg'
 file, adding Products.Zope_Hotfix_20111024 to the eggs
 section of the instance.  E.g.::
 
   [instance] recipe = plone.recipe.zope2instance #...  eggs =
   ${buildout:eggs} Products.Zope_Hotfix_20111024
 
 Next, re-run the buildout::
 
   $ /path/to/buildout/bin/buildout
 
 and then restart the Zope instance, e.g.:
 
   $ /path/to/buildout/bin/instance restart
 
 
 Installing the Hotfix:  Manual Installation
 ---
 
 You may also install this hotfix manually.  Download the tarball from
 the PyPI page:
 
  http://pypi.python.org/pypi/Products.Zope_Hotfix_20111024
 
 Unpack the tarball and add a 'products' key to the 'etc/zope.conf' of
 your instance.  E.g.::
 
   products /path/to/Products.Zope_Hotfix_20111024/Products
 
 and restart.
 
 
 Verifying the Installation
 --
 
 After restarting the Zope instance, check the
 'Control_Panel/Products' folder in the Zope Management Interface,
 e.g.:
 
   http://localhost:8080/Control_Panel/Products/manage_main
 
 You should see the 'Zope_Hotfix_20111024' product folder there.
 
 
 
 Tres.
 ___
 Zope maillist  -  Zope@zope.org
 https://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope-dev )
 


___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope Control Panel extension

2010-05-17 Thread Encolpe Degoute
Hello,

I found a collateral damage of the suppression of ZClasses in Zope 2.12:
eggs that try to add a new item in the Zope Control Panel can do it but
they disappear after the initialization phase.

Three eggs are concerned:
- collective.monkeypatcherpanel (pure Zope2)
- Products.PlacelessTranslationService (mainly Plone)
- WingDBG (Zope 2 ans Plone)

They all use the same code :

http://svn.plone.org/svn/collective/collective.monkeypatcherpanel/trunk/collective/monkeypatcherpanel/__init__.py

Is there a method to add item in the Zope Control Panel without set
enable-product-installation to 'on' ?

Regards,
Encolpe DEGOUTE
-- 
Si ca ne marche pas du premier coup, appelez-le version 1.0.

___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Product loading during ZopeTestCase startup

2010-01-18 Thread Encolpe Degoute
Hello,
since few days i'am facing a strange problem with egg loading in tests.
One egg called project.site_policy is never loaded in the Products
namespace: the ZopeLite.hasPackage('project.site_policy') always returns
False.
Where is the code that loads eggs and products outside
SOFTWARE_HOME/lib/python/Products ?

regards
-- 
...[Linux] peut communiquer à travers n'importe quel medium excepté les
signaux de fumée.
-+- Dr. Greg Wettstein, Roger Maris Cancer Center -+-

___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Product loading during ZopeTestCase startup

2010-01-18 Thread Encolpe Degoute
Ross Patterson a écrit :
 Encolpe Degoute
 encolpe.dego...@quadra-informatique.fr
 writes:
 
 Hello,
 since few days i'am facing a strange problem with egg loading in tests.
 One egg called project.site_policy is never loaded in the Products
 namespace: the ZopeLite.hasPackage('project.site_policy') always returns
 False.
 Where is the code that loads eggs and products outside
 SOFTWARE_HOME/lib/python/Products ?

 regards
 
 If I'm understanding correctly, one need to use the five:registerPackage
 ZCML directive and then use ZTC.installPackage.  Many collective.*
 packages can be used as reference, including collective.formcriteria.
 There are probably simper examples, but that's the first that comes to
 mind.

I finally found it.
My colleague create an egg without five:registerPackage and it was
working for times in production... but not if you run unittests.

Thanks,
Encolpe DEGOUTE

___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope-dev] New Zope2 releases available

2010-01-13 Thread Encolpe Degoute
Tres Seaver a écrit :
[...]
 
 - Zope 2.10.11,
   http://www.zope.org/Products/Zope/2.10.22

short typo :
- Zope 2.10.11,
http://www.zope.org/Products/Zope/2.10.11




-- 
html
head
/head
body bgcolor=#ff text=#00
img alt=Encolpe Degoute lt;encolpe.dego...@quadra-informatique.frgt;
 src=file:///home/edegoute/Images/mailsignpic2.png/
/body
/html

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope] New Zope2 releases available

2010-01-13 Thread Encolpe Degoute
Tres Seaver a écrit :
[...]
 
 - Zope 2.10.11,
   http://www.zope.org/Products/Zope/2.10.22

short typo :
- Zope 2.10.11,
http://www.zope.org/Products/Zope/2.10.11




-- 
html
head
/head
body bgcolor=#ff text=#00
img alt=Encolpe Degoute lt;encolpe.dego...@quadra-informatique.frgt;
 src=file:///home/edegoute/Images/mailsignpic2.png/
/body
/html

___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Session bugs around CAS4PAS integration in Plone

2009-12-18 Thread Encolpe Degoute
Hello,

These last months we have a random bug around CAS authentication.

Preamble:
CAS plugins are multiple but all are based on CAS4PAS :
 - CAS4PAS
 - Products.CAS4PAS
 - collective.castle
 - collective.cas4plone

They all doing more or less the same job with different maintainers...
They are all in the collective but outside
http://svn.plone.org/svn/collective/PASPlugins/

Guys, can we try to work together ?
If you only need rights to upload a release on pypi just ask them, don't
start a fork.


Our problem is user can obtain another session opened with CAS when the
server is overloaded. It happens only one the first page loaded for a
session and once the user get the session he keeps it  until is logout.

There is no web cache and Zope serve pages directly to them.
There is 4 threads and 5000 objects in session cache.

We suspect a session cache bug but we don't know how to debug it as the
bug comes randomly when the server is overloaded (more than 5 concurrent
users).

Any tips to build a test environment for this ?

Regards,
-- 
int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\
o, world!\\n,'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
-+- Dishonorable mention, Obfuscated C Code Contest, 1984
Author requested anonymity -+-

___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Session bugs around CAS4PAS integration in Plone

2009-12-18 Thread Encolpe Degoute
David Bear a écrit :
 since this presents 2 questions -- I would like to ask more about the
 first --
 
 of all the CAS pluggins for zope and plone -- which one works best;-)
 Actually, since we serve content both directly from Zope AND from plone,
 I need one that works with 'both'... in other words, I need something
 that works for zope authentication -- as well as plone. Any pointers on
 which 'single' prooduct package will allow that?

Products.CAS4PAS (buildout) and CAS4PAS (old Zope 2 projects) are
working for CAS2.

Others products are spinoff from them and I don't know which bug they fix.

Regards,
-- 
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales

___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Local File System Product

2009-10-23 Thread Encolpe Degoute
Andreas Jung a écrit :
 Am 22.10.09 16:16, schrieb Jan Schulze:
 Hi all,

 I have to upgrade a very old Zope/Plone site, that is using the Local File 
 System Product (http://sourceforge.net/projects/localfs/). This Product has 
 not seen any new release since 2002. Is there any successor Product or is it 
 possible to use default Plone mechanisms to do what localfs does?
   
 See
 
 http://wiki.zope.org/zope2/LocalFS

For a plone site it misses a reference on FileSystemStorage or iw.fss +
iw.recipe.fss for Plone 3.

Regards,
-- 
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales

___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope-dev] zc.buildout, substitution and templating

2009-09-12 Thread Encolpe Degoute
Thomas Lotze a écrit :
 Encolpe Degoute wrote:
 
 As zc.buildout is using something near string.template I patched
 gocept.recipe.env to replace '$' by '$$' and collective.recipe.template to
 replace '$$' by '$'.
 
 For the record: gocept.recipe.env hasn't yet been patched; I'd rather
 discuss the issue first before applying your patch.
 
 As _sub method in builout just split text around '$$' and join it again
 with '$$' we need to make the replacement with the result of this
 method.

 Is it the good way to deal with escaping data ? Or is this a bug of
 zc.buildout ?
 
 I think it's a bug in zc.buildout if it cannot read the configuration
 storage it wrote earlier itself. A good API for dealing with configuration
 options shouldn't require client code such as recipes to care about
 encoding and decoding values in order to work around the details of
 buildout's option representation. This would be awkward and, as we can see
 with the issue at hand, would only work if all client code handled the
 encoding consistently.

I'm agree.

 I therefore propose fixing buildout so that it encodes option values when
 writing .installed.cfg just as it would decode them when reading the file.

No opposition on this ?
Can I add it in the trunk or does anybody want a branch ?

Regards
-- 
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] zc.buildout, substitution and templating

2009-08-27 Thread Encolpe Degoute
Hello,

These last days I was using collective.recipe.template and
gocept.recipe.env.

The second one just update options with os.environ.
Unix shell having their own substitution methods then '${' appearing in
the .installed.cfg. It just blows if you try to rerun 'bin/buildout.

As zc.buildout is using something near string.template I patched
gocept.recipe.env to replace '$' by '$$' and collective.recipe.template
to replace '$$' by '$'.
As _sub method in builout just split text around '$$' and join it again
with '$$' we need to make the replacement with the result of this method.

Is it the good way to deal with escaping data ?
Or is this a bug of zc.buildout ?

Regards,
-- 
Encolpe DEGOUTE
http://encolpe.wordpress.com/
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales

___
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] [Off-Topic] KSS ugly?

2008-10-13 Thread Encolpe Degoute
Dieter Maurer a écrit :
 Garito wrote at 2008-10-8 14:22 +0200:
 I'm agree with you, Tino. Plone has a lot of ugly features (as KSS, for
 instance)
 
 Why is KSS ugly?
 Reading the documentation, I found it quite attractive

That is what KSS opponents atr thinking:
http://svn.plone.org/svn/collective/collective.kss.fucker/trunk/README.txt

-- 
Encolpe Degoute
INGENIWEB (TM) - S.A.S 5 Euros - RC B 438 725 632
Bureaux de la Colline
1 rue Royal
92210 Saint Cloud
web : www.ingeniweb.com - « les Services Web Ingénieux »
Tel : 01.78.15.24.08 / Fax : 01 47 57 39 14

___
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] [Off-Topic] KSS ugly?

2008-10-13 Thread Encolpe Degoute
Philipp von Weitershausen a écrit :
 Encolpe Degoute wrote:
 Dieter Maurer a écrit :
 Garito wrote at 2008-10-8 14:22 +0200:
 I'm agree with you, Tino. Plone has a lot of ugly features (as KSS, for
 instance)
 Why is KSS ugly?
 Reading the documentation, I found it quite attractive
 That is what KSS opponents atr thinking:
 http://svn.plone.org/svn/collective/collective.kss.fucker/trunk/README.txt
 
 This document provides as little substance as much as it manages to 
 insult the authors of KSS.

I'm not the author of this document and if I'm agree that there's some work
to do on KSS I'm not agree with the manner it is done.

It seems that the first goal was to rewrite KSS using JQuery that is already
loaded in much framework.


-- 
Encolpe Degoute
INGENIWEB (TM) - S.A.S 5 Euros - RC B 438 725 632
Bureaux de la Colline
1 rue Royal
92210 Saint Cloud
web : www.ingeniweb.com - « les Services Web Ingénieux »
Tel : 01.78.15.24.08 / Fax : 01 47 57 39 14

___
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: Displaying Graphs using TAL

2008-05-30 Thread Encolpe Degoute
Andreas Jung a écrit :
 
 
 --On 30. Mai 2008 12:38:21 +0530 Andyy
 [EMAIL PROTECTED] wrote:
 
 i am preparing graphs(MatPlotLib) related files using external methods.,
 when i test them on zope they display very well there.

 But when i call these external methods using tal as:

 Img tal:attributes=src python: context.IterationBar(context) /
 where IterationBar is my external method that displays a BarChart.

 Or using

  img src=/Agile/image.gif
tal:attributes=src context.IteartionBar(context)/
 
 1) the thing you're calling must return an *URL*
   not the image data itself...think about how the img
   in HTML works
 
 2) The script called through the given url must return the image
   data _and_ it must set the proper http headers content-type,
   and content-length

 If your site is only for FireFox or evolved browser you can use inline
rendering:
img  width=81 height=85
 
src=data:image/gif;base64,R0lGODlhUAAPAKIAAAsLav///88PD9WqsYmApmZmZtZfYmdakyH5BAQUAP8ALABQAA8AAAPb

WLrc/jDKSVe4OOvNu/9gqARDSRBHegyGMahqO4R0bQcjIQ8E4BMCQc930JluyGRmdAAcdiigMLVr

ApTYWy5FKM1IQe+Mp+L4rphz+qIOBAUYeCY4p2tGrJZeH9y79mZsawFoaIRxF3JyiYxuHiMGb5KT

kpFvZj4ZbYeCiXaOiKBwnxh4fnt9e3ktgZyHhrChinONs3cFAShFF2JhvCZlG5uchYNun5eedRxM

AF15XEFRXgZWWdciuM8GCmdSQ84lLQfY5R14wDB5Lyon4ubwS7jx9NcV9/j5+g4JADs=


-- 
Encolpe Degoute
INGENIWEB (TM) - S.A.S 5 Euros - RC B 438 725 632
Bureaux de la Colline
1 rue Royal
92210 Saint Cloud
web : www.ingeniweb.com - « les Services Web Ingénieux »
Tel : 01.78.15.24.08 / Fax : 01 47 57 39 14

___
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-dev] Installer for Windows - Status

2006-11-16 Thread Encolpe Degoute
Sidnei da Silva a écrit :
 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.

It was a proposition from a colleague which is saying now he's not sure
that's necessary.

 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.

Thanks.
Every customers that want to install a zeo cluster under windows ask me
this from monthes.

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 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: [Zope3-dev] Re: [Zope-dev] Two visions

2006-02-28 Thread Encolpe Degoute

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lennart Regebro a écrit :
| OK, some initial, fuzzy comments:
|
| On 2/27/06, Jim Fulton [EMAIL PROTECTED] wrote:

|2) In an alternate vision, Zope 2 evolves to Zope 5.
|
|   - Zope 5 will be the application server generally known as Zope.  It
| will be backward compatible (to the same degree that Zope 2
| releases are currently backward compatible with previous Zope 2
| releases) with Zope 2.  Zope 5 will similarly be backward
| compatible with Zope 3 applications built on top of the current
| Zope 3 application server.
|
| Note that Zope 5 will leverage Zope 3 technologies to allow a
| variety of configurations, including a Zope 2-like configuration
| with implicit acquisition and through-the-web development, and a
| Zope 3-like configuration that looks a lot like the current Zope
| 3 application server.  Maybe, there will be a configuration that
| allows Zope 2 and Zope 3 applications to be combined to a
| significant degree.
|
| This overwhelms my complexity sensor. :-)
|
| I like the vision of Zope2 becoming a set of extra packages you
| install for Zope3, to get backwards compatibility. Maybe this is the
| same as what you call Zope 5, maybe not.

I vote for this one.
There's already Five product to help Zope2 products to become to be
Zope3 compatible. Now, it's to Zope2 developpers to do the
migration step.

- --
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 »
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEBBFHvFPzBBlIZMMRArvxAJ4vp3oOz4Jbs2sRdi5NiTmrgP0OYQCcDOa/
CGBI+hYJG7O+26x3Z40vuFU=
=2wf7
-END PGP SIGNATURE-
___
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] Documenting products with epydoc

2003-03-27 Thread Encolpe DEGOUTE
On Thu, 27 Mar 2003 16:40:49 +0100
Gilles Lenfant [EMAIL PROTECTED] wrote:

 Hi,
 
 I use to document my (non Zope) python packages using epydoc that's
 (IMHO) the best python documentation tool (javadoc like great
 features).
 
 http://epydoc.sourceforge.net/
 
 Unfortunately, this does not work with Zope products (usual pydoc
 doesn't too).
 
 How can I make a fixure to get it working ? Did any of you succeed
 documenting Zope products with epydoc ?

I Use HappyDoc, and i have patch it.
I wait for the maintener apply the pacth in the cvs.
Amelioration: Dia, DocBook output.

-- 
Encolpe DEGOUTE, Ingénieur Logiciel, Nuxeo SARL: Zope Service Provider.
Mail: [EMAIL PROTECTED] - Tel: +33 (0)1 40 33 79 18
Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps
Gestion de contenu web / portail collaboratif / groupware / open source

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