[Zope-dev] Zope Tests: 5 OK

2007-03-18 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Sat Mar 17 12:00:00 2007 UTC to Sun Mar 18 12:00:00 2007 UTC.
There were 5 messages: 5 from Zope Unit Tests.


Tests passed OK
---

Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Sat Mar 17 21:52:35 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007458.html

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Sat Mar 17 21:54:05 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007459.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sat Mar 17 21:55:35 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007460.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sat Mar 17 21:57:05 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007461.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sat Mar 17 21:58:35 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007462.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 )


Re: [Zope] Cannot Import Base has_attr...Again!

2007-03-18 Thread tonylabarbara
You might not believe this, but sometimes software goes haywire. Before you 
jump down my throat, realize that unavoidable accidents sometimes do happen. 
And this is the only time it's happened with me on this list, thank you very 
much.
Tony
 
 
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sat, 17 Mar 2007 5:12 PM
Subject: Re: [Zope] Cannot Import Base has_attr...Again!


Would you please be so kind AND STOP FLOODING THE LIST 
with posting the same issue THREE TIMES WITHIN SOME MINUTES? 
 
If you want help then consider accepting the common rules 
for using a mailing list and don't behave like an idiot. 
 
Read this: 
 
http://opensource.zopyx.com/helpcenter/misc/writing-smart-and-reasonable-postings-or-how-to-use-a-mailinglist/
 
 
-aj 
 
--On 17. März 2007 15:16:31 -0400 [EMAIL PROTECTED] wrote: 
 
 Hi; 
 I had this problem on another server I recently built...and it went away 
 all by itself! I'm now rebuilding my home server, and it's cropped up 
 again. Last time, Maciej Wisniowski suggested I go to a zopectl prompt 
 and type in import Products.CMFPlone, but apparently that doesn't work 
 on Zope 2.7.8/Plone 2.1.4. Here is the traceback. Please advise. TIA, 
 Tony 
 
 2007-03-17T14:51:12 ERROR(200) Zope Could not import 
 Products.ATContentTypes Traceback (most recent call last): 
 File /usr/local/zope/278/lib/python/OFS/Application.py, line 673, in 
 import_product product=__import__(pname, global_dict, global_dict, 
 silly) 
 File /usr/local/zope/instance1/Products/ATContentTypes/__init__.py, 
 line 54, in ? import Products.ATContentTypes.content 
 File 
 /usr/local/zope/instance1/Products/ATContentTypes/content/__init__.py, 
 line 34, in ? import Products.ATContentTypes.content.topic 
 File 
 /usr/local/zope/instance1/Products/ATContentTypes/content/topic.py, 
 line 33, in ? from Products.CMFPlone.CatalogTool import CatalogTool 
 File /usr/local/zope/instance1/Products/CMFPlone/CatalogTool.py, line 
 27, in ? from Products.CMFPlone.utils import base_hasattr 
 ImportError: cannot import name base_hasattr 
 Traceback (most recent call last): 
 File /usr/local/zope/278/lib/python/Zope/Startup/run.py, line 50, in ? 
 run() 
 File /usr/local/zope/278/lib/python/Zope/Startup/run.py, line 19, in 
 run start_zope(opts.configroot) 
 File /usr/local/zope/278/lib/python/Zope/Startup/__init__.py, line 
 52, in start_zope starter.startZope() 
 File /usr/local/zope/278/lib/python/Zope/Startup/__init__.py, line 
 231, in startZope Zope.startup() 
 File /usr/local/zope/278/lib/python/Zope/__init__.py, line 47, in 
 startup _startup() 
 File /usr/local/zope/278/lib/python/Zope/App/startup.py, line 45, in 
 startup OFS.Application.import_products() 
 File /usr/local/zope/278/lib/python/OFS/Application.py, line 650, in 
 import_products import_product(product_dir, product_name, 
 raise_exc=debug_mode) File 
 /usr/local/zope/278/lib/python/OFS/Application.py, line 673, in 
 import_product product=__import__(pname, global_dict, global_dict, 
 silly) 
 File /usr/local/zope/instance1/Products/ATContentTypes/__init__.py, 
 line 54, in ? import Products.ATContentTypes.content 
 File 
 /usr/local/zope/instance1/Products/ATContentTypes/content/__init__.py, 
 line 34, in ? import Products.ATContentTypes.content.topic 
 File 
 /usr/local/zope/instance1/Products/ATContentTypes/content/topic.py, 
 line 33, in ? from Products.CMFPlone.CatalogTool import CatalogTool 
 File /usr/local/zope/instance1/Products/CMFPlone/CatalogTool.py, line 
 27, in ? from Products.CMFPlone.utils import base_hasattr 
 ImportError: cannot import name base_hasattr 
  
 AOL now offers free email to everyone. Find out more about what's free 
 from AOL at AOL.com. 
 
 
-- ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany 
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535 
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK 
 
E-Publishing, Python, Zope  Plone development, Consulting 

AOL now offers free email to everyone.  Find out more about what's free from 
AOL at AOL.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] Cannot Import Base has_attr...Again!

2007-03-18 Thread tonylabarbara
I did that last time and no one addressed the issue, so I came here. Would you 
care to address the issue? 
Tony 
 
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; zope@zope.org
Sent: Sat, 17 Mar 2007 3:21 PM
Subject: Re: [Zope] Cannot Import Base has_attr...Again!


 
--On 17. März 2007 15:16:31 -0400 [EMAIL PROTECTED] wrote: 
 
 Hi; 
 I had this problem on another server I recently built...and it went away 
 all by itself! I'm now rebuilding my home server, and it's cropped up 
 again. Last time, Maciej Wisniowski suggested I go to a zopectl prompt 
 and type in import Products.CMFPlone, but apparently that doesn't work 
 on Zope 2.7.8/Plone 2.1.4. Here is the traceback. Please advise. TIA, 
 Tony 
 
 
Consult the plone-users list for Plone-related questions. 
 
-aj 

AOL now offers free email to everyone.  Find out more about what's free from 
AOL at AOL.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] Cannot Import Base has_attr...Again!

2007-03-18 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18 Mar 2007, at 16:45, [EMAIL PROTECTED] wrote:

--On 17. März 2007 15:16:31 -0400 [EMAIL PROTECTED] wrote:

 I had this problem on another server I recently built...and it  
went away
 all by itself! I'm now rebuilding my home server, and it's  
cropped up
 again. Last time, Maciej Wisniowski suggested I go to a zopectl  
prompt
 and type in import Products.CMFPlone, but apparently that  
doesn't work
 on Zope 2.7.8/Plone 2.1.4. Here is the traceback. Please advise.  
TIA,

 Tony


Consult the plone-users list for Plone-related questions.


I did that last time and no one addressed the issue, so I came  
here. Would you care to address the issue?



The fact that no one helped on the Plone list does not invalidate  
Andreas' assertion that this is a Plone issue and it belongs on the  
Plone list.


jens


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

iD8DBQFF/WJ3RAx5nvEhZLIRAuWpAJ9GeeP3YoAGkbWLugO1xzjyxgomSgCdHZ58
vbdZ1mjfZn9827vjr1h6Z6E=
=t3JN
-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] Re: How do people work with html-designers?

2007-03-18 Thread Laurence Rowe

Gaute Amundsen wrote:

I have been meaning to ask this for a while..

How do people set up the zope development process and servers to work well 
with web-designers who use wysiwyg editors like dreamweaver?

snip/

Take a look at deliverance http://openplans.org/projects/deliverance

The other option is to find someone with very good CSS skills who can 
design without adding changing the underlying html. In my experience 
that has been fairly rare though.


Laurence

___
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] losing random session data

2007-03-18 Thread Norbert Marrale
In Zope 2.7.5-final, python 2.3.5, freebsd6 with Transient Object 
Container settings:

Data timeout: 20
Timeout resolution: 20
Maximum subobjects: 1000

and a python script that does this:

req = context.REQUEST
prev_order=(req.SESSION.get('order'))
if prev_order == None:
  order=[]
else:
  order = prev_order
order.append(req.form)
req.SESSION.set('order',order)

my data ends up looking like this:

order [{}, {}, {'foo': '1', 'bar': 'a'}, {}, {'foo': '2', 'bar': 'b'}, 
{'foo': '6', 'bar': 'z'}, {'foo': '1', 'bar': 'a'}]


I've seen  http://mail.zope.org/pipermail/zope-dev/2006-July/027890.html
and am aware that related bug existed prior to 2.7.1.

I've used sessions without problems before, this is the first time I 
attempt to store variables in containers. What am I doing wrong?


Norbert




___
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] losing random session data

2007-03-18 Thread Andreas Jung



--On 18. März 2007 16:22:29 -0400 Norbert Marrale [EMAIL PROTECTED] 
wrote:



In Zope 2.7.5-final, python 2.3.5, freebsd6 with Transient Object
Container settings:
Data timeout: 20
Timeout resolution: 20
Maximum subobjects: 1000



Zope 2.7 is completely outdated and unsupported. Consider upgrading.

-aj

pgp30kyoNabWP.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] losing random session data

2007-03-18 Thread Maciej Wisniowski
 my data ends up looking like this:
 
 order [{}, {}, {'foo': '1', 'bar': 'a'}, {}, {'foo': '2', 'bar': 'b'},
 {'foo': '6', 'bar': 'z'}, {'foo': '1', 'bar': 'a'}]
What is wrong here? I mean what output is expected?

 I've seen  http://mail.zope.org/pipermail/zope-dev/2006-July/027890.html
 and am aware that related bug existed prior to 2.7.1.
There is 'faster' that is alternative sessioning machinery but I don't know
if it works with 2.7

 I've used sessions without problems before, this is the first time I
 attempt to store variables in containers. What am I doing wrong?
Maybe it is because of req.form assignment. Try to create copy of
its values and append this to 'order' list like:

session = context.REQUEST.SESSION
order = session.get('order', [])
order.append({'foo':req.form['foo'],
  'bar':req.form['bar']})
session.set('order',order)

and see what happens now.

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