[Zope] getting error in export and import on zope2.9

2006-04-13 Thread shivayogi kumbar
I am trying to import file from zope2.9 that has been exported in xml format from the same.I am getting error as follows. " Site Error An error was encountered while publishing this resource. Error Type: UnicodeDecodeError Error Value: 'ascii' codec can't decode byte 0x83 in position 10: ordinal

Re: [Zope] getting error in export and import on zope2.9

2006-04-13 Thread Andreas Jung
--On 13. April 2006 02:46:44 -0700 shivayogi kumbar <[EMAIL PROTECTED]> wrote: I am trying to import file from zope2.9 that has been exported in xml format from the same.I am getting error as follows. " Site Error An error was encountered while publishing this resource. Error Type: Unicod

Re: [Zope] creating users in zope. Login error

2006-04-13 Thread Chris Withers
JulianRead wrote: Hi i have created a plone site and now i want to create a user using zope and give them ownership rights to plone. Sounds like a Plohn problem. Go ask on their lists. Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Chris Withers
Robert (Jamie) Munro wrote: gzip will add enormous processing overhead to the server. Striping spaces will add negligible overhead, likely less overhead than it saves. I hope you've got a full set of tests that prove these sweeping statements you're making ;-) I have written TAL that produc

Re: [Zope] getting error in export and import on zope2.9

2006-04-13 Thread Andreas Jung
--On 13. April 2006 11:49:38 +0200 Andreas Jung <[EMAIL PROTECTED]> wrote: --On 13. April 2006 02:46:44 -0700 shivayogi kumbar <[EMAIL PROTECTED]> wrote: I am trying to import file from zope2.9 that has been exported in xml format from the same.I am getting error as follows. " Site Error

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Paul Winkler
On Wed, Apr 12, 2006 at 01:56:58PM -0500, Floyd May wrote: > One solution I've found is to buffer the writes to REQUEST.RESPONSE by > using a python script which the calls granular page templates rather > than a single monolithic template, and outputting the results 25k at a > time or so; it giv

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Floyd May
Paul Winkler wrote: On Wed, Apr 12, 2006 at 01:56:58PM -0500, Floyd May wrote: One solution I've found is to buffer the writes to REQUEST.RESPONSE by using a python script which the calls granular page templates rather than a single monolithic template, and outputting the results 25k at a time

[Zope] Re: getting error in export and import on zope2.9

2006-04-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: > > > --On 13. April 2006 11:49:38 +0200 Andreas Jung > <[EMAIL PROTECTED]> wrote: > >> >> >> --On 13. April 2006 02:46:44 -0700 shivayogi kumbar >> <[EMAIL PROTECTED]> wrote: >> >>> I am trying to import file from zope2.9 that

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Paul Winkler
On Thu, Apr 13, 2006 at 09:04:38AM -0500, Floyd May wrote: > Paul Winkler wrote: > >On Wed, Apr 12, 2006 at 01:56:58PM -0500, Floyd May wrote: > >>One solution I've found is to buffer the writes to REQUEST.RESPONSE by > >>using a python script which the calls granular page templates rather > >>th

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Paul Winkler
One more correction for the archives: On Thu, Apr 13, 2006 at 11:45:41AM -0400, Paul Winkler wrote: > On Thu, Apr 13, 2006 at 09:04:38AM -0500, Floyd May wrote: > > Paul Winkler wrote: > > >Note that this doesn't buy you any improved responsiveness > > >if you're running behind e.g. apache, becaus

[Zope] Generic SQL insert

2006-04-13 Thread Robert (Jamie) Munro
Whenever I'm using SQL databases in zope, I always seem to have to make a ZSQL instance for inserting into every table in my database, and they are all nearly the same - they just have a list of all the fields in the database in the parameters, then they say: insert into [table] ([list of fields])

Re: [Zope] creating users in zope. Login error

2006-04-13 Thread Robert Boyd
On 4/12/06, JulianRead <[EMAIL PROTECTED]> wrote: > > Hi i have created a plone site and now i want to create a user using zope and > give them ownership rights to plone. > > At the moment i have created a user using the acl users button on the left > menu bar > and given them ownership rights Whi

Re: [Zope] Generic SQL insert

2006-04-13 Thread jpenny
Great idea. Not to be recommended in general. This works because every field is textual, and you are sql-quoting by using type=string. Here are the problems: 1) if someone reads this and does not use the type=string tag, or equivalent, they will be wide open to sql injection. 2) OR, they can p

RE: [Zope] ExtFile and TextIndexNG issues

2006-04-13 Thread Palermo, Tom
Stefan, Thanks very very much for your help. I just installed ExtFile 1.5 updated with some extra properties I had added to my ExtFile 1.4.4. It works nicely. All of my ExtFile objects are getting catalogged along with some custom content types I created. I just added a txng_get method to those. V

Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-04-13 Thread Dieter Maurer
manuel spuhler wrote at 2006-4-12 21:40 +0200: > ... > File "/opt/Zope2.8/lib/python/ZODB/__init__.py", line 21, in ? >from persistent import TimeStamp > File "/opt/Zope2.8/lib/python/persistent/__init__.py", line 19, in ? >from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, ST

Re: [Zope] Strategies for testing generated sql?

2006-04-13 Thread Dieter Maurer
Paul Winkler wrote at 2006-4-12 12:32 -0400: > ... >Functionally, we are missing some important testables: > ... >* we have no way to verify that these queries behave as expected against > a sample data set. If you want to test this, then do it. It will also cover all other test requirements (e.

Re: [Zope] newbie needs advice on where to use zope

2006-04-13 Thread Dieter Maurer
Sells, Fred wrote at 2006-4-12 16:32 -0400: > ... >So after all that rambling, Is Zope a viable tool or am I killing a gnat >with a cannon? After your somewhat vague description, I would say that your task is not a standard Zope use case. Zope is Web application server. Your task does not seem to

Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-04-13 Thread David H
Dieter Maurer wrote: manuel spuhler wrote at 2006-4-12 21:40 +0200: ... File "/opt/Zope2.8/lib/python/ZODB/__init__.py", line 21, in ? from persistent import TimeStamp File "/opt/Zope2.8/lib/python/persistent/__init__.py", line 19, in ? from cPersistence import Persistent,

[Zope] import & export error on.2.9.2 version of zope has been solved

2006-04-13 Thread shivayogi kumbar
The problem with import and export of zope application from zope2.7.3 to zope2.9.2 has been solved.But when I am sending some request to the server that time It's giving error as follows "Error Type: ImportErrorError Value: import of "name of the application" is unauthorized   getting this type of