[Zope-dev] Zope Tests: 5 OK

2008-07-02 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Tue Jul  1 11:00:00 2008 UTC to Wed Jul  2 11:00:00 2008 UTC.
There were 5 messages: 5 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Tests
Date: Tue Jul  1 20:53:32 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-July/009790.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Tests
Date: Tue Jul  1 20:55:03 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-July/009791.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Tests
Date: Tue Jul  1 20:56:33 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-July/009792.html

Subject: OK : Zope-2.11 Python-2.4.4 : Linux
From: Zope Tests
Date: Tue Jul  1 20:58:03 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-July/009793.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Tests
Date: Tue Jul  1 20:59:33 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-July/009794.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-dev] TutorialTest with zc.testbrowser.real

2008-07-02 Thread Benji York
On Tue, Jul 1, 2008 at 11:25 PM, Graham Stratton
[EMAIL PROTECTED] wrote:
 Hi all,

 I currently need to write a tutorial for how to use the web application
 which I've been developing. I'd really like to be able to produce something
 testable, in a doctest-like way.

 My best idea so far is to build something based on zc.testbrowser.real,

Note that zc.testbrowser.real is experimental -- i.e. its API will most
certainly change and it may even be discontinued entirely.

 I have concerns about getting the tutorial to run against an
 existing ZODB without making modifications to it. I think there's some kind
 of storage which can wrap an existing storage, can anyone point me the right
 way?

You may be referring to demostorage
(http://pypi.python.org/pypi/zc.demostorage2).
-- 
Benji York
Senior Software Engineer
Zope Corporation
___
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 )


[Zope] Display images

2008-07-02 Thread smriti Sebastian
hi,
i have stored image location img src=filename in postgres database.I
would like to know where do i store the image files inorder to display it in
my plone-site?
plz help.
thanks in advance
___
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] Display images

2008-07-02 Thread Andreas Jung



--On 2. Juli 2008 16:26:56 +0530 smriti Sebastian 
[EMAIL PROTECTED] wrote:



hi,
i have stored image location img src=filename in postgres database.I
would like to know where do i store the image files inorder to display it
in my plone-site?


Not sure whaty you are trying to ask or to achieve. Images should be stored 
within Zope/Plone or within the database? Please give a reasonable 
description of your problem.


Andreas

pgpOUhEYYVvJD.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] Display images

2008-07-02 Thread smriti Sebastian
hi,
I have stored an html code containing img src=filename tag in postgres
database.when i retrieve the contents using ZSQL the image is not
displayed.currently i have stored my image in the /home folder of my system.

On Wed, Jul 2, 2008 at 4:30 PM, Andreas Jung [EMAIL PROTECTED] wrote:



 --On 2. Juli 2008 16:26:56 +0530 smriti Sebastian 
 [EMAIL PROTECTED] wrote:

  hi,
 i have stored image location img src=filename in postgres database.I
 would like to know where do i store the image files inorder to display it
 in my plone-site?


 Not sure whaty you are trying to ask or to achieve. Images should be stored
 within Zope/Plone or within the database? Please give a reasonable
 description of your problem.

 Andreas
___
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] Display images

2008-07-02 Thread Andreas Jung



--On 2. Juli 2008 16:36:33 +0530 smriti Sebastian 
[EMAIL PROTECTED] wrote:



hi,
I have stored an html code containing img src=filename tag in
postgres database.when i retrieve the contents using ZSQL the image is not
displayed.currently i have stored my image in the /home folder of my
system.


Try using Reflecto for integration a filesystem into Plone.
Plone questions belong to the plone-users mailinglist.

-aj

pgprZeqspb4Y0.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 )


[Zope] Re: CMF security error in DCWorkflow that doesn't make sense

2008-07-02 Thread Peter Bengtsson
Some progress.

I managed to get it work by de-selecting the Manager role on the
Proxy roles. Makes absolutely no sense.

Later today I had another similar problem/error and nothing I changed
on the Proxy roles mattered. I ended up replacing the Python Scipt
with an External Method and that worked.
This absolutely sucks. The DCWorkflow code is incredibly complicated
and obscure and I hope it burns in hell. Having said that, I don't
think I would do any better if I was to replicate what it can do :)



2008/7/1 Peter Bengtsson [EMAIL PROTECTED]:
 First of all, I'm not sure if this is the right mailing list but
 hopefully the DCWorkflow people read this list too.

 I've got a strange problem.
 On my laptop it works (zope 2.7.8) on the live server it works (zope
 2.7.3) but on the test server (2.7.8) it doesn't!!! And it's the same
 Data.fs and Products as the live server. It throws an Unauthorized
 error upon executing a python script as part of a workflow transition.
 The Error:

 The owner of the executing script is defined outside the context of
 the object being accessed. The script has proxy roles, but they do not
 apply in this context.. Access to 'workflow' of
 (Products.DCWorkflow.Expression.StateChangeInfo instance at 0xddffb48)
 denied. Access requires Manage_portal_Permission, granted to the
 following roles: ['Manager']. The executing script is (PythonScript at
 /intranet/portal_workflow/intranet_workflow/scripts/wf_script_despatcher),
 owned by oliver.

 The Python script has Proxy role Manager so how can it be limited?

 I didn't write this CMF based application and I want to get on top of
 it so it doesn't happen again.

 Regards, Peter


 --
 Peter Bengtsson,
 work www.fry-it.com
 home www.peterbe.com
 hobby www.issuetrackerproduct.com




-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.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 )