[Zope] ZDiscussions and Zope 2.2
hi Anybody tried to use ZDiscussion with Zope 2.2 ? I somehow can't manage to get it to work First I wasn't able to use 'regenerate method' because of a TypeError : keyword parameter redefined then i copied the methods by hand, but each time i try to view a non-empty Topic (as Manager) it shows: Zope Error: Unauthorized I can view the page as superuser without problems. I can also view an old Topic that i created in Zope 2.1.6 and imported into the new site as Manager. As long as i don't ad new Items ... Anybody? I add the tracebacks at the end, my os is aix 4.3. thankx gidon - traceback I: regenerate methods: Traceback (innermost last): File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/gfried/Zope-2.2.0-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_regenerateDefaultMethods) File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_regenerateDefaultMethods) File /home/gfried/Zope-2.2.0-src/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: manage_regenerateDefaultMethods) File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: manage_regenerateDefaultMethods) File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: default_methods.objectIds()) File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: manage_addProduct['OFSP'].addDTMLMethod( this(), _['sequence-item'], title=_.getattr(default_methods, _['sequence-item']).title, file=_.getattr(default_methods, _['sequence-item']))) (Info: this) File lt;stringgt;, line 0, in ? TypeError: (see above) traceback II: index_html as Manager in non-empty Topic. Traceback (innermost last): File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /home/gfried/Zope-2.2.0-src/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: index_html) File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: index_html) File /home/gfried/Zope-2.2.0-src/lib/python/TreeDisplay/TreeTag.py, line 155, in render (Object: a tree tag) File /home/gfried/Zope-2.2.0-src/lib/python/TreeDisplay/TreeTag.py, line 261, in tpRender (Object: ElementWithAttributes) File /home/gfried/Zope-2.2.0-src/lib/python/TreeDisplay/TreeTag.py, line 337, in tpRenderTABLE (Object: ElementWithAttributes) Unauthorized: [0] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZDiscussions and Zope 2.2
I used the old ZDiscussions 0.2, but i installed the new ZDiscussions 0.3.2 now, and the results are _exactly_ the same. cheers gidon Are you using the old ZDiscussions or ZUBB? I have not had the time to fix ZUBB to work with 2.2 but will try this weekend. J ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Importing exchange rates
hi i have a similar problem, i have to import live date (prices) from an excel application. i think they have a vb application that exchanges the data with other applications (i.e. reuters). but how do i get this data without conflicting with other apps and programming as little vb as possible :( anybody did something in that flavor? thankx gidon ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] HTML Editors that recognize DTML (was bastardized formofXML)
Does anyone know of a good (free!) java applet based text editor? Something with basic color tagging abilities and maybe even (gasp) a spell checker, search/replace, etc? If there is one, we could mod it to spit its output as a form post, and hus have a great built-in editor for most browsers... that would be nice, but you would have to build one yourself. Java Swing has an HTMLEditorKit, but i never tried to use it. have a look at: http://www.mokabyte.it/1999/12/htmleditor.htm it explains in italian how to do it (untested). or you could use javascript: http://www.cris.com/~raydaly/htmljive.html Gidon ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope 2.2b2: Adding ZClass Instances Programmatically
hi I can't add nested ZClasses in dtml in 2.2b2 on aix 4.3. It seems that new security model makes things more complicated, so if sb could show me the light pls? the same code worked fine in 2.1.6. on win95. thanks a lot gidon -- my calling method: dtml-with "manage_addProduct['Surfguide']" dtml-call "Stundenplan_add(_.None, _, NoRedir=1)" /dtml-with and in the Stundenplan_add it says: dtml-with "Stundenplan.createInObjectManager(REQUEST['id'], REQUEST)" dtml-call "propertysheets.Properties.manage_editProperties(REQUEST)" dtml-with "manage_addProduct['Surfguide']" dtml-call "WTag_add(_.None, _, NoRedir=1, newid='Montag')" snip -- some more code and another method to call --- snip i tried proxy roles and Permissions, but i just doesn't seem to care what permissions i give, it keeps failing: Traceback (innermost last): File /home/gfried/Zope-2.2.0b2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/gfried/Zope-2.2.0b2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/gfried/Zope-2.2.0b2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/gfried/Zope-2.2.0b2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: Stundenplan_add) File /home/gfried/Zope-2.2.0b2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: Stundenplan_add) File /home/gfried/Zope-2.2.0b2-src/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: Stundenplan_add) File /home/gfried/Zope-2.2.0b2-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: Stundenplan_add) File /home/gfried/Zope-2.2.0b2-src/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: Stundenplan.createInObjectManager(REQUEST['id'], REQUEST)) File /home/gfried/Zope-2.2.0b2-src/lib/python/DocumentTemplate/DT_With.py, line 133, in render (Object: manage_addProduct['Surfguide']) File /home/gfried/Zope-2.2.0b2-src/lib/python/DocumentTemplate/DT_Util.py, line 333, in eval (Object: manage_addProduct['Surfguide']) (Info: manage_addProduct) File lt;stringgt;, line 0, in ? File /home/gfried/Zope-2.2.0b2-src/lib/python/DocumentTemplate/DT_Util.py, line 168, in careful_getitem File /home/gfried/Zope-2.2.0b2-src/lib/python/OFS/DTMLMethod.py, line 189, in validate (Object: Stundenplan_add) File /home/gfried/Zope-2.2.0b2-src/lib/python/AccessControl/SecurityManager.py, line 139, in validate File /home/gfried/Zope-2.2.0b2-src/lib/python/AccessControl/ZopeSecurityPolicy.py, line 158, in validate Unauthorized ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )