[Zope] can someone help me with PIL

2007-02-28 Thread Allen Huang
Can some one show me two example with using PIL module in ZOPE 1. creating an image from inputed data an safe into zope for example: given x,y,r as a center coordinate and radius and draw a circle and save it as circle.jpg 2. read an exisiting image, edit it, and save it for exam

Re: [Zope] Re: Exporting portal member data to csv

2007-02-28 Thread Win Myint Aung
Hi, Thanks! I got it according to your suggestion. If I want to export contents in Zwiki objects like this how should I code. - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: zope@zope.org Cc: rose <[EMAIL PROTECTED]> Sent: Thursday, March 1, 2007 12:16:58 AM Subject:

Re: [Zope] Re: ImportError: cannot import name base_hasattr

2007-02-28 Thread Maciej Wisniowski
> from Products.CMFPlone.utils import base_hasattr > ImportError: cannot import name base_hasattr > > CMFPlone/utils.py has a class named base_hasattr, so what's the problem? You might try this (I'm not sure if this works with Zope 2.7): run /usr/local/zope/instance1/bin/zopectl on zopectl p

Re: [Zope] Re: ImportError: cannot import name base_hasattr

2007-02-28 Thread Maciej Wisniowski
> Maciej Wisniowski recently responded something to the effect of that I should > take a look at my PYTHONPATH and gave me the address for subscribing to Plone. > Thank you. I subscribed and posted to Plone, but after a day have received no > response :( > I looked at my PYTHONPATH, as per your s

[Zope] Re: ImportError: cannot import name base_hasattr

2007-02-28 Thread tonylabarbara
Maciej Wisniowski recently responded something to the effect of that I should take a look at my PYTHONPATH and gave me the address for subscribing to Plone. Thank you. I subscribed and posted to Plone, but after a day have received no response :( I looked at my PYTHONPATH, as per your suggestion,

[Zope] Re: zope.testbrowser, how to?

2007-02-28 Thread Philipp von Weitershausen
Basil Shubin wrote: Basil Shubin wrote: Hi friends, I want use zope.testbrowser for testing my sites, but before write it as DocTest I want execute each statemnt interactively in python shell. I don't know any way to see where it's works, what value it returns, what error I can get and how t

[Zope] Re: Exporting portal member data to csv

2007-02-28 Thread Laurence Rowe
This is because since PlonePAS integration the user password is no longer stored, instead a hash of the password is stored instead (much better for security!) This means it is impossible to get the original password back. If you do have a need to remind users of their passwords then you must

[Zope] Re: Exporting portal member data to csv

2007-02-28 Thread hpinson
I'm having the same problem. Zope 2.9.6 and Plone 2.5.2 Method is describe here: http://zopelabs.com/cookbook/1140753093 The line: password = user._getPassword() ...no longer works. I can remove that one line, and export to CSV works fine. Obtaining a username / password list is actually

Re: [Zope] Re: zope.testbrowser, how to?

2007-02-28 Thread Andreas Jung
You might try the zope3-users mailing list. -aj --On 28. Februar 2007 18:17:23 +0600 Basil Shubin <[EMAIL PROTECTED]> wrote: Hmm... strange thing... With this code I got: >>> browser = Browser('http://localhost:8080/') >>> browser.addHeader('Authorization', 'Basic admin:admin') >>> brow

[Zope] Re: zope.testbrowser, how to?

2007-02-28 Thread Basil Shubin
Basil Shubin wrote: Hi friends, I want use zope.testbrowser for testing my sites, but before write it as DocTest I want execute each statemnt interactively in python shell. I don't know any way to see where it's works, what value it returns, what error I can get and how this error should look

[Zope] Re: zope.testbrowser, how to?

2007-02-28 Thread Basil Shubin
Hmm... strange thing... With this code I got: >>> browser = Browser('http://localhost:8080/') >>> browser.addHeader('Authorization', 'Basic admin:admin') >>> browser.open('http://localhost:8080/manage') Traceback (most recent call last): File "", line 1, in ? File "/usr/lib/python2.4/site-pa