Re: [Zope] need help moving zope instance home data to new one w/ new python version

2005-09-12 Thread Tino Wildenhain
Am Montag, den 12.09.2005, 21:52 -0700 schrieb [EMAIL PROTECTED]:
> To move old zope instance home to new one can i just
> 
> 1. make new zope instance home
> 2. copy over Data.fs?
> 
> zope & plone barfed on python2.4...
> 
> must i downgrade to 2.3?

Yes. See doc/INSTALL.txt :-)
One of the points is you compiled your
extensions for python 2.3, and therefore
you need 2.3 to run it.




___
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] need help moving zope instance home data to new one w/ new python version

2005-09-12 Thread seberino
To move old zope instance home to new one can i just

1. make new zope instance home
2. copy over Data.fs?

zope & plone barfed on python2.4...

must i downgrade to 2.3?
___
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] Re: strange error with tiki-wiki when installing zope

2005-09-12 Thread Jon Savian
I deselected cookies, unfortunatly that still had no effecthmOn 9/12/05, Peter Bengtsson <[EMAIL PROTECTED]
> wrote:Try
http://localhost:8080/browser_id_manager/manage_workspaceOn 9/13/05, Jon Savian <[EMAIL PROTECTED]> wrote:> Is there any workaround for this?>
>  Thanks!>>> On 9/12/05, Martijn Pieters <[EMAIL PROTECTED]> wrote:> > Jon Savian wrote:> > > Now tiki-wiki is broken. When i view the tiki index page online it
> > > says: Invalid variable value : _ZopeId = "88649354A1.yrs5kB5k"> > >> > > My tiki-wiki is installed in /somedir2/tikiwiki> > >> > > Any idea as to whats wrong?
> >> > Zope sets cookies, and one of them is called _ZopeId. As tiki-wiki is> > configured to run under the same domain name as your Zope install, it> > gets to see the cookies Zope set as well, and evidently it cannot deal
> > with unknown cookies.> >> > Martijn Pieters> >> > ___> > 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 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
 )>>>--Peter Bengtsson,work www.fry-it.comhome www.peterbe.comhobby 
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 )


Re: [Zope] Re: strange error with tiki-wiki when installing zope

2005-09-12 Thread Peter Bengtsson
Try
http://localhost:8080/browser_id_manager/manage_workspace


On 9/13/05, Jon Savian <[EMAIL PROTECTED]> wrote:
> Is there any workaround for this?
>  
>  Thanks!
> 
> 
> On 9/12/05, Martijn Pieters <[EMAIL PROTECTED]> wrote:
> > Jon Savian wrote:
> > > Now tiki-wiki is broken. When i view the tiki index page online it
> > > says: Invalid variable value : _ZopeId = "88649354A1.yrs5kB5k"
> > >
> > > My tiki-wiki is installed in /somedir2/tikiwiki 
> > >
> > > Any idea as to whats wrong?
> > 
> > Zope sets cookies, and one of them is called _ZopeId. As tiki-wiki is
> > configured to run under the same domain name as your Zope install, it
> > gets to see the cookies Zope set as well, and evidently it cannot deal 
> > with unknown cookies.
> > 
> > Martijn Pieters
> > 
> > ___
> > 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 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 )
> 
> 
> 


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


Re: [Zope] Re: strange error with tiki-wiki when installing zope

2005-09-12 Thread Jon Savian
Is there any workaround for this?

Thanks!On 9/12/05, Martijn Pieters <[EMAIL PROTECTED]> wrote:
Jon Savian wrote:> Now tiki-wiki is broken. When i view the tiki index page online it> says: Invalid variable value : _ZopeId = "88649354A1.yrs5kB5k">> My tiki-wiki is installed in /somedir2/tikiwiki
>> Any idea as to whats wrong?Zope sets cookies, and one of them is called _ZopeId. As tiki-wiki isconfigured to run under the same domain name as your Zope install, itgets to see the cookies Zope set as well, and evidently it cannot deal
with unknown cookies.Martijn Pieters___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 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: strange error with tiki-wiki when installing zope

2005-09-12 Thread Martijn Pieters
Jon Savian wrote:
> Now tiki-wiki is broken. When i view the tiki index page online it
> says: Invalid variable value : _ZopeId = "88649354A1.yrs5kB5k"
> 
> My tiki-wiki is installed in /somedir2/tikiwiki
> 
> Any idea as to whats wrong?

Zope sets cookies, and one of them is called _ZopeId. As tiki-wiki is
configured to run under the same domain name as your Zope install, it
gets to see the cookies Zope set as well, and evidently it cannot deal
with unknown cookies. 

Martijn Pieters

___
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] strange error with tiki-wiki when installing zope

2005-09-12 Thread Jon Savian
Hi Everyone,

I have been using tiki-wiki for quite some time now.  I just recently installed zope using 
# ./configure --prefix=/somedir/zope --with-python=/somedir/python-2.4.1
# make
# make install

I started Zope using 
#./zopectl start

Now tiki-wiki is broken.  When i view the tiki index page online it says:
Invalid variable value : _ZopeId = "88649354A1.yrs5kB5k"

My tiki-wiki is installed in /somedir2/tikiwiki

Any idea as to whats wrong?

Thanks!

___
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] Virtual Host Monster

2005-09-12 Thread Tino Wildenhain
Am Montag, den 12.09.2005, 17:08 +0200 schrieb Nicholas Wieland:
> I'm trying to use VHM to rewrite a pair of urls.
> What I want is to have a "normal" Zope on localhost:8080/, and an
> instance of a Product on localhost:8080/myProduct.
> The problem I'm having is that VHM locks me out from the root
> folder :(
>  
> My mappings line is:
> localhost:8080/my_container/VirtualHostRoot/myProduct
>  
> How do I exclude localhost:8080 to behave normally, as without Virtual
> Host Monster ?

Use http://127.0.0.1:8080/ instead to access your zope.

Now you know why right above the mappings window
there is this line:

"If you place the hostname that you use to manage your Zope in this list
you are likely to regret it, and will probably need to manage Zope using
its raw IP address to fix things."

with "you are likely to regret it" emphasized :-)

If you want to try real world mappings, put some
names in your hosts file and use them for experiment
instead.

___
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] Problem with Photo Folder

2005-09-12 Thread Peter Bengtsson
Just checking... sure you've got sufficient hardrive space?
% df

On 9/12/05, David <[EMAIL PROTECTED]> wrote:
> Hi
> 
> Zope 2.7.5 / Photo & Photo Folder product version 1.2.3 / Python
> 2.3.5 / Solaris 8 Intel
> 
> We experience problems generating "displays" with the default
> settings on files larger then 650K. Uploading images works fine and
> the thumbnail is created. We had the setting of creating displays on
> uploads initially off, assuming these would be created on demand.
> Changing the default did not help and created the same error. (see
> example traceback below from the initial error)
> 
> We are using the ZODB for storage and ImageMagick as the engine. We
> had problems compiling PIL on Solaris 8 and installed ImageMagick
> using the Sun-Blast packages (pkg-get).
> 
> We monitored the machine playing with smaller and larger images, but
> could not see any noticeable increase in CPU or memory usage. Where
> is here the bottleneck and how can we change it?
> 
> Any help welcome! (Googling "popen2" did not help either.)
> 
> Cheers
> 
> DR
> 
> traceback:
> 
> Exception Type: OSError
> Exception Value: [Errno 12] Not enough space
> Traceback (innermost last):
> 
> Module ZPublisher.Publish, line 101, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 39, in call_object
> Module OFS.DTMLMethod, line 144, in __call__
> 
> URL: http://www.bordersgrid.org.uk/site/staff/photo/album/view/
> manage_main
> Physical Path:/site/staff/photo/album/view
> Module DocumentTemplate.DT_String, line 474, in __call__
> Module DocumentTemplate.DT_Util, line 198, in eval
> __traceback_info__: REQUEST
> Module , line 1, in 
> Module Products.Photo.Photo, line 150, in tag
> Module Products.Photo.Photo, line 400, in _makeDisplayPhoto
> Module Products.Photo.Photo, line 391, in _getDisplayPhoto
> Module Products.Photo.Photo, line 382, in _getDisplayData
> Module Products.Photo.Photo, line 363, in _resize
> Module popen2, line 147, in popen2
> Module popen2, line 42, in __init__
> OSError: [Errno 12] Not enough space
> ___
> 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 )
> 


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


[Zope] Problem with Photo Folder

2005-09-12 Thread David

Hi

Zope 2.7.5 / Photo & Photo Folder product version 1.2.3 / Python  
2.3.5 / Solaris 8 Intel


We experience problems generating "displays" with the default  
settings on files larger then 650K. Uploading images works fine and  
the thumbnail is created. We had the setting of creating displays on  
uploads initially off, assuming these would be created on demand.  
Changing the default did not help and created the same error. (see  
example traceback below from the initial error)


We are using the ZODB for storage and ImageMagick as the engine. We  
had problems compiling PIL on Solaris 8 and installed ImageMagick  
using the Sun-Blast packages (pkg-get).


We monitored the machine playing with smaller and larger images, but  
could not see any noticeable increase in CPU or memory usage. Where  
is here the bottleneck and how can we change it?


Any help welcome! (Googling "popen2" did not help either.)

Cheers

DR

traceback:

Exception Type: OSError
Exception Value: [Errno 12] Not enough space
Traceback (innermost last):

Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module OFS.DTMLMethod, line 144, in __call__

URL: http://www.bordersgrid.org.uk/site/staff/photo/album/view/ 
manage_main

Physical Path:/site/staff/photo/album/view
Module DocumentTemplate.DT_String, line 474, in __call__
Module DocumentTemplate.DT_Util, line 198, in eval
__traceback_info__: REQUEST
Module , line 1, in 
Module Products.Photo.Photo, line 150, in tag
Module Products.Photo.Photo, line 400, in _makeDisplayPhoto
Module Products.Photo.Photo, line 391, in _getDisplayPhoto
Module Products.Photo.Photo, line 382, in _getDisplayData
Module Products.Photo.Photo, line 363, in _resize
Module popen2, line 147, in popen2
Module popen2, line 42, in __init__
OSError: [Errno 12] Not enough space
___
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] About High Level Query Languages

2005-09-12 Thread Enrique Arizón
 I was browsing different solutions/products to query
the Catalog with a high level language similar to SQL
and it looks to be more than one solution:
http://www.zope.org/search?SearchableText=Query+Language

 The question is whether an standard query language
exists or not yet for Zope/Plone.


___
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] Virtual Host Monster

2005-09-12 Thread Nicholas Wieland
I'm trying to use VHM to rewrite a pair of urls.
What I want is to have a "normal" Zope on localhost:8080/, and an instance of a Product on localhost:8080/myProduct.
The problem I'm having is that VHM locks me out from the root folder :(
 
My mappings line is:
localhost:8080/my_container/VirtualHostRoot/myProduct
 
How do I exclude localhost:8080 to behave normally, as without Virtual Host Monster ?
		Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3___
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] Copying "Data.fs" to a different CPU architecture

2005-09-12 Thread Jake
Data.fs is platform independant.

You will have to re-install any products or extensions in your new working
Zope though.

Jake
-- 
http://www.ZopeZone.com


Matthew X. Economou said:
> My Zope server is currently an Alpha running FreeBSD.  This computer's
> CPU is no longer working.  I would like to restore my backup copy of
> Data.fs to a new computer, a PC running FreeBSD.  Will this work as a
> straightforward copy, or will the two platform's differing byte orders
> (and word sizes) cause problems for me?
>
> Best wishes,
> Matthew
>
> --
> jsoffron: I'm generally pretty high on national defense...
> Mr. Bad Example: Careful...it's a gateway policy. Before you know it,
>  you'll be mainlining the hard stuff like trade agreements.
> jsoffron: Too late...I've been freebasing Nafta all day... Sweet,
>  sweet NAFTA.
> - As seen on Slashdot
> ___
> 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 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] Copying "Data.fs" to a different CPU architecture

2005-09-12 Thread Matthew X. Economou
My Zope server is currently an Alpha running FreeBSD.  This computer's
CPU is no longer working.  I would like to restore my backup copy of
Data.fs to a new computer, a PC running FreeBSD.  Will this work as a
straightforward copy, or will the two platform's differing byte orders
(and word sizes) cause problems for me?

Best wishes,
Matthew 

