alright, I gotta go to bed, but I put a pdb into

zope.app.pagetemplate.viewpagetemplatefile

and found the line:
        debug_flags = instance.request.debug

43         def __call__(self, instance, *args, **keywords):
44
45             import pdb; pdb.set_trace()
46
47  ->         namespace = self.pt_getContext(
48                 request=instance.request,
49                 instance=instance, args=args, options=keywords)
50             debug_flags = instance.request.debug
51             s = self.pt_render(
52                 namespace,
(Pdb) instance
<Products.Five.metaclass.RememberConfiglet object at 0x56216d0>
(Pdb) instance.request
<HTTPRequest, URL=http://127.0.0.1:8080/plone/prefs_remember_settings>
(Pdb) instance.request.debug
*** AttributeError: debug

got me! should a view class object or page template provide debug? always?

--

~Spanky

On Jun 20, 2007, at 12:11 AM, Spanky wrote:

OK, I was mistaken on one point: I CAN join no problem, but still no luck getting to the prefs. WHile poking about I did notice one things that MIGHT be a typo:

in profiles/defaultcontrolpanel.xml

<configlet title="Remember Settings" action_id="RememberSettings"
appId="remember" category="Products" visible="True" condition_expr=""
    url_expr="string:$portal_url/prefs_remember_settings">
   <permission>Manager users</permission>
</configlet>

Should read(?)

<configlet title="Remember Settings" action_id="RememberSettings"
appId="remember" category="Products" visible="True" condition_expr=""
    url_expr="string:$portal_url/prefs_remember_settings">
   <permission>Manage users</permission>
</configlet>

(manager vs manage)

Anyhow, I still can't figure out what the problem is here, but I'm still digging around in there. Not being all that comfortable with the Z3/Five stuff happening, it's a little challenging, but it seems that the view class (RememberConfiglet) defined in configlet.py and realized in configletform.pt is not getting called. I'm trying to interrupt:

Module zope.app.pagetemplate.viewpagetemplatefile, line 47, in __call__

to see what might be happening since I can't figure out where to get in before the traceback begins.

--

~Spanky


On Jun 19, 2007, at 11:22 PM, Spanky wrote:


On Jun 19, 2007, at 7:23 PM, Spanky wrote:

Zope 2.9.6 (about to try on 2.9.7)

Same problem on z297

Can't get to prefs_remember_settings at all.

--

~Spanky


--
Archive: http://www.openplans.org/projects/remember/lists/remember/ archive/2007/06/1182309751335 To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED] Please contact remember- [EMAIL PROTECTED] for questions.




--
Archive: http://www.openplans.org/projects/remember/lists/remember/ archive/2007/06/1182312679913 To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED] Please contact remember- [EMAIL PROTECTED] for questions.




--
Archive: 
http://www.openplans.org/projects/remember/lists/remember/archive/2007/06/1182313928375
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]  
Please contact [EMAIL PROTECTED] for questions.

Reply via email to