Re: [Zope] Character display issues upgrading 2.8.8 to 2.9.8

2008-02-08 Thread John Schinnerer
Aloha, OK, I have now done the upgrade the "right" way, by copying add-in products and data.fs from zope 2.8.8 instance to 2.9.8 instance (on debian 4.0). I still have the same problem occurring. StructuredDocument content that contains curly quotes, curly apostrophes, and some accented (Fre

Re: [Zope] ZODB & Zope 2.8 ZRDB/TM : "raise" + "except: pass"

2008-02-08 Thread Dieter Maurer
Pelletier Vincent wrote at 2008-2-8 10:56 +0100: >I triggered a bad behaviour in Zope 2.8 Transaction class: > >try: > > <- raises conflict error from ZODB's tpc_vote >except: > Where does this "cleanup" code comes from -- from your application? > raise "try: ... except: ..." are extremely

Re: [Zope] rename meta_type

2008-02-08 Thread Dieter Maurer
David Chelimsky wrote at 2008-2-7 13:17 -0600: >I have a product in use on many of my client sites. I'd like to rename >the meta_type of one of the classes, but I notice that when I do, the >pre-existing objects retain their old meta_type. Then these instances misbehave: they have assigned the "me

Re: [Zope] When to use a relational database

2008-02-08 Thread Dieter Maurer
Tim Nash wrote at 2008-2-7 19:14 -0800: > ... >Why does storing a single document lead to close to 120 objects being >inserted? Almost surely due to full text indexing. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listin

Re: [Zope] When to use a relational database

2008-02-08 Thread Dieter Maurer
Jaroslav Lukesh wrote at 2008-2-7 22:40 +0100: >JAvascript nor CSS cannot be dynamically generated from ZPT. They can be generated by ZPTs -- though it is not very natural. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/li

Re: [Zope] When to use a relational database

2008-02-08 Thread Dieter Maurer
Tim Nash wrote at 2008-2-7 13:21 -0800: >>From what I have read online, the things that slow zope down are >primarily the numerous security checks In modern Zope versions you can use Zope 3 views. The corresponding templates are trusted. For earlier Zope versions, there is "TrustedExecutables" (t

Re: [Zope] python script, from string to dictionary.

2008-02-08 Thread Dieter Maurer
Chris Withers wrote at 2008-2-8 11:14 +: >Dieter Maurer wrote: >> It is easy to secure "eval": >> >>globs = {'__builtins__':{}} >>eval(s, globs, globs) >> >> This ensures that "eval" cannot use any builtin functions -- >> especially, it cannot import anything. > >I'm fairly sure this

Re: [Zope] Can Zope do this...?

2008-02-08 Thread Tom Von Lahndorff
On Feb 7, 2008, at 2:19 PM, Eric Gorr wrote: I need to create a site that works similarly to php.net...the problem is the same - to document a language. From what I've seen, zope is fully capable of doing nearly everything I need it do, but I am uncertain about one aspect...check out:

Re: [Zope] python script, from string to dictionary.

2008-02-08 Thread Chris Withers
Dieter Maurer wrote: It is easy to secure "eval": globs = {'__builtins__':{}} eval(s, globs, globs) This ensures that "eval" cannot use any builtin functions -- especially, it cannot import anything. I'm fairly sure this isn't enough - google for the bugs in python's rexec and bastion

Re: [Zope] python script, from string to dictionary.

2008-02-08 Thread Chris Withers
[EMAIL PROTECTED] wrote: I 'serialized' mysql data in order to flat one-to-many related tables. the resulting dictionaries (one per record) are i.e. as: mydict [ brandcode ] = { 'itemcode': 'some value', 'itemsizeavail': [ ('XL',), ('XXL',), ('S',) ], 'keythree': '', 'keyfour': [ ], ... } now

Re: [Zope] ZODB & Zope 2.8 ZRDB/TM : "raise" + "except: pass"

2008-02-08 Thread Chris Withers
Pelletier Vincent wrote: Hi. I triggered a bad behaviour in Zope 2.8 Transaction class: You might be better off asking about this on [EMAIL PROTECTED] Also, try and make it a bit clearer about what you'd like help with... I did scan this but couldn't actually see any indication of what you

[Zope] ZODB & Zope 2.8 ZRDB/TM : "raise" + "except: pass"

2008-02-08 Thread Pelletier Vincent
Hi. I triggered a bad behaviour in Zope 2.8 Transaction class: try: <- raises conflict error from ZODB's tpc_vote except: raise Here, uses a transaction-registered connection which is not used before, hence not registered to transaction manager. So that connection tries to register

[Zope] FAQ Interactive, Video Venture Brings TV Quality to Company Videos as Dobson PR and JHD Studio Link

2008-02-08 Thread william rockt
FAQ Interactive, Video Venture Brings TV Quality to Company Videos as Dobson PR and JHD Studio Link http://www.faqinteractive.com/ 1-866-268-5588 New York, NY (PRWEB) November 16, 2006 -- In business, gaining a competitive edge requires getting key business messages across to carefully targeted a

Re: [ZWeb] Re: [Zope] Zope lists in google

2008-02-08 Thread Josef Meile
Hi, Today I noticed that google doesn't find anything when giving "site:mail.zope.org" anymore. It worked before :-( Yeah, I noticed this too. It's a real shame. I wonder who did that and why? (file objects have no history tab and the database has been packed to the point where there's no Un