-- 
jsoffron: I'm generally pretty high on national defense...
Mr. Bad Example: Careful...it's a gateway policy. Before you know it,
 you'll be mainlining the hard stuff like trade agreements.
jsoffron: Too late...I've been freebasing Nafta all day... Sweet,
 sweet NAFTA.
- As seen on Slashdot
___
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: ERROR(200) KeywordIndex unindex_object could not remove documentId -702398584 from index workitems_from. This should not happen.

2005-09-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Withers wrote:
> Chris McDonough wrote:
> 
>> This is actually nothing to worry about.  The error message doesn't 
>> take into account that the error it's reporting could be a conflict 
>> error (these are normal errors seen during Zope execution).  The 
>> catalog probably shouldn't bother logging the error in this case.
> 
> 
> Well, I think this has been fixed, but it's not so benign ;-)
> By catching a ConflictError like this, I'm pretty sure you can end up
> with inconsistent index state saved in your ZODB :-(

That method now has an explicit 'except ConflictError: raise' a few
lines above the point which does the logging;  I checked in that fix on
2005/07/05 (collector #1832).  That fix was included in Zope 2.7.7 and
in Zope 2.8.1.  I would recommend that Marco upgrade to avoid the kind
of consistency issues you point out.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDJXdR+gerLs4ltQ4RAme2AJ979YepexVREmLWKkC1TvQK3ib2rwCeOSlE
X2S0SDfij1Xx+g4x3vZ5w+Q=
=IyX7
-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 )


[Fwd: Re: [Zope] ZTP mailhost ..]

2005-09-12 Thread Georgakopoulos Nicolas


--- Begin Message ---




Peter Bengtsson wrote:

  There's a zope product called SecureMailHost. Perhaps that's what
you're looking for.

On 9/8/05, Georgakopoulos Nicolas <[EMAIL PROTECTED]> wrote:
  
  
 Lennart Regebro wrote: 
 On 9/8/05, Georgakopoulos Nicolas <[EMAIL PROTECTED]> wrote:
 
 
 Can some one help out how to set up a ZTP form to use a mailhost object
and send a email with the data that the form was filled ?
I have made the form successfully , my problem is that I don't know how
to use the mailhost.

ps:Can I use a web mail account to send a mail like gmail ?
 
 No, you need to configure it to use your mail server for outgoing mail.

When this is done, you send the mail with the mailhost send function.
It's quite easy really. Make a little python script that takes the
form and calls MailHost.send.

 
 I have write the script :
 
 # locate the mailhost
 mailhost=container['mailhost']
 
 # email message settings
 recipient='[EMAIL PROTECTED]'
 sender='[EMAIL PROTECTED]'
 subject='A test mail'
 
 # format the email message
 message='Hello by mail ! '
 
 # send the message
 mailhost.simple_send(recipient, sender, subject, message)
 
 # return a confirmation message
 page=container['thanks.html']
 return page()
 
 When I try to send mail the browser keep waiting for data response , and
never take a response.I use netstat and check that a connection is
established with my SMTP address. I guess that my problem for the moment is
that I can't pass throu an SSL connection (my smtp server use SSL) and I
cant find a way on mailhost object to change the set SSL . Does mailhost
object or ZOPE support SSL connections for SMTP protocol ?
 
___
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 )




  
  Thanks Peter Bengtsson , I instaslled secure mailhost there is no option for SSL.
Can aynone answer to me for sure if mailhost object ZOPE support SSL connections for SMTP protocol ?
  

Do you know any free mail service that don't use SSL  for SMTP ? I want
to know for sure if SSL is the reason why it doesn't work.





--- End Message ---
___
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] ERROR(200) KeywordIndex unindex_object could not remove documentId -702398584 from index workitems_from. This should not happen.

2005-09-12 Thread Chris Withers

Chris McDonough wrote:
This is actually nothing to worry about.  The error message doesn't  
take into account that the error it's reporting could be a conflict  
error (these are normal errors seen during Zope execution).  The  
catalog probably shouldn't bother logging the error in this case.


Well, I think this has been fixed, but it's not so benign ;-)
By catching a ConflictError like this, I'm pretty sure you can end up 
with inconsistent index state saved in your ZODB :-(


Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk
___
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 